]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: enable exporter deployment at bootstrap
authorPaul Cuzner <pcuzner@redhat.com>
Mon, 21 Dec 2020 21:48:22 +0000 (10:48 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Tue, 22 Dec 2020 21:43:38 +0000 (10:43 +1300)
Bootstrap supports --with-exporter, this change just
issues the apply to the existing configuration of the
exporter service to deploy the exporter with a new
cluster

Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
src/cephadm/cephadm

index df516f0fe97e7817dec8028cefdeab1866de81a0..e8a7e053134c317be2b10ca236742344bcaee7ee 100755 (executable)
@@ -3284,8 +3284,8 @@ def command_bootstrap():
             cli(['cephadm', 'generate-exporter-config'])
         #
         # deploy the service (commented out until the cephadm changes are in the ceph container build)
-        logger.info('Deploying cephadm exporter service with default placement...')
-        cli(['orch', 'apply', 'cephadm-exporter'])
+        logger.info('Deploying cephadm exporter service with default placement...')
+        cli(['orch', 'apply', 'cephadm-exporter'])
 
 
     if not args.skip_dashboard: