| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2019-11-05 | |||
| 21:19:00 | openstackgerrit | melanie witt proposed openstack/nova stable/stein: Add regression test for bug 1824435 https://review.opendev.org/692906 | |
| 21:19:00 | openstack | bug 1824435 in OpenStack Compute (nova) stein "fill_virtual_interface_list migration fails on second attempt" [Medium,In progress] https://launchpad.net/bugs/1824435 - Assigned to melanie witt (melwitt) | |
| 21:19:00 | openstackgerrit | melanie witt proposed openstack/nova stable/stein: Remove redundant call to get/create default security group https://review.opendev.org/692907 | |
| 21:19:43 | efried | sean-k-mooney: yes, it points to python2.7 | |
| 21:20:34 | sean-k-mooney | that shoudl be fine i have the same its form here https://opendev.org/x/devstack-plugin-libvirt-qemu/src/branch/master/devstack/libs/libvirt#L209 | |
| 21:22:18 | sean-k-mooney | you could proably comment that line out and install libvirt-python by hand | |
| 21:22:31 | sean-k-mooney | the plugin will be cloned locally to /opt/stack | |
| 21:22:34 | efried | sean-k-mooney: I tried, it fails the same way. I even tried installing a lower version. | |
| 21:23:08 | sean-k-mooney | so installing libvirt python just fails in general form pip | |
| 21:24:06 | efried | oh, hold on, it's failing a different way when I do it manually... | |
| 21:26:48 | efried | sean-k-mooney: http://paste.openstack.org/raw/785826/ | |
| 21:28:41 | efried | sorry, the original thing happened when I tried it manually the first time | |
| 21:28:41 | efried | then I unstacked | |
| 21:28:41 | efried | then after the unstack it started to fail the second way. That's probably because unstack unset the path to libvirt. | |
| 21:29:06 | sean-k-mooney | maybe what to you get if you run this | |
| 21:29:08 | sean-k-mooney | ubuntu@dev:/opt/repos/devstack$ pkg-config libvirt ; echo $? | |
| 21:29:10 | sean-k-mooney | 0 | |
| 21:29:52 | efried | 1 right now, lemme stack again and see... | |
| 21:30:14 | sean-k-mooney | had you stacked on the system before | |
| 21:30:17 | sean-k-mooney | or was it clean | |
| 21:30:25 | sean-k-mooney | im currenly not using a clean vm | |
| 21:30:27 | efried | before before? yes | |
| 21:30:36 | sean-k-mooney | ok same then | |
| 21:30:58 | efried | I unstacked, cleaned, upgraded all packages, rebooted, then started stacking with RECLONE and your plugin, other stuff unchanged. | |
| 21:31:31 | sean-k-mooney | do you have the libvirt.so? | |
| 21:31:32 | sean-k-mooney | ubuntu@dev:/opt/repos/devstack$ ll /usr/lib/libvirt.so | |
| 21:31:34 | sean-k-mooney | lrwxrwxrwx 1 root root 19 Nov 5 21:04 /usr/lib/libvirt.so -> libvirt.so.0.5008.0* | |
| 21:32:13 | openstackgerrit | melanie witt proposed openstack/nova master: Revert "openstack server create" to "nova boot" in nova docs https://review.opendev.org/693065 | |
| 21:32:39 | sean-k-mooney | that shoudl have been install when the pluging did "sudo make install" in the /opt/stack/libvirt folder | |
| 21:33:08 | openstackgerrit | melanie witt proposed openstack/nova master: Revert "openstack server create" to "nova boot" in nova docs https://review.opendev.org/693065 | |
| 21:33:12 | efried | I'll check when I get back to that point | |
| 21:33:24 | efried | I've got another NUC doing the same thing, but with USE_PYTHON3=yes | |
| 21:33:29 | efried | we'll see if that hits the same problem. | |
| 21:42:23 | efried | hm, despite USE_PYTHON3=yes it still appears to be using py2 | |
| 21:49:16 | efried | nevertheless the supposed-py3 one seems to have gotten past that point. | |
| 21:49:38 | sean-k-mooney | i guess that is a good thing | |
| 21:51:13 | sean-k-mooney | im expect apparmor to be unhappy by the way. im currently fixing that on my system | |
| 21:56:53 | openstackgerrit | Dustin Cowles proposed openstack/nova master: Provider Config File: Function to further validate and retrieve configs https://review.opendev.org/676029 | |
| 21:56:53 | openstackgerrit | Dustin Cowles proposed openstack/nova master: WIP: Provider Config File: Merge provider configs to provider tree https://review.opendev.org/676522 | |
| 21:57:27 | efried | sean-k-mooney: what's apparmor? | |
| 21:57:45 | efried | Is it related to this? | |
| 21:57:45 | efried | Connection to libvirt failed: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage': libvirtError: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' | |
| 21:57:58 | sean-k-mooney | its the securaty context that ubuntu use instead of se linux | |
| 21:58:02 | sean-k-mooney | sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/usr.sbin.libvirtd | |
| 21:58:15 | sean-k-mooney | will diable the libvirt profie allowing soruce build to work | |
| 21:58:29 | sean-k-mooney | but you have to do a reboot for it to take effect | |
| 21:58:38 | sean-k-mooney | you are ment to be able to just use aa-complain | |
| 21:58:52 | sean-k-mooney | to put it in warning/complain mode but it was not working for me | |
| 21:59:15 | efried | would this be... not a problem if I compiled a different version of libvirt? | |
| 21:59:25 | sean-k-mooney | i need to write a readme for that plugin and doument this and fix the other issue | |
| 21:59:41 | sean-k-mooney | no i hit the same issue | |
| 21:59:44 | efried | oh, the readme isn't "Come find sean-k-mooney on IRC"? | |
| 21:59:55 | efried | well, I didn't change 5.8 to 5.6 in my env | |
| 21:59:59 | sean-k-mooney | well it basicaly is right now | |
| 21:59:59 | efried | swhy I'm asking. | |
| 22:00:22 | efried | and if I reboot I have to restack, right? | |
| 22:00:48 | sean-k-mooney | there is another thing you coudl try first | |
| 22:00:53 | sean-k-mooney | but i did it the reboot way | |
| 22:01:22 | sean-k-mooney | you can add security_driver="none" | |
| 22:01:40 | sean-k-mooney | to /etc/libvirt/qemu.conf and restart libvirt-bin | |
| 22:01:55 | sean-k-mooney | but if you rerun stack.sh it will overwrite it | |
| 22:02:07 | sean-k-mooney | ill fix this up and automated in the plugin | |
| 22:02:12 | sean-k-mooney | its ment to do this for you | |
| 22:02:43 | sean-k-mooney | but as i said it has not been updated for ubuntu 18.04 | |
| 22:04:13 | efried | sean-k-mooney: and tbc, is this the same issue as | |
| 22:04:14 | efried | Connection to libvirt failed: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage': libvirtError: authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' | |
| 22:04:14 | efried | ? | |
| 22:04:30 | sean-k-mooney | yes | |
| 22:04:32 | efried | k | |
| 22:05:15 | sean-k-mooney | polkit is used to interact with selinux via dbus on fedora/centos/rhel | |
| 22:05:24 | sean-k-mooney | is apparently the libvirt default | |
| 22:05:43 | openstackgerrit | Takashi NATSUME proposed openstack/nova master: Update keypairs in saving an instance object https://review.opendev.org/683043 | |
| 22:05:44 | sean-k-mooney | im just not passing the correct flags when building it to have it auto install the apparmor files | |
| 22:06:06 | sean-k-mooney | i should prably just ask danpb how to do it correctly | |
| 22:11:18 | melwitt | mriedem: do you remember any func test change from the past made to avoid "{"forbidden": {"code": 403, "message": "Maximum number of ports exceeded"}}" | |
| 22:11:55 | mriedem | are you backporting something to queens or newton or something and hitting that? | |
| 22:11:57 | melwitt | I'm backporting stuff and hitting this because I'm presumably missing some underlying func test improvement | |
| 22:11:58 | melwitt | yes | |
| 22:12:24 | melwitt | I thought if anyone might remember something related to that, it would be you | |
| 22:12:39 | mriedem | not specifically, but i'd look for port quota stuff on the NeutronFixture | |
| 22:12:54 | melwitt | thanks, any direction helps a lot :) | |
| 22:13:11 | mriedem | https://review.opendev.org/#/q/I1dbccc2be6ba79bf267edac9208c80e187e6256a ? | |
| 22:13:36 | mriedem | https://review.opendev.org/#/c/587412/4/nova/tests/fixtures.py@1347 is the thing i'd think you want | |
| 22:14:23 | melwitt | looks promising | |
| 22:25:08 | sean-k-mooney | efried: ok i think i have fixed the issue locally ill work on a patch. but basically i need to tweak the /etc/libvirt/libvirtd.conf sligtly and nova will be happy | |
| 22:25:31 | sean-k-mooney | efried: http://paste.openstack.org/show/785827/ | |
| 22:27:02 | openstackgerrit | Merged openstack/nova master: Follow up to I3e28c0163dc14dacf847c5a69730ba2e29650370 https://review.opendev.org/692856 | |
| 22:27:04 | efried | sean-k-mooney: okay. I tried doing that conf change and now it's doing this | |
| 22:27:04 | efried | Connection to libvirt failed: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory: libvirtError: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory | |
| 22:28:12 | sean-k-mooney | where is that error? nova? virsh? | |
| 22:28:47 | efried | nova compute startup (journalctl) | |
| 22:29:15 | sean-k-mooney | ok what do you get if you do "sudo systemctl status libvirt-bin" | |
| 22:30:34 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Improve metadata server performance with large security groups https://review.opendev.org/656084 | |
| 22:30:37 | mriedem | this is a simple performance improvement fix, been sitting a long time waiting for the originaly author to touch it up ^ | |
| 22:30:46 | mriedem | and when i went to do it, i realized there was a much simpler fix | |
| 22:31:30 | efried | d'oh, sorry, already started unstacking. | |
| 22:31:56 | sean-k-mooney | no worries | |
| 22:32:07 | efried | sean-k-mooney: I'm adding those extra libvirtd.conf lines (from within the plugin) and will restack. | |
| 22:32:32 | sean-k-mooney | by the way i have code in the pluging to fix the app armor stuff | |
| 22:32:34 | sean-k-mooney | sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.libvirtd || /bin/true | |