rhel-osp-director: Deploy with external ceph: "ERROR: The Parameter (GlanceRbdPoolName) was not defined in template" Environment: openstack-puppet-modules-8.0.4-1.el7ost.noarch python-gnocchiclient-2.2.0-1.el7ost.noarch instack-undercloud-4.0.0-2.el7ost.noarch openstack-tripleo-heat-templates-liberty-2.0.0-8.el7ost.noarch openstack-tripleo-heat-templates-2.0.0-8.el7ost.noarch openstack-tripleo-heat-templates-kilo-2.0.0-8.el7ost.noarch Steps to reproduce: Attempt a deployment of overcloud with external ceph: openstack overcloud deploy --templates --control-scale 3 --compute-scale 2 --ceph-storage-scale 0 --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 -e ~/ssl-heat-templates/environments/enable-tls.yaml -e ~/ssl-heat-templates/environments/inject-trust-anchor.yaml -e puppet-ceph-external.yaml The content of puppet-ceph-external.yaml: cat puppet-ceph-external.yaml resource_registry: OS::TripleO::CephClusterConfig::SoftwareConfig: /usr/share/openstack-tripleo-heat-templates/puppet/extraconfig/ceph/ceph-external-config.yaml parameters: CephClusterFSID: <ID> CephClientKey: <key> CephExternalMonHost: <IP>, MIP>, <IP> NovaEnableRbdBackend: true CinderEnableRbdBackend: true GlanceBackend: rbd CinderEnableIscsiBackend: false GnocchiBackend: rbd GlanceRbdPoolName: images NovaRbdPoolName: vms CinderRbdPoolName: volumes GnocchiRbdPoolName: metrics CephClientUserName: openstack Result: Deploying templates in the directory /usr/share/openstack-tripleo-heat-templates ERROR: The Parameter (GlanceRbdPoolName) was not defined in template. Expected result: Successfully completed deployment.
Note: removing " GlanceRbdPoolName: images" will prompt for error for the next line with RbdPoolName.
Removing all RbdPoolName lines errors on: ERROR: The Parameter (CephClientUserName) was not defined in template.
The deployment completed successfully when I placed "CephClientUserName: openstack " under parameter_defaults.
Alexander - The parameter_defaults section is the correct place for this, so I'd argue it's working as intended. What concerns me is what made you put it under parameters in the first place, and if we have a potential docs/examples issue that drove you down that path.
The use of parameters was a legacy. I used to test this scenario in previous versions and assumed it'll work the same.
I've attempted a Doc Text describing what can cause this issue and how to avoid it. Do you think it's enough to close the BZ?
Sasha, can you follow up with verifying if this resolved the issue?
Verified: Environment: openstack-puppet-modules-8.1.5-1.el7ost.noarch openstack-tripleo-heat-templates-liberty-2.0.0-18.el7ost.noarch instack-undercloud-4.0.0-8.el7ost.noarch openstack-tripleo-heat-templates-kilo-2.0.0-18.el7ost.noarch openstack-tripleo-heat-templates-2.0.0-18.el7ost.noarch [stack@instack ~]$ cat puppet-ceph-external.yaml resource_registry: OS::TripleO::CephClusterConfig::SoftwareConfig: /usr/share/openstack-tripleo-heat-templates/puppet/extraconfig/ceph/ceph-external-config.yaml parameter_defaults: CephClusterFSID: <FSID> CephClientKey: <KEY> CephExternalMonHost: <LIST of IPs> NovaEnableRbdBackend: true CinderEnableRbdBackend: true GlanceBackend: rbd CinderEnableIscsiBackend: false GnocchiBackend: rbd CephClientUserName: <USERNAME>
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/RHEA-2016-1599.html