These are chat archives for allegro/ralph

7th
May 2015
flashput
@flashput
May 07 2015 01:50
how to make datacenter and rack selectable?
how to make datacenter and racks selectable? what does unlock automated updates mean?
flashput
@flashput
May 07 2015 01:55
mac-address-speed
records below ‘Device’ is mac_address from scan plugin , comes in this format : mac_addresses[mac1, mac2,mac2] , how to define Label & model in this page?
flashput
@flashput
May 07 2015 02:01
@andrzej-jankowski how to specify Venture , Manufacturer, DataCenter in scan plugins? And is there any way to update empty fields in ralph_assets with scan results?
As I mentioned, Model name from ralph_assets may not be the same with ralph core. Model name from scan plugin only update data in ralph core.
Linux-Dream
@Linux-Dream
May 07 2015 07:13
yeah, i have the same confusion with u, @flashput it's hard to make clear the core and assets module.
flashput
@flashput
May 07 2015 07:29
mac address presented as parts/components of device, I wonder if I should put mac_address in device[parts][mac_address] dict
Linux-Dream
@Linux-Dream
May 07 2015 08:32
@flashput how to add Racks in "Home › Discovery › Networks › Add network"
what i add in "Home › Ralph_assets › Racks" area can't be seen when i add network!
flashput
@flashput
May 07 2015 08:35
@Linux-Dream you have to add Rack as a device .
Linux-Dream
@Linux-Dream
May 07 2015 08:38
how to do this,please help me!!
i want to auto scan device , when i add a ip, but ralph say my ip didn't belong to any network .. so i need to add network first, but i can't add network beacuse of the Rack
you mean i should add rack in cmdb?
flashput
@flashput
May 07 2015 08:40
Home › Discovery › Devices
Linux-Dream
@Linux-Dream
May 07 2015 08:45
i can't add devices, ralph say:
"Adding this type of devices is allowed only via Assets module."
flashput
@flashput
May 07 2015 08:45
maybe we can talk via QQ..
Linux-Dream
@Linux-Dream
May 07 2015 08:48
OK,show me your qq number
flashput
@flashput
May 07 2015 08:48
10955726
flashput
@flashput
May 07 2015 09:25
@vi4m any advice?
✪ vi4m Marcin Kliks
@vi4m
May 07 2015 09:25
so, basically
in short: new version is coming without this limitations, BUT in current version:
  • if you want to add rack device, you have to add it in core using Device -> type rack
  • assets module have to be populated with some basic assets information in order to save additional scan information
flashput
@flashput
May 07 2015 09:27
will new version compatible with data of old version?
✪ vi4m Marcin Kliks
@vi4m
May 07 2015 09:28
we will ship some data migration script
flashput
@flashput
May 07 2015 09:30
that’s so nice
how about the device parts problem
I should add mac_address
as parts ?
Linux-Dream
@Linux-Dream
May 07 2015 09:38
OK,i understand your design mind with the help of flashput, thanks all!
Linux-Dream
@Linux-Dream
May 07 2015 10:07
@vi4m how to config queue in redis to support scan?
when i add a ip to auto scan ,it gives me this error:
return get_redis_connection(QUEUES[name])
KeyError: u'discover_scan'
flashput
@flashput
May 07 2015 10:08
in .ralph/settings
Linux-Dream
@Linux-Dream
May 07 2015 10:09
ok
got it
✪ vi4m Marcin Kliks
@vi4m
May 07 2015 10:10
@all i put some design info about new Ralph 3.0 maybe you could put some comments https://github.com/allegro/ralph/wiki/Ralph-3.0-development
✪ vi4m Marcin Kliks
@vi4m
May 07 2015 10:27
@Linux-Dream i'd like to check if you have permissions to edit/comment wiki pages?
i'm not sure how it works with github
Linux-Dream
@Linux-Dream
May 07 2015 10:28
i
have the permission
✪ vi4m Marcin Kliks
@vi4m
May 07 2015 13:03
@Linux-Dream i think it will be good time to get involved in development 3.x
would you like to see data models for 3.x?
aveseb
@aveseb
May 07 2015 13:13
Hi guys, I've discovered a device and attached it to an asset (a rack server). This asset is in a rack that itself is in a dc. When I link my device to the asset there is no problem. But when I go to my device there is no rack nor datacenter attached and I web ui doesn't let me change it. Any idea, I am pretty sure I've missed something but I cannot find what
aveseb
@aveseb
May 07 2015 14:02
@vi4m I've just watched your design info about Ralph 3.0. And maybe my problem just above would be typically resolved with the new design. In my opinion it makes sens to join ralph_core and ralph_asset in just one package. But I wonder, discovering of entire network (a /24 for exemple) will be still available ?
✪ vi4m Marcin Kliks
@vi4m
May 07 2015 14:08
i think we will reuse existing scan mechanizm, which scan networks, stores result in redis database, and allows you to create manually missing assets. so you will go through asset -> add asset with autocompleted information. I think you should not auto-add thousands of assets at once without manual verification, though