[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
OK, so we need to fix uvt-kvm in the first instance; Juju cannot be expected to support KVM containers until uvtool works. Take a look at /usr/share/uvtool/libvirt/template.xml. This is what is supplied to libvirt by default (after some automatic manipulation for other command line arguments and defaults such as a disk image to use, memory size, etc). You can override this baseline definition with uvt- kvm create --template=... release=trusty arch=arm64 label=release. The XML schema here is defined by libvirt (specified in http://libvirt.org/formatdomain.html). What we need is either a corrected XML that uvtool should use for all architectures, or per- architecture XML definitions and a feature in uvtool to use the correct architecture's XML definitions by default (I'm curious as to how it should detect this; should detection be based on the architecture on the host, on the guest, or both?). This may involve pushing patches to libvirt if support is not already there. I don't see anything PCI-specific in the default XML, so why does libvirt fail with that error? Do we know what the status of arm64 is in libvirt? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
What does uvt-kvm create foo release=trusty arch=arm64 label=release give you after the failure, please? Is uvt-kvm known to work correctly on arm64? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
uvt-kvm create foo release=trusty arch=arm64 label=release uvt-kvm: error: libvirt: XML error: No PCI buses available I am not sure. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
** Attachment added: environments yaml https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+attachment/4165128/+files/environments.yaml -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
** Attachment added: all machines log https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+attachment/4165126/+files/all-machines.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
** Attachment added: local jenv https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+attachment/4165129/+files/local.jenv ** Description changed: I tried the workaround from https://bugs.launchpad.net/ubuntu/+source /juju-core/+bug/1317680, but that did not solve the issue. + + The steps I am performing to get here are: + juju bootstrap + uvt-simplestreams-libvirt purge + uvt-simplestreams-libvirt sync release=trusty arch=arm64 + juju add-machine Here are some outputs: juju status environment: local machines: - 0: - agent-state: started - agent-version: 1.20.1.1 - dns-name: localhost - instance-id: localhost - series: trusty - state-server-member-status: has-vote - 1: - agent-state-info: 'kvm container creation failed: exit status 1' - instance-id: pending - series: trusty + 0: + agent-state: started + agent-version: 1.20.1.1 + dns-name: localhost + instance-id: localhost + series: trusty + state-server-member-status: has-vote + 1: + agent-state-info: 'kvm container creation failed: exit status 1' + instance-id: pending + series: trusty services: {} root 1615 0.1 0.9 2029096 322460 ? Ssl Jul28 1:14 /home/ubuntu/.juju/local/tools/machine-0/jujud machine --data-dir /home/ubuntu/.juju/local --machine-id 0 --debug root 1635 0.1 0.1 2013300 40752 ? Ssl Jul28 1:22 /usr/lib/juju/bin/mongod --auth --dbpath=/home/ubuntu/.juju/local/db --sslOnNormalPorts --sslPEMKeyFile /home/ubuntu/.juju/local/server.pem --sslPEMKeyPassword xxx --bind_ip 0.0.0.0 --port 37017 --noprealloc --syslog --smallfiles --journal --keyFile /home/ubuntu/.juju/local/shared-secret --replSet juju --oplogSize 1 ubuntu 29772 0.0 0.0 5136 824 pts/1S+ 10:08 0:00 grep --color=auto juju + + uvt-simplestreams-libvirt query + release=trusty arch=arm64 label=release (20140724) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
** Attachment added: cloud init log https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+attachment/4165127/+files/cloud-init-output.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
** Attachment added: machine 0 log https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+attachment/4165125/+files/machine-0.log -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
Was able to reproduce this issue with the newer version of juju found here: http://juju-ci.vapour.ws:8080/job/publish-revision/711/ -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1349854] Re: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1
Using the tools from here: https://juju-dist.s3.amazonaws.com/rc- testing/tools -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1349854 Title: kvm container creation failed: exit status 1 on arm64 with juju 1.20.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1349854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs