rhel-osp-director: Failed to deploy 7.3 with externl ceph Error: Could not find data item ceph_mon_initial_members in any Hiera data file and no default supplied at /var/lib/heat-config/heat-config-puppet/f104b1dd-0c5f-4aae-84a4-d8335c81574f.pp:48 on node overcloud-compute-1.localdomain Environment: instack-undercloud-2.1.2-37.el7ost.noarch openstack-tripleo-heat-templates-0.8.6-112.el7ost.noarch Steps to reproduce: Attempt to deploy overcloud with external ceph using this command: export THT=/usr/share/openstack-tripleo-heat-templates openstack overcloud deploy --templates $THT \ -e $THT/environments/network-isolation.yaml \ -e $THT/environments/storage-environment.yaml \ -e /home/stack/network-environment.yaml \ -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-ceph-external.yaml \ -e /home/stack/post.yaml \ -e /home/stack/enable-tls.yaml \ -e /home/stack/inject-trust-anchor.yaml \ -e /home/stack/post.yaml \ --control-scale 3 \ --compute-scale 2 \ --ceph-storage-scale 0 \ --neutron-disable-tunneling \ --neutron-network-type vlan \ --neutron-network-vlan-ranges tenantvlan:x:x \ --neutron-bridge-mappings datacentre:br-ex,tenantvlan:br-nic4 \ --rhel-reg --reg-method satellite --reg-sat-url <URL> --reg-org <ORG> --reg-activation-key <KEY> --reg-force \ --ntp-server x.x.x.x \ --timeout 180 /usr/share/openstack-tripleo-heat-templates/environments/puppet-ceph-external.yaml was modified to include the details for external ceph.
please provide full output of the failed deployment using heat deployment-show please provide the modified environment files.
This is a regression introduced by https://review.openstack.org/#/c/263397/
The change I point to in comment #4 shouldn't cause issues with the stock templates and environment files. Is it possible you are passing: ControllerEnableCephStorage: true in one of the custom environment files?
Comment #4 and #5 are wrong. Attaching patches.
Worked for me on 7.3 openstack-tripleo-heat-templates-0.8.6-112.el7ost.noarch with the following command: openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation-v6.yaml -e /home/stack/network-environment.yaml -e puppet-ceph-external.yaml --control-scale 3 --compute-scale 3 --neutron-network-type vlan --neutron-tunnel-types vlan --neutron-network-vlan-ranges datacentre:204:215 --neutron-disable-tunneling --timeout 180 --ntp-server clock.redhat.com
Udi, the bug was introduced in; openstack-tripleo-heat-templates-0.8.6-113.el7ost and fixed in: openstack-tripleo-heat-templates-0.8.6-115.el7ost
FailedQA Environment: instack-undercloud-2.1.2-39.el7ost.noarch openstack-tripleo-heat-templates-0.8.6-119.el7ost.noarch Depoyment with external ceph failed: Deployment command: export THT=/usr/share/openstack-tripleo-heat-templates openstack overcloud deploy --templates $THT \ -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-ceph-external.yaml \ -e $THT/environments/network-isolation.yaml \ -e $THT/environments/storage-environment.yaml \ -e /home/stack/network-environment.yaml \ -e /home/stack/ssl-heat-templates/environments/enable-tls.yaml \ -e /home/stack/ssl-heat-templates/environments/inject-trust-anchor.yaml \ --control-scale 3 \ --compute-scale 2 \ --ceph-storage-scale 0 \ --compute-flavor compute --control-flavor control --ceph-storage-flavor ceph-storage \ --neutron-disable-tunneling \ --neutron-network-type vlan \ --neutron-network-vlan-ranges tenantvlan:18:43 \ --neutron-bridge-mappings datacentre:br-ex,tenantvlan:br-nic4 \ --ntp-server x.x.x.x \ --timeout 180 Error: { "status": "FAILED", "server_id": "637d0ab5-dec2-480e-9333-8d5f1f0076eb", "config_id": "8f640384-07a6-466c-9215-522dfa93d009", "output_values": { "deploy_stdout": "", "deploy_stderr": "Device \"br_nic2\" does not exist. Device \"br_nic4\" does not exist. Device \"ovs_system\" does not exist. Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::host'; class ::nova::vncproxy has not been evaluated Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_protocol'; class ::nova::vncproxy has not been evaluated Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::port'; class ::nova::vncproxy has not been evaluated Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_path'; class ::nova::vncproxy has not been evaluated Error: Could not find data item ceph_mon_host in any Hiera data file and no default supplied at /var/lib/heat-config/heat-config-puppet/8f640384-07a6-466c-9215-522dfa93d009.pp:65 on node overcloud-compute-0.localdomain Error: Could not find data item ceph_mon_host in any Hiera data file and no default supplied at /var/lib/heat-config/heat-config-puppet/8f640384-07a6-466c-9215-522dfa93d009.pp:65 on node overcloud-compute-0.localdomain ", "deploy_status_code": 1 }, "creation_time": "2016-02-12T18:44:15Z", "updated_time": "2016-02-12T18:44:50Z", "input_values": {}, "action": "CREATE", "status_reason": "deploy_status_code : Deployment exited with non-zero status code: 1", "id": "58490cc5-4e33-49af-b90f-6ebf8a5ec28a" }
Verified: Environment: openstack-tripleo-heat-templates-0.8.6-121.el7ost.noarch Successfully deployed overcloud with externa ceph and verified the ability to create images, volumes,vms on the external ceph.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0264.html