Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Michał Suszko
@msuszko
I have OpenStack and VMware vCentre
plus some HyperV, stanalone ESX, AIX LPAR, and a mainframe
Mateusz Kurek
@mkurek
so CloudHost (and all Cloud*) are dedicated for cloud solutions like OpenStack, but we'll create something very similar to that for virtual machines (ex. without this flavor model, maybe with additional components)
Michał Suszko
@msuszko
I'm using different approach to scan OpenStack. We have services on Zato (http://zato.io) that are invoked by OpenStack hooks
@mkurek why separate model? vCentre has model very close to OpenStack
Michał Suszko
@msuszko
Also, you store hypervisor as an attribute of CloudHost, I chose to skip it, and just have relation to Provider
Mateusz Kurek
@mkurek
@msuszko virtual model is not fully clarified yet - maybe we'll (re)use cloud model. We'll probably create some REP (issue) for that when you'll post your requirements (if you have any) for this model so this could satisfy our both needs
This message was deleted
Michał Suszko
@msuszko
@mkurek yes, certainly, and maybe we can arrange IRL meeting to discuss few topics
Mateusz Kurek
@mkurek
sure
mrpugster
@mrpugster
@mkurek Is there any plan to change the displayed fields on the Hardware / Data center assets screen? Status, Barcode and Invoice aren't used in the particular environment I work in, however having the Rack location on this screen would make lookup a lot easier. I understand people model their environment, just wondered if the ability is going to be built in to select which fields to display or if we'll need to modify the code.
✪ vi4m Marcin Kliks
@vi4m
@mrpugster we encourage users to hide fields using permissions in the settings
you can hide non-required fields this way (which is most of them)
mrpugster
@mrpugster
@vi4m Great - found it thanks. It's very comprehensive. Just wondered if there was any plan on putting the Rack Location field on the main HARDWARE screen. By far the most requested user request is wanting to know which rack a server or switch is in. :-) Guessing I can always change this myself?
Mateusz Kurek
@mkurek
@mrpugster what do you mean by main hardware screen? list of assets/devices? if yes, then probably you're interested in allegro/ralph#2243 - we'll soon provide a way to select own columns-set for every user
mrpugster
@mrpugster
@mkurek yes that's correct - brilliant, you guys think of everything :-)
aveseb
@aveseb

Hi guys, I am trying to import supports with a csv file. I got this error: Line number: 1 - Cannot assign None: "Support.baseobject_ptr" does not allow null values.

Traceback (most recent call last):
File "/home/vagrant/lib/python3.4/site-packages/import_export/resources.py", line 360, in import_data
self.import_obj(instance, row, real_dry_run)
File "/home/vagrant/lib/python3.4/site-packages/import_export/resources.py", line 226, in import_obj
self.import_field(field, obj, data)
ValueError: Cannot assign None: "Support.baseobject_ptr" does not allow null values.

xliiv
@xliiv
@aveseb here is a pull request fixing your case: https://github.com/allegro/ralph/pull/2271/files
aveseb
@aveseb
@xliiv it seems thats ok for previsualization but I got this error : AttributeError: Cannot set values on a ManyToManyField which specifies an intermediary model. Use supports.BaseObjectsSupport's Manager instead.
aveseb
@aveseb
How do you add assets to support (or support to an asset) ? On this url : http://localhost:8000/supports/support/231/assignments/ you cannot navigate through asset when you want add an assignment. This is neither possible by http://localhost:8000/data_center/datacenterasset/200/data_center_asset_support/ When you click on add it add an empty column too.
Mateusz Kurek
@mkurek
@aveseb in your first link, in asset field you need to type asset property (ex. barcode, sn etc) or use the magnifier icon to open popup with list of assets
aveseb
@aveseb
@mkurek Ok I see what you mean. I've compared with the online demo on http://allegro.tech/ralph/ and I haven't the same thing. I think it's a problem with cache on django or something like that (i've tried with 2 different browser). I tried ralph clean_cache ; ralph clean_pyc without success, would you have an idea ? I'm using vagrant in order to make a pre-version of my environnement before install it on a true server.
Mateusz Kurek
@mkurek
@aveseb maybe it's because of js libraries? try to run gulp in ralph dir
aveseb
@aveseb
@mkurek yes it was the problem. Thanks you for your help
aveseb
@aveseb
Hi, I saw it was possible to make reports with template reports by uploading a file. How does it work ? I saw a report template on your demo site, but do we need to do something it order to that report appears in the menu (register a view for this template or something like that). Basically I would try to export a report with all hardware's assets that have a support contract.
Michael Holt
@mholttech
hey, i'm trying to set up LDAP auth with an AD server, where do I start? I'm following https://github.com/allegro/ralph/blob/83b837995d1b8aa2ef18f898a6d8f49cbcfa5668/docs/installation/configuration.md but don't know where to put the code
Michael Holt
@mholttech
#2298 this is where i'm at with trying to get LDAP working, @vi4m are you around to help?
Manuel Rüger
@mrueg
btw. are there any plans for something like ralph-data, that includes names for vendors etc.?
✪ vi4m Marcin Kliks
@vi4m
@mrueg yes
xliiv
@xliiv
@aveseb could you be more specific? provide some url or something, because it's not clear to me what feature are you talking about
aveseb
@aveseb
@xliiv sorry I was on holidays. I was talking about this url : http://ralph.mkurek.com/reports/report/ And you can put a template such as an odt file with something like that :{%for asset in assets%} {{asset.barcode}}
{{asset.model|e}}
{{asset.sn}} / {{asset.imei}}
I was wondering how to export all hardwares that have a contract support and the contract associated
xliiv
@xliiv
@aveseb i'll take a look today and give you some info soon
xliiv
@xliiv
@aveseb if you are targeted to data (not format, like odt) you could use exporter feature.. i can't see support column on exported assets for now but this can be handled with a bit of skill in excel..
the second solution is to add support column to exporter which shouldn't be hard, but requries change in Ralph codebase
aveseb
@aveseb
@xliiv Ok, I could use exporter feature. I think I have all informations I need. Thanks
Michał Suszko
@msuszko
Hi
We've collected all consents needed to contribute our code
So expect contributions soon™ ;-)
Mateusz Kurek
@mkurek
@msuszko great! :)
Now I have static full of useless bower crap, and package is 30MB instead of 8
Murtaza Maz
@murtazamaz
Hi
i ma having issue, when i am trying to delete an asset record giving me error )Error: Insufficient permissions! pls help.
✪ vi4m Marcin Kliks
@vi4m
@murtazamaz what groups do you belong to ? what do you see in settings->permission ?
Murtaza Maz
@murtazamaz
Thanks i am new here and not sure which group, i was trying to delete the asset but giving error, what i did i restore the my backup and now it is fine, i think i tried to delete the some record from mysql and after that i was unable delete from panel. than ks
Emiliano Jankowski
@mustela
Hey there! is there any way to restrict data centers to certains users? Like DataCenter1 to only User1, and DataCenter2 to User1 and User2
Mateusz Kurek
@mkurek
hi @mustela - unfortunately not yet
Emiliano Jankowski
@mustela
thanks @mkurek !
ju5t
@ju5t
hi, is it possible to add ip ranges instead of individual ip's in ralph?
✪ vi4m Marcin Kliks
@vi4m
you can create networks with ip ranges, if you want
but an assets ip assignment means - one ip