When upgrading from liberty to mitaka, upgrade the overcloud failed with:
deploy_stderr": "\u001b[1;31mWarning: Variable access via 'notification_email_to' is deprecated. Use '@notification_email_to' instead. template[/etc/puppet/modules/keepalived/templates/global_config.erb]:3\n (at /etc/puppet/modules/keepalived/templates/global_config.erb:3:in `block in result')\u001b[0m\n\u001b[1;31mWarning: notify is a metaparam; this value will inherit to all contained resources in the keepalived::instance definition\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Mongodb::Server]): Replset specified, but no replset_members or replset_config provided.\u001b[0m\n\u001b[1;31mError: Could not find class ::nova::db::mysql_api for overcloud-controller-0.localdomain on node overcloud-controller-0.localdomain\u001b[0m\n\u001b[1;31mError: Could not find class ::nova::db::mysql_api for overcloud-controller-0.localdomain on node overcloud-controller-0.localdomain\u001b[0m\n",
Deployment:
Network isolation
2 nodes : 1 compute, 1 controller
upgrade command :
openstack overcloud deploy --templates tripleo-heat-templates \
-e tripleo-heat-templates/overcloud-resource-registry-puppet.yaml \
-e tripleo-heat-templates/environments/network-isolation.yaml \
-e tripleo-heat-templates/environments/net-single-nic-with-vlans.yaml \
-e ~/network-environment.yaml \
-e overcloud-repo.yaml
where network-environment is:
parameter_defaults:
InternalApiNetCidr: 172.16.20.0/24
StorageNetCidr: 172.16.21.0/24
TenantNetCidr: 172.16.22.0/24
ExternalNetCidr: 172.16.23.0/24
InternalApiAllocationPools: [{'start': '172.16.20.10', 'end': '172.16.20.100'}]
StorageAllocationPools: [{'start': '172.16.21.10', 'end': '172.16.21.100'}]
TenantAllocationPools: [{'start': '172.16.22.10', 'end': '172.16.22.100'}]
ExternalAllocationPools: [{'start': '172.16.23.110', 'end': '172.16.23.150'}]
ExternalInterfaceDefaultRoute: 172.16.23.1
NeutronExternalNetworkBridge: "''"
ControlPlaneSubnetCidr: "24"
ControlPlaneDefaultRoute: 192.0.2.1
EC2MetadataIp: 192.0.2.1
DnsServers: ["192.168.23.1", "8.8.8.8",]
and overcloud-repo.yaml is :
$ cat overcloud-repo.yaml
parameter_defaults:
UpgradeInitCommand: |
set -e
curl -o /etc/yum.repos.d/delorean.repo http://trunk.rdoproject.org/centos7-mitaka/current-passed-ci/delorean.repo
curl -o /etc/yum.repos.d/delorean-deps.repo http://trunk.rdoproject.org/centos7-mitaka/delorean-deps.repo
$ heat resource-list overcloud -n 5 | grep FAILED
| ComputeNodesPostDeployment | 5164dd92-0213-43a6-afc1-40cdb518017d | OS::TripleO::ComputePostDeployment | CREATE_FAILED | 2016-05-10T13:12:37 | overcloud |
| ComputePuppetDeployment | 954777ac-3364-4338-829b-f111af0a7a8e | OS::Heat::StructuredDeployments | CREATE_FAILED | 2016-05-10T13:12:39 | overcloud-ComputeNodesPostDeployment-t46kdotslyx3 |
| ControllerNodesPostDeployment | b385c0da-8d4e-47b9-b9b2-c4ef32674a44 | OS::TripleO::ControllerPostDeployment | CREATE_FAILED | 2016-05-10T13:12:39 | overcloud |
| ControllerServicesBaseDeployment_Step2 | 950ae6a9-87e9-445b-ac1e-14be99ce0bc8 | OS::Heat::StructuredDeployments | CREATE_FAILED | 2016-05-10T13:12:41 | overcloud-ControllerNodesPostDeployment-bfmvenipd2gx |
| 0 | 91d0669c-0214-4056-b21a-c0c8a5df5004 | OS::Heat::StructuredDeployment | CREATE_FAILED | 2016-05-10T13:13:18 | overcloud-ComputeNodesPostDeployment-t46kdotslyx3-ComputePuppetDeployment-yxkrhx5xcls5 |
| 0 | 39f97a15-825e-4027-9b75-81f6ef3875c6 | OS::Heat::StructuredDeployment | CREATE_FAILED | 2016-05-10T13:15:03 | overcloud-ControllerNodesPostDeployment-bfmvenipd2gx-ControllerServicesBaseDeployment_Step2-egisizklyupk |
[stack@undercloud ~]$ heat deployment-show 39f97a15-825e-4027-9b75-81f6ef3875c6
{
"status": "FAILED",
"server_id": "ca403343-1908-4c86-a440-f53d03a318cd",
"config_id": "8348c935-6e2d-4861-91ed-4509a6a1d758",
"output_values": {
"deploy_stdout": "",
"deploy_stderr": "\u001b[1;31mWarning: Variable access via 'notification_email_to' is deprecated. Use '@notification_email_to' instead. template[/etc/puppet/modules/keepalived/templates/global_config.erb]:3\n (at /etc/puppet/modules/keepalived/templates/global_config.erb:3:in `block in result')\u001b[0m\n\u001b[1;31mWarning: notify is a metaparam; this value will inherit to all contained resources in the keepalived::instance definition\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Mongodb::Server]): Replset specified, but no replset_members or replset_config provided.\u001b[0m\n\u001b[1;31mError: Could not find class ::nova::db::mysql_api for overcloud-controller-0.localdomain on node overcloud-controller-0.localdomain\u001b[0m\n\u001b[1;31mError: Could not find class ::nova::db::mysql_api for overcloud-controller-0.localdomain on node overcloud-controller-0.localdomain\u001b[0m\n",
"deploy_status_code": 1
},
"creation_time": "2016-05-10T13:15:04",
"updated_time": "2016-05-10T13:15:59",
"input_values": {},
"action": "CREATE",
"status_reason": "deploy_status_code : Deployment exited with non-zero status code: 1",
"id": "39f97a15-825e-4027-9b75-81f6ef3875c6"
}
::nova: :db::mysql_ api class was introduced in stable/mitaka (so the code is not in stable/liberty), do you have your modules up-to-date?