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
We're gonna upgrade soon too, so it's kind of must have
✪ vi4m Marcin Kliks
@vi4m
I think dh_virtualenv creates links to python interpreter inside of deb package(which python shows the linked script). I think we should build from within ubuntu:16 itself and add as separate package. Does Travis support this ? @mkurek
Mateusz Kurek
@mkurek
@vi4m not out-of-the-box, but we could build deb inside docker (we're doing it in one of our internal projects)
Michael Cone
@mrmikee
@vi4m Thank you guys for the updates and community version. I really enjoy what I see of Ralph3 so far. @mkurek
Alexis Talbot
@linuxmkd_twitter
Is there a way to do cable tracking in Ralph, with rack location etc ... or waht is the best way to acheive cable tracking
✪ vi4m Marcin Kliks
@vi4m
@linuxmkd_twitter this is something we want to work on in next release, high priority
Alexis Talbot
@linuxmkd_twitter
Ok thanx
pyja
@vipsql
is there hava chinese ?
i want to get a chinese tutorial
✪ vi4m Marcin Kliks
@vi4m
@vipsql not at the moment
pyja
@vipsql
thanks
Mr Black
@lip177891840
I am writing a python script taking data from ralph for Ansible invertory,it UNAUTHORIZED in ralph runserver, but works well in debug mode
    def getJsonObject(urlstr):
    url=baseURL +urlstr
    base64string = base64.encodestring('%s:%s' % (username, password)).replace('\n', '')
    request = urllib2.Request(url)
    request.add_header("Authorization", "Basic %s" % base64string) 
    result = urllib2.urlopen(request)
    data = result.read()
    # print data
    jsonObject= json.loads(data)
    # results=jsonObject['results']
    return jsonObject
Mateusz Kurek
@mkurek
@lip177891840 are you using ralph rest api?
Mr Black
@lip177891840
yes,
do you have any idea? i dont know the specific defferences between ralph runserver and make run
Mateusz Kurek
@mkurek
first of all, if you are using rest api, try token authentication: http://ralph-ng.readthedocs.io/en/latest/user/api/#authentication
make run run runserver with debug enabled - that what probably makes a difference here
Mr Black
@lip177891840
ok,i will hava a try , THANKS
Mr Black
@lip177891840
@mkurek ,it works ,i think i need to be familiar with ralph
bencheikh
@bencheikh
G.M every one How to import Excel File in Ralph ( is there any specific format to respect and wich field should i fill first ) I only care about servers (Hostname , Type , Model , IP , Env)
one last thing how to change all setting language in Ralph
bencheikh
@bencheikh
i checked import data workflow but i can't fixe it

Line number: 1 - "Column 'id' not found in dataset. Available columns are: ['hostname;barcode']"
OrderedDict([('hostname;barcode', 'xxx;xxx')])

Traceback (most recent call last):
File "/opt/ralph/ralph-core/lib/python3.4/site-packages/import_export/fields.py", line 57, in clean
value = data[self.column_name]
KeyError: 'id'

During handling of the above exception, another exception occurred:

Pete
@kasim1r
Hey guys, how would I delete an object via API? Let's say I did a search for memory like this:
api/memory/?limit=10&offset=0&base_object=6
and it returns one id
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "url": "https://ralph.my.domain/api/memory/1/",
            "ui_url": "https://ralph.my.domain/assets/memory/1/",
            "created": "2016-10-05T18:40:58.994684",
            "modified": "2016-10-05T18:40:58.994707",
            "model_name": "vmem",
            "size": 2048,
            "speed": null,
            "base_object": {
                "id": 6,
                "url": "https://ralph.my.domain/api/base-objects/6/",
                "tags": [],
                "created": "2016-09-14T17:57:03.729526",
                "modified": "2016-10-05T18:40:58.991509",
                "remarks": "",
                "parent": "https://ralph.my.domain/api/base-objects/2/",
                "service_env": "https://ralph.my.domain/api/services-environments/3/",
                "configuration_path": null
            }
        }
    ]
how would I delete this memory instance?
Pete
@kasim1r
ah, forget it. I found method DELETE in the documentation
but thanks for reading :P
✪ vi4m Marcin Kliks
@vi4m
:-)
You did it :-)
I plan to add section of "Companies using Ralph" to the webpage. Anyone interested to be proudly listed in this section ? :-)
Silencedpulse
@Silencedpulse
Is it possible to run Ralph in WAMP?
✪ vi4m Marcin Kliks
@vi4m
We haven't tried it yet
I think it's much better to stick to virtual machine Linux system - you will get fully compatible setup
And still it runs on windows
Silencedpulse
@Silencedpulse
I understand but wasn't sure if there was a service that ran in the background on a *nix system. Thank you for the prompt response
xliiv
@xliiv
wouldn't docker do the job even on windows? @Silencedpulse
Silencedpulse
@Silencedpulse
I think it could, I haven't run Docker in Windows but already had WAMP installed.
Silencedpulse
@Silencedpulse
Another quick question, we have storage controllers where 2 are per chassis. I tried to assign a node to a parent and slot in the chassis but it states this option is only available for servers, is there a way to change this or create a new chassis object dedicated to storage controllers?
✪ vi4m Marcin Kliks
@vi4m
@xliiv is right, Docker should do the job :)
aarondcounts
@aarondcounts
Is there a way to add end of life and end of support to an object?
✪ vi4m Marcin Kliks
@vi4m
@aarondcounts did you check our supports module?
aarondcounts
@aarondcounts
@vi4m that is what I was trying to figure out how to configure. Thank you
aarondcounts
@aarondcounts
Is there any plan to be able to use Ubuntu 16.04 or 18.04?
✪ vi4m Marcin Kliks
@vi4m
yes, we’re working on 16.04 version
Andrea Cervesato
@koma85
Hi all