Monasca fails libvirt detection for packstack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Monasca |
New
|
Undecided
|
Nagasai Vinaykumar Kapalavai |
Bug Description
Monasca-agent setup fails to enable libvirt plugin when there is no argument nova.conf in the command line. This is observed in the rdo packstack setup.
cmd = proc.as_
if len(cmd) > 2 and 'python' in cmd[0] and 'nova-compute' in cmd[1]:
If the nova.conf file is missing the len(cmd) is 2 and even though the default path for the nova.conf is specified, it skips the detection step. So in the condition the len(cmd) >= 2 to detect and enable libvirt plugin.
Changed in monasca: | |
assignee: | nobody → Nagasai Vinaykumar Kapalavai (vinaykns) |
Change abandoned by Tomasz Trębski (<email address hidden>) on branch: master /review. openstack. org/466354
Review: https:/
Reason: Handled in another change where need to look up for config file was removed.