Error "Could not find resource cirros" even image is created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Following error is coming even while launching VM in the provider network configuration.
#openstack server create --flavor m1.tiny --image cirros --nic net-id=
"" Could not find resource cirros ""
--------------
# openstack image list
+------
| ID | Name | Status |
+------
| bebbae11-
+------
# openstack image show bebbae11-
+------
| Field | Value |
+------
| checksum | ee1eca47dc88f48
| container_format | bare |
| created_at | 2016-09-
| disk_format | qcow2 |
| file | /v2/images/
| id | bebbae11-
| min_disk | 0 |
| min_ram | 0 |
| name | cirros |
| owner | 9b237e3ba19c49d
| protected | False |
| schema | /v2/schemas/image |
| size | 13287936 |
| status | active |
| tags | |
| updated_at | 2016-09-
| virtual_size | None |
| visibility | public |
+------
Changed in glance: | |
status: | Incomplete → Opinion |
status: | Opinion → New |
Mitaka release error message as below :- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- controller: 8774/v2. 1/153200638c484 4079f456ffd3642 f2bc/images/ detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a699775c2 3e2d6f9d63a34b3 737610591199b57 d" c4844079f456ffd 3642f2bc/ images/ detail HTTP/1.1" 500 214 Request- Id: req-a692ebf2- 15e1-42bc- 9cf4-3cce4da60d a2 Vary: X-OpenStack- Nova-API- Version Connection: keep-alive X-Openstack- Nova-Api- Version: 2.1 Date: Tue, 06 Sep 2016 03:28:10 GMT Content-Type: application/json; charset=UTF-8 bugs.launchpad. net/nova/ and attach the Nova API log if possible.\n<class 'glanceclient. exc.HTTPInterna lServerError' >", "code": 500}}
-------
REQ: curl -g -i -X GET http://
"GET /v2.1/153200638
RESP: [500] Content-Length: 214 X-Compute-
RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://
Could not find resource cirros python2. 7/dist- packages/ cliff/app. py", line 374, in run_subcommand parsed_ args) python2. 7/dist- packages/ openstackclient /common/ command. py", line 38, in run parsed_ args) python2. 7/dist- packages/ cliff/display. py", line 92, in run action( parsed_ args) python2. 7/dist- packages/ openstackclient /compute/ v2/server. py", line 378, in take_action args.image, python2. 7/dist- packages/ openstackclient /common/ utils.py" , line 118, in find_resource CommandError( msg) python2. 7/dist- packages/ openstackclient /shell. py", line 118, in run Shell, self).run(argv) python2. 7/dist- packages/ cliff/app. py", line 255, in run subcommand( remainder) python2. 7/dist- packages/ openstackclient /shell. py", line 153, in run_subcommand Shell, self).run_ subcommand( argv) python2. 7/dist- packages/ cliff/app. py", line 374, in run_subcommand parsed_ args) python2. 7/dist- packages/ openstackclient /common/ command. py", line 38, in run parsed_ args) python2. 7/dist- packages/ cliff/display. py", line 92, in run action( parsed_ args) python2. 7/dist- packages/ openstackclient /compute/ v2/server. py", line 378, in take_action args.image, python2. 7/dist- packages/ openstackclient /common/ utils.py" , line 118, in find_resource CommandError( msg)
Traceback (most recent call last):
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
column_names, data = self.take_
File "/usr/lib/
parsed_
File "/usr/lib/
raise exceptions.
CommandError: Could not find resource cirros
clean_up CreateServer: Could not find resource cirros
Traceback (most recent call last):
File "/usr/lib/
ret_val = super(OpenStack
File "/usr/lib/
result = self.run_
File "/usr/lib/
ret_value = super(OpenStack
File "/usr/lib/
result = cmd.run(
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
column_names, data = self.take_
File "/usr/lib/
parsed_
File "/usr/lib/
raise exceptions.
CommandError: Could not find resource cirros