Comment 6 for bug 1544179

Revision history for this message
Dmitry Kabanov (dkabanov) wrote :

I am sure that original reason of the failure was incorrect configuration of Heat.
We are using IPs from Management network in "heat_waitcondition_server_url", "heat_watch_server_url"
and "heat_metadata_server_url" variables. But these URLs should be accessable from VMs booted in the cloud.
In fuel-library (from 7.0 version) we are providing "management_vip" as an "external_ip" to 'openstack::heat'.
The "heat_waitcondition_server_url", "heat_watch_server_url" and "heat_metadata_server_url" variables will be
configured in 'openstack::heat' with using "external_ip" variable if these variables are not provided.

fuel-library/deployment/puppet/osnailyfacter/modular/heat/heat.pp:

class { 'openstack::heat' :
  external_ip => $management_vip,
  ...
  (We do not have "heat_waitcondition_server_url", "heat_watch_server_url" and "heat_metadata_server_url" here)
  ...
}

fuel-library/deployment/puppet/openstack/manifests/heat.pp:

class openstack::heat (
  ...
  $heat_metadata_server_url = false,
  $heat_waitcondition_server_url = false,
  $heat_watch_server_url = false,
  ...
)
  if $heat_waitcondition_server_url {
    $waitcondition_server_url = $heat_waitcondition_server_url
  } else {
    $waitcondition_server_url = "${heat_protocol}://${external_ip}:${api_cfn_bind_port}/v1/waitcondition"
  }

 ("heat_watch_server_url" and "heat_metadata_server_url" variables will be configured here too.)