Earlier  
Posted Nick Remark
#openstack-nova - 2021-05-20
11:16:11 sean-k-mooney there lifetime is governe by that of the qemu process that is runnign them
11:16:36 admin0 virsh hostname returns h3 and not h3.
11:16:36 admin0 virsh hostname returns h3 and not h3.
11:16:48 sean-k-mooney libvirt and the nova comptue agent can be restarted without affectign the vms
11:16:48 sean-k-mooney libvirt and the nova comptue agent can be restarted without affectign the vms
11:17:05 sean-k-mooney well thats what its returing to you not nessialry what its returing to nova
11:17:05 sean-k-mooney well thats what its returing to you not nessialry what its returing to nova
11:17:22 admin0 "is h3. in the instance.host" -- where do I see this
11:17:22 admin0 "is h3. in the instance.host" -- where do I see this
11:17:25 sean-k-mooney for reasons they can be different
11:17:25 sean-k-mooney for reasons they can be different
11:17:41 sean-k-mooney in the cell db
11:17:41 sean-k-mooney in the cell db
11:18:16 sean-k-mooney select * form nova_cell1.instance where host == 'h3.';
11:18:17 sean-k-mooney select * form nova_cell1.instance where host == 'h3.';
11:18:35 sean-k-mooney you can also get this in an instnace show
11:18:35 sean-k-mooney you can also get this in an instnace show
11:18:37 admin0 [nova_cell0]> select * from compute_nodes
11:18:37 admin0 [nova_cell0]> select * from compute_nodes
11:18:40 admin0 i only have cell0
11:18:40 admin0 i only have cell0
11:18:42 sean-k-mooney as an admin
11:18:42 sean-k-mooney as an admin
11:18:45 admin0 this is an old ( rocky) platform
11:18:45 admin0 this is an old ( rocky) platform
11:18:55 sean-k-mooney admin0: do you also have a db call just nova
11:18:55 sean-k-mooney admin0: do you also have a db call just nova
11:19:02 sean-k-mooney you should have 3 nova dbs
11:19:02 sean-k-mooney you should have 3 nova dbs
11:19:20 sean-k-mooney nova_cell0 nova_api and a third one?
11:19:20 sean-k-mooney nova_cell0 nova_api and a third one?
11:20:08 admin0 https://gist.github.com/a1git/9bc0c00aaacb3e8757b40e678a3be0fc are the dbs i ahve
11:20:08 admin0 https://gist.github.com/a1git/9bc0c00aaacb3e8757b40e678a3be0fc are the dbs i ahve
11:20:28 sean-k-mooney yep so the nova db is the cell1 db
11:20:28 sean-k-mooney yep so the nova db is the cell1 db
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

Earlier   Later