Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
✪ vi4m Marcin Kliks
@vi4m
i see that we have only new status which is really limiting
Zrzut ekranu 2017-02-23 o 16.30.30.png
PdeNiet
@PdeNiet
yeah thats why i wanted to use that entry
not really surving any purpose like this ;)
✪ vi4m Marcin Kliks
@vi4m
we can add new entry called inactive
can you do it ? and do pull request?
PdeNiet
@PdeNiet
i'm a network engineer so i'll need to read up on programming in git ;) i can change it now locally and read up about git pull requests monday
✪ vi4m Marcin Kliks
@vi4m
basically -git clone https://github.com/YOURNICK/ralph
change your file and commit with git commit -m „Add new SupportStatus” -a
before this, make a fork of our repo
Zrzut ekranu 2017-02-23 o 16.34.59.png
PdeNiet
@PdeNiet
should i commit the change to my fork then?
✪ vi4m Marcin Kliks
@vi4m
yes, commit to your fork
PdeNiet
@PdeNiet
how do i keep my fork up to date with you guys on the other docs?
✪ vi4m Marcin Kliks
@vi4m
you can add our repo as a second remote with the:
git remote add upstream https://github.com/allegro/ralph.git
then, you can update with git pull upstream master
after the commit, remember to push to your fork with git push origin [branch] for example git push origin ng
origin = your fork
PdeNiet
@PdeNiet
ok thanks :) need to read up on git haha
✪ vi4m Marcin Kliks
@vi4m
:clap:
PdeNiet
@PdeNiet
@vi4m think i did a whitespace too many, see the git pull build failed
✪ vi4m Marcin Kliks
@vi4m
@fossilet how’s your Ralph instance doing? everything’s working?
swb
@spencewb16_twitter
no, there is not a prod_ldap file that i see... where am i supposed to get this file from? should i just create it? @vi4m
Cejo John
@cejojohn
Hi, I want to add custom-fields to data-center-assets and its fine in the GUI, but I didn't find an option to attach the custom-fields into the assets, it does show in the GET requests to /api/data-center/assests, but no way update or create assets with a POST, PUT or PATCH.
Are the custom-fields in the assets yet to come in the APIs or am I doing something wrong?
✪ vi4m Marcin Kliks
@vi4m
weird
are you authorized ?
Cejo John
@cejojohn
yes I do all sorts of other /api/ stuff
@vi4m its also not present in the OPTIONS of /api/data-center-asset/
But it is displayed in the GET of /api/data-center-asset/
✪ vi4m Marcin Kliks
@vi4m
have to check it
Cejo John
@cejojohn
@vi4m thanks
swb
@spencewb16_twitter
for the ip/networks section. when I add an IP, i expect it to show up in the IP addresses list under Networks - Relations - "Addresses" section. However, all i see is (NONE). What am I doing wrong?
Screen Shot 2017-03-02 at 2.16.13 PM.png
✪ vi4m Marcin Kliks
@vi4m
have you assigned this ip to the asset?
ok i reproduced your bug
Zrzut ekranu 2017-03-05 o 19.15.52.png
swb
@spencewb16_twitter
exactly
is there a workaround?
Mateusz Kurek
@mkurek
@spencewb16_twitter i've fixed it in #2973
swb
@spencewb16_twitter
word, thanks! works perfectly @mkurek
swb
@spencewb16_twitter

im still confused about this one though... when i run the command pip install -r requirements/prod_ldap.txt

i get the error:
Could not open requirements file: [Errno 2] No such file or directory: 'requirements/prod_ldap.txt'

i'm obviously new at django/ldap stuff, so it's probably something very simple. this is just very new to me...
Mateusz Kurek
@mkurek
@spencewb16_twitter what is your current directory (for execution of this statement)? Is this ralph's directory?
swb
@spencewb16_twitter
yes i am in root directory for ralph... (e.g. i am in /opt/ralph/ when executing)
same result if i run cmd in /opt/ralph/ralph-core
or just /opt .... seems like no matter where i get same result. but again, i have no idea where I'm supposed to be running this, or if there is some prerequisite i'm supposed to have (besides pip obviously, which i do have)