Does Openstack support the notion of cinder backend in maintenance mode?
Hi, When you have multiple cinder backends, and you need to take down one of them for maintenance purposes, what is the best way to proceed? Does Openstack have the notion of : cinder backend in maintenance mode? Regards.
Hello, cinder-manage command can disable service on a backend If I remember well. Ignazio Il Dom 2 Apr 2023, 14:46 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Hi,
When you have multiple cinder backends, and you need to take down one of them for maintenance purposes, what is the best way to proceed? Does Openstack have the notion of : cinder backend in maintenance mode?
Regards.
Or using the openstack command : https://platform9.com/kb/openstack/deleting-a-cinder-service-from-host Il Dom 2 Apr 2023, 14:46 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Hi,
When you have multiple cinder backends, and you need to take down one of them for maintenance purposes, what is the best way to proceed? Does Openstack have the notion of : cinder backend in maintenance mode?
Regards.
Thank you, Maybe my question was not clear enough. Let's say I have a cinder-volume with nfs as backend and I need to take down the nfs server for maintenance, can I put the cinder-volume-nfs into some sort of maintenance mode, work on the nfs server bring it back, then reactivate the cinder-volume-nfs? Regards. Le dim. 2 avr. 2023 à 13:54, Ignazio Cassano <ignaziocassano@gmail.com> a écrit :
Or using the openstack command :
https://platform9.com/kb/openstack/deleting-a-cinder-service-from-host
Il Dom 2 Apr 2023, 14:46 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Hi,
When you have multiple cinder backends, and you need to take down one of them for maintenance purposes, what is the best way to proceed? Does Openstack have the notion of : cinder backend in maintenance mode?
Regards.
If you read the link I sent you, you can note that it disable a backend before removing it. So you can exclude the removing section. Another way can be excluding the backend from enabled backends in cinder.conf and restarting cinser services. Ignazio Il Dom 2 Apr 2023, 15:17 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Thank you,
Maybe my question was not clear enough. Let's say I have a cinder-volume with nfs as backend and I need to take down the nfs server for maintenance, can I put the cinder-volume-nfs into some sort of maintenance mode, work on the nfs server bring it back, then reactivate the cinder-volume-nfs?
Regards.
Le dim. 2 avr. 2023 à 13:54, Ignazio Cassano <ignaziocassano@gmail.com> a écrit :
Or using the openstack command :
https://platform9.com/kb/openstack/deleting-a-cinder-service-from-host
Il Dom 2 Apr 2023, 14:46 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Hi,
When you have multiple cinder backends, and you need to take down one of them for maintenance purposes, what is the best way to proceed? Does Openstack have the notion of : cinder backend in maintenance mode?
Regards.
In other words, when you disable a cinder backend you cannot allocate volumes on it. This is what you want. Ignazio Il Dom 2 Apr 2023, 18:10 Ignazio Cassano <ignaziocassano@gmail.com> ha scritto:
If you read the link I sent you, you can note that it disable a backend before removing it. So you can exclude the removing section. Another way can be excluding the backend from enabled backends in cinder.conf and restarting cinser services. Ignazio
Il Dom 2 Apr 2023, 15:17 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Thank you,
Maybe my question was not clear enough. Let's say I have a cinder-volume with nfs as backend and I need to take down the nfs server for maintenance, can I put the cinder-volume-nfs into some sort of maintenance mode, work on the nfs server bring it back, then reactivate the cinder-volume-nfs?
Regards.
Le dim. 2 avr. 2023 à 13:54, Ignazio Cassano <ignaziocassano@gmail.com> a écrit :
Or using the openstack command :
https://platform9.com/kb/openstack/deleting-a-cinder-service-from-host
Il Dom 2 Apr 2023, 14:46 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Hi,
When you have multiple cinder backends, and you need to take down one of them for maintenance purposes, what is the best way to proceed? Does Openstack have the notion of : cinder backend in maintenance mode?
Regards.
On 02/04, Ignazio Cassano wrote:
In other words, when you disable a cinder backend you cannot allocate volumes on it. This is what you want. Ignazio
Hi, A clarification for anyone reading this, please pay careful attention to Ignazio's wording, it's important: "cannot allocate volumes". Just because Cinder won't allocate new volumes it doesn't mean that all operations on the backend are disabled. In fact, scheduling operations are disabled and everything else isn't. This means that volumes can be deleted, they can be attached, snapshot can be deleted, backups can be created... Cheers, Gorka.
Il Dom 2 Apr 2023, 18:10 Ignazio Cassano <ignaziocassano@gmail.com> ha scritto:
If you read the link I sent you, you can note that it disable a backend before removing it. So you can exclude the removing section. Another way can be excluding the backend from enabled backends in cinder.conf and restarting cinser services. Ignazio
Il Dom 2 Apr 2023, 15:17 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Thank you,
Maybe my question was not clear enough. Let's say I have a cinder-volume with nfs as backend and I need to take down the nfs server for maintenance, can I put the cinder-volume-nfs into some sort of maintenance mode, work on the nfs server bring it back, then reactivate the cinder-volume-nfs?
Regards.
Le dim. 2 avr. 2023 à 13:54, Ignazio Cassano <ignaziocassano@gmail.com> a écrit :
Or using the openstack command :
https://platform9.com/kb/openstack/deleting-a-cinder-service-from-host
Il Dom 2 Apr 2023, 14:46 wodel youchi <wodel.youchi@gmail.com> ha scritto:
Hi,
When you have multiple cinder backends, and you need to take down one of them for maintenance purposes, what is the best way to proceed? Does Openstack have the notion of : cinder backend in maintenance mode?
Regards.
participants (3)
-
Gorka Eguileor
-
Ignazio Cassano
-
wodel youchi