Nova not creating the "create" action in cell0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Brin Zhang |
Bug Description
Setup
-----
1. Disable single nova-compute service as admin.
2. Switch to non-admin demo user/project.
Create Test
-----------
1. Create server which fails with NoValidHost.
2. Show the server fault details as the non-admin user:
$ openstack server show build-fail1 -f value -c fault
{u'message': u'No valid host was found. ', u'code': 500, u'created': u'2019-
Instance actions
----------------
Actual result
=============
1. As admin:
$ nova instance-
+------
| Action | Request_ID | Message | Start_Time | Updated_At |
+------
+------
2. As demo user/project (owner of the server):
$ nova instance-
+------
| Action | Request_ID | Message | Start_Time | Updated_At |
+------
+------
Expected result
===============
When the instance is not creating, the "create" action should be recorded in cell0.
Since the instance is in cell0 the "create" action is not there.
It only gets created in the non-cell0 cell that the instance is created in:
https:/
Back in Mitaka the API would create the "create" action before
casting to conductor:
https:/
Changed in nova: | |
assignee: | nobody → Brin Zhang (zhangbailin) |
I already have a fix for this: https:/ /review. opendev. org/#/c/ 694165/