upload_cirros.rb doesn't support hiera override
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Sergii Golovatiuk | ||
7.0.x |
Fix Released
|
High
|
Sergii Golovatiuk |
Bug Description
Because of upload_cirros.rb script doesn't merge hashes, deployment fails if we override/add glance hash.
Steps to reproduce:
1) create file - that overrides glance hash in hiera, in this example:
cat /etc/hiera/
region: region_eu
nova:
region: region_eu
glance:
region: region_eu
2) Run task upload_cirros:
ruby /etc/puppet/
Script is waiting for password promt.
OS Password:
The actual error in astute.log is:
ut=>"", :stderr=>"You must provide a password via either --os-password, env[OS_PASSWORD], or prompted response\nYou must provide a password via either --os-password, env[OS_PASSWORD], or prompte
d response\nYou must provide a password via either --os-password, env[OS_PASSWORD], or prompted response\nYou must provide a password via either --os-password, env[OS_PASSWORD], or prompted resp
onse\nYou must provide a password via either --os-password, env[OS_PASSWORD], or prompted response\
ld not get a list of glance images! (RuntimeError)
2015-10-08T12:46:22 debug: [655] dcd4395b-
cwd: /
stdout:
stderr: You must provide a password via either --os-password, env[OS_PASSWORD], or prompted response
You must provide a password via either --os-password, env[OS_PASSWORD], or prompted response
You must provide a password via either --os-password, env[OS_PASSWORD], or prompted response
You must provide a password via either --os-password, env[OS_PASSWORD], or prompted response
You must provide a password via either --os-password, env[OS_PASSWORD], or prompted response
cat /etc/fuel/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "7.0"
openstack_
api: "1.0"
build_number: "301"
build_id: "301"
nailgun_sha: "4162b0c15adb42
python-
fuel-agent_sha: "50e90af6e3d560
fuel-
astute_sha: "6c5b73f93e24cc
fuel-library_sha: "5d50055aeca1dd
fuel-ostf_sha: "2cd967dccd66cf
fuelmain_sha: "a65d453215edb0
Changed in fuel: | |
milestone: | none → 8.0 |
importance: | Undecided → Medium |
Changed in fuel: | |
assignee: | Nikita Koshikov (nkoshikov) → Sergii Golovatiuk (sgolovatiuk) |
Changed in fuel: | |
importance: | Medium → High |
importance: | High → Medium |
tags: | added: area-library |
Fix proposed to branch: master /review. openstack. org/232527
Review: https:/