Deployment fails with fuel_agent KeyError: 'mco_identity'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Critical
|
Alexander Gordeev |
Bug Description
Attempted to deploy 1 controler, 1 compute. Deployment fails with the following error:
Error
Provision has failed. Too many nodes failed to provision
astute.log reports
2015-12-18 17:19:40 ERROR [863] Provision of some nodes failed. Failed nodes: ["2", "1"]
2015-12-18 17:19:40 INFO [863] Nodes failed to reboot: ["2", "1"]
2015-12-18 17:19:36 ERROR [863] 901f05f9-
2015-12-18 17:19:36 ERROR [863] 901f05f9-
fuel-agent logs on the node has the following stack trace:
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
2015-12-18 17:19:36 INFO fuel_agent.
Expected results:
Deployment successful
Actual results:
Deployment fails as part of provisioning.
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "313"
build_id: "313"
fuel-nailgun_sha: "405404d28fdd09
python-
fuel-agent_sha: "d56cf9f79f340e
fuel-
astute_sha: "c56dfde2da0341
fuel-library_sha: "d883f349813d7b
fuel-ostf_sha: "9910a4726cbd03
fuel-mirror_sha: "e9b9e24ce26aa8
fuelmenu_sha: "d7b36d3fa43916
shotgun_sha: "cacb93cbc28910
network-
fuel-upgrade_sha: "718aa3d7021fee
fuelmain_sha: "024d63b6ae368b
Changed in fuel: | |
importance: | Undecided → Critical |
assignee: | nobody → Fuel Python Team (fuel-python) |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Artem Roma (aroma-x) |
Changed in fuel: | |
assignee: | Artem Roma (aroma-x) → Alexander Gordeev (a-gordeev) |
Marking as Invalid.
I'm pretty sure that it was just intermittent failure on our product CI and ISO with packages became out of sync. I don't know what stands behind that failure.
Let me prove that.
On friday, we merged 2 patches which should fix https:/ /bugs.launchpad .net/fuel/ +bug/1518306
First one to fuel-web, which adds 'mco_identity' to node attibutes. https:/ /review. openstack. org/#/c/ 257332/ had been merged at 16:41 /review. openstack. org/#/c/ 257340/ had been mered at 16:46
The last one to fuel-agent, which adds the rest of 'mco_identity' handling. https:/
Sequence of merges was totally proper. Moreover, these patches were tested against custom_8.0 iso on BVT and gave *green* results. So, the code is absolutely operable and doesn't contain visual flaws.
Then, CI magic happened. First build after that, which in turn was #313, passed BVT, but did include those changes.
Then, after a couple of broken builds, #318 passed BVT too. Commited changes were in place according to the logs from diagnostic snapshot. Every newer build (#318 and the above) showed the same *green* BVT results.
So, i think it's just how our CI works. Feel free to poke build-team/ci-team in order to figure out what was wrong with CI.