Deleting of assigned role is successful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Dima Shulyak |
Bug Description
Steps to reproduce:
1) Setup master node.
2) Create new environment with Ubuntu host OS.
3) Add node with role controller, for ex.
4) Go to the master node console
5) Try to delete role controller from release 2 (Ubuntu)
Expected behaviour:
There is an error. Node couldn't be deleted.
Actual behaviour:
Node successfully deleted.
Fuel used:
api: '1.0'
astute_sha: bf1751a4fe0d912
auth_required: true
build_id: 2015-04-21_03-06-54
build_number: '330'
feature_groups:
- mirantis
fuellib_sha: b878f1ae8e1d4c6
fuelmain_sha: 0c0e299dcc0276b
nailgun_sha: 69fca3bada96a48
openstack_version: 2014.2-6.1
ostf_sha: df8db1f48f03b18
production: docker
python-
release: '6.1'
release_versions:
2014.2-6.1:
VERSION:
api: '1.0'
astute_sha: bf1751a4fe0d912
build_id: 2015-04-21_03-06-54
build_number: '330'
feature_
- mirantis
fuellib_sha: b878f1ae8e1d4c6
fuelmain_sha: 0c0e299dcc0276b
nailgun_sha: 69fca3bada96a48
openstack
ostf_sha: df8db1f48f03b18
production: docker
python-
release: '6.1'
Changed in fuel: | |
status: | Incomplete → New |
Changed in fuel: | |
status: | Fix Committed → In Progress |
Changed in fuel: | |
status: | In Progress → Fix Committed |
tags: | added: on-verification |
Are you sure about that? I tried to delete role, and got:
[root@nailgun ~]# fuel role --rel 1 --delete --role controller client/ config. yaml is found and will be used as a source for settings. However, it deprecated and will not be used by default in the ongoing version of python-fuelclient.
DEPRECATION WARNING: file /etc/fuel/
400 Client Error: Bad Request (Can't delete roles that is assigned to some node.)