← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1617258] [NEW] Nova fails to boot signed image

 

Public bug reported:

Description
===========
Nova fails to boot an image which has been signed (using glance image-create) which uses a base64 image signature. By default base64 uses linewrapping after 76 characters. Disabling line wrapping with -w 0 should solve the issue by I'm sure there are alternatives.


Steps to reproduce
==================
Following these instructions to create a signed image:

https://github.com/openstack/glance/blob/master/doc/source/signature.rst

But using base64 without -w 0.

Booting the image that was created using 'nova boot' the image used will
be the one just created and the flavor used is m1.tiny.


Expected result
===============
Booting the signed image should be successful.


Actual result
=============
Booting the signed image fails.


Environment
===========
This is using the mitaka branch.


Logs & Configs
==============
Here is the output:

ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.AttributeError'> (HTTP 500) (Request-ID: req-337f86d3-697b-40a1-ac77-0cd5211ad4ad)

I tried uploading the Nova API log but it just gives a timeout error.

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

- Nova fails to boot an image which has been signed (using glance image-
- create) which uses a base64 image signature. By default base64 uses
- linewrapping after 76 characters. Disabling line wrapping with -w 0
- should solve the issue by I'm sure there are alternatives.
+ Description
+ ===========
+ Nova fails to boot an image which has been signed (using glance image-create) which uses a base64 image signature. By default base64 uses linewrapping after 76 characters. Disabling line wrapping with -w 0 should solve the issue by I'm sure there are alternatives.
  
- Steps to reproduce:
  
+ Steps to reproduce
+ ==================
  Following these instructions to create a signed image:
  
  https://github.com/openstack/glance/blob/master/doc/source/signature.rst
  
  But using base64 without -w 0.
  
  Booting the image that was created using 'nova boot' the image used will
  be the one just created and the flavor used is m1.tiny.
  
+ 
+ Expected result
+ ===============
  Booting the signed image should be successful.
  
  
- But booting the signed image fails.
+ Actual result
+ =============
+ Booting the signed image fails.
  
+ 
+ Environment
+ ===========
+ This is using the mitaka branch.
+ 
+ 
+ Logs & Configs
+ ==============
  Here is the output:
  
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <type 'exceptions.AttributeError'> (HTTP 500) (Request-ID: req-337f86d3-697b-40a1-ac77-0cd5211ad4ad)
  
- This is using the mitaka branch.
+ I tried uploading the Nova API log but it just gives a timeout error.

-- 
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/1617258

Title:
  Nova fails to boot signed image

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  Nova fails to boot an image which has been signed (using glance image-create) which uses a base64 image signature. By default base64 uses linewrapping after 76 characters. Disabling line wrapping with -w 0 should solve the issue by I'm sure there are alternatives.


  Steps to reproduce
  ==================
  Following these instructions to create a signed image:

  https://github.com/openstack/glance/blob/master/doc/source/signature.rst

  But using base64 without -w 0.

  Booting the image that was created using 'nova boot' the image used
  will be the one just created and the flavor used is m1.tiny.


  Expected result
  ===============
  Booting the signed image should be successful.


  Actual result
  =============
  Booting the signed image fails.


  Environment
  ===========
  This is using the mitaka branch.

  
  Logs & Configs
  ==============
  Here is the output:

  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <type 'exceptions.AttributeError'> (HTTP 500) (Request-ID: req-337f86d3-697b-40a1-ac77-0cd5211ad4ad)

  I tried uploading the Nova API log but it just gives a timeout error.

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


Follow ups