← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1875287] [NEW] VM unshelve failed if verify_glance_signatures enabled

 

Public bug reported:

Description

If CONF.glance.enable_image_auto_signature = True, then it's required
image to have properties related to signature. `nova shelve` command
creates an image without those properties. Thus, `nova unshelve` fails.

Steps to reproduce

1.  Set

  [glance]
  enable_image_auto_signature = True

and restart Nova compute.

3. nova shelve vm1; nova unshelve vm1

Expected result

vm1 status ACTIVE.

Actual result

vm1 status SHELVED_OFFLOADED and error in log:
ERROR oslo_messaging.rpc.server
cursive.exception.SignatureVerificationError: Signature verification
for the image failed: Required image properties for signature
verification do not exist. Cannot verify signature. Missing property:
img_signature_uuid.

http://ix.io/2jKs

Environment: master

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1875287

Title:
  VM unshelve failed if verify_glance_signatures enabled

Status in OpenStack Compute (nova):
  New

Bug description:
  Description

  If CONF.glance.enable_image_auto_signature = True, then it's required
  image to have properties related to signature. `nova shelve` command
  creates an image without those properties. Thus, `nova unshelve` fails.

  Steps to reproduce

  1.  Set

    [glance]
    enable_image_auto_signature = True

  and restart Nova compute.

  3. nova shelve vm1; nova unshelve vm1

  Expected result

  vm1 status ACTIVE.

  Actual result

  vm1 status SHELVED_OFFLOADED and error in log:
  ERROR oslo_messaging.rpc.server
  cursive.exception.SignatureVerificationError: Signature verification
  for the image failed: Required image properties for signature
  verification do not exist. Cannot verify signature. Missing property:
  img_signature_uuid.

  http://ix.io/2jKs

  Environment: master

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1875287/+subscriptions