Earlier  
Posted Nick Remark
#openstack-nova - 2021-05-20
11:32:59 sean-k-mooney if so then yes you neeed to fix the allocations
11:33:43 sean-k-mooney artom: do you know if the placment audit or heal allocations commands willl do that
11:33:44 sean-k-mooney artom: do you know if the placment audit or heal allocations commands willl do that
11:34:54 admin0 sorry for this question, but how exactly do i chck placement ?
11:34:54 admin0 sorry for this question, but how exactly do i chck placement ?
11:36:00 sean-k-mooney do you have the osc-placment plugin installed
11:36:00 sean-k-mooney do you have the osc-placment plugin installed
11:36:22 sean-k-mooney if you do you can do openstack resource provider list
11:36:22 sean-k-mooney if you do you can do openstack resource provider list
11:36:32 sean-k-mooney if not you can isntall it form pip
11:36:32 sean-k-mooney if not you can isntall it form pip
11:36:56 admin0 so i changed h3 and h7 from with a . to without a . .. and select id, hostname, launched_on, host from instances where deleted_at is null and host like '%h7%' gives me 17 insances with host set to h7 (without the .) .. but if i enter the command openstack server migrate 7e6e9758-0d62-4870-861e-34682e8a3580 --wait --live h10 .. it says Compute host h7 could not be found. (HTTP 400)
11:36:56 admin0 so i changed h3 and h7 from with a . to without a . .. and select id, hostname, launched_on, host from instances where deleted_at is null and host like '%h7%' gives me 17 insances with host set to h7 (without the .) .. but if i enter the command openstack server migrate 7e6e9758-0d62-4870-861e-34682e8a3580 --wait --live h10 .. it says Compute host h7 could not be found. (HTTP 400)
11:37:16 admin0 where do I install that plugin ? i mean in the hypervsior, or in one of the controllers ?
11:37:16 admin0 where do I install that plugin ? i mean in the hypervsior, or in one of the controllers ?
11:37:38 sean-k-mooney where ever you run the openstack command
11:37:38 sean-k-mooney where ever you run the openstack command
11:37:49 sean-k-mooney so your laptop or the server you ssh into
11:37:49 sean-k-mooney so your laptop or the server you ssh into
11:38:02 admin0 pip install osc-placement ?
11:38:02 admin0 pip install osc-placement ?
11:38:17 sean-k-mooney preferally pip install --user ...
11:38:17 sean-k-mooney preferally pip install --user ...
11:38:19 sean-k-mooney but yes
11:38:19 sean-k-mooney but yes
11:38:39 sean-k-mooney or pip3 in somecases if your useing python 3
11:38:39 sean-k-mooney or pip3 in somecases if your useing python 3
11:39:12 sean-k-mooney you can also check in the db too if you prefer
11:39:12 sean-k-mooney you can also check in the db too if you prefer
11:39:36 sean-k-mooney since you are not using a sperate placment db i belive placmeent records will be in the nova_api db
11:39:36 sean-k-mooney since you are not using a sperate placment db i belive placmeent records will be in the nova_api db
11:39:55 sean-k-mooney so select * form nova.resouce_providers
11:39:55 sean-k-mooney so select * form nova.resouce_providers
11:40:50 admin0 i would prefer the db
11:40:51 admin0 i would prefer the db
11:41:22 admin0 its empty
11:41:22 admin0 its empty
11:41:23 admin0 0 rows
11:41:23 admin0 0 rows
11:41:58 admin0 sorry
11:41:58 admin0 sorry
11:42:01 admin0 i was checking in nova
11:42:01 admin0 i was checking in nova
11:42:02 admin0 my bad
11:42:02 admin0 my bad
11:43:27 admin0 sean-k-mooney, this is what it has: https://gist.githubusercontent.com/a1git/9eeab38dd606ebd05cbe5995b67254e5/raw/2aa55a648165b17032c2b42e35d81be7bfb6dbc7/gistfile1.txt
11:43:27 admin0 sean-k-mooney, this is what it has: https://gist.githubusercontent.com/a1git/9eeab38dd606ebd05cbe5995b67254e5/raw/2aa55a648165b17032c2b42e35d81be7bfb6dbc7/gistfile1.txt
11:43:51 admin0 for h7, from where i am trying to migrate off instance, i see only 1 line ther
11:43:51 admin0 for h7, from where i am trying to migrate off instance, i see only 1 line ther
11:43:54 admin0 there*
11:43:54 admin0 there*
11:44:43 sean-k-mooney ok good there are no duplicates it correctly renamed the placemetn RP
11:44:43 sean-k-mooney ok good there are no duplicates it correctly renamed the placemetn RP
11:44:49 sean-k-mooney so your allocations shoudl also be correct
11:44:49 sean-k-mooney so your allocations shoudl also be correct
11:45:01 openstackgerrit Stephen Finucane proposed openstack/nova master: docs: Document virtio-net multiqueue https://review.opendev.org/c/openstack/nova/+/792362
11:45:02 openstackgerrit Stephen Finucane proposed openstack/nova master: docs: Address TODO https://review.opendev.org/c/openstack/nova/+/792363
11:45:06 stephenfin sean-k-mooney: now with docs ^
11:45:06 stephenfin sean-k-mooney: now with docs ^
11:45:27 sean-k-mooney stephenfin: you could not wait for my -1
11:45:27 sean-k-mooney stephenfin: you could not wait for my -1
11:45:40 sean-k-mooney stephenfin: you forgot to add a check in _validate_flavor_image_nostatus
11:45:40 sean-k-mooney stephenfin: you forgot to add a check in _validate_flavor_image_nostatus
11:45:43 stephenfin you must -1 faster :P
11:45:43 stephenfin you must -1 faster :P
11:46:00 sean-k-mooney that invokes the new fuction you put in hardware.py
11:46:00 sean-k-mooney that invokes the new fuction you put in hardware.py
11:46:22 stephenfin wdym? I added tests in test_hardware.py if that's what you mean
11:46:22 stephenfin wdym? I added tests in test_hardware.py if that's what you mean
11:46:30 sean-k-mooney nope
11:46:30 sean-k-mooney nope
11:46:42 sean-k-mooney you are ment to check for flavor and image conflcit in the api
11:46:42 sean-k-mooney you are ment to check for flavor and image conflcit in the api
11:46:43 stephenfin ohh, gotcha
11:46:43 stephenfin ohh, gotcha
11:46:44 stephenfin yes
11:46:44 stephenfin yes
11:46:48 sean-k-mooney https://github.com/openstack/nova/blob/82141b12c356fe374822038bdf0a6f0aaa32047b/nova/compute/api.py#L643
11:46:48 sean-k-mooney https://github.com/openstack/nova/blob/82141b12c356fe374822038bdf0a6f0aaa32047b/nova/compute/api.py#L643
11:46:50 stephenfin I'll add that. Thanks
11:46:50 stephenfin I'll add that. Thanks
11:47:08 stephenfin and then, lunch
11:47:08 stephenfin and then, lunch
11:47:11 sean-k-mooney ohter then that and the need for a specless blueprint and docs which you have just added looked good
11:47:11 sean-k-mooney ohter then that and the need for a specless blueprint and docs which you have just added looked good
11:48:16 sean-k-mooney stephenfin: can you add this to the meeting adgenda later
11:48:16 sean-k-mooney stephenfin: can you add this to the meeting adgenda later
11:48:47 admin0 i have checked that there are no instances in nova.instance where hostname = $hostname(.) .. so all instances are set to $hostname (without .) only
11:48:47 admin0 i have checked that there are no instances in nova.instance where hostname = $hostname(.) .. so all instances are set to $hostname (without .) only
11:48:52 admin0 placement has only hosts without .
11:48:52 admin0 placement has only hosts without .
11:48:56 admin0 so this all looks good
11:48:56 stephenfin sean-k-mooney: sure
11:48:56 stephenfin sean-k-mooney: sure
11:48:56 admin0 so this all looks good
11:49:45 admin0 but openstack migrate $uuid --wait --live $dest_host returns => compute host $source not found (400)
11:49:45 admin0 but openstack migrate $uuid --wait --live $dest_host returns => compute host $source not found (400)
11:58:10 openstackgerrit Stephen Finucane proposed openstack/nova master: Add 'hw:vif_multiqueue_enabled' flavor extra spec https://review.opendev.org/c/openstack/nova/+/792356
11:58:11 openstackgerrit Stephen Finucane proposed openstack/nova master: docs: Address TODO https://review.opendev.org/c/openstack/nova/+/792363
11:58:11 openstackgerrit Stephen Finucane proposed openstack/nova master: docs: Document virtio-net multiqueue https://review.opendev.org/c/openstack/nova/+/792362

Earlier   Later