[Bug 1518210] [NEW] Error launching newtork wizard: xmlParseDoc() failed

2015-11-20 Thread Andrew Spiers
Public bug reported:

when clicking the plus symbol to add a new network, the abovenamed
exception is thrown, with the stack trace below in the details window.


Package: virt-manager
State: installed
Automatically installed: no
Version: 1:1.0.1-5ubuntu1


Error launching network wizard: xmlParseDoc() failed

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/host.py", line 469, in add_network
self.addnet.show(self.topwin)
  File "/usr/share/virt-manager/virtManager/createnet.py", line 104, in show
self.reset_state()
  File "/usr/share/virt-manager/virtManager/createnet.py", line 174, in 
reset_state
for path in self.conn.list_net_device_paths():
  File "/usr/share/virt-manager/virtManager/connection.py", line 767, in 
list_net_device_paths
self.netdevs = self._build_libvirt_netdev_list()
  File "/usr/share/virt-manager/virtManager/connection.py", line 665, in 
_build_libvirt_netdev_list
for nodedev in self.get_nodedevs("net"):
  File "/usr/share/virt-manager/virtManager/connection.py", line 697, in 
get_nodedevs
xmlobj = dev.get_xmlobj()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 151, in 
get_xmlobj
self._reparse_xml()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 216, in 
_reparse_xml
self._xmlobj = self._build_xmlobj(self._get_raw_xml())
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 219, in 
_build_xmlobj
return self._parseclass(self.conn.get_backend(), parsexml=xml)
  File "/usr/share/virt-manager/virtManager/nodedev.py", line 27, in 
_parse_convert
return NodeDevice.parse(conn, parsexml)
  File "/usr/share/virt-manager/virtinst/nodedev.py", line 95, in parse
tmpdev = NodeDevice(conn, parsexml=xml, allow_node_instantiate=True)
  File "/usr/share/virt-manager/virtinst/nodedev.py", line 106, in __init__
XMLBuilder.__init__(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtinst/xmlbuilder.py", line 777, in __init__
parent_xpath, relative_object_xpath)
  File "/usr/share/virt-manager/virtinst/xmlbuilder.py", line 679, in __init__
self._parse(parsexml, parsexmlnode)
  File "/usr/share/virt-manager/virtinst/xmlbuilder.py", line 692, in _parse
doc = libxml2.parseDoc(xml)
  File "/usr/lib/python2.7/dist-packages/libxml2.py", line 1327, in parseDoc
if ret is None:raise parserError('xmlParseDoc() failed')
parserError: xmlParseDoc() failed

** Affects: virt-manager (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518210

Title:
  Error launching newtork wizard: xmlParseDoc() failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1518210/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1518210] Re: Error launching newtork wizard: xmlParseDoc() failed

2015-11-21 Thread Andrew Spiers
Marking this invalid because suddenly (after no upgrades) I can't reproduce 
this any more.
Apologies for the noise. I don't want to delete this, just in case it pops up 
again or other people see the same issue.

** Changed in: virt-manager (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518210

Title:
  Error launching newtork wizard: xmlParseDoc() failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virt-manager/+bug/1518210/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1398248] Re: heat-cfntools unrunnable

2015-09-29 Thread Andrew Spiers
This shows the broken version and the broken packaging:

# apt-cache policy heat-cfntools
heat-cfntools:
  Installed: 1.2.5-1
  Candidate: 1.2.5-1
  Version table:
 *** 1.2.5-1 0
500 http://melbourne-qh2.clouds.archive.ubuntu.com/ubuntu/ 
trusty/universe amd64 Packages
100 /var/lib/dpkg/status
# cfn-init 
Traceback (most recent call last):
  File "/usr/bin/cfn-init", line 22, in 
from heat_cfntools.cfntools import cfn_helper
ImportError: No module named heat_cfntools.cfntools


heat-cfntools 1.2.7-2 in utopic does not have this problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1398248

