← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1523618] [NEW] Unexpected API Error when tried to boot instance

 

Public bug reported:

Steps:

1. Create image of Ubuntu Trusty in Glance:
root@node-7:~# glance --os-image-api-version 1 image-create --name Ubuntu --disk-format raw --container-format bare --file trusty-server-cloudimg-amd64.img --is-public True --progress --property cpu_arch='x86_64' --property hypervisor_type='baremetal' --property mos_disk_info='[{"name": "vda", "extra": [], "free_space": 11000, "type": "disk", "id": "vda", "size": 11000, "volumes": [{"mount": "/", "type": "partition", "file_system": "ext4", "size": 10000}]}]'
[=============================>] 100%
+----------------------------+----------------------------------------------------------------------------------+
| Property                   | Value                                                                            |
+----------------------------+----------------------------------------------------------------------------------+
| Property 'cpu_arch'        | x86_64                                                                           |
| Property 'hypervisor_type' | baremetal                                                                        |
| Property 'mos_disk_info'   | [{"name": "vda", "extra": [], "free_space": 11000, "type": "disk", "id": "vda",  |
|                            | "size": 11000, "volumes": [{"mount": "/", "type": "partition", "file_system":    |
|                            | "ext4", "size": 10000}]}]                                                        |
| checksum                   | 97c95fdf856951e53afafd7c33835433                                                 |
| container_format           | bare                                                                             |
| created_at                 | 2015-12-07T14:49:12.000000                                                       |
| deleted                    | False                                                                            |
| deleted_at                 | None                                                                             |
| disk_format                | raw                                                                              |
| id                         | 1dba180c-ab4b-477e-b16d-1d35ca741693                                             |
| is_public                  | True                                                                             |
| min_disk                   | 0                                                                                |
| min_ram                    | 0                                                                                |
| name                       | Ubuntu                                                                           |
| owner                      | 2b7ba9f7a5974a548d0fe6b43421f9ff                                                 |
| protected                  | False                                                                            |
| size                       | 1476395008                                                                       |
| status                     | active                                                                           |
| updated_at                 | 2015-12-07T14:54:42.000000                                                       |
| virtual_size               | None                                                                             |
+----------------------------+----------------------------------------------------------------------------------+

2. Try to boot instance:
# nova boot --flavor bm_flavor --image Ubuntu --key-name ironic_key --nic net-id=98b20a02-2bd2-4e38-8f8c-3865dd3ff9ae UbuntuVM2
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'glanceclient.exc.HTTPServiceUnavailable'> (HTTP 500) (Request-ID: req-6c7de5e7-6a7a-4a67-8ee0-e64a5a4acebc)

# glance --version; 
1.1.0
# nova --version;
2.30.2

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "nova-compute.log"
   https://bugs.launchpad.net/bugs/1523618/+attachment/4531072/+files/nova-compute.log

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

Title:
  Unexpected API Error when tried to boot instance

Status in OpenStack Compute (nova):
  New

Bug description:
  Steps:

  1. Create image of Ubuntu Trusty in Glance:
  root@node-7:~# glance --os-image-api-version 1 image-create --name Ubuntu --disk-format raw --container-format bare --file trusty-server-cloudimg-amd64.img --is-public True --progress --property cpu_arch='x86_64' --property hypervisor_type='baremetal' --property mos_disk_info='[{"name": "vda", "extra": [], "free_space": 11000, "type": "disk", "id": "vda", "size": 11000, "volumes": [{"mount": "/", "type": "partition", "file_system": "ext4", "size": 10000}]}]'
  [=============================>] 100%
  +----------------------------+----------------------------------------------------------------------------------+
  | Property                   | Value                                                                            |
  +----------------------------+----------------------------------------------------------------------------------+
  | Property 'cpu_arch'        | x86_64                                                                           |
  | Property 'hypervisor_type' | baremetal                                                                        |
  | Property 'mos_disk_info'   | [{"name": "vda", "extra": [], "free_space": 11000, "type": "disk", "id": "vda",  |
  |                            | "size": 11000, "volumes": [{"mount": "/", "type": "partition", "file_system":    |
  |                            | "ext4", "size": 10000}]}]                                                        |
  | checksum                   | 97c95fdf856951e53afafd7c33835433                                                 |
  | container_format           | bare                                                                             |
  | created_at                 | 2015-12-07T14:49:12.000000                                                       |
  | deleted                    | False                                                                            |
  | deleted_at                 | None                                                                             |
  | disk_format                | raw                                                                              |
  | id                         | 1dba180c-ab4b-477e-b16d-1d35ca741693                                             |
  | is_public                  | True                                                                             |
  | min_disk                   | 0                                                                                |
  | min_ram                    | 0                                                                                |
  | name                       | Ubuntu                                                                           |
  | owner                      | 2b7ba9f7a5974a548d0fe6b43421f9ff                                                 |
  | protected                  | False                                                                            |
  | size                       | 1476395008                                                                       |
  | status                     | active                                                                           |
  | updated_at                 | 2015-12-07T14:54:42.000000                                                       |
  | virtual_size               | None                                                                             |
  +----------------------------+----------------------------------------------------------------------------------+

  2. Try to boot instance:
  # nova boot --flavor bm_flavor --image Ubuntu --key-name ironic_key --nic net-id=98b20a02-2bd2-4e38-8f8c-3865dd3ff9ae UbuntuVM2
  ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'glanceclient.exc.HTTPServiceUnavailable'> (HTTP 500) (Request-ID: req-6c7de5e7-6a7a-4a67-8ee0-e64a5a4acebc)

  # glance --version; 
  1.1.0
  # nova --version;
  2.30.2

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


Follow ups