diff --git a/cinder/api/v3/attachments.py b/cinder/api/v3/attachments.py index 67630012f19..f74cc337b1c 100644 --- a/cinder/api/v3/attachments.py +++ b/cinder/api/v3/attachments.py @@ -279,7 +279,9 @@ class AttachmentsController(wsgi.Controller): context, attachment_ref.volume_id) attachment_ref.update({'attach_status': 'attached'}) + attachment_ref.save() volume_ref.update({'status': 'in-use', 'attach_status': 'attached'}) + volume_ref.save() def create_resource(ext_mgr):