task_deploy: no implicit conversion of String into Integer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Vladimir Sharshov |
Bug Description
Detailed bug description:
If critical node is offline then deployment was started, we will get error "Error running RPC method task_deploy: no implicit conversion of String into Integer, trace: "
Steps to reproduce:
1. Create cluster with 1 controller
2. Run provision
3. Run deploy
4. Go into the controller node and stop mcollective (`service mcollective stop`)
Expected results:
Deployment failed with error: "Error running RPC method task_deploy: Critical nodes are not available for deployment: ["2"]"
Actual result:
Deployment failed with error: "no implicit conversion of String into Integer.\nInspect Astute logs for the details"
Reproducibility:
Always
Workaround:
No
Impact:
Deployment still failed but error about conversion hide real reason of fail: critical nodes are not available for deployment
Description of the environment:
Fuel 9 or higher.
Additional information:
2017-03-02 15:16:19 INFO [23014] Casting message to Nailgun:
{"method"
"args"=>
{"task_
2017-03-02 15:16:19 INFO [23014] Processing RPC call 'task_deploy'
2017-03-02 15:16:19 INFO [23014] Task based deployment will be used
2017-03-02 15:16:19 INFO [23014] Check inpute data file /var/lib/
2017-03-02 15:18:09 WARNING [23014] Offline node ["2"]
2017-03-02 15:18:09 WARNING [23014] Validation of node:
{"uid"=>"2",
"error_msg"=>"Node is not ready for deployment: mcollective has not answered",
"status"=>"error"}
for report failed: Task status provided '' is not supported; Task name is not provided
2017-03-02 15:18:09 INFO [23014] Deployment summary: time was spent 00:01:50
2017-03-02 15:18:09 ERROR [23014] Error running RPC method task_deploy: no implicit conversion of String into Integer, trace:
["/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
"/usr/
2017-03-02 15:18:09 INFO [23014] Casting message to Nailgun:
{"method"
"args"=>
{"task_
"nodes"=>
[{"uid"=>"2",
"error_msg"=>
"Node is not ready for deployment: mcollective has not answered",
"
"error"=>"Node is not ready for deployment"}}
2017-03-02 15:18:09 INFO [23014] Casting message to Nailgun:
{"method"
"args"=>
{"task_
"status"
"error"=>
"Method task_deploy. no implicit conversion of String into Integer.\nInspect Astute logs for the details"}}
Changed in fuel: | |
status: | Fix Committed → Confirmed |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
Fix proposed to branch: master /review. openstack. org/440666
Review: https:/