server create fails with "Can not find requested image" when CONF.glance.api_servers is not set and [service_user] is set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Matt Riedemann |
Bug Description
2018-02-02 12:25:52.607290 | primary | Captured traceback:
2018-02-02 12:25:52.607333 | primary | ~~~~~~~~~~~~~~~~~~~
2018-02-02 12:25:52.607396 | primary | Traceback (most recent call last):
2018-02-02 12:25:52.607554 | primary | File "tempest/
2018-02-02 12:25:52.607674 | primary | self.os_primary, networks='none', wait_until=
2018-02-02 12:25:52.607798 | primary | File "tempest/
2018-02-02 12:25:52.608202 | primary | **kwargs)
2018-02-02 12:25:52.608351 | primary | File "tempest/
2018-02-02 12:25:52.608465 | primary | resp, body = self.post(
2018-02-02 12:25:52.608560 | primary | File "tempest/
2018-02-02 12:25:52.608671 | primary | return self.request(
2018-02-02 12:25:52.608792 | primary | File "tempest/
2018-02-02 12:25:52.608892 | primary | method, url, extra_headers, headers, body, chunked)
2018-02-02 12:25:52.609032 | primary | File "tempest/
2018-02-02 12:25:52.609111 | primary | self._error_
2018-02-02 12:25:52.609225 | primary | File "tempest/
2018-02-02 12:25:52.609328 | primary | raise exceptions.
2018-02-02 12:25:52.609420 | primary | tempest.
2018-02-02 12:25:52.609521 | primary | Details: {u'code': 400, u'message': u'Can not find requested image'}
2018-02-02 12:25:52.609546 | primary |
2018-02-02 12:25:52.609579 | primary |
2018-02-02 12:25:52.609626 | primary | Captured pythonlogging:
2018-02-02 12:25:52.609674 | primary | ~~~~~~~
2018-02-02 12:25:52.609952 | primary | 2018-02-02 12:05:26,211 2001 INFO [tempest.
2018-02-02 12:25:52.610298 | primary | 2018-02-02 12:05:26,212 2001 DEBUG [tempest.
2018-02-02 12:25:52.610880 | primary | Body: {"server": {"imageRef": "b14816be-
2018-02-02 12:25:52.611673 | primary | Response - Headers: {u'connection': 'close', u'content-type': 'application/json; charset=UTF-8', u'server': 'Apache/2.4.18 (Ubuntu)', u'x-compute-
2018-02-02 12:25:52.611797 | primary | Body: {"badRequest": {"message": "Can not find requested image", "code": 400}}
So it's using b14816be-
2018-02-02 12:01:36.458 | + functions:
2018-02-02 12:01:40.203 | +------
2018-02-02 12:01:40.203 | | Field | Value |
2018-02-02 12:01:40.203 | +------
2018-02-02 12:01:40.204 | | checksum | f8ab98ff5e73eba
2018-02-02 12:01:40.204 | | container_format | bare |
2018-02-02 12:01:40.204 | | created_at | 2018-02-
2018-02-02 12:01:40.204 | | disk_format | qcow2 |
2018-02-02 12:01:40.204 | | file | /v2/images/
2018-02-02 12:01:40.204 | | id | b14816be-
2018-02-02 12:01:40.204 | | min_disk | 0 |
2018-02-02 12:01:40.204 | | min_ram | 0 |
2018-02-02 12:01:40.204 | | name | cirros-
2018-02-02 12:01:40.204 | | owner | b5e61d54c73a4ec
2018-02-02 12:01:40.204 | | protected | False |
2018-02-02 12:01:40.204 | | schema | /v2/schemas/image |
2018-02-02 12:01:40.204 | | size | 13267968 |
2018-02-02 12:01:40.204 | | status | active |
2018-02-02 12:01:40.204 | | tags | |
2018-02-02 12:01:40.204 | | updated_at | 2018-02-
2018-02-02 12:01:40.204 | | virtual_size | None |
2018-02-02 12:01:40.204 | | visibility | public |
2018-02-02 12:01:40.204 | +------
And set in tempest.conf:
[compute]
max_microversion = latest
flavor_ref_alt = 84
flavor_ref = 42
image_ref_alt = b14816be-
image_ref = b14816be-
build_timeout = 196
I'm not sure what changed around 1/31 but this is failing on multiple changes, only on master, and only for the nova-next job.
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
status: | Confirmed → In Progress |
This merged on 1/31, I wonder if it could be related:
https:/ /github. com/openstack- dev/devstack/ commit/ 49144e627120f9e c1cf72dfc84e02b 9b81e669b6