[ovn] Enable metadata agent 81/62981/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 26 Sep 2018 08:17:11 +0000 (12:17 +0400)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 26 Sep 2018 14:30:14 +0000 (14:30 +0000)
Change-Id: I9ef3a1dd570abf90b222609af350565d385326c8
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit 637e149c0af5ef96612846bf9f0b3482ce11fc5b)

mcp/patches/docker/0002-OPNFV-package-installation-Ubuntu-user.patch
mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/compute.yml
mcp/reclass/classes/cluster/mcp-ovn-ha/openstack/control.yml
mcp/reclass/classes/cluster/mcp-ovn-noha/openstack/compute.yml.j2
mcp/reclass/classes/cluster/mcp-ovn-noha/openstack/control.yml

index a802bdc..07694c1 100644 (file)
@@ -33,7 +33,7 @@ index 2c75586..d7d4c49 100644
      ARG RECLASS_BASE="/srv/salt/reclass"
      ENV RECLASS_BASE $RECLASS_BASE
 -    RUN echo "Layer python/salt module prerequisites, formulas" \
-+    RUN echo "Layer python/salt module prerequisites, formulas (25 Sep 2018)" \
++    RUN echo "Layer python/salt module prerequisites, formulas (26 Sep 2018)" \
        && mkdir -p /srv/salt \
        && curl -sSqL https://raw.githubusercontent.com/salt-formulas/salt-formulas-scripts/master/formula-fetch.sh -o /srv/salt/formula-fetch.sh \
        && bash -c 'source /srv/salt/formula-fetch.sh && setupPyEnv && fetchAll' \
index ec3cfaf..658f8fa 100644 (file)
@@ -16,3 +16,6 @@ parameters:
     compute:
       libvirt_service: libvirtd
       libvirt_bin: /etc/default/libvirtd
+  neutron:
+    gateway:
+      ~message_queue: ~
index 64c16f0..94ca6eb 100644 (file)
@@ -33,6 +33,8 @@ parameters:
         mechanism:
           ovn:
             driver: ovn
+        ovn:
+          metadata_enabled: true
       compute:
         region: ${_param:openstack_region}
       database:
index 02411cd..da1b988 100644 (file)
@@ -17,6 +17,7 @@ parameters:
   neutron:
     compute:
       controller_vip: ${_param:cluster_local_address}
+      ~message_queue: ~
   linux:
     network:
       interface:
index 235beff..f99a460 100644 (file)
@@ -10,3 +10,9 @@ classes:
   - system.neutron.control.ovn.single
   - cluster.mcp-common-noha.openstack_control
   - cluster.mcp-ovn-noha
+parameters:
+  neutron:
+    server:
+      backend:
+        ovn:
+          metadata_enabled: true