Wednesday, 2018-02-14

*** openstackgerrit has joined #openstack-vitrage02:19
openstackgerritMinWookKim proposed openstack/vitrage-dashboard master: Add action list panel for entity click action  https://review.openstack.org/54415102:19
*** liusheng has quit IRC02:43
*** liusheng has joined #openstack-vitrage02:43
openstackgerritMinWookKim proposed openstack/vitrage-dashboard master: Add action list panel for entity click action  https://review.openstack.org/54415103:58
*** diablo_rojo has quit IRC05:34
*** eyalb has joined #openstack-vitrage06:34
*** ifat_afek has joined #openstack-vitrage07:36
*** annarez has joined #openstack-vitrage08:13
openstackgerritAnna Reznikov proposed openstack/vitrage master: adding support for networkx 2.0  https://review.openstack.org/54423310:15
*** ifat_afek has quit IRC10:16
*** ifat_afek has joined #openstack-vitrage11:05
sq4indGood Morning, is there any way to add ceph status to the EntityGraph/Topology ? I am trying to add it via the static datasource but with no luck ;/ (ocata on centos7)11:44
ifat_afekHi sq4ind :-)11:45
ifat_afekLet me better understand: in order to see Ceph status in Vitrage, you need two things: 1. to see a “Ceph” entity in the entity graph 2. to have an alarm on Ceph by a monitor11:46
ifat_afekThe static datasource can help you with #1. Is that what you tried?11:46
ifat_afekAnd about #2, do you have a monitor or an external data source that can tell you Ceph status?11:47
sq4indyep that's true, however I cannot see ceph in the entity ;/11:47
sq4indifat_afek: yep, nagios is monitoring ceph cluster status11:47
ifat_afekWe don’t have a datasource for Ceph at the moment. You can create one, or add it as a static entity11:49
sq4indifat_afek: I know, i wanted to add it as a static entity, but with no luck ;/11:49
ifat_afekAs a static datasource, you can define a “Ceph” entity that is connected to the relevant computes. Is this what you have in mind?11:49
sq4indifat_afek: yes11:50
ifat_afekAre you using the static datasource or the static_physical? I believe that in Ocata we already had the static datasource, which is better11:50
sq4indhttps://pastebin.com/8Z3Rdy7v11:51
ifat_afekYou should add in your static yaml file also the target as an entity11:53
ifat_afeke.g.:11:53
ifat_afek- static_id: nova0.domain.com11:54
ifat_afek      type: ???11:54
ifat_afek      name: nova0.domain.com11:54
ifat_afek      state: active11:54
ifat_afekAnd BTW, when you write type ‘host’, do you mean Nova host? because in Vitrage the hosts are of type “nova.host”11:54
sq4indah ok11:55
sq4indwill try it11:55
sq4indnow11:55
ifat_afekNote that after each change of the static file you should restart the vitrage graph11:55
ifat_afekLet us know if you need more help11:55
sq4indyep doing it :)11:57
sq4indifat_afek: thank you !11:57
ifat_afekNo problem :-)11:57
openstackgerritAnna Reznikov proposed openstack/vitrage master: adding support for networkx 2.0  https://review.openstack.org/54423312:17
sq4indifat_afek: no luck;/ let leave ceph for a moment. When I am trying to set up a switch like this: https://pastebin.com/0tCqP6Eq I am getting this error: https://pastebin.com/GxkXWeWE Any idea what I am doing wrong ?12:24
openstackgerritOpenStack Proposal Bot proposed openstack/vitrage master: Updated from global requirements  https://review.openstack.org/54429112:36
openstackgerritOpenStack Proposal Bot proposed openstack/vitrage-tempest-plugin master: Updated from global requirements  https://review.openstack.org/54429212:37
*** eyalb has quit IRC12:51
openstackgerritMerged openstack/vitrage-tempest-plugin master: Updated from global requirements  https://review.openstack.org/54429213:18
ifat_afeksq4ind: I’ll check it and get back to you, ok?13:44
sq4indifat_afek: no problem at all :)13:50
sq4indifat_afek: when I've added id: to the config file (like here: https://docs.openstack.org/vitrage/latest/contributor/static-config.html) errors are not occuring any more in log, however I still cannot see the static datasource in the Entity Graph ;/13:51
ifat_afeksq4ind: just to make sure - do you have ‘static’ defined in your list of ‘types’ in /etc/vitrage/vitrage.conf?13:59
ifat_afekRegarding the id - it is needed for static entities. Looks like we have (or had in Ocata) a bug that if the id is missing there is an exception. We should have had a validation mechanism for the static file, unfortunately we don’t have it.14:01
sq4indifat_afek: yes I have static in the type, like this: types = nova.host,nova.instance,nova.zone,cinder.volume,neutron.port,neutron.network,nagios,static14:02
sq4indand another piece of config for static datasaources14:06
sq4ind[static]14:06
sq4inddirectory = /etc/vitrage/static_datasources/14:06
sq4indchanges_interval = 3014:06
sq4indin /etc/vitrage/vitrage.conf14:06
ifat_afekWell, it looks ok. I’ll check it on my env14:15
sq4indifat_afek: thanks14:16
ifat_afeksq4ind: I tested your file in a Queens devstack and it works. Can you please send me the graph.log file? might be easier in the mailing list14:44
ifat_afekIt works with the id. Without the id I get the same error as you did14:44
openstackgerritMerged openstack/vitrage master: Updated from global requirements  https://review.openstack.org/54429114:44
sq4indifat_afek: and the switch is being added to the entity graph ?14:47
ifat_afekYes, and it is connected to the network14:55
ifat_afekTry also to check if you get the switch in ‘vitrage topology show’14:56
ifat_afekBut I’m using Queens, so maybe there was a bug in Ocata14:56
ifat_afekBTW, before sending me the logs, please set debug=true in vitrage.conf and restart the vitrage-graph service14:57
sq4indifat_afek: I will shortly, can you please provide me with the mailing list address? Thanks14:59
ifat_afekAre you registered on openstack-dev mailing list? you can only use it if you are registered15:01
ifat_afekhttp://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev15:02
ifat_afekIf you send an email to that list, please write a [vitrage] tag in the beginning of the title, so only Vitrage developers will get it. If you don’t want to register to the list, you can email me directly: ifat.afek@nokia.com15:03
*** bobh has joined #openstack-vitrage15:05
-openstackstatus- NOTICE: Due to a race in stable/queens branch creation and some job removals, Zuul has reported syntax errors for the past hour; if you saw a syntax error reported for "Job tripleo-ci-centos-7-ovb-containers-oooq not defined" you can safely recheck now15:05
*** annarez has quit IRC15:16
*** aasmith has quit IRC15:17
*** aasmith has joined #openstack-vitrage15:18
sq4indifat_afek: thanks, I will send it tomorrow as I have to go now. Have a nice day!15:55
ifat_afekThanks, have a nice day too :-)15:58
*** ifat_afek has quit IRC16:31
openstackgerritMerged openstack/vitrage master: adding support for networkx 2.0  https://review.openstack.org/54423316:53
*** annarez has joined #openstack-vitrage17:09
*** diablo_rojo has joined #openstack-vitrage17:15
*** annarez has quit IRC17:26
*** openstackgerrit has quit IRC18:33
*** bobh has quit IRC18:58
*** bobh has joined #openstack-vitrage19:38
*** bobh has quit IRC22:17

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!