deployment failure with external ceph setup

Bug #1743239 reported by Gauvain Pocentek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Incomplete
Medium
Unassigned

Bug Description

Hi all,

I'm testing a Pike overcloud deployment with an external Ceph installation. This is a small setup (1 controller and 1 compute) with libvirt/KVM VMs.

The undercloud has been installed from the RDO pike repositories, overcloud images have been built using `openstack overcloud image build` on the undercloud.

The deployment is done with the following script:

*************

TD=/usr/share/openstack-tripleo-heat-templates/
TE=$TD/environments

openstack overcloud deploy --templates \
 -e $TE/disable-telemetry.yaml \
 -e $TE/network-isolation.yaml \
 -e $TE/net-single-nic-with-vlans.yaml \
 -e $TE/storage/external-ceph.yaml \
 -e local-config.yaml

*************

The ceph related parameters in local-config.yaml are:

parameter_defaults:
  NovaEnableRbdBackend: true
  CinderEnableRbdBackend: true
  CinderBackupBackend: ceph
  GlanceBackend: rbd
  GnocchiBackend: rbd
  NovaRbdPoolName: vms
  CinderRbdPoolName: volumes
  CinderBackupRbdPoolName: backups
  GlanceRbdPoolName: images
  GnocchiRbdPoolName: metrics
  CephClientUserName: openstack

  CephClusterFSID: '6ad0a5f7-ee40-4c04-bcdb-6de3d049b82f'
  CephClientKey: 'AQC9SVparYGINhAA5xTsOldCDA8p3JnNnIyHFw=='
  CephExternalMonHost: '172.18.0.9'

I ran the deploy_steps_playbook.yaml ansible playbook to get more information, the error log is attached to this bug report (failure on both nodes).

If I create `/etc/ceph/` on the nodes and redeploy, the deployment succeeds where it failed before.

I also explicitly defined the following resource to have a functional overcloud at the end of the deployment (not sure if this is related):

OS::TripleO::Services::CephClient: /usr/share/openstack-tripleo-heat-templates/puppet/services/ceph-client.yaml

I'm not sure if this is a bug or a configuration problem. Let me know if you need more information.

Revision history for this message
Gauvain Pocentek (gpocentek) wrote :
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → queens-3
Revision history for this message
Gauvain Pocentek (gpocentek) wrote :

There is no bug, my setup was not correct: my overcloud image didn't have the ceph packages installed.

Maybe it would be a good idea to add a note about this requirement to https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/ceph_external.html ?

Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
status: Triaged → Incomplete
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.