cinder service is disabled while backup creation is still successful

Bug #1929354 reported by likai
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Cinder
Incomplete
Wishlist
Unassigned

Bug Description

There is the only cinder-backup service in the environment. After the service is disabled, the backup creation is still successful. The phenomenon is as follows:

step 1: View the list of cinder services:
root@ctl01:~# cinder service-list
+------------------+-------------+------+----------+-------+----------------------------+---------+-----------------+---------------+
| Binary | Host | Zone | Status | State | Updated_at | Cluster | Disabled Reason | Backend State |
+------------------+-------------+------+----------+-------+----------------------------+---------+-----------------+---------------+
| cinder-backup | stor01 | nova | disabled | up | 2021-04-29T10:40:51.000000 | - | - | |
| cinder-scheduler | ctl01 | nova | enabled | up | 2021-04-29T10:40:48.000000 | - | - | |
| cinder-volume | stor01@ceph | nova | enabled | up | 2021-04-29T10:40:53.000000 | - | - | up |
| cinder-volume | stor01@nvme | nova | disabled | down | 2021-03-01T07:13:28.000000 | - | - | - |
+------------------+-------------+------+----------+-------+----------------------------+---------+-----------------+---------------+

step 2: create a backup:
root@ctl01:~# openstack volume backup create 9e3c08d9-3864-4ed5-8be4-ce286dd588b7 --name test
+-------+--------------------------------------+
| Field | Value |
+-------+--------------------------------------+
| id | e262ff1f-fc3c-4eb5-b0be-eafaea2d89ea |
| name | test |
+-------+--------------------------------------+

step 3: View backup details:

root@ctl01:~# openstack volume backup show e262ff1f-fc3c-4eb5-b0be-eafaea2d89ea
+-----------------------+--------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------+
| availability_zone | None |
| container | e2/62/e262ff1f-fc3c-4eb5-b0be-eafaea2d89ea |
| created_at | 2021-04-29T10:41:34.000000 |
| data_timestamp | 2021-04-29T10:41:34.000000 |
| description | None |
| fail_reason | None |
| has_dependent_backups | False |
| id | e262ff1f-fc3c-4eb5-b0be-eafaea2d89ea |
| is_incremental | False |
| name | test |
| object_count | 22 |
| size | 1 |
| snapshot_id | None |
| status | available |
| updated_at | 2021-04-29T10:41:39.000000 |
| volume_id | 9e3c08d9-3864-4ed5-8be4-ce286dd588b7 |
+-----------------------+--------------------------------------------+

Revision history for this message
likai (likai0906) wrote :
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

Greetins likai,

- Do you mind sharing the Cinder version you're using?
- Do you mind attaching c-bak logs? Please enable DEBUG=True.
- Do you mind sharing the steps for disable the backup service.

Regards,
Sofia

tags: added: backup-service
Changed in cinder:
status: New → Incomplete
Changed in cinder:
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.