Explicitly configure credentials used by ironic to access other services
authorDmitry Tantsur <divius.inside@gmail.com>
Wed, 15 Mar 2017 15:58:23 +0000 (16:58 +0100)
committerDmitry Tantsur <divius.inside@gmail.com>
Thu, 16 Mar 2017 19:49:36 +0000 (20:49 +0100)
Using keystone_authtoken credentials for this purpose is deprecated, and also
prevents ironic-conductor from being used as a separate role.

As a side effect, this change makes it possible to potentially enable
ironic-inspector support in the future (it's not enabled yet).

Change-Id: I21180678bec911f1be36e3b174bae81af042938c
Partial-Bug: #1661250

manifests/profile/base/ironic/conductor.pp

index 4824648..7f90da9 100644 (file)
@@ -44,5 +44,12 @@ class tripleo::profile::base::ironic::conductor (
       include ::ironic::drivers::ilo
       include ::ironic::drivers::ipmi
       include ::ironic::drivers::ssh
+
+      # Configure access to other services
+      include ::ironic::drivers::inspector
+      include ::ironic::glance
+      include ::ironic::neutron
+      include ::ironic::service_catalog
+      include ::ironic::swift
   }
 }