Cloned from launchpad bug 1626426.
I set CephStorageCount to 1 and included the "storage environment" setting. Deployment failed in ControllerNodesPostDeployment and ComputeNodesPostDeployment with this error on the failed resources:
Error: authentication_type cephx requires either key or keyring to be set but both are undef at /etc/puppet/modules/ceph/manifests/mon.pp:108 on node default-controller-0.localdomain
It looks like the GUI doesn't pass all needed parameters to the stack creation. I don't get this problem when deploying from the CLI.
Specification URL (additional information):
The description is a bit out of date, as indicated in the upstream bug the only parameter that seems to be missing now is CephClusterFSID.
It looks like it might be set up directly in the CLI at https://github.com/openstack/python-tripleoclient/blob/stable/newton/tripleoclient/v1/overcloud_deploy.py#L196 and not when deploying from a plan, but I don't have much experience deploying with Ceph and it's possible I'm missing an environment file of some sort.
There's also a related issue where it doesn't seem possible to set the parameter manually from the GUI, which is making it difficult to work around the problem at the moment.
I think there are two bugs:
1. The CephClusterFSID is not generated automatically with the other credentials.
2. The UI doesn't let you set the parameter automatically (that I could find), which is necessary for working around #1 and also when deploying with an externally managed, pre-existing Ceph.
Fixes posted, need a backport:
Fixes posted, need reviews:
updated external tracker to tripleo-common patch
The stable/newton backport for that tripleo-common patch just merged, this should cover all the patches needed for this bug.
Made a deployment of 3 controllers, 2 computes and 1 ceph, on a bare metal system with the default plan. Verified.
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.