Bug 1353019

Summary: rhel-osp-director: 7.2GA->7.3 async fails "Error: Could not find data item mysql_clustercheck_password in any Hiera data file and no default supplied at /var/lib/heat-config/heat-config-puppet/3b5aaa9f-1309-4b85-a590-5fa96de9b9d2.pp:454 on node "
Product: Red Hat OpenStack Reporter: Alexander Chuzhoy <sasha>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED DUPLICATE QA Contact: Omri Hochman <ohochman>
Severity: high Docs Contact:
Priority: urgent    
Version: 7.0 (Kilo)CC: dbecker, jcoufal, mburns, michele, morazi, rhel-osp-director-maint, sasha
Target Milestone: async   
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-03 07:31:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Chuzhoy 2016-07-05 19:18:01 UTC
rhel-osp-director: 7.2GA->7.3 async fails "Error: Could not find data item mysql_clustercheck_password in any Hiera data file and no default supplied at /var/lib/heat-config/heat-config-puppet/3b5aaa9f-1309-4b85-a590-5fa96de9b9d2.pp:454 on node overcloud-controller-1.localdomain"

Environment:
openstack-tripleo-heat-templates-0.8.6-127.el7ost.noarch
openstack-puppet-modules-2015.1.8-51.el7ost.noarch
instack-undercloud-2.1.2-39.el7ost.noarch

Steps to reproduce:
1. Deploy 7.2GA with:
openstack overcloud deploy --templates --control-scale 3 --compute-scale 1 --neutron-network-type vxlan --neutron-tunnel-types vxlan --ntp-server clock.redhat.com --timeout 90 -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e network-environment.yaml --ceph-storage-scale 1

2. Update the undercloud to 7.3async

3. To work around https://bugzilla.redhat.com/show_bug.cgi?id=1344794, 
Append the line: "default: ''" under MysqlClustercheckPassword stanza.

4. Attempt to update the overcloud to 7.3async with:
openstack overcloud update stack overcloud -i --templates -e /usr/share/openstack-tripleo-heat-templates/overcloud-resource-registry-puppet.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml    -e network-environment.yaml


Result:
The update fails.
IN_PROGRESS
FAILED
update finished with status FAILED


[stack@instack ~]$ heat deployment-show a12f7dc7-2193-4297-8beb-8776cb435b1c
{
  "status": "FAILED",
  "server_id": "a015d08f-b005-4a22-ba78-b3e71e59d870",
  "config_id": "0fe8e61b-a47a-434e-a993-92fd69201fcd",
  "output_values": {
    "deploy_stdout": "",
    "deploy_stderr": "Device \"br_ex\" does not exist.\nDevice \"br_int\" does not exist.\nDevice \"br_tun\" does not exist.\nDevice \"ovs_system\" does not exist.\n\u001b[1;31mError: Could not find data item mysql_clustercheck_password in any Hiera data file and no default supplied at /var/lib/heat-config/heat-config-puppet/0fe8e61b-a47a-434e-a993-92fd69201fcd.pp:454 on node overcloud-controller-0.localdomain\u001b[0m\n\u001b[1;31mError: Could not find data item mysql_clustercheck_password in any Hiera data file and no default supplied at /var/lib/heat-config/heat-config-puppet/0fe8e61b-a47a-434e-a993-92fd69201fcd.pp:454 on node overcloud-controller-0.localdomain\u001b[0m\n",
    "deploy_status_code": 1
  },
  "creation_time": "2016-07-05T15:01:37Z",
  "updated_time": "2016-07-05T18:57:58Z",
  "input_values": {},
  "action": "UPDATE",
  "status_reason": "deploy_status_code : Deployment exited with non-zero status code: 1",
  "id": "a12f7dc7-2193-4297-8beb-8776cb435b1c"
}


Expected result:
Successful update.

Comment 3 Michele Baldessari 2016-07-06 14:25:48 UTC
Ok, so with the last patch here also minor updates complete without errors:
https://review.openstack.org/#/c/337304/