| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2021-05-20 | |||
| 11:23:18 | admin0 | select count(*) from nova.instances where host='h3.' = > 0 ; select count(*) from nova.instances where host='h3' => 71 | |
| 11:23:18 | admin0 | select count(*) from nova.instances where host='h3.' = > 0 ; select count(*) from nova.instances where host='h3' => 71 | |
| 11:23:55 | admin0 | nova_cell0.instances has zero rows | |
| 11:23:56 | sean-k-mooney | ok | |
| 11:23:56 | admin0 | nova_cell0.instances has zero rows | |
| 11:23:56 | sean-k-mooney | ok | |
| 11:24:28 | sean-k-mooney | so you have restart both libvirt and nova compute and confirm the hypervior hostname in the in the db is h3 | |
| 11:24:28 | sean-k-mooney | so you have restart both libvirt and nova compute and confirm the hypervior hostname in the in the db is h3 | |
| 11:25:31 | openstackgerrit | Stephen Finucane proposed openstack/nova master: Add 'hw:vif_multiqueue_enabled' flavor extra spec https://review.opendev.org/c/openstack/nova/+/792356 | |
| 11:25:50 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Describe the use of Review-Priority label https://review.opendev.org/c/openstack/nova/+/792357 | |
| 11:25:50 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Describe the use of Review-Priority label https://review.opendev.org/c/openstack/nova/+/792357 | |
| 11:25:55 | stephenfin | sean-k-mooney: ^ | |
| 11:25:55 | stephenfin | sean-k-mooney: ^ | |
| 11:26:36 | sean-k-mooney | that would need at least a specless blueprint by the way | |
| 11:26:36 | sean-k-mooney | that would need at least a specless blueprint by the way | |
| 11:29:06 | admin0 | i have restarted libvirtd and nova-compute .. " confirm the hypervior hostname in the in the db is h3" | |
| 11:29:07 | admin0 | i have restarted libvirtd and nova-compute .. " confirm the hypervior hostname in the in the db is h3" | |
| 11:29:20 | admin0 | i see it added itself ( the last row in the db) is wtih h3 | |
| 11:29:20 | admin0 | i see it added itself ( the last row in the db) is wtih h3 | |
| 11:29:22 | admin0 | without the . | |
| 11:29:22 | admin0 | without the . | |
| 11:31:14 | admin0 | Final resource view: name=h3 phys_ram=257915MB used_ram=2048MB phys_disk=136958GB used_disk=0GB total_vcpus=40 used_vcpus=0 pci_stats=[] -- in horizon, if i go to admin >> hypervisors .. it does not update the resource view | |
| 11:31:14 | admin0 | Final resource view: name=h3 phys_ram=257915MB used_ram=2048MB phys_disk=136958GB used_disk=0GB total_vcpus=40 used_vcpus=0 pci_stats=[] -- in horizon, if i go to admin >> hypervisors .. it does not update the resource view | |
| 11:31:22 | admin0 | instances, ram used, disk used all is shown as zero | |
| 11:31:22 | admin0 | instances, ram used, disk used all is shown as zero | |
| 11:32:08 | admin0 | do i also need ot check for all active instances and set their association to h3 as hostname as opposed to h3. | |
| 11:32:08 | admin0 | do i also need ot check for all active instances and set their association to h3 as hostname as opposed to h3. | |
| 11:32:46 | sean-k-mooney | you need to check placment and see if there are multipel resouce providers for the host | |
| 11:32:46 | sean-k-mooney | you need to check placment and see if there are multipel resouce providers for the host | |
| 11:32:59 | sean-k-mooney | if so then yes you neeed to fix the allocations | |
| 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 | |