[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Regression testing has passed successfully. zesty-ocata-proposed with stable charms: == Totals == Ran: 102 tests in 1897.0150 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1011.5607 sec. zesty-ocata-proposed with dev charms: == Totals == Ran: 102 tests in 1933.5299 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 963.0546 sec. xenial-ocata-proposed with stable charms: == Totals == Ran: 102 tests in 1767.3787 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 906.2188 sec. xenial-ocata-proposed with dev charms: == Totals == Ran: 102 tests in 2051.1377 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 998.9001 sec. ** Tags removed: verification-ocata-needed ** Tags added: verification-ocata-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+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 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Regression testing has passed successfully. zesty-ocata-proposed with stable charms: == Totals == Ran: 102 tests in 1897.0150 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 1011.5607 sec. zesty-ocata-proposed with dev charms: == Totals == Ran: 102 tests in 1933.5299 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 963.0546 sec. xenial-ocata-proposed with stable charms: == Totals == Ran: 102 tests in 1767.3787 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 906.2188 sec. xenial-ocata-proposed with dev charms: == Totals == Ran: 102 tests in 2051.1377 sec. - Passed: 93 - Skipped: 9 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 998.9001 sec. ** Tags removed: verification-ocata-needed ** Tags added: verification-ocata-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
This bug was fixed in the package qemu - 1:2.8+dfsg-3ubuntu2.7 --- qemu (1:2.8+dfsg-3ubuntu2.7) zesty; urgency=medium * d/p/ubuntu/virtio-Fix-no-interrupt-when-not-creating-msi-contro.patch: on Arm fix no interrupt when not creating msi controller. That fixes broken networking if running with virtio-mmio only (LP: #1719196). -- Christian EhrhardtWed, 18 Oct 2017 16:17:34 +0200 ** Changed in: qemu (Ubuntu Zesty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
** Tags removed: verification-needed-zesty ** Tags added: verification-done-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Thanks Christian - I've now verified this. I took a stepwise approach: 1) We originally observed this issue w/ the ocata cloud archive on xenial, so I redeployed that. I verified that I was still seeing the problem. I then created a PPA[*] w/ an arm64 build of QEMU from the ocata-staging PPA, which is a backport of the zesty-proposed package, and upgraded my nova-compute nodes to this version. I rebooted my test guests, and the problem was resolved. 2) I then updated my sources.list to point to zesty (w/ proposed enabled), and upgraded qemu-system-arm. This way I could test the actual build in zesty-proposed, as opposed to my backport. This continued to work. 3) Finally, I dist-upgraded this system from xenial to zesty - so that I'm actually testing the zesty build in a zesty environment, and rebooted. Still worked :) [*] https://launchpad.net/~dannf/+archive/ubuntu/lp1719196 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Ok, Zesty actually had an override for the arm test (had to learn the placement of those for SRUs). So only up to the verification now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
As assumed s390x passed now (so a flaky test), and as outlined before armhf we just have to give up. Looking at the history an override might be the right thing to do. Other than that all looks good, waiting for the verify by Sean/Andrew now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Thanks for the FYI Brian. I see it in pending-SRUs as it should be. I added the -needed tags to be "correct". @Andrew/Sean - could you test proposed and set verified then (assuming it works like the ppa did) Odd - this really seems to hit everything, not only LP timeouts. There are also dep8 regressions listed on systemd which make no sense in relation to the fix. The test history on arm is borked since February [1], so I ask you to override and ignore that. On s390x it at least works sometimes, but the log [2] doesn't look much better, but there at least it hits a different issue than before - I'm retriggering this for now - but likely ask to ignore that as well - but I'll take a look at the retry first. [1]: http://autopkgtest.ubuntu.com/packages/s/systemd/zesty/armhf [2]: http://autopkgtest.ubuntu.com/packages/s/systemd/zesty/s390x ** Tags added: verification-needed verification-needed-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
I accepted this but Launchpad timed out when the SRU testing comment was being added. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
** Changed in: qemu (Ubuntu Zesty) Status: Incomplete => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Regression tests on the ppa are good as well, we need to double check the auto-run on proposed then to ensure this doesn't behave differently on other arches. I cleaned up the changelog and UCA backport noise and made a proper SRU for zesty. Note: there is currently another SRU in flight (already in verified state for 2 days), so acceptance from zesty-unapproved likely has to wait a bit until the former one clears completely -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
** Description changed: + [Impact] + + * A change in qemu 2.8 (83d768b virtio: set ISR on dataplane +notifications) broke virtio handling on platforms without a +controller. Those encounter flaky networking due to missed IRQs + + * Fix is a backport of the upstream fix b4b9862b: virtio: Fix no +interrupt when not creating msi controller + + [Test Case] + + * On Arm with Zesty (or Ocata) run a guest without PCI based devices + + * Example in e.g. c#23 + + * Without the fix the networking does not work reliably (as it losses +IRQs), with the fix it works fine. + + [Regression Potential] + + * Changing the IRQ handling of virtio could affect virtio in general. +But when reviwing the patch you'll see that it is small and actually +only changes to enable IRQ on one more place. That could cause more +IRQs than needed in the worst case, but those are usually not +breaking but only slowing things down. Also this fix is upstream +quite a while, increasing confidence. + + [Other Info] + + * There is currently 1720397 in flight in the SRU queue, so acceptance +of this upload has to wait until that completes. + + --- + arm64 Ocata , I'm testing to see I can get Ocata running on arm64 and using the openstack-base bundle to deploy it. I have added the bundle to the log file attached to this bug. When I create a new instance via nova, the VM comes up and runs, however fails to raise its eth0 interface. This occurs on both internal and external networks. ubuntu@openstackaw:~$ nova list +--+-+++-++ | ID | Name| Status | Task State | Power State | Networks | +--+-+++-++ | dcaf6d51-f81e-4cbd-ac77-0c5d21bde57c | sfeole1 | ACTIVE | - | Running | internal=10.5.5.3 | | aa0b8aee-5650-41f4-8fa0-aeccdc763425 | sfeole2 | ACTIVE | - | Running | internal=10.5.5.13 | +--+-+++-++ ubuntu@openstackaw:~$ nova show aa0b8aee-5650-41f4-8fa0-aeccdc763425 +--+--+ | Property | Value | +--+--+ | OS-DCF:diskConfig| MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | awrep3 | | OS-EXT-SRV-ATTR:hypervisor_hostname | awrep3.maas | | OS-EXT-SRV-ATTR:instance_name| instance-0003 | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state| - | | OS-EXT-STS:vm_state | active | | OS-SRV-USG:launched_at | 2017-09-24T14:23:08.00 | | OS-SRV-USG:terminated_at | - | | accessIPv4 | | | accessIPv6 | | | config_drive | | | created | 2017-09-24T14:22:41Z | | flavor | m1.small (717660ae-0440-4b19-a762-ffeb32a0575c) | | hostId | 5612a00671c47255d2ebd6737a64ec9bd3a5866d1233ecf3e988b025 | | id | aa0b8aee-5650-41f4-8fa0-aeccdc763425 | | image| zestynosplash (e88fd1bd-f040-44d8-9e7c-c462ccf4b945) | | internal network | 10.5.5.13 | | key_name | mykey | | metadata | {} | | name | sfeole2 | | os-extended-volumes:volumes_attached | []
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Ok, driving that into an SRU then - thanks for verifying. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
I've testing with the same packages listed in comment #28, Confirmed that this now works.. See attached log ** Attachment added: "novaout.txt" https://bugs.launchpad.net/libvirt/+bug/1719196/+attachment/4977254/+files/novaout.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
I've tested with the packages from the ppa: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2995 qemu: Installed: 1:2.8+dfsg-3ubuntu2.7~ppa5cloud qemu-system-arm: Installed: 1:2.8+dfsg-3ubuntu2.7~ppa5cloud qemu-system-aarch64: Installed: 1:2.8+dfsg-3ubuntu2.7~ppa5cloud Rebooted the instance and it aquired an IP address and booted. more info, virsh dumpxml excerpt: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
will test these and report back shortly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Since the fix mentioned in the previous comments is already in upstream QEMU, I'm setting the upstream status to "Fix released". ** Changed in: qemu Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Yeah, the offending patch in RH-BZ 1422413 appeared in qemu 2.8. So it would make sense to work with newtwon (2.6.1), and pike (2.10), but fail on Ocata (2.8). I checked the ppa, in general it seems to work for me, so I'm now waiting for your verification if that really addresses the issue you are facing. If that would be the case I can pass it through regression tests and afterwards to SRU (which currently holds another update that has to clear before doing so) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Since we wait for the zesty verification I'm setting the status to incomplete for now. ** Changed in: qemu (Ubuntu Zesty) Status: In Progress => Incomplete ** Changed in: libvirt (Ubuntu) Status: Incomplete => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/pike Importance: Undecided Status: New ** Also affects: cloud-archive/ocata Importance: Undecided Status: New ** No longer affects: cloud-archive/pike ** Changed in: cloud-archive/ocata Status: New => Triaged ** Changed in: cloud-archive/ocata Importance: Undecided => High ** Changed in: cloud-archive Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
** Also affects: cloud-archive Importance: Undecided Status: New ** Also affects: cloud-archive/pike Importance: Undecided Status: New ** Also affects: cloud-archive/ocata Importance: Undecided Status: New ** No longer affects: cloud-archive/pike ** Changed in: cloud-archive/ocata Status: New => Triaged ** Changed in: cloud-archive/ocata Importance: Undecided => High ** Changed in: cloud-archive Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-archive/+bug/1719196/+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 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
This appears to be: https://bugzilla.redhat.com/show_bug.cgi?id=1422413 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
To further reinforce what Christian said, the Newton cloud-archive also uses virtio-mmio for its address type. (See my comment#15) Newton XML: but we have proven this works with Newton. Is it fair to say this could be attributed to a change in OVS, between Newton and Ocata? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Hi, @admcleod as discussed on IRC I realized Ocata maps to Zesty so that is qemu 2.8. Therefore the referred patch is released in Artful, but not in Zesty. I tagged up the bug tasks and provide a fix in [1] to test. [1]: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/2995 ** Changed in: qemu (Ubuntu) Status: Incomplete => Fix Released ** Also affects: qemu (Ubuntu Zesty) Importance: Undecided Status: New ** Also affects: libvirt (Ubuntu Zesty) Importance: Undecided Status: New ** No longer affects: libvirt (Ubuntu Zesty) ** Changed in: qemu (Ubuntu Zesty) Status: New => Incomplete ** Changed in: qemu (Ubuntu Zesty) Status: Incomplete => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
So, libvirt knew about some change and picks the right default if you do not specify it. But if you (Openstack in this case) specify virtio-mmio as type, then it fails - is that correct? The patch in the referred RH-BZ is already in the qemu we have in Artful (and thereby Ocata). So if that is supposed to be the issue there has to be a new one after that fix. Also as I've shown in c#17 (yes it is long sorry) - virtio-mmio works with the bridge that libvirt is usually creating - again my assumption is that it is somehow related to how this bridge is created (openvswitch in your case I assume). So is the real error "network fails when using virtio-mmio on openvswitch set up by openstack"? I have no OVS around to quickly try something around that atm. Would it be reasonable to teach Openstack to not define virtio-mmio in this case? Libvirt will make the right default (hopefully also when driven by Openstack which sets some force options), and just work then. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
The problem is with virtio-mmio. https://bugzilla.redhat.com/show_bug.cgi?id=1422413 Instances launched with virtio-mmio on aarch64 will not get DHCP (will not have a nic) xml with libvirt 2.5.0 I have updated libvirt-daemon to 3.6.0 on a particular compute node - when an instance is booted now, the nic section of the virsh xml looks like this: The instance then gets a NIC and is able to get DHCP and complete cloud- init successfully. ** Bug watch added: Red Hat Bugzilla #1422413 https://bugzilla.redhat.com/show_bug.cgi?id=1422413 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
I spent some time today trying to modify the ocata xml templates produced in /etc/libvirt/qemu/.xml for each of the generated instances. Destroying & Undefining the existing instance, making some changes and redefining the xml, however it appears that nova regenerates these templates upon instance reset, thus removing any changes made to the xml template. Is there any way to disable this feature that does not require some serious modifications to the nova underpinnings? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Hi, I was reading into this after being back from PTO (actually back next monday). I was wondering as I tested (without openstack) just that last week with Dannf on the Rally). And indeed it seems to work for me on Artful (which as we all know is =Ocata in terms of SW stack). $ cat arm-template.xml hvm /usr/share/AAVMF/AAVMF_CODE.fd /tmp/AAVMF_CODE.fd host $ uvt-kvm create --template arm-template.xml --password=ubuntu artful- test4 release=artful arch=arm64 label=daily The template is created in a way to let as much as possible for libvirt and qemu to fill in defaults. That way if one of them change we do not have to follow and adapt. Maybe such a thing is happening to you for the more "defined" xml that openstack is sending. >From the hosts point of view all looks normal in journal, you see start and >dhcp discover/offer/ack sequence: Okt 11 10:45:43 seidel kernel: virbr0: port 2(vnet0) entered learning state Okt 11 10:45:45 seidel kernel: virbr0: port 2(vnet0) entered forwarding state Okt 11 10:45:45 seidel kernel: virbr0: topology change detected, propagating Okt 11 10:46:14 seidel dnsmasq-dhcp[2610]: DHCPDISCOVER(virbr0) 52:54:00:b1:db:89 Okt 11 10:46:14 seidel dnsmasq-dhcp[2610]: DHCPOFFER(virbr0) 192.168.122.13 52:54:00:b1:db:89 Okt 11 10:46:14 seidel dnsmasq-dhcp[2610]: DHCPDISCOVER(virbr0) 52:54:00:b1:db:89 Okt 11 10:46:14 seidel dnsmasq-dhcp[2610]: DHCPOFFER(virbr0) 192.168.122.13 52:54:00:b1:db:89 Okt 11 10:46:14 seidel dnsmasq-dhcp[2610]: DHCPREQUEST(virbr0) 192.168.122.13 52:54:00:b1:db:89 Okt 11 10:46:14 seidel dnsmasq-dhcp[2610]: DHCPACK(virbr0) 192.168.122.13 52:54:00:b1:db:89 ubuntu The guest also seems "normal" to me: $ uvt-kvm ssh artful-test4 -- journalctl -u systemd-networkd -- Logs begin at Wed 2017-10-11 10:46:03 UTC, end at Wed 2017-10-11 11:02:31 UTC. -- Oct 11 10:46:11 ubuntu systemd[1]: Starting Network Service... Oct 11 10:46:11 ubuntu systemd-networkd[547]: Enumeration completed Oct 11 10:46:11 ubuntu systemd[1]: Started Network Service. Oct 11 10:46:11 ubuntu systemd-networkd[547]: enp1s0: IPv6 successfully enabled Oct 11 10:46:11 ubuntu systemd-networkd[547]: enp1s0: Gained carrier Oct 11 10:46:12 ubuntu systemd-networkd[547]: enp1s0: Gained IPv6LL Oct 11 10:46:14 ubuntu systemd-networkd[547]: enp1s0: DHCPv4 address 192.168.122.13/24 via 192.168.122.1 Oct 11 10:46:14 ubuntu systemd-networkd[547]: Not connected to system bus, ignoring transient hostname. Oct 11 10:46:24 ubuntu systemd-networkd[547]: enp1s0: Configured The biggest and obviously most important difference is in the networking that is used: While openstack generates a type="bridge" network where the bridge is not managed by libvirt (compared to the default net I use). Never the less both setups create a bridge and tap the guest on it. So this should functionally be equivalent other than the bridge setup right? I tried to make a bridge type config matching to what I had before but close to yours: But this again works: ubuntu@artful-test4:~$ journalctl -u systemd-networkd --no-pager -- Logs begin at Wed 2017-10-11 11:12:10 UTC, end at Wed 2017-10-11 11:13:00 UTC. -- Oct 11 11:12:17 artful-test4 systemd[1]: Starting Network Service... Oct 11 11:12:17 artful-test4 systemd-networkd[604]: Enumeration completed Oct 11 11:12:17 artful-test4 systemd[1]: Started Network Service. Oct 11 11:12:17 artful-test4 systemd-networkd[604]: enp1s0: IPv6 successfully enabled Oct 11 11:12:17 artful-test4 systemd-networkd[604]: enp1s0: Gained carrier Oct 11 11:12:18 artful-test4 systemd-networkd[604]: enp1s0: Gained IPv6LL Oct 11 11:12:20 artful-test4 systemd-networkd[604]: enp1s0: DHCPv4 address 192.168.122.14/24 via 192.168.122.1 Oct 11 11:12:20 artful-test4 systemd-networkd[604]: Not connected to system bus, ignoring transient hostname. Oct 11 11:12:30 artful-test4 systemd-networkd[604]: enp1s0: Configured Dumping the XML to check if it might have rewritten a lot shows me that my config is good: So TL;DR a config almost the same as yours works. Yet the difference is that livbirt has set up 'virbr0' in my case and I'd assume openstack did create qbrb5d335fc-46 on its own. As next step I'd recommend iterating your config around different bridge scenarios to find what breaks it. Then if reasonable try to exclude openstack from the equation as I shown above (or not if you think the fix needs to be in openstack). I hope this helped to get closer to the root
[Bug 1719196] Re: [arm64 ocata] newly created instances are unable to raise network interfaces
Note - be careful if you mean upstream qemu/libvirt (as the bug was filed) or the packages in Ubuntu (I added tasks for these). I try to spot both, but will be more on-track for the latter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1719196 Title: [arm64 ocata] newly created instances are unable to raise network interfaces To manage notifications about this bug go to: https://bugs.launchpad.net/libvirt/+bug/1719196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs