The status of libvirt virtual machines is not reported

Bug #1272425 reported by Emmanuel Seyman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OCS Inventory: Unified Unix Agent
Fix Released
Low
Frank

Bug Description

I'm using ocsinventory-agent 2.0.5.
Running it on a machine,I get the lxc virtual machines that exist on the server but not their status.

After investigating, I narrowed it down to two lines in Ocsinventory/Agent/Backend/Virtualization/Libvirt.pm:

            my $status = $3;

            my $status =~ s/^shut off/off/;

The second 'my' will 're-initialise $status and the status of the virtual machine will be forgotten.
These lines are present in 2.1rc1.

Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
importance: Undecided → Low
assignee: nobody → Frank (frank-bourdeau)
Frank (frank-bourdeau)
Changed in ocsinventory-unix-agent:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.