Provision/deploy operation can be started for node which doesn't belong to any cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Fuel Python (Deprecated) |
Bug Description
Steps to reproduce:
1. Create cluster (by any available or preferable means);
2. Try to deploy/provision single node which is not added to any cluster (indicated by "discovered" status):
fuel --env {env_id} node --provision --node {node-id}
Expected:
some meaningful warning message from the client about that the user should add the node to any cluster prior provisioning/
Actual:
traceback of internal server error:
500 Server Error: Internal Server Error (Traceback (most recent call last):
File "/home/
resp = func(cls, *args, **kwargs)
File "/home/
return self.handle_
File "/home/
raise self.http(400, message=
TypeError: http() got an unexpected keyword argument 'message'
)
It is worsen by that "--env" option is obligatory for user to supply for the command.
I've provided not proper traceback from my dev env with changed code of fuel-client. I apologize for that. Here is bug with correct info [1]. Mark this one as invalid.
[1]: https:/ /bugs.launchpad .net/fuel/ +bug/1445531