How to stop the whole system gracefully ?
My system is installed using kola-ansible. The database was inconsistent due to the last unexpected shutdown, and the system could not start normally, which was very troublesome. I would like to ask what command should be used to shut down the entire system gracefully in an emergency ? Thanks.
Anyone can help me ? From: openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org <openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org> On Behalf Of Tommy Sway Sent: Monday, August 30, 2021 1:37 PM To: 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: How to stop the whole system gracefully ? My system is installed using kola-ansible. The database was inconsistent due to the last unexpected shutdown, and the system could not start normally, which was very troublesome. I would like to ask what command should be used to shut down the entire system gracefully in an emergency ? Thanks.
On Tue, 2021-08-31 at 09:14 +0800, Tommy Sway wrote:
Anyone can help me ?
i belive what you are lookign for is "kolla-ansibel stop" then after the issue is resolved you can do kolla-ansible mariadb_recovery then kolla-ansible deploy-containers https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html#ko...
From: openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org <openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org> On Behalf Of Tommy Sway Sent: Monday, August 30, 2021 1:37 PM To: 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: How to stop the whole system gracefully ?
My system is installed using kola-ansible.
The database was inconsistent due to the last unexpected shutdown, and the system could not start normally, which was very troublesome.
I would like to ask what command should be used to shut down the entire system gracefully in an emergency ?
Thanks.
1. Do I need to back up the current Mariadb before performing mariadB_recovery? Otherwise what backup is this command based on to restore the database? 2. After the stop command is run, the container stops, but is the configuration information deleted? Does re-running deploy-containers simply pull up the container? Will the configuration information also be overwritten? -----Original Message----- From: Sean Mooney <smooney@redhat.com> Sent: Tuesday, August 31, 2021 6:08 PM To: Tommy Sway <sz_cuitao@163.com>; 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: Re: How to stop the whole system gracefully ? On Tue, 2021-08-31 at 09:14 +0800, Tommy Sway wrote:
Anyone can help me ?
i belive what you are lookign for is "kolla-ansibel stop" then after the issue is resolved you can do kolla-ansible mariadb_recovery then kolla-ansible deploy-containers https://docs.openstack.org/kolla-ansible/latest/user/operating-kolla.html#ko...
From: openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org <openstack-discuss-bounces+sz_cuitao=163.com@lists.openstack.org> On Behalf Of Tommy Sway Sent: Monday, August 30, 2021 1:37 PM To: 'openstack-discuss' <openstack-discuss@lists.openstack.org> Subject: How to stop the whole system gracefully ?
My system is installed using kola-ansible.
The database was inconsistent due to the last unexpected shutdown, and the system could not start normally, which was very troublesome.
I would like to ask what command should be used to shut down the entire system gracefully in an emergency ?
Thanks.
participants (2)
-
Sean Mooney
-
Tommy Sway