Re: openstack-discuss Digest, Vol 55, Issue 17
Good morning, I set up openstack, on an Ubuntu 22.04 VM. Installation went well: I created an account and a project, as well as all the steps for creating an Ubuntu 18 instance. But when launching the instance, I only have error messages. My question: Is there someone who can help me and provide me with a procedure complete and tested. With my sincere thanks Le sam. 6 mai 2023 à 10:21, <openstack-discuss-request@lists.openstack.org> a écrit :
Send openstack-discuss mailing list submissions to openstack-discuss@lists.openstack.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
or, via email, send a message with subject or body 'help' to openstack-discuss-request@lists.openstack.org
You can reach the person managing the list at openstack-discuss-owner@lists.openstack.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of openstack-discuss digest..."
Today's Topics:
1. [Nova] Clean up dead vms entries from DB (Satish Patel) 2. [OPENSTACK][rabbitmq] using quorum queues (Nguy?n H?u Kh?i) 3. Re: openstack-discuss Digest, Vol 55, Issue 16 (BEDDA Fadhel)
----------------------------------------------------------------------
Message: 1 Date: Fri, 5 May 2023 15:14:18 -0400 From: Satish Patel <satish.txt@gmail.com> To: OpenStack Discuss <openstack-discuss@lists.openstack.org> Subject: [Nova] Clean up dead vms entries from DB Message-ID: <CAPgF-fqVSj3YKx7cYSF3gzAbL54veXM= S18K5-sX6XMCbjTWKA@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Folks,
I have a small environment where controllers and computers run on the same nodes and yes that is a bad idea. But now what happened the machine got OOM out and crashed and stuck somewhere in Zombie stat. I have deleted all vms but it didn't work. Later I used the "virsh destroy" command to delete those vms and everything recovered but my openstack hypervisor state show" command still says you have 91 VMs hanging in DB.
How do i clean up vms entered from nova DB which doesn't exist at all.
I have tried the command "nova-manage db archive_deleted_rows" but it didn't help. How does nova sync DB with current stat?
# openstack hypervisor stats show This command is deprecated. +----------------------+--------+ | Field | Value | +----------------------+--------+ | count | 3 | | current_workload | 11 | | disk_available_least | 15452 | | free_disk_gb | 48375 | | free_ram_mb | 192464 | | local_gb | 50286 | | local_gb_used | 1911 | | memory_mb | 386570 | | memory_mb_used | 194106 | | running_vms | 91 | | vcpus | 144 | | vcpus_used | 184 | +----------------------+--------+
Technically I have only single VM
# openstack server list --all
+--------------------------------------+---------+--------+---------------------------------+------------+----------+ | ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+---------+--------+---------------------------------+------------+----------+ | b33fd79d-2b90-41dd-a070-29f92ce205e7 | foo1 | ACTIVE | 1=100.100.75.22, 192.168.1.139 | ubuntu2204 | m1.small |
+--------------------------------------+---------+--------+---------------------------------+------------+----------+
Hi, there are plenty of people able to help you. I would recommend to create your own thread with a meaningful subject and provide more details about your setup and the exact error messages. Often you can find those error messages and helpful steps to resolve them in a search engine of your choice. If you have tried a couple of things which didn’t work, write them down as well. Regards Eugen Zitat von BEDDA Fadhel <fadhel.bedda@gmail.com>:
Good morning, I set up openstack, on an Ubuntu 22.04 VM. Installation went well: I created an account and a project, as well as all the steps for creating an Ubuntu 18 instance. But when launching the instance, I only have error messages. My question: Is there someone who can help me and provide me with a procedure complete and tested. With my sincere thanks
Le sam. 6 mai 2023 à 10:21, <openstack-discuss-request@lists.openstack.org> a écrit :
Send openstack-discuss mailing list submissions to openstack-discuss@lists.openstack.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
or, via email, send a message with subject or body 'help' to openstack-discuss-request@lists.openstack.org
You can reach the person managing the list at openstack-discuss-owner@lists.openstack.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of openstack-discuss digest..."
Today's Topics:
1. [Nova] Clean up dead vms entries from DB (Satish Patel) 2. [OPENSTACK][rabbitmq] using quorum queues (Nguy?n H?u Kh?i) 3. Re: openstack-discuss Digest, Vol 55, Issue 16 (BEDDA Fadhel)
----------------------------------------------------------------------
Message: 1 Date: Fri, 5 May 2023 15:14:18 -0400 From: Satish Patel <satish.txt@gmail.com> To: OpenStack Discuss <openstack-discuss@lists.openstack.org> Subject: [Nova] Clean up dead vms entries from DB Message-ID: <CAPgF-fqVSj3YKx7cYSF3gzAbL54veXM= S18K5-sX6XMCbjTWKA@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Folks,
I have a small environment where controllers and computers run on the same nodes and yes that is a bad idea. But now what happened the machine got OOM out and crashed and stuck somewhere in Zombie stat. I have deleted all vms but it didn't work. Later I used the "virsh destroy" command to delete those vms and everything recovered but my openstack hypervisor state show" command still says you have 91 VMs hanging in DB.
How do i clean up vms entered from nova DB which doesn't exist at all.
I have tried the command "nova-manage db archive_deleted_rows" but it didn't help. How does nova sync DB with current stat?
# openstack hypervisor stats show This command is deprecated. +----------------------+--------+ | Field | Value | +----------------------+--------+ | count | 3 | | current_workload | 11 | | disk_available_least | 15452 | | free_disk_gb | 48375 | | free_ram_mb | 192464 | | local_gb | 50286 | | local_gb_used | 1911 | | memory_mb | 386570 | | memory_mb_used | 194106 | | running_vms | 91 | | vcpus | 144 | | vcpus_used | 184 | +----------------------+--------+
Technically I have only single VM
# openstack server list --all
+--------------------------------------+---------+--------+---------------------------------+------------+----------+ | ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+---------+--------+---------------------------------+------------+----------+ | b33fd79d-2b90-41dd-a070-29f92ce205e7 | foo1 | ACTIVE | 1=100.100.75.22, 192.168.1.139 | ubuntu2204 | m1.small |
+--------------------------------------+---------+--------+---------------------------------+------------+----------+
participants (2)
-
BEDDA Fadhel
-
Eugen Block