Wednesday, 2019-11-06

*** rcernin_ has joined #openstack-nova00:05
*** bnemec has quit IRC00:05
*** bnemec has joined #openstack-nova00:06
*** rcernin has quit IRC00:09
*** takashin has joined #openstack-nova00:10
*** ociuhandu has joined #openstack-nova00:10
*** bnemec has quit IRC00:14
*** ociuhandu has quit IRC00:21
*** gyee has quit IRC00:33
*** macz has quit IRC00:36
*** slaweq__ has joined #openstack-nova00:40
*** slaweq has joined #openstack-nova00:43
*** slaweq__ has quit IRC00:45
*** TxGirlGeek has quit IRC00:45
*** JamesBenson has joined #openstack-nova00:46
*** ricolin has joined #openstack-nova00:47
*** Liang__ has joined #openstack-nova00:48
*** slaweq_ has joined #openstack-nova00:49
*** slaweq has quit IRC00:50
*** JamesBenson has quit IRC00:50
*** Liang__ has quit IRC00:54
*** ociuhandu has joined #openstack-nova00:54
*** ricolin has quit IRC00:56
*** slaweq_ has quit IRC01:06
*** slaweq_ has joined #openstack-nova01:08
*** bnemec has joined #openstack-nova01:13
*** ociuhandu has quit IRC01:13
*** slaweq_ has quit IRC01:20
*** slaweq has joined #openstack-nova01:20
*** slaweq has quit IRC01:20
*** slaweq has joined #openstack-nova01:21
*** slaweq has quit IRC01:22
*** slaweq has joined #openstack-nova01:22
*** ricolin has joined #openstack-nova01:30
*** ileixe has quit IRC01:32
*** maciejjozefczyk has joined #openstack-nova01:33
*** ileixe has joined #openstack-nova01:33
*** nanzha has joined #openstack-nova01:37
*** ociuhandu has joined #openstack-nova01:40
*** openstackstatus has joined #openstack-nova01:44
*** ChanServ sets mode: +v openstackstatus01:44
*** ociuhandu has quit IRC01:45
*** chason has joined #openstack-nova01:47
*** ociuhandu has joined #openstack-nova01:48
*** chason has quit IRC01:49
*** ociuhandu has quit IRC01:52
*** ociuhandu has joined #openstack-nova01:54
*** aarents has joined #openstack-nova02:00
*** abaindur has joined #openstack-nova02:01
*** ociuhandu has quit IRC02:02
*** maciejjozefczyk has quit IRC02:06
*** maciejjozefczyk has joined #openstack-nova02:07
*** mkrai has joined #openstack-nova02:10
*** ricolin has quit IRC02:19
*** liuyulong has joined #openstack-nova02:20
*** tkajinam has joined #openstack-nova02:24
openstackgerritArchit Modi proposed openstack/nova master: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69306502:37
*** bnemec has quit IRC02:38
gibi_ptgthe nova ptg table:02:40
gibi_ptghttp://vogon.no-ip.org/gibizer/ptg/signal-attachment-2019-11-06-103414_001.jpeg02:40
gibi_ptghttp://vogon.no-ip.org/gibizer/ptg/signal-attachment-2019-11-06-103414_002.jpeg02:40
gibi_ptgso far we can fit02:40
*** ricolin has joined #openstack-nova02:52
*** liuyulong has quit IRC02:57
*** ricolin has quit IRC03:08
*** sapd1_x has joined #openstack-nova03:13
*** Liang__ has joined #openstack-nova03:30
*** psachin has joined #openstack-nova03:32
*** psachin has quit IRC03:33
*** psachin has joined #openstack-nova03:35
*** ricolin has joined #openstack-nova03:37
*** TxGirlGeek has joined #openstack-nova03:41
*** artom has quit IRC03:43
*** tkajinam has quit IRC03:45
*** bhagyashris has joined #openstack-nova03:55
*** maciejjozefczyk has quit IRC04:03
*** Liang__ has quit IRC04:04
*** sapd1_x has quit IRC04:15
*** slaweq has quit IRC04:19
*** ricolin_ has joined #openstack-nova04:22
*** ricolin has quit IRC04:25
eanderssonWe just deployed the latest nova patches for Rocky04:28
eanderssonand are getting04:28
eandersson>  Could not retrieve compute node resource provider XXX and therefore unable to error out any instances stuck in BUILDING state.04:28
eanderssonOn hundreds of nodes on startup04:28
*** bhagyashris has quit IRC04:31
*** mkrai has quit IRC04:34
*** mkrai_ has joined #openstack-nova04:35
*** ricolin_ has quit IRC04:35
eanderssonpretty sure what happens is that in Rocky with latest stable it will error if you restart a compute node with no instances04:36
eanderssonhttps://github.com/openstack/nova/commit/13bb7ed701121955ba015103c2e44429927e78d4#diff-77f9348ab09642ba46409b6828af4af0R132704:36
eanderssonactually it happens on non-empty computes as well04:44
*** TxGirlGeek has quit IRC04:50
*** ociuhandu has joined #openstack-nova05:05
*** slaweq has joined #openstack-nova05:06
*** bhagyashris has joined #openstack-nova05:07
eanderssonInteresting05:07
eanderssonAn error'd compute due to quota still takes up an allocation05:07
eanderssonPreventing heal_allocation from progressing05:08
*** ociuhandu has quit IRC05:10
eanderssonTurns out placement isn't in a great place in that region. Probably why we are hitting errors.05:15
*** ratailor has joined #openstack-nova05:27
*** ociuhandu has joined #openstack-nova05:30
*** irclogbot_3 has quit IRC05:34
*** bhagyashris_ has joined #openstack-nova05:34
*** takashin has quit IRC05:34
*** bhagyashris has quit IRC05:35
*** takashin has joined #openstack-nova05:35
*** bnemec has joined #openstack-nova05:35
*** ociuhandu has quit IRC05:36
*** bhagyashris has joined #openstack-nova05:36
*** maciejjozefczyk has joined #openstack-nova05:36
*** Liang__ has joined #openstack-nova05:37
*** irclogbot_1 has joined #openstack-nova05:38
*** tkajinam has joined #openstack-nova05:39
eanderssonI wish heal_allocations would have an option to skip failed computes.05:39
*** bhagyashris_ has quit IRC05:39
eanderssonWhen you are in a bad state you basically need to do some mysql magic to figure out "bad" hosts. Otherwise you are fixing them sequentially.05:40
*** mdbooth has joined #openstack-nova05:42
*** links has joined #openstack-nova05:47
*** mkrai_ has quit IRC05:53
*** sorrison has joined #openstack-nova05:53
*** mkrai has joined #openstack-nova05:54
*** abhishekk has joined #openstack-nova05:57
*** pcaruana has joined #openstack-nova05:59
*** takashin has quit IRC05:59
*** abhishekk has quit IRC06:21
*** nanzha has quit IRC06:24
*** takashin has joined #openstack-nova06:25
*** mdbooth has quit IRC06:25
*** nanzha has joined #openstack-nova06:26
*** mdbooth has joined #openstack-nova06:32
*** takashin has left #openstack-nova06:40
*** abhishekk has joined #openstack-nova06:43
*** mkrai has quit IRC06:47
*** bnemec has quit IRC06:49
*** dpawlik has joined #openstack-nova06:54
*** bnemec has joined #openstack-nova06:57
*** nanzha has quit IRC06:58
*** abhishekk has quit IRC07:00
*** nanzha has joined #openstack-nova07:00
*** ricolin_ has joined #openstack-nova07:02
*** tkajinam has quit IRC07:08
*** mkrai has joined #openstack-nova07:09
*** mdbooth has quit IRC07:11
*** Liang__ has quit IRC07:12
*** Liang__ has joined #openstack-nova07:14
*** bnemec has quit IRC07:14
*** bnemec has joined #openstack-nova07:16
*** Liang__ has quit IRC07:17
*** jawad_axd has joined #openstack-nova07:17
*** Liang__ has joined #openstack-nova07:17
*** fungi has quit IRC07:20
*** mdbooth has joined #openstack-nova07:21
*** lpetrut has joined #openstack-nova07:22
*** fungi has joined #openstack-nova07:24
*** lpetrut has quit IRC07:33
*** luksky has joined #openstack-nova07:34
*** slaweq_ has joined #openstack-nova07:34
*** mkrai has quit IRC07:36
*** slaweq has quit IRC07:36
*** bnemec has quit IRC07:38
*** bnemec has joined #openstack-nova07:38
*** damien_r has joined #openstack-nova07:52
*** mkrai has joined #openstack-nova07:52
*** ygk_12345 has joined #openstack-nova08:01
*** ygk_12345 has quit IRC08:02
*** rcernin_ has quit IRC08:06
*** bhagyashris has quit IRC08:07
*** tesseract has joined #openstack-nova08:08
*** abaindur has quit IRC08:08
*** lpetrut has joined #openstack-nova08:14
*** bnemec has quit IRC08:20
*** arxcruz|off is now known as arxcruz08:21
*** maciejjozefczyk has quit IRC08:25
*** lpetrut has quit IRC08:26
*** dpawlik has quit IRC08:28
*** ricolin_ is now known as ricolin08:28
*** dpawlik has joined #openstack-nova08:29
*** nanzha has quit IRC08:35
*** nanzha has joined #openstack-nova08:36
*** maciejjozefczyk has joined #openstack-nova08:45
*** ralonsoh has joined #openstack-nova08:46
*** maciejjozefczyk has quit IRC08:50
*** slaweq_ has quit IRC08:55
*** Liang__ has quit IRC08:56
kashyapgibi_ptg: Good luck :-)08:57
*** ricolin has quit IRC08:57
*** ociuhandu has joined #openstack-nova09:02
*** ociuhandu has quit IRC09:07
*** dpawlik has quit IRC09:25
*** ociuhandu has joined #openstack-nova09:38
*** mdbooth has joined #openstack-nova09:56
*** nanzha has quit IRC09:57
*** nanzha has joined #openstack-nova09:57
*** dpawlik has joined #openstack-nova09:58
*** slaweq_ has joined #openstack-nova10:00
*** dpawlik has quit IRC10:03
*** dpawlik has joined #openstack-nova10:04
*** slaweq__ has joined #openstack-nova10:04
*** slaweq_ has quit IRC10:05
*** slaweq__ has quit IRC10:10
*** mdbooth has quit IRC10:13
*** derekh has joined #openstack-nova10:13
*** xek has joined #openstack-nova10:13
openstackgerritBoris Bobrov proposed openstack/nova master: Also enable iommu for virtio controllers and video in libvirt  https://review.opendev.org/68482510:36
openstackgerritBoris Bobrov proposed openstack/nova master: Create a controller for qga when SEV is used  https://review.opendev.org/69307210:36
*** priteau has joined #openstack-nova10:51
*** rcernin_ has joined #openstack-nova10:55
*** luksky has quit IRC10:56
*** ociuhandu has quit IRC11:20
*** mkrai has quit IRC11:27
*** rcernin_ has quit IRC11:31
*** artom has joined #openstack-nova11:41
*** mkrai has joined #openstack-nova11:43
*** luksky has joined #openstack-nova11:45
*** ratailor has quit IRC11:47
*** bhagyashris has joined #openstack-nova11:48
*** tbachman has quit IRC11:50
*** lpetrut has joined #openstack-nova11:52
*** luksky has quit IRC11:56
*** sapd1_x has joined #openstack-nova12:02
*** eharney has quit IRC12:12
sean-k-mooney... so the random number generator has been broken in nova for a while...12:23
sean-k-mooneyand by a while i mean since https://github.com/openstack/nova/commit/be548a3396ee5f3a78b2b8b59321eb4c4530f7fb merged in queens12:24
sean-k-mooneythe comments is in the wrong place12:25
sean-k-mooneyhttps://github.com/openstack/nova/commit/be548a3396ee5f3a78b2b8b59321eb4c4530f7fb#diff-f4019782d93a196a0d026479e6aa61b1L4037-L407112:25
sean-k-mooneyafter teh refactor the rng is only enabled if you also enable the qemu guest agent12:25
sean-k-mooneybefore it was eneabled if you enabled it in the image and the host was qemu or kvm12:26
sean-k-mooneykashyap: ^ we proably need to fix that but we talked before about enableing the rng by default. it should be two seperate patches but do you think we shoudl still enable it by default12:27
*** mkrai has quit IRC12:30
*** sapd1_x has quit IRC12:34
*** jaosorior has joined #openstack-nova12:35
*** bhagyashris has quit IRC12:35
sean-k-mooneyi have filed a bug for it here https://bugs.launchpad.net/nova/+bug/185149712:38
openstackLaunchpad bug 1851497 in OpenStack Compute (nova) "rng is only enabled if qemu guest agent is enabled" [Medium,Triaged] - Assigned to sean mooney (sean-k-mooney)12:38
*** rouk has quit IRC12:38
*** mkrai has joined #openstack-nova12:45
*** xek has quit IRC12:53
*** xek has joined #openstack-nova12:53
sean-k-mooneyefried: hi so http://paste.openstack.org/show/785846/ seams to now work. im going to kick it off on a clean vm to test but that stacked and i could boot vms12:54
*** luksky has joined #openstack-nova13:03
*** eharney has joined #openstack-nova13:15
efriedsean-k-mooney: cool beans13:16
efriedsean-k-mooney: I just need to update that enable_plugin line for my purposes, right? The rest ought to be unchanged from yesterday?13:21
sean-k-mooneyyep13:22
sean-k-mooneyill proably merge the patch today or tomorow but i want to do a clean install first to make sure i have not missed something13:22
sean-k-mooneyi need to actully set up a gate job to actully test it rather then manually testing it every time i update it13:23
efriedokey. Were you able to repro the last problem I had yesterday where nova thought I didn't have a recent enough qemu?13:23
efriedlike, it was looking in the wrong place or something13:23
sean-k-mooneynot exactly but i noticed i was not unistalling qemu from the package manager before installing it for source13:24
sean-k-mooneyso i fixed that13:24
sean-k-mooneyi had that for libvirt but not qemu13:24
*** derekh has quit IRC13:24
efriedah13:25
efriedsounds like that would probably do it.13:25
efriedk, I'm running now. Cleaned first to get rid of compiled libvirt/qemu -- I needed that because of new compile flaggage, rite?13:25
efriedfor apparmor13:26
sean-k-mooneyactully no i have not added that yet13:26
sean-k-mooneybut i found the bits i needed to set to disable the use of polkit13:27
sean-k-mooneya clean does not hurt it just will be slower13:27
efriedight. We'll see how this goes :)13:27
sean-k-mooneyby the way to go back to normal you just need to unstack then comment out the pluging. it should remove the libvirt and qemu it installed on unstack but wont delete the source in /opt/stack13:29
efriedcool13:29
efriedI'll never go back to normal13:29
efriedThis is my new normal13:29
sean-k-mooney:)13:29
*** tbachman has joined #openstack-nova13:36
*** mkrai has quit IRC13:37
*** sridharg has joined #openstack-nova13:38
*** slaweq__ has joined #openstack-nova13:39
*** slaweq has joined #openstack-nova13:44
*** slaweq__ has quit IRC13:44
*** jmlowe has quit IRC13:54
efriedsean-k-mooney: no idea why this should be failing differently on my otherwise-identical VMs, but one is hitting the libvirt-python install failure again, and the other is hitting the /var/run/libvirt/libvirt-sock ENOENT again.14:00
*** derekh has joined #openstack-nova14:07
*** sridharg has quit IRC14:07
*** davee_ has joined #openstack-nova14:11
sean-k-mooneyso the libvirt python failure is complaingin about the libvit.so right with pkg-config or somthing like that and the other case libvirt is not running?14:12
efriedsean-k-mooney: Maybe I'm not looking at the right patch set. I don't see a delta where you're purging qemu for instance.14:13
sean-k-mooneyits here https://review.opendev.org/#/c/693094/3/devstack/libs/libvirt@10214:14
efriedah, k14:14
efriedwell, now I got both to fail the same way. The one that was failing with ENOENT is now failing on the libvirt-python thing.14:15
efriedI cut it over to USE_PYTHON314:15
sean-k-mooneyok. am if you look in /usr/lib is there a libvirt.so14:16
*** jmlowe has joined #openstack-nova14:16
efriedyes14:17
sean-k-mooneyok if you unstack it should remove it14:17
efriedand that's what I want?14:17
sean-k-mooneyif it does not run " sudo rm -f /urs/lib/libvirt*14:17
sean-k-mooneywell we want to make sure its the libvirt.so you compiled for a start14:18
sean-k-mooneyit shoudl be14:18
efriedfwiw the date stamp implies that it is.14:18
efriedeverything /usr/lib/libvirt* has a now-ish date stamp14:19
efriedand yes, unstacking removes everything /usr/lib/libvirt*14:19
sean-k-mooneyok so if you run "pkg-config libvirt ; echo $?"14:19
sean-k-mooneyim guessin git now prints a non 0 value right14:20
sean-k-mooneyif so can you cd in /opt/stack/libvit and do sudo make install14:20
sean-k-mooneythen run it again14:20
efriedyes, confirm all of that.14:21
sean-k-mooneyso if you run it after you do make install is it 0 or non 014:22
efried014:22
sean-k-mooneyok and if you manually to the pip install of libvirt-python?14:22
efriedand the checksum of the lib is the same as on the other system where I didn't unstack and manually `make install`14:22
sean-k-mooneyya it should be14:22
efriedsame error:14:23
efried    /usr/bin/pkg-config --print-errors --atleast-version=0.9.11 libvirt14:23
efried    /usr/bin/python generator.py libvirt /usr/share/libvirt/api/libvirt-api.xml14:23
efried    Found 475 functions in /usr/share/libvirt/api/libvirt-api.xml14:23
efried    Found 0 functions in libvirt-override-api.xml14:23
efried    Generated 385 wrapper functions14:23
efried    Missing type converters:14:23
efried    virTypedParameterPtr:114:23
efried    ERROR: failed virConnectSetIdentity14:23
efried    error: command '/usr/bin/python' failed with exit status 114:23
sean-k-mooneyif you do pip show libvirt-python14:24
sean-k-mooneywhat version do you see14:24
sean-k-mooneyim using 5.7.014:24
efriedWhen we hit this yesterday, it went away magically by itself14:24
efried5.5.014:24
efriedit's trying to install 5.7.0 that breaks14:25
sean-k-mooneyif you try and install 5.5.0 does it work14:25
sean-k-mooneye.g. if you remove it and add it14:25
efriedhere's a thing: I'm running py2 pip14:26
sean-k-mooneyso am i14:27
sean-k-mooneypip version 9.0.314:27
sean-k-mooneythe one devstack installs14:27
efriedif I uninstall 5.5.0 and try to reinstall, it fails (at 5.5.0 and at 5.7.0) the same way14:28
efriedalso with pip314:28
efriedwhat if I tried setting the plugin to build libvirt 5.7.0?14:30
sean-k-mooneyoh...14:30
sean-k-mooneyyes you could do that14:30
sean-k-mooneybut its passing form me because its using the cached wheel14:30
sean-k-mooneyif i try to use 5.5.0 i get your error14:31
efriedlike you already had 5.7.0 installed before you started?14:31
sean-k-mooneyactully i get14:31
sean-k-mooneyERROR: failed virConnectSetIdentity14:31
sean-k-mooney    ERROR: failed virDomainGetGuestInfo14:31
sean-k-mooney    error: command '/usr/bin/python' failed with exit status 114:31
efriedyes, that's what I'm seeing.14:31
*** mmethot_ has joined #openstack-nova14:31
efriedit's slightly different with 5.5 vs 5.714:31
*** slaweq has quit IRC14:31
sean-k-mooneyso i proably had libvirt python 5.7 alredy install as that is the lates version14:32
sean-k-mooneyand i had previously stacked14:32
sean-k-mooneyill ask downstream one sec14:32
*** mmethot has quit IRC14:34
sean-k-mooneyefried: it might be this? https://github.com/libvirt/libvirt-python/commit/873e0ca7db3ae43bd514354997cdfa7ea5b7f70a14:35
efriedyou mean that's the fix for same14:36
efriedkinda looks that way, yeah.14:36
efriedIt wouldn't surprise me that libvirt-python's version has to match that of libvirt itself.14:36
efriedlemme clean and try building 5.7.014:36
sean-k-mooneyefried: so apparently the libvirt python version needs to be newer or the same as the libvir tyou are compiling14:38
efriedI guess libvirt-python hasn't been published to pypi yet or something? Why wouldn't `pip install -U` pick up the latest?14:38
efriedtried asking explicitly for 5.8.0 and it bounces14:39
sean-k-mooneyya let me check pypy you can install it from souce if you need too14:39
efriednah, I'll just bust down to libvirt 5.7.014:40
efriedI only need 5.6.0 min14:40
efriedbut I guess an improvement for your script would be a version qualifier on libvirt-python >= whatever version of libvirt you're compiling.14:41
sean-k-mooneyyep14:41
efriedI don't know if that failure ("can't find libvirt-python 5.8.0") would be more obvious or not.14:41
sean-k-mooneyi proably can also do a safty check or install it form souce.14:43
sean-k-mooneyit would not be hard to just clone it and check out the same tag14:43
sean-k-mooneythen pip install it14:43
efrieddepends what the plugin user wants it for. If it's not available on pypi that means it's not released yet, right?14:43
efriedThough I thought tags don't move once they're set.14:44
*** lennyb has quit IRC14:44
sean-k-mooneyefried: no its released just talking to danpb he though it was released he is fixing it now14:44
efriedo14:44
sean-k-mooneyefried: its there now14:45
*** lennyb has joined #openstack-nova14:46
efriedcool. I've already got both of these stacking at 5.7.0; if they fail I'll bump one up.14:46
*** xek has quit IRC14:46
*** xek has joined #openstack-nova14:46
efriedI guess now we'll see if libvirt-python 5.8.0 works with libvirt 5.7.0 :P14:47
sean-k-mooneyi manulaly installed it and it did at least on my host14:48
*** slaweq has joined #openstack-nova14:51
sean-k-mooneymelwitt: by the way have you seen migrate.exceptions.VersionNotFoundError: \"Database schema file with version 72 doesn't exist.\" before14:52
sean-k-mooneymelwitt: were you looking at somthing similar a while ago14:52
sean-k-mooneythat is form a "nova-manage api_db sync"14:53
*** slaweq has quit IRC14:55
*** mriedem has joined #openstack-nova15:00
*** xek has quit IRC15:07
*** xek_ has joined #openstack-nova15:07
*** links has quit IRC15:08
*** xek_ has quit IRC15:09
*** xek__ has joined #openstack-nova15:09
*** tbachman has quit IRC15:14
mriedemgibi_ptg: when it's not past 11pm in china and you're free, you were +2 on this cross cell change https://review.opendev.org/#/c/635668/ and now dan is too after some updates if you can hit it again15:16
*** tbachman has joined #openstack-nova15:16
*** dpawlik has quit IRC15:19
*** jmlowe has quit IRC15:22
*** jmlowe has joined #openstack-nova15:24
sean-k-mooneymriedem: you generally know what direction to look to root casue thing with db migrations15:24
sean-k-mooneymriedem: does http://paste.openstack.org/show/785852/ look familar15:24
sean-k-mooneyigrate.exceptions.VersionNotFoundError: \"Database schema file with version 72 doesn't exist.\"",15:24
sean-k-mooneyim not sure where the version 72 comes form in the code15:24
sean-k-mooneyoh its here https://github.com/openstack/nova/tree/master/nova/db/sqlalchemy/api_migrations/migrate_repo/versions15:26
*** tbachman has quit IRC15:26
*** TxGirlGeek has joined #openstack-nova15:26
*** tbachman has joined #openstack-nova15:28
*** lbragstad_ is now known as lbragstad15:33
dansmithsean-k-mooney: yeah, those are where the indexes are15:38
dansmithsean-k-mooney: usually that error happens when you have a pyc of the migration but not the py of it, because you have a dirty working directory or something15:38
sean-k-mooneydansmith: in this case its becaue i deploy kolla with master after you added the placeholders15:39
sean-k-mooneybut the current master contaienr are now clamped to traing15:39
sean-k-mooney*train15:39
sean-k-mooneywhile they are preparing an rc15:39
sean-k-mooneyso the api sysnc is trying to do a downgrade15:39
dansmithsure, but.. the only thing that causes it to know about migration 72 is the fact that that file exists on disk15:39
sean-k-mooneywhich obviously wont work15:39
dansmithdowngrade?15:40
sean-k-mooneythey dont exist on stable train right15:40
dansmiththat shouldn't cause that error15:40
dansmithunless you have a database with version 72 and are trying to run downgrade I guess15:40
mriedemdowngrade isn't around anymore15:40
mriedemsdague ripped it out a long time ago15:41
sean-k-mooneyya15:41
dansmithmriedem: it's just a pass and technically runs IIRC15:41
sean-k-mooneyits fine15:41
mriedemthe method doesn't exist in the scripts anymore15:41
sean-k-mooneyits just my home openstack15:41
dansmithbut I dunno why anything would be trying to do it15:41
*** JamesBenson has joined #openstack-nova15:41
dansmithmriedem: we know that15:42
sean-k-mooneyit was bad timing that i deploy master just after nova rc1 when that was merged15:42
dansmithsean-k-mooney: so yeah must be that sqla-migrate sees the db version as 72 and is looking for the downgrade script I guess? but..that'd be your problem15:42
sean-k-mooneybut the current "master" kolla image are stable train as they have not done there rc1 yet15:42
mriedemheh so you time traveled15:43
sean-k-mooneyya i can just build the container form master nova and continue or redeploy with stable train15:43
sean-k-mooneyits not a big deal15:43
openstackgerritMatt Riedemann proposed openstack/nova stable/stein: Add --dry-run option to heal_allocations CLI  https://review.opendev.org/69319915:44
openstackgerritMatt Riedemann proposed openstack/nova stable/stein: Add --instance option to heal_allocations  https://review.opendev.org/69320015:44
openstackgerritMatt Riedemann proposed openstack/nova stable/stein: Add BFV wrinkle to TestNovaManagePlacementHealAllocations  https://review.opendev.org/69320115:44
*** gyee has joined #openstack-nova15:46
sean-k-mooneywell now i know where to look and how that works. im off to lunch brb15:46
*** amodi has quit IRC15:48
*** igordc has joined #openstack-nova15:50
openstackgerritBoris Bobrov proposed openstack/nova master: Also enable iommu for virtio controllers and video in libvirt  https://review.opendev.org/68482515:53
openstackgerritBoris Bobrov proposed openstack/nova master: Create a controller for qga when SEV is used  https://review.opendev.org/69307215:53
*** amodi has joined #openstack-nova15:56
*** xek_ has joined #openstack-nova16:00
*** slaweq has joined #openstack-nova16:02
*** xek__ has quit IRC16:02
*** lpetrut has quit IRC16:03
openstackgerritBoris Bobrov proposed openstack/nova master: Move rng device checks to the appropriate method  https://review.opendev.org/69321016:04
*** macz has joined #openstack-nova16:04
*** tbachman has quit IRC16:06
efriedsean-k-mooney: back to n-cpu failing to start because of16:07
efried'/var/run/libvirt/libvirt-sock': No such file or directory.16:07
efriedThe libvirt-bin service is inactive. There's no journal, but systemctl shows these as the last two lines:16:07
efriedNov 06 09:19:25 breakfast dnsmasq-dhcp[27199]: read /var/lib/libvirt/dnsmasq/default.hostsfile16:07
efriedNov 06 09:22:55 breakfast dnsmasq[27199]: exiting on receipt of SIGTERM16:07
efriedI don't see anything in the stack logs that looks like it ought to have shut the service down.16:07
*** slaweq has quit IRC16:07
*** damien_r has quit IRC16:07
*** artom has quit IRC16:07
efriedOn both stacks the systemctl status shows that ~3.5min gap between loading default.hostsfile and SIGTERM16:08
*** jmlowe has quit IRC16:10
*** derekh has quit IRC16:11
efriedsean-k-mooney: I was able to manually start libvirt-bin and it hasn't stopped itself, so clearly something else was hitting it...16:13
efried...but with the service running, n-cpu still fails to come up in the same way.16:14
*** tbachman has joined #openstack-nova16:15
*** derekh has joined #openstack-nova16:17
*** derekh has quit IRC16:17
openstackgerritBoris Bobrov proposed openstack/nova master: Also enable iommu for virtio controllers and video in libvirt  https://review.opendev.org/68482516:21
openstackgerritBoris Bobrov proposed openstack/nova master: Create a controller for qga when SEV is used  https://review.opendev.org/69307216:21
mriedemamodi: melwitt: looks like we can keep the iso file without changes https://review.opendev.org/#/c/693065/716:22
mriedemit was already fixed in the manuals repo before i imported that doc https://github.com/openstack/openstack-manuals/commit/1206b9b727594ae04f0d2a4818f183e95253b46416:22
openstackgerritMerged openstack/nova master: Pass exception through TaskBase.rollback  https://review.opendev.org/69268916:22
openstackgerritMatt Riedemann proposed openstack/nova master: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69306516:25
mriedemthis is why i'm not as free willy on accepting any old docs change since it's a pain in the butt to fix them if they are wrong16:27
melwitthaha free willy16:30
*** bnemec has joined #openstack-nova16:30
melwittand yeah, understood. thanks for pointing out those previous fixes and updating it16:31
dansmithmriedem: query16:34
dansmithwas just looking at your heal_instance_mappings thing16:34
dansmithand was thinking.16:34
*** ivve has quit IRC16:34
*** amodi has quit IRC16:35
dansmithI wonder if it wouldn't make sense for us to have another totally optional service with the sole purpose of looking for things that need healing.. instance mappings, maybe allocations, host mappings, maybe even archive and purge16:35
dansmithwe could make it a daemon, or something you could run from cron single-shot if you just wanted to run it at midnight or something16:36
melwittI think operators would love that16:36
dansmithinstead of a ton of cron entries for all those things, and not knowing you need new cron entries to run new things on a new release,16:37
dansmithyou just run one nova-audit in one place, no HA, just low and slow burn of audity things16:37
melwittyeah, would be nice16:37
mriedemi'm not opposed16:38
mriedemwould that also run the discover host mappings thing that the scheduler can run today?16:39
mriedemi remember glance has several things like that https://github.com/openstack/glance/blob/master/setup.cfg#L3416:40
mriedemthough i'm not sure if they are all daemons16:40
dansmithmriedem: yeah, hence the host mappings in my list16:40
*** nanzha has quit IRC16:40
mriedemi will admit the number of heal/discover/sync things is getting a bit overwhelming16:41
dansmithright16:41
dansmithimpossible to track for the average operator I'm sure16:42
mriedemand we have talked about a periodic archive/purge thing in the past16:42
dansmithand we put the host mappings thing in scheduler mostly because the cardinality was small16:42
dansmith(and then I subsequently solved their problem a different way)16:42
mriedemand i think b/c api and conductor didn't have periodic tasks already but scheduler did16:42
dansmithmaybe, but the point was to run one or few of those since they'd step all over each other, and there'd be too many conductors and apis even if they did have periodics16:43
mriedemmaybe you want to kick that idea out into the mailing list tagged with [nova][ops] to get initial feedback? and/or just start a spec and kick that into the ML to get attention from operators.16:43
mriedemwe do run nproc/2 scheduler works by default now i think..16:44
mriedembut yeah16:44
dansmithyeah, I could start with a spec16:44
dansmithI was kinda thinking of just starting with code16:44
mriedemnow that you've gotten a taste from the image cache stuff you're addicted!16:45
dansmithJUST ONE MORE HIT MAN16:45
*** jaosorior has quit IRC16:48
efriedsean-k-mooney: The libvirt-bin service seems to not want to stay alive. When I start it manually, it runs for a couple minutes and then dies, but doesn't log anything.16:48
efriedIf I start n-cpu in that window, I run into the qemu version check. I added some debug and find it's coming from:16:48
efriedNov 06 10:45:03 breakfast nova-compute[15654]: ERROR nova.virt.libvirt.host   File "/usr/local/lib/python3.6/dist-packages/libvirt.py", line 4190, in getVersion16:48
efriedNov 06 10:45:03 breakfast nova-compute[15654]: ERROR nova.virt.libvirt.host     if ret == -1: raise libvirtError ('virConnectGetVersion() failed', conn=self)16:48
efriedNov 06 10:45:03 breakfast nova-compute[15654]: ERROR nova.virt.libvirt.host libvirt.libvirtError: internal error: Cannot find suitable emulator for x86_6416:48
sean-k-mooneyis qemu-system-x86_6416:50
sean-k-mooneyin your path16:50
sean-k-mooneyalso do you have permission denied errors in dmesg16:50
openstackgerritMerged openstack/nova master: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69306516:51
efriedyou mean like this16:51
efried[73117.887250] audit: type=1400 audit(1573058703.103:556): apparmor="DENIED" operation="exec" profile="/usr/sbin/libvirtd" name="/usr/local/bin/qemu-system-microblazeel" pid=15694 comm="libvirtd" requested_mask="x" denied_mask="x" fsuid=0 ouid=016:51
sean-k-mooneyyes16:51
sean-k-mooneyso apparmor is blocking it16:51
efried(yes, qemu-[system-]x86_64 is in /usr/local/bin, which is in my PATH, at least on the CLI)16:51
efriedoh, I thought that libvirtd.conf hack was supposed to get around apparmor16:52
sean-k-mooneyya so if we fix the apparmor issue it shoudl be working16:52
sean-k-mooneyno it fixs the fact libvirt expect polkit to be configure to use apparmor16:52
sean-k-mooneyi really should just add teh compile flag16:52
efriedis that easy?16:52
sean-k-mooneyi think its just https://review.opendev.org/#/c/693094/3/devstack/libs/libvirt@9316:53
sean-k-mooneyadd --with-apparmor_profiles after --system16:53
sean-k-mooneyhow im working around it at the moment was https://review.opendev.org/#/c/693094/3/README.rst16:54
sean-k-mooneysudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/usr.sbin.libvirtd16:54
sean-k-mooneythen reboot for it to take effect.16:54
efriedah16:54
efriedI'll try it both ways...16:54
*** ioni has joined #openstack-nova16:55
sean-k-mooneyapparmor is the security sandboxing tool ubuntu use. its not happy that the binaries are in a different location then normal e.g. /usr/local/16:55
sean-k-mooneyhence teh error16:55
efriedcan't we `make install` with the right location?16:56
sean-k-mooneyyes we can just change the prefix to /usr16:57
sean-k-mooneyi have done that for libvirt actully16:57
sean-k-mooneyjust not qemu16:57
mriedemhuh, i just saw the 'timed out waiting for response from cell' error in a functional test https://zuul.opendev.org/t/openstack/build/63001bbd58c244cea70c995f1ebf61fb/log/job-output.txt#309217:00
sean-k-mooneyhttps://review.opendev.org/#/c/693094/3/devstack/libs/libvirt@113 this would have to be updated to "./configure --prefix=/usr"17:00
sean-k-mooneyin test_evacuate_with_soft_anti_affinity17:01
mriedemi don't think that matters,17:02
mriedemwe're just calling GET /servers/server_id to get the status probably17:02
mriedemWARNING [oslo.service.loopingcall] Function 'nova.servicegroup.drivers.db.DbDriver._report_state' run outlasted interval by 59.77 sec17:02
sean-k-mooneylikely not but just was wondering which one17:02
mriedemchances are this is another infra node that hit some crazy io issue17:02
sean-k-mooneymriedem: oh that reminds me https://bugs.launchpad.net/nova/+bug/185149717:03
openstackLaunchpad bug 1851497 in OpenStack Compute (nova) "rng is only enabled if qemu guest agent is enabled" [Medium,Triaged] - Assigned to sean mooney (sean-k-mooney)17:03
sean-k-mooneythe random number generator code has apparently been partly broken since queens ...17:03
sean-k-mooneymriedem: did ye nail down the gate issue to io17:04
mriedemsean-k-mooney: https://review.opendev.org/#/c/129325/ was kilo17:04
sean-k-mooneyif the vm runs out of entrapy it will have issue connecting to ssl sockets17:04
mriedemoh wait17:04
mriedemwrong change17:04
mriedemoh no that's right17:05
mriedemyeah kilo17:05
mriedemwho would have guessed that a 373 LOC refactor would break something....17:05
sean-k-mooneywell no one noticed till now so ya17:06
*** psachin has quit IRC17:06
sean-k-mooneyi was review the sev virtio viommu fix and found it odd that the qemu guest agent was adding a rng17:06
melwittmriedem: that reminds me, I was chatting with penick about the gate io issues and he suggested infra/tempest using a flavor where the iops qos/limit has been set. are you familiar with that? (I'm not)17:07
mriedemthe trend here is kind of interesting http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Function%20'nova.servicegroup.drivers.db.DbDriver._report_state'%20run%20outlasted%20interval%20by%5C%22&from=7d17:10
mriedemnoon and midnight17:10
mriedemmostly on ovh17:10
*** amodi has joined #openstack-nova17:10
efriednoisy cron job?17:10
mriedemmelwitt: i think we were talking about that in here the other day a bit17:10
*** efried is now known as efried_rollin17:11
amodimriedem++ melwitt++ thanks both!!17:14
mriedemamodi: happy backporting17:14
amodilol sure :)17:14
mriedemi posted to the ML about the ovh + spike cron17:15
mriedemi was wondering about the dip there, but that's the weekend17:15
*** TxGirlGeek has quit IRC17:15
mriedemso that query is kind of annoying because there are a lot that are just a couple of seconds, but those 50+ ones are indicative of something really bad on the node17:16
mriedemmehinks it would be good to maybe have some config in oslo that sets a threshold for that and if it goes above the threshold then it's a WARNING but below it's just INFO?17:16
mriedemright now everything is WARNING which is kind of just noise17:16
mriedembnemec: ^ what do you think about that?17:16
*** igordc has quit IRC17:16
*** igordc has joined #openstack-nova17:17
mriedemlike i'd like to make that a warning if something outlasts 30 seconds in devstack/gate and then we can trace it in e-r17:17
dansmithmriedem: hmm, do we still need null_instance_uuid_scan? wasn't that like kilo and we have a constraint now?17:18
mriedemheh yeah i think we can deprecate and remove that https://review.opendev.org/#/c/97946/17:19
mriedemhttps://review.opendev.org/#/q/topic:bp/db2-database+(status:open+OR+status:merged) !!!17:19
mriedemclassic riderman17:19
*** sapd1_x has joined #openstack-nova17:20
*** spatel has joined #openstack-nova17:21
*** artom has joined #openstack-nova17:21
*** JamesBen_ has joined #openstack-nova17:22
*** jawad_axd has quit IRC17:23
*** igordc has quit IRC17:23
*** JamesBenson has quit IRC17:26
*** jawad_axd has joined #openstack-nova17:29
*** melwitt is now known as jgwentworth17:31
*** jawad_axd has quit IRC17:32
openstackgerritArtom Lifshitz proposed openstack/nova master: DNM: break live migration to trigger bug 1788014  https://review.opendev.org/69304517:37
openstackbug 1788014 in OpenStack Compute (nova) "when live migration fails due to a internal error rollback is not handeled correctly." [Medium,In progress] https://launchpad.net/bugs/1788014 - Assigned to Matt Riedemann (mriedem)17:37
*** dtantsur is now known as dtantsur|afk17:38
jgwentworthis there any way to discover whether force_config_drive=True in nova config from tempest? asking because of this tempest change https://review.opendev.org/69309617:38
*** TxGirlGeek has joined #openstack-nova17:40
openstackgerritDan Smith proposed openstack/nova-specs master: Add nova-audit spec  https://review.opendev.org/69322617:43
artomjgwentworth, nothing's discoverable in Tempest, it's all configured17:43
dansmithmriedem: jgwentworth ^ wanna skim that for obvious booboos before I blast to the ML?17:43
jgwentworthartom: yeah, I was thinking whether there's some kinda api discoverability from nova that I'm not aware of17:44
artomjgwentworth, in this case, the [compute-features-enabled]/config_drive option17:44
jgwentworthright17:44
artomjgwentworth, ah, doesn't ring a bell17:44
dansmithjgwentworth: isn't that per compute node?17:44
jgwentworthyeah, I'm pretty sure there's not17:45
jgwentworthdansmith: oh, yeah I guess it can be17:45
artomjgwentworth, I suppose you could always boot a VM, ssh to it, and check17:45
artomBut...17:45
artomYou're meant to be using the config option :)17:45
jgwentworthsigh. ok. just thinking, the test could be useful if force_config_drive=False but it's not in the gate so it would be a dupe test17:45
artomAnd skip tests that need config drive if it's not set17:45
jgwentworthand is only not a dupe in envs where force_config_drive=False17:46
jgwentworthso at least in the gate, it should be disabled by default. maybe it should actually check the opposite, only run if  [compute-features-enabled]/config_drive=False17:48
jgwentworthbecause tempest seems to be using that to mean whether config drive is being forced17:48
artomWhat does passing config_drive=True on server creation even do?17:49
artom"Indicates whether a config drive enables metadata injection."17:49
artomThat's... no the same as "a config drive will be present"17:49
artomIs it?17:49
larsksartom: attaches a config drive to your instance that will be used for getting instance metadata instead of the network metadata service.17:50
artomlarsks, see, I had no idea that was user-controllable in that way17:50
larsksUsed e.g. by cloud-init for retrieving ssh keys, network confguration, etc.17:50
artomlarsks, right, I know what a config drive *is* :)17:50
artomI just didn't think the user had that level of control over its presence17:51
artom"When this option is set to true config drive functionality will be forced17:52
artomenabled by default, otherwise users can still enable config drives via the REST17:52
artomAPI or image metadata properties. Launched instances are not affected by this17:52
artomoption."17:52
artomOh OK.17:52
jgwentworthok, I commented accordingly on the review about inverting the logic of the skip17:53
mriedembecause not everyone wants to run the metadata api service17:53
artommriedem, so I heard17:53
mriedemand the metadata api is only as good as the stuff we persist, which isn't everything that you can use, like personality files17:53
mriedemi.e. you might get your goodies on boot but they are gone after resizing17:54
dansmithconfig drive is a big benefit for edge peeps17:55
dansmithbecause hitting the metadata api is a trip over the wan, either via http if it's central, or by it to the db which likely is17:55
dansmithconfigdrive keeps working even if you're isolated17:55
openstackgerritDan Smith proposed openstack/nova-specs master: Add nova-audit spec  https://review.opendev.org/69322618:00
*** sapd1_x has quit IRC18:00
sean-k-mooneyyou can use metadta service if you have isolated neutron networks too18:02
sean-k-mooneybut you need to configure neturon to proxy the metadta api via the dhcp agent18:03
sean-k-mooneyinstead fo the router18:03
dansmithsean-k-mooney: to be clear, I meant partitioned as in...the wan is down18:03
sean-k-mooneybut ya config drive woks regardless of the network topology18:03
sean-k-mooneyah right18:03
sean-k-mooneythe only draw back with the config drive is that it will not be updated if you attach interface ectra at least while the vm is running18:04
sean-k-mooneyin general i works well for what it does18:04
artomjgwentworth, I think gmann and the other tempest folks need to weigh in on https://review.opendev.org/#/c/693096/ - I'm not even sure it's necessary at all18:05
jgwentworthyes, I assumed tempest ppl will review it :)18:06
artomThere's... latency, sometimes :)18:07
*** JamesBen_ has quit IRC18:09
jgwentworthyeah, I just meant it's a tempest patch so it's gonna be up to them18:09
*** JamesBenson has joined #openstack-nova18:10
mriedemdansmith: per usual you updated while i was leaving comments :/18:13
*** mriedem is now known as mriedem_lunch18:15
*** xek__ has joined #openstack-nova18:15
dansmithmriedem_lunch: sorry man, just fixing pep818:16
*** xek_ has quit IRC18:18
jgwentworthdansmith: spec looks sane to me and ok for ML input18:18
dansmithjgwentworth: thanks, I'll make some of the changes mriedem_lunch suggested and then blast18:22
*** lpetrut has joined #openstack-nova18:25
*** lpetrut has quit IRC18:26
*** igordc has joined #openstack-nova18:28
*** jgwentworth is now known as melwitt18:36
openstackgerritDan Smith proposed openstack/nova-specs master: Add nova-audit spec  https://review.opendev.org/69322618:38
openstackgerritDan Smith proposed openstack/nova-specs master: Add nova-audit spec  https://review.opendev.org/69322618:46
* dansmith rocsk18:46
dansmithomg the gate, the gate18:56
dansmith5 minute turnaround time.... <318:56
*** mriedem_lunch is now known as mriedem18:57
melwittwe're living in gate luxury19:01
sean-k-mooneyif only there was ptg every month19:02
sean-k-mooneyand we did not have to travel19:03
artomPTG in my basement, hell yeah19:04
*** tbachman has quit IRC19:21
*** tbachman has joined #openstack-nova19:27
*** tbachman has quit IRC19:27
*** tbachman has joined #openstack-nova19:28
*** spatel has quit IRC19:28
openstackgerritArchit Modi proposed openstack/nova stable/pike: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69323619:31
artomDo we have a middleware-knowing person?19:32
artomI'm trying to figure out a 413 error for a downstream, and it's bugging me19:32
artomEven with debug enabled, the only log line I see is "POST /v2.1/servers" status: 413"19:32
artomNothing else that's interesting for that request ID19:32
artomSo... could it be oslo_middleware's sizelimit doing that? How would we make sure?19:33
openstackgerritArchit Modi proposed openstack/nova stable/queens: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69323919:37
sean-k-mooneyartom: byond a print statemtent in the function im not really sure19:38
artomsean-k-mooney, or I guess removing it from the paste config19:38
*** damien_r has joined #openstack-nova19:38
*** damien_r has quit IRC19:38
*** damien_r has joined #openstack-nova19:38
artomBut paste scares me19:38
sean-k-mooneyya although that might fail somewhere else then19:39
mriedemartom: efried_rollin has dorked around in a lot of that code lately19:39
openstackgerritArchit Modi proposed openstack/nova stable/rocky: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69324019:39
sean-k-mooneyim sure there is a way to congirue custom midelware to log extra stuff in the 413 case but ya i didnt really want to have to learn that19:39
sean-k-mooneycdent know that code pretty well too i think19:40
mriedemamodi: i see you're doing backports backwards,19:40
mriedemamodi: note that you should be doing train -> stein -> rocky -> queens -> pike19:40
mriedemin that order19:40
amodimriedem: yes19:40
amodimriedem: oh i dint know it mattered19:40
artommriedem, can I blow your mind?19:40
mriedemhttps://docs.openstack.org/project-team-guide/stable-branches.html#processes19:40
amodimriedem: im still cherry picking from the master19:40
artomamodi is Red Hat QE!19:40
sean-k-mooneyamodi: the patch has to merge on all the newer branches first19:41
mriedemartom: that does not blow my mind19:41
artomHe's upstream!19:41
sean-k-mooneyamodi: same as downstream19:41
mriedemamodi: the point of that is if we merged the rocky backport, someone got it, and then upgraded to train where the backport isn't merged yet, they'd lose the fix19:41
mriedemand have to re-fix it19:41
mriedemthat's why you go latest to oldest19:41
amodimriedem: i see, yes makes sense19:41
melwittrecently I struggled with locating where an exception was being raised to nova api, all the log said was "INFO [nova.api.openstack.wsgi] HTTP exception thrown: Maximum number of ports exceeded" I'm not sure whether more would be shown at DEBUG19:43
melwittand for this 413 thing, you said there's zero logging of it.. I can't recall if I've seen that before or how/why it happens19:44
artommelwitt, well, there's just the 1 line19:44
artomAnd then the request ID appears in a bunch of OPTIONS / requests19:45
melwittyeah, sorry, I meant other than the POST line with the status code19:45
artomWhich I assume are load balancers poking the API19:45
sean-k-mooneyartom: no the load blancer would not reuse a request id like that19:45
artomsean-k-mooney, this is queens, did we still have that request ID sharing bug back then?19:46
artomThough that was only for periodic tasks19:46
openstackgerritArchit Modi proposed openstack/nova stable/train: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69324119:46
openstackgerritArchit Modi proposed openstack/nova stable/stein: Revert "openstack server create" to "nova boot" in nova docs  https://review.opendev.org/69324219:47
sean-k-mooneyha proxy is dumb and know nothing about the request id. iw we are seeing multipel request with the same request id its form heat/novaclient reusing the request id i woudl suspect19:47
sean-k-mooneyits a vm create so it might use the same request id to poll for its completion19:48
artomsean-k-mooney, wait, so heat would be creating the whole stack with a single request ID?19:48
artomFun19:48
mriedemnobody calls haproxy dumb and gets away with it19:48
artomsean-k-mooney, but... OPTIONS / ?19:48
artomThat's obviously health check stuff19:48
*** eharney has quit IRC19:48
artomI've like we've gotten sidelined :)19:48
sean-k-mooneywell a http options request is use to discover info about the endpoint19:49
mriedemheh, oh boy, someone just reply-all'ed to 400 people internally19:49
sean-k-mooneyyes we may have internal maining lists that people dont understand how to unsubsribe form19:49
melwittunsubsquirrel19:50
sean-k-mooneyand they may or may not like to reply all to them to ask for help to the point ^ is now a thing19:50
*** ivve has joined #openstack-nova19:51
sean-k-mooneyas is http://www.unsubsquirrel.com/19:51
artomOh common19:52
mriedemgreat now i'm playing that game19:52
sean-k-mooneyhttps://scratch.mit.edu/projects/327361863/ is the beeter version19:52
artomI can't believe the obvious "Unsubscribe you? That's nuts!" pun19:52
artom*they missed19:52
melwittopen a PR19:53
artomAh no, if you refresh enough times you get it19:54
melwittoh yeah, I see https://github.com/joellord/subsquirrel/blob/master/index.html#L3319:55
*** eharney has joined #openstack-nova20:01
*** nanzha has joined #openstack-nova20:07
*** nanzha has quit IRC20:12
openstackgerritMatt Riedemann proposed openstack/nova master: Regression test for bug 1849657  https://review.opendev.org/69324820:13
openstackbug 1849657 in OpenStack Compute (nova) " allocation key is missing from the binding:profile of the neutron qos port when the server is created by a non-admin user" [Medium,In progress] https://launchpad.net/bugs/1849657 - Assigned to Balazs Gibizer (balazs-gibizer)20:13
*** xek__ has quit IRC20:17
*** xek_ has joined #openstack-nova20:17
*** ralonsoh has quit IRC20:19
*** abaindur has joined #openstack-nova20:20
*** abaindur has joined #openstack-nova20:20
*** efried_rollin is now known as efried20:24
efriedartom: paste?20:24
efriedsean-k-mooney: So the one where I added --with-apparmor_profiles and --prefix=/usr failed, but the one where I added that symlink and rebooted succeeded.20:26
sean-k-mooneyefried: ok so i need to work on proper apparmor support in a follow up20:27
sean-k-mooneyi may have spent the last 3 hour fixing my openstack that i broke but im testing it on a clean vm right now20:27
efriedsean-k-mooney: the symptoms are all the same, except dmesg in addition to those apparmor="DENIED" messages also shows things like20:28
efried[75800.085042] netlink: 'ovs-vswitchd': attribute type 5 has an invalid length.20:28
efried[75800.085251] device br-int entered promiscuous mode20:28
*** priteau has quit IRC20:28
sean-k-mooneythe other message are normal20:28
sean-k-mooneybut you still got the denie message with the profiles comipled in ya20:29
efriedwell, I'm taking it on faith that "profiles are compiled in".20:29
efried-        ./autogen.sh --system20:30
efried+        ./autogen.sh --system --with-apparmor_profiles20:30
efriedand20:30
efried-        ./configure20:30
efried+        ./configure --prefix=/usr20:30
sean-k-mooneyim not sure if you have to pass that flage to autogen or configure20:30
efriediiuc either one of those should have worked by itself, no?20:30
*** tbachman has quit IRC20:30
sean-k-mooneythe profies are hardcoded to no20:30
efriedbecause apparmor's snit was with libvirt not being in the right dir?20:30
sean-k-mooneyso if you dont explcitly pass the flag they wont be generated20:31
sean-k-mooneyit was unhapy with qemu not being in the correct location20:31
sean-k-mooneythe --system puts libvirt in the correct place20:31
efriedso if I do that symlink thing and reboot, I just have to unstack and restack, not clean, right?20:32
sean-k-mooneyyep20:32
sean-k-mooneyyou dont need to modify the build either20:32
sean-k-mooneyif you add the symlink that should be enough with the patch i have pushed up20:32
*** eharney has quit IRC20:32
sean-k-mooneyand the local.conf i shared earlier20:33
sean-k-mooneyatleast that is what im testing20:33
efriedstill at ps3 yah?20:33
sean-k-mooneyyep20:33
sean-k-mooneyi littally created the sysmlink rebooted, cloned devstack, and created the local.conf http://paste.openstack.org/show/785846/20:34
sean-k-mooneyand now im waiting for it to finish stacking20:34
sean-k-mooneyi think that should be all that is required20:34
*** ceryx has quit IRC20:36
efriedwhat's the incantation to create a VM I can actually ssh into (from the hypervisor, don't care about external stuff)20:41
sean-k-mooneyi normally use openstack or virt-manager to do it20:42
sean-k-mooneywhat os do you want to do it on20:43
efriedI mean create via openstack. --network public doesn't seem to be sufficient, or I'm missing something else. Console log shows the big cirros splash, so I think the thing is up. But trying the IPs I see from `server show` is getting me nothing.20:44
sean-k-mooneyoh devsteack?20:44
sean-k-mooneyif so the public network has dhcp disabled20:44
sean-k-mooneyso you have to trun that on first20:45
efriedor get to the console. I don't really even need networking for what I'm doing.20:45
efried(It's kind of embarrassing that I've basically never done this)20:45
sean-k-mooneyyou have never done a nova boot?20:45
sean-k-mooneyor actully tried to ssh in after20:46
efriedthe latter20:46
artomefried, paste?20:47
efriedartom: As in, I might be able to help you with your paste/middleware20:47
efriedsean-k-mooney: never cared about the VM itself, just about the bits that get it to ACTIVE state.20:47
sean-k-mooneyto enable dhcp do "openstack subnet set --dhcp public"20:49
sean-k-mooneyyou then need to open ssh in the security groups20:49
sean-k-mooney"openstack security group rule create --ingress --protocol tcp --remote-ip 0.0.0.0/0 default"20:51
sean-k-mooneyif you reboot the vm you should then be able to ssh in with20:51
sean-k-mooneyopenstack server ssh --private  -l cirros <vm name>20:52
artomefried, ah, thanks! Tomorrow? If it's still bugging me then20:52
efriedartom: sure thing20:52
artomI'm on the hook for the school run now20:52
efriedme too in 20 mins20:52
* artom -> off20:52
*** artom has quit IRC20:52
eanderssonFighting heal_allocations is never fun20:53
eanderssonI almost wish it was out of tree20:53
efriedsean-k-mooney: is it gonna hurt me that my VM currently doesn't think it has an ipv4 address?20:54
sean-k-mooneyyou dont see one in openstack server show our you cant ping it20:54
openstackgerritMatt Riedemann proposed openstack/nova master: Use admin neutron client to query ports for binding  https://review.opendev.org/69099920:57
openstackgerritMatt Riedemann proposed openstack/nova master: Use admin neutron client to gather port resource requests  https://review.opendev.org/69100520:57
openstackgerritMatt Riedemann proposed openstack/nova master: Use admin neutron client to see if instance has qos ports  https://review.opendev.org/69190020:57
sean-k-mooneyefried: if you just want the console url you can do "openstack console url <vm name>" by the way20:57
efriedsean-k-mooney: per the console running ifconfig -a20:57
sean-k-mooneyoh did you enable dhcp like i said and reboot20:58
efriedyeah, the console via browser is pretty clunky, I could make do with that but would rather be able to ssh20:58
efriedfor one thing, it seems to be bypassing my keyboard driver20:58
efriedI can't type qwerty to save my life20:58
sean-k-mooneydavorak?20:58
efriedthere were three security groups, so I set that up for all of them, cause I didn't know which one was the right one. rebooting the vm now20:59
efriedyes, dvorak20:59
efriedfor nearly 20 years.20:59
sean-k-mooney... i see20:59
sean-k-mooneyanyway am if your in the vm20:59
efriedcan't imagine how a console through a browser is using its own kb driver20:59
mriedemnote that those 3 fixes above are gibi's and pretty straight-forward20:59
efriedbut whatever20:59
mriedemi'm +2 on all 320:59
sean-k-mooneyefried: so anyway your in the vm right. have you enabled dhcp on the subnet? if so you can reboot and it should get an ip or you can run cirros dhcpclient directly21:01
sean-k-mooneyefried: then you should be able to ssh in21:01
efriedrebooting, waiting for it to come up21:01
sean-k-mooneyefried: i usually put the command to do this in a local.sh file beside my local.conf21:02
mriedemefried: are you just trying to figure out how to ssh into a cirros guest in devstack?21:02
sean-k-mooneyi just cant find it21:02
mriedemi've got a recording on youtube that does that with a floating ip21:02
sean-k-mooneydevstack will auto run the local.sh if present21:02
efriedI did21:02
efriedopenstack subnet set --dhcp public-subnet21:02
efriedopenstack security group rule create --ingress --protocol tcp --remote-ip 0.0.0.0/0 $group for all three groups21:02
efriedopenstack server reboot21:02
efriedmriedem: yes, that's what I'm trying to do.21:02
sean-k-mooneyyep that should be enough21:02
mriedemheh, it's been like 3 days :)21:02
mriedemsec21:02
mriedemefried: it's a bit old, but this shows setting up a guest in devstack with a floating ip to ssh into it https://www.youtube.com/watch?v=hZg6wqxdEHk21:03
sean-k-mooney... my clean vm failed because i forget to mount /opt on a cinder volume and ran out of space :(21:03
efriedthanks mriedem, will try that on my other devstack21:04
efriedsean-k-mooney:21:04
efriedstack@nucle:/opt/stack/devstack$ openstack server ssh --private -l cirros test121:04
efriedssh: connect to host 2001:db8::109 port 22: No route to host21:04
sean-k-mooneyadd -421:04
mriedemstart about 3 minutes in21:04
mriedemignore all of the volume multiattach stuff21:05
sean-k-mooneyunless you have routable ipv621:05
sean-k-mooneyif you do you need to change teh --remote-ip to allow ipv6 trafic21:05
sean-k-mooneyefried: you cans also just use ssh directly if you know the ip21:05
efriedah, but I can ssh to the IP... yes21:06
efriedI don't think I can ipv6 at all21:06
ionihello guys, i'm using openstack in production and also  sadly still use openvz and i plan to move away from it in the near future. is there a project that i can use with openstack to orchestrate containers like openvz. lxd seems the same but nova-lxd is not maintained anymore and everything that i can find related to openstack and containers is mostly related to docker and kubernets but not somethin21:06
ionig like lxd/openvz21:06
efriedadding -4 also made the openstack command work21:07
sean-k-mooneyefried: the firewall is blocking all ipv6 into the vm by default21:07
mriedemioni: zun21:07
efriedsokay, I'm pretty sure ipv6 is never going to catch on anyway. I'll just use v421:07
efriedthanks for the help, again.21:07
sean-k-mooneyhaha i spend like a full weekend getting it working at home like a month ago21:08
sean-k-mooneyi dont have native ipv6 at home so had to set up tunneling and then route it into openstack so that my vms get public ipv6 adresses21:08
mriedem"how do i ssh into a guest in devstack" <3 days later> "wait, you don't need ipv6 with numa and dpdk? oh, well then..."21:08
sean-k-mooney:)21:09
sean-k-mooneymriedem: actully regarding multi attach21:09
mriedemstop21:09
sean-k-mooneywhat file system do you use?21:09
mriedemin this demo?21:10
sean-k-mooneyin general21:10
mriedemi don't21:10
sean-k-mooneyi dont think we mention it in the docs21:10
sean-k-mooneyok21:10
mriedemmultiattach docs are mostly in cinder21:10
sean-k-mooneyah o should read those at some point21:10
mriedemhttps://docs.openstack.org/cinder/latest/admin/blockstorage-volume-multiattach.html21:11
mriedemdoesn't really go into details either21:11
ionimriedem, zun seems that it uses docker and is not something that i can replace openvz with21:11
sean-k-mooneyi was thinking of using it for k8s on openstack but it seamed complicated21:11
mriedemefried: so about 9 minutes into that demo i'm creating a floating ip for the port attached to the server21:11
mriedemmight be useful if i just wrote this up into devstack docs21:13
sean-k-mooneymriedem: i think there used to be an exersie that coverd it21:13
sean-k-mooneybut i cant find it21:13
mriedemioni: nova isn't really big on containers, it's basically vms and a front end for ironic baremetal,21:14
mriedemnova-lxd is a thing out of tree as you know, openvz is in who knows what kind of maintenance state, and then there is libvirt+lxc which is also - who really knows if it works very well right now21:14
mriedemof course with cirros you can just login with a password21:15
efriedsean-k-mooney: presumably I could have done all that dhcp and security group nonsense before creating the vm21:15
sean-k-mooneyefried: yes and you only have to do it once21:15
efriedk, writing myself a cheat sheet21:15
sean-k-mooneyefried: also i normally do it all via horizon as its faster21:15
efriedew, gui21:16
sean-k-mooneythe cli is faster for most things but security groups are a pain on the cli21:16
efriedcheat sheet line for that:21:16
efriedopenstack security group list -f value -c ID | xargs -n1 openstack security group rule create --ingress --protocol tcp --remote-ip 0.0.0.0/021:16
sean-k-mooneyefried: anyway as i said once you have the command you need to run. just put them in a file called local.sh and it will be run at the right time21:17
sean-k-mooneyoh is in the default local.sh in samples/local.sh21:17
sean-k-mooneyjust copy that up one directory21:17
efriedhm, I thought I did all the right things on my other setup, but I'm still getting no route to host.21:18
efriedaaand gotta run get a kid21:18
*** efried is now known as efried_afk21:19
melwittioni: I see mention of openvz in the original proposal for the magnum project https://specs.openstack.org/openstack/magnum-specs/specs/pre-ocata/implemented/containers-service.html but I don't know if it supports it today21:21
sean-k-mooneymelwitt: ioni magnum is a different usage model21:23
sean-k-mooneynova libvirt/lxc woudl be the closest21:23
melwittoh ok21:24
ionii just want to stop using openvz and migrate the current  containers to something orchestrated by openstack with good support21:24
ioninova-lxd was something i could use but that was dropped recently by canonical21:24
sean-k-mooneyioni: well there isnt really a good path forward if you also want the nova api21:24
sean-k-mooneyzun will work with docker style container but not system contianers21:25
sean-k-mooneyas far as i know21:25
ioniright, that is want i found as well21:25
sean-k-mooneynova libvirt wiht lxc could work but it does not have good support a the momemnt21:25
sean-k-mooneyif there was a lot of interest in it it would not take that much to get it working well again21:25
ionieverybody told me that lxc support is not that great and was too scared to try it21:26
sean-k-mooneyits not but its not that far form being ok21:26
*** gshippey has quit IRC21:27
sean-k-mooneythe openvz driver is proably the best supproted fo all the nova conatiner drivers at the moment21:27
sean-k-mooneyit has not reaaly been a focus of nova of late21:27
*** pcaruana has quit IRC21:27
openstackgerritMerged openstack/python-novaclient master: doc: Fix supported version descriptions  https://review.opendev.org/69309721:29
mriedemi'm guessing the openvz 3rd party ci is still busted21:29
*** damien_r has quit IRC21:30
sean-k-mooneywas that the ci that had a hardcoded patch that is now in conclict because we fixed the bug21:30
mriedemyes21:30
mriedemlooks like it doesn't even report anymore21:31
sean-k-mooneyya i was just going to say that21:31
sean-k-mooneyi have not seen it in a while21:31
ionisean-k-mooney, alright thanks. i'll take a look at openvz 7 and nova21:31
sean-k-mooneyioni: if you need contianer i would not bet on that long term21:32
ionisean-k-mooney, indeed, i mostly think that i'll do a container to full kvm migration, but that really sucks21:33
openstackgerritMatt Riedemann proposed openstack/nova master: Use ListOfUUIDField from oslo.versionedobjects  https://review.opendev.org/69325821:34
sean-k-mooneyif you are interested in system contaienr there are afew other like donnyd who also share that interest21:34
sean-k-mooneyso we could try and fix/test libvit lxc upstream but its currntly on lifesupprot/hobbyist support21:35
sean-k-mooneykvm will have less desitiny but its deffently the best tested solution21:36
sean-k-mooneynight all o/21:37
ionithanks for your feedback sean-k-mooney21:37
*** efried_afk is now known as efried21:41
*** takashin has joined #openstack-nova21:48
*** igordc has quit IRC21:51
openstackgerritMatt Riedemann proposed openstack/nova master: Remove unused 'nova-dsvm-base' job  https://review.opendev.org/68838922:01
*** kisahm has joined #openstack-nova22:01
*** abaindur has quit IRC22:02
*** abaindur has joined #openstack-nova22:02
kisahmHI together, i have the problem, that 'openstack availability zone list' receives no output. the error message is ConnectFailure: Unable to establish connection to https://nova-url:8774/v2.1/os-availability-zone/detail: ('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',))22:03
kisahmnova api/placement shows no errors.22:03
kisahmthe request timed out after 90 sec22:04
kisahmopenstack queens release, deployed with Juju22:05
*** xek has joined #openstack-nova22:05
*** xek_ has quit IRC22:06
*** xek has quit IRC22:06
*** xek has joined #openstack-nova22:07
mriedemmelwitt: dansmith: this isn't bad, but i'm not sure i want to pull the trigger on it - see if you have opinions https://review.opendev.org/#/c/688122/22:07
mriedemi like the idea of not hitting the synchronized stuff if we have the entry in the cache22:07
*** eharney has joined #openstack-nova22:10
melwittI'm pretty sure Kevin_Zheng proposed the same thing in the past in a simpler way and got nacked. lemme see if I can find22:10
kisahmthe nova-api-os-compute.log shows this error: Timed out waiting for response from cell 79275f0e-86b1-4859-aeac-642382585ef4: CellTimeout: Timeout waiting for response from cell22:12
mriedemkisahm: known http://status.openstack.org/elastic-recheck/#184492922:12
*** xek has quit IRC22:12
melwittmriedem: ^ https://review.opendev.org/#/c/595530/2/nova/context.py22:13
mriedemuh oh, do i see dansmith talking about eventlet + locks in there?!22:16
mriedemdropping that on booth might start a war22:16
melwitthah22:16
kisahmmriedem does the bug also exists in openstack releases >queens?22:27
*** xek has joined #openstack-nova22:28
mriedemkisahm: logstash says it started in the upstream gate in train, but mostly master jobs22:28
*** tesseract has quit IRC22:28
mriedemdo people see any issue with this? https://review.opendev.org/#/c/540962/ - if not i'll rev it to add the short release note22:30
mriedemtl;dr allow CONF.enable_new_services to be configured per-host rather than globally22:30
mriedemso you can start some computes as disabled to start but not others22:30
*** TxGirlGeek has quit IRC22:31
*** TxGirlGeek has joined #openstack-nova22:32
efriedmriedem: so previously you would put that in your conductor conf and it would disable all computes?22:33
mriedemyup22:33
mriedemwell, newly created computes22:33
*** TxGirlGeek has joined #openstack-nova22:33
efriedright22:34
efriedhm22:34
efriedit's a pretty serious semantic change, really.22:35
*** dklyle has quit IRC22:35
*** JamesBenson has quit IRC22:36
mriedemas in, if you used different configs for your controllers and computes, and you had this set in your controllers but not computes, you might now have new enabled comptues where you'd expect them to be disabled b/c you didn't move the config?22:36
*** dklyle has joined #openstack-nova22:36
efriedlet me make sure I'm understanding: you would have the option set to False in your compute-side conf, and when you bootstrap your compute, it'll start out disabled; but once you re-enable it, it will stay enabled from that point on -- like, the conf opt will not have an effect on subsequent starts of the service22:36
*** dklyle has quit IRC22:36
*** dklyle has joined #openstack-nova22:36
mriedemit would be ignored if set in compute conf22:37
mriedemas the bug notes22:37
efriedI mean in the new world22:37
melwittyeah, I was thinking similar. I thought usually that sort of thing would have hit the ML. I can't think of any issue with it other than possible confusion, which the release note would address22:37
mriedemcorrect22:37
mriedemit's only when starting a new service and the record is created22:37
efrieddifferent levels of conductor and compute are supported though, right?22:38
melwittI'd want to ask dansmith if there's any upgrade concerns I'm missing22:38
efriedwhich one upgrades first?22:38
mriedemthe whole point is, i want to deploy some new computes but not make them scheduable until i can kick their tires22:38
mriedemthen add them to the pool22:38
mriedemefried: doesn't really have anything to do with rpc upgrade levels if that's what you mean22:38
efriedno, I mean train conductor, ussuri compute. If the option is set differently, what happens?22:39
mriedemfor an upgrade, if you care about this, you'd probably leave it to False in conductor until you upgrade all computes to the new code, then you can remove it from conductor config22:39
mriedemtrain conductor ussuri compute isn't really a thing22:39
efriedokay, vice versa.22:39
mriedemif you had that for some reason, obviously the train conductor code would override22:39
efried"if you care about this" and you remembered that you set it years ago in your conductor conf22:39
*** Kevin_Zheng has quit IRC22:40
efriedHave we considered instead creating a *new* opt that's compute-only? Because then I could have the conductor "default" and the per-compute "override".22:40
mriedemonce everything is upgraded, having it set in your conductor conf would be a noop22:40
efriedyeah, I get that.22:40
mriedemi mentioned moving the option to the [compute] group in a follow up22:40
mriedemi didn't think about 2 options22:41
mriedemi also don't know how much this is even used, so i don't know that we should boil the ocean over it22:42
mriedembut 2 options could be a transition plan22:42
mriedemDEFAULT.enable_new_services gets deprecated, compute.enable_new_services gets added22:43
efriedon compute it makes more sense to be singular22:44
openstackgerritMatt Riedemann proposed openstack/nova master: Improve error log when snapshot fails  https://review.opendev.org/35602022:53
*** rcernin has joined #openstack-nova22:53
openstackgerritMatt Riedemann proposed openstack/nova master: Improve error log when snapshot fails  https://review.opendev.org/35602022:54
*** tbachman has joined #openstack-nova22:57
*** TxGirlGeek has quit IRC22:59
*** TxGirlGeek has joined #openstack-nova23:00
mriedemstephenfin: remember that when you rebase a patch that contains a bug fix, the bug is automatically assigned to you in launchpad and it's probably good to go back into launchpad and re-assign it to the owner,23:06
mriedemlooks like during your old review scan/cleanup you did a lot of rebases for old patches (like the one above) and now you own all of the bugs23:07
*** threestrands has joined #openstack-nova23:07
*** artom has joined #openstack-nova23:07
openstackgerritMatt Riedemann proposed openstack/nova master: Regression test for bug 1849657  https://review.opendev.org/69324823:22
openstackbug 1849657 in OpenStack Compute (nova) " allocation key is missing from the binding:profile of the neutron qos port when the server is created by a non-admin user" [Medium,In progress] https://launchpad.net/bugs/1849657 - Assigned to Balazs Gibizer (balazs-gibizer)23:22
*** jmlowe has joined #openstack-nova23:29
*** mriedem has quit IRC23:29

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!