tripleo-heat-templates/container_config_scripts
Michele Baldessari 61f67eff10 nova_libvirt_init_secret Give a proper error if ceph is not configured properly
Let's make the error a little more clearer when ceph failed to be
configured properly.

Before:
2021-08-13T12: 42:07.472193117+00:00 stdout F ------------------------------------------------
2021-08-13T12: 42:07.472193117+00:00 stdout F Initializing virsh secrets for: ceph:openstack
2021-08-13T12: 42:07.481397478+00:00 stdout F --------
2021-08-13T12: 42:07.481397478+00:00 stdout F Initializing the virsh secret for 'ceph' cluster () 'openstack' client
2021-08-13T12: 42:07.484466828+00:00 stdout F Creating /etc/nova/ceph-secret.xml
2021-08-13T12: 42:07.493435343+00:00 stderr F Usage: grep [OPTION]... PATTERN [FILE]...
2021-08-13T12: 42:07.493435343+00:00 stderr F Try 'grep --help' for more information.
2021-08-13T12: 42:07.591038798+00:00 stdout F Secret 5e23cf03-81b0-4e02-b678-7c5363fbf0e2 created
2021-08-13T12: 42:07.591038798+00:00 stdout F
2021-08-13T12: 42:07.671036635+00:00 stderr F error: failed to get secret '--base64'
2021-08-13T12: 42:07.671036635+00:00 stderr F error: uuidstr in virSecretLookupByUUIDString must be a valid UUID
2021-08-13T12: 42:07.674021136+00:00 stdout F

After:
2021-08-14T13:10:20.866443451+00:00 stdout F Initializing virsh secrets for: ceph:openstack
2021-08-14T13:10:20.880988730+00:00 stdout F Error: /etc/ceph/ceph.conf contained an empty fsid definition
2021-08-14T13:10:20.880988730+00:00 stdout F Check your ceph configuration

Change-Id: I781db8142015d713d9e99114aed42667418bf23b
2021-08-14 15:17:47 +02:00
..
monitoring Return details in output of container health check 2020-10-14 11:57:56 +02:00
tests Skip Trilio dirs when setting ownership in /var/lib/nova 2020-10-23 16:55:13 +00:00
__init__.py Rename docker_config_scripts to container_config_scripts 2019-03-06 09:05:50 -05:00
mysql_upgrade_db.sh Upgrade mariadb storage during upgrade tasks 2021-02-16 09:08:40 +01:00
nova_libvirt_init_secret.sh nova_libvirt_init_secret Give a proper error if ceph is not configured properly 2021-08-14 15:17:47 +02:00
nova_statedir_ownership.py fix nova_statedir_ownership 2020-11-20 16:05:21 +01:00
nova_wait_for_api_service.py Change optparse to argparse 2020-01-21 04:17:09 +00:00
nova_wait_for_compute_service.py Change optparse to argparse 2020-01-21 04:17:09 +00:00
pacemaker_mutex_restart_bundle.sh Rolling certificate update for HA services 2020-07-30 16:51:48 +02:00
pacemaker_mutex_shutdown.sh Serialize shutdown of pacemaker nodes 2020-12-24 14:06:32 +01:00
pacemaker_resource_lock.sh Serialize shutdown of pacemaker nodes 2020-12-24 14:06:32 +01:00
pacemaker_restart_bundle.sh HA minor update: fix bad pcs invocation 2021-06-09 23:37:14 +02:00
pacemaker_wait_bundle.sh HA: reorder init_bundle and restart_bundle for improved updates 2020-01-23 16:09:36 +01:00
placement_wait_for_service.py Stop to use the __future__ module. 2020-07-02 15:27:27 +00:00
pyshim.sh Fix typos 2020-09-16 15:45:12 +05:30
wait-port-and-run.sh Ensure redis_tls_proxy starts after all redis instances 2020-07-07 05:36:43 +00:00