Title:
  heat-cfntools unrunnable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heat-cfntools/+bug/1398248/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1494602] [NEW] qemu-system-x86 nested virtualisation is broken on AMD system

2015-09-10 Thread Andrew Spiers
Public bug reported:

I am reporting this bug against qemu-system-x86=1:2.2+dfsg-5expubuntu9.3~cloud0 
in the Ubuntu cloud archive.


# lsb_release -rd   
Description:Ubuntu 14.04.3 LTS  
Release:14.04   
# apt-cache policy qemu-system-x86  
qemu-system-x86:
  Installed: 1:2.3+dfsg-5ubuntu4~cloud0 
  Candidate: 1:2.3+dfsg-5ubuntu4~cloud0 

What is happening:  
Version 1:2.2+dfsg-5expubuntu9.3~cloud0 of qemu-system and qemu-system-x86_64   
seems to be dropping the svm (AMD nested virtualization) flag from virtual  
machines, despite it being specified in the CPU type. So nested virtualisation  
has stoppped working.   

What I expect to happen:
svm CPU flag to be passed through to guests.   

Version 1:2.3+dfsg-5ubuntu4~cloud0 also drops the svm flag.

Version 2.0.0+dfsg-2ubuntu1.18 passes the CPU flag through fine.

This has been tested with libvirt-bin version 1.2.12-0ubuntu14. The processor   
is Version: AMD Opteron(TM) Processor 6238. 


# cat /sys/module/kvm_amd/parameters/nested 
1   
# modinfo kvm_amd | grep nested 
parm:   nested:int  


The qemu command line includes the following cpu argument:: 

-cpu 
Opteron_G4,+perfctr_nb,+perfctr_core,+topoext,+nodeid_msr,+lwp,+wdt,+skinit,+ibs,+osvw,+cr8legacy,+extapic,+c
mp_legacy,+fxsr_opt,+mmxext,+osxsave,+monitor,+ht,+vme

** Affects: qemu (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494602

Title:
  qemu-system-x86 nested virtualisation is broken on  AMD system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1494602/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1494602] Re: qemu-system-x86 nested virtualisation is broken on AMD system

2015-09-13 Thread Andrew Spiers
Hello, here is the extra information you have asked for.
Instance 37aa aka kvm id 677 is my currently running test instance, but I have 
given you
the full ps output you have asked for. 18429 is the PID for this instance.




  instance-37aa
  12396aff-3f84-4ceb-9791-d20cf656fb35
  
http://openstack.org/xmlns/libvirt/nova/1.0";>
  
  qemu9
  2015-09-10 06:14:59
  
4096
10
0
30
1
  
  
andrew.spi...@unimelb.edu.au
pt-489
  
  

  
  4194304
  4194304
  1
  
1024
  
  
/machine
  
  

  OpenStack Foundation
  OpenStack Nova
  2015.1.1-a41-g26267dc-trusty
  534d4349-0002-5290-2500-529025005ccf
  12396aff-3f84-4ceb-9791-d20cf656fb35

  
  
hvm


  
  


  
  


  
  



  
  destroy
  restart
  destroy
  
/usr/bin/qemu-system-x86_64

  
  
  
  
  
  


  
  
  
  
  
  


  
  


  


  
  
  
  
  
  
  


  
  
  


  
  
  


  
  
  


  




  


  
  
  


  
  
  

  
  
libvirt-12396aff-3f84-4ceb-9791-d20cf656fb35
libvirt-12396aff-3f84-4ceb-9791-d20cf656fb35
  




root@cc3:~# ps -auxww | egrep -e '(qemu|kvm)'
libvirt+   815  0.3  0.7 8928504 1037444 ? Sl   Sep10  21:43 
/usr/bin/qemu-system-x86_64 -name instance-3798 -S -machine 
pc-i440fx-trusty,accel=kvm,usb=off -cpu 
Opteron_G4,+perfctr_nb,+perfctr_core,+topoext,+nodeid_msr,+lwp,+wdt,+skinit,+ibs,+osvw,+cr8legacy,+extapic,+cmp_legacy,+fxsr_opt,+mmxext,+osxsave,+monitor,+ht,+vme
 -m 4096 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 
