Bug 1416347 - Overcloud deployment using external Ceph cluster fails
Summary: Overcloud deployment using external Ceph cluster fails
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 11.0 (Ocata)
Assignee: Giulio Fidente
QA Contact: Yogev Rabl
Depends On:
TreeView+ depends on / blocked
Reported: 2017-01-25 10:39 UTC by Marius Cornea
Modified: 2017-05-17 19:42 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-heat-templates-6.0.0-0.20170127041112.ce54697.el7ost.1.noarch
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-05-17 19:42:59 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1245 normal SHIPPED_LIVE Red Hat OpenStack Platform 11.0 Bug Fix and Enhancement Advisory 2017-05-17 23:01:50 UTC
OpenStack gerrit 425288 None None None 2017-01-25 17:08:54 UTC

Description Marius Cornea 2017-01-25 10:39:34 UTC
Description of problem:
Overcloud deployment using external Ceph cluster fails with:

  status_reason: |
    Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 1
  deploy_stdout: |
    Notice: hiera(): Cannot load backend module_data: cannot load such file -- hiera/backend/module_data_backend
  deploy_stderr: |
    exception: connect failed
    Warning: This method is deprecated, please use match expressions with Stdlib::Compat::Array instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions. at ["/var/lib/heat-config/heat-config-puppet/1e47f108-e17d-4966-8e45-b5ffd908c09d.pp", 33]:["/etc/puppet/modules/tripleo/manifests/profile/base/ceph/client.pp", 29]
       (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
    Warning: ModuleLoader: module 'ceph' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
       (file & line not available)
    Warning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at ["/var/lib/heat-config/heat-config-puppet/1e47f108-e17d-4966-8e45-b5ffd908c09d.pp", 33]:["/etc/puppet/modules/tripleo/manifests/profile/base/ceph/client.pp", 29]
       (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:25:in `deprecation')
    Error: Evaluation Error: Error while evaluating a Function Call, "{ client.openstack: { secret: 'AQDU2odYsbj/BBAAf3qyWzBj0ZKyOiWKI4vOCQ==', mode: '0644', cap_mon: 'allow r', cap_osd: 'allow class-read object_prefix rbd_children, allow rwx pool=volumes, allow rwx pool=backups, allow rwx pool=vms, allow rwx pool=images, allow rwx pool=metrics' } }" is not a Hash.  It looks to be a String at /etc/puppet/modules/ceph/manifests/profile/params.pp:239:3 on node overcloud-serviceapi-0.localdomain

Version-Release number of selected component (if applicable):

How reproducible:
one time

Steps to Reproduce:
1. Deploy overcloud with custom roles and using an external Ceph cluster

Actual results:
Deployment fails

Expected results:
Deployment is successful.

Additional info:
Deploy command:
source ~/stackrc
export THT=/usr/share/openstack-tripleo-heat-templates/

openstack overcloud deploy --templates $THT \
-r ~/openstack_deployment/roles/roles_data.yaml \
-e $THT/environments/puppet-pacemaker.yaml \
-e $THT/environments/network-isolation.yaml \
-e $THT/environments/network-management.yaml \
-e $THT/environments/storage-environment.yaml \
-e $THT/environments/puppet-ceph-external.yaml \
-e ~/openstack_deployment/environments/nodes.yaml \
-e ~/openstack_deployment/environments/network-environment.yaml \
-e ~/openstack_deployment/environments/disk-layout.yaml \
-e ~/openstack_deployment/environments/neutron-settings.yaml \
-e ~/openstack_deployment/environments/external-ceph.yaml \
--log-file overcloud_deployment.log &> overcloud_install.log

  # NOTE: These example parameters are required when using CephExternal
  CephClusterFSID: '03eba0bd-8a3c-4dfb-91cb-1348fd7a1e66'
  CephClientKey: 'AQDU2odYsbj/BBAAf3qyWzBj0ZKyOiWKI4vOCQ=='
  CephExternalMonHost: ''


Comment 3 Yogev Rabl 2017-03-28 20:29:08 UTC
An Overcloud deployment with external Ceph cluster was successful

Comment 5 errata-xmlrpc 2017-05-17 19:42:59 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.