when enabled enforce_new_defaults,create server failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Description
===========
When enabled enforce_
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
8-8e5e-
Steps to reproduce
==================
1、enabled enforce_
2、empty policy.yaml >/etc/nova/
3、use admin(system scope) to create a server
4、create server failed
5、disabled enforce_
Expected result
===============
admin user create the server successfully.
Actual result
=============
The status of server stuck in "BUILD" ,after 5 mimutes,it become "error".
It occure an error in neutron log(controller node).
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
2022-04-14 09:36:29.743 876530 ERROR neutron.
8-8e5e-
Environment
===========
OS release centos8.2
openstack victoria
nova 22.2.2
neutron 17.2
keystone 18.0
Accroding to the default policy,system scope admin shoud have top priviledge.But in my case,admin api:os- server- external- events: create
is not allowed to perform os_compute_