cd51f9ff-4175-4a95-abca-49fdcad12316 -smbios type=1,manufacturer=OpenStack 
Foundation,product=OpenStack 
Nova,version=2014.2.1-a153-g68554dc-trusty,serial=534d4349-0002-5290-2500-529025005ccf,uuid=cd51f9ff-4175-4a95-abca-49fdcad12316
 -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-3798.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew 
-global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on 
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
file=/var/lib/nova/in
 
stances/cd51f9ff-4175-4a95-abca-49fdcad12316/disk,if=none,id=drive-virtio-disk0,format=raw,cache=none
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -drive 
file=/var/lib/nova/instances/cd51f9ff-4175-4a95-abca-49fdcad12316/disk.local,if=none,id=drive-virtio-disk1,format=raw,cache=none
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1
 -netdev tap,fd=28,id=hostnet0,vhost=on,vhostfd=29 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:f6:fa:4a,bus=pci.0,addr=0x3 
-chardev 
file,id=charserial0,path=/var/lib/nova/instances/cd51f9ff-4175-4a95-abca-49fdcad12316/console.log
 -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 
-device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 
-vnc 0.0.0.0:4 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
root   821  0.0  0.0  0 0 ?SSep10   0:00 [kvm-pit/815]
libvirt+  1120  0.3  0.8 8928360 1054916 ? Sl   Sep10  20:30 
/usr/bin/qemu-system-x86_64 -name instance-379a -S -machine 
pc-i440fx-trusty,accel=kvm,usb=off -cpu 
Opteron_G4,+perfctr_nb,+perfctr_core,+topoext,+nodeid_msr,+lwp,+wdt,+skinit,+ibs,+osvw,+cr8legacy,+extapic,+cmp_legacy,+fxsr_opt,+mmxext,+osxsave,+monitor,+ht,+vme
 -m 4096 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid 
90bebf98-cc44-4b10-9c19-18bc545e4674 -smbios type=1,manufacturer=OpenStack 
Foundation,product=OpenStack 
Nova,version=2014.2.1-a153-g68554dc-trusty,serial=534d4349-0002-5290-2500-529025005ccf,uuid=90bebf98-cc44-4b10-9c19-18bc545e4674
 -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-379a.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew 
-global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on 
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
file=/var/lib/nova/in
 
stances/90bebf98-cc44-4b10-9c19-18bc545e4674/disk,if=none,id=drive-virtio-disk0,format=raw,cache=none
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -drive 
file=/var/lib/nova/instances/90bebf98-cc44-4b10-9c19-18bc545e4674/disk.local,if=none,id=drive-virtio-disk1,format=raw,cache=none
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virt

[Bug 1494602] Re: qemu-system-x86 nested virtualisation is broken on AMD system

2015-09-14 Thread Andrew Spiers
** Changed in: qemu (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494602

Title:
  qemu-system-x86 nested virtualisation is broken on  AMD system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1494602/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1494602] Re: qemu-system-x86 nested virtualisation is broken on AMD system

2015-09-14 Thread Andrew Spiers
Sorry, I  changed the status of this bug by accident.
But should it still be 'incomplete'? 

** Changed in: qemu (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494602

Title:
  qemu-system-x86 nested virtualisation is broken on  AMD system

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1494602/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1647708] Re: Ephemeral disk on xenial is not mounted at boot

2016-12-06 Thread Andrew Spiers
seems like maybe exchanging 'mount -a' for daemon-reload might've
triggered this:

https://git.launchpad.net/cloud-
init/commit/cloudinit/config/cc_mounts.py?id=9e904bbc3336b96475bfd00fb3bf1262ae4de49f

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1647708

Title:
  Ephemeral disk on xenial is not mounted at boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1647708/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs