u/fuel: Bump & rebase for cinder support 11/41011/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 4 Sep 2017 16:48:04 +0000 (18:48 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 4 Sep 2017 16:49:06 +0000 (18:49 +0200)
Change-Id: Ie116967d0dd909f1901e2099485795316a706ad7
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
21 files changed:
patches/opnfv-fuel/0002-classes-virtual-AArch64-virtio-NIC-names-sync.patch [moved from patches/opnfv-fuel/0003-classes-virtual-AArch64-virtio-NIC-names-sync.patch with 100% similarity]
patches/opnfv-fuel/0002-salt.sh-user-data-Add-Saltstack-arm64-repo.patch [deleted file]
patches/opnfv-fuel/0003-mcp-salt-formulas-Add-enable-armband-formula.patch [moved from patches/opnfv-fuel/0004-mcp-salt-formulas-Add-enable-armband-formula.patch with 100% similarity]
patches/opnfv-fuel/0004-network-public-Use-arm-virtual2-POD-config.patch [moved from patches/opnfv-fuel/0005-network-public-Use-arm-virtual2-POD-config.patch with 100% similarity]
patches/opnfv-fuel/0005-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch [moved from patches/opnfv-fuel/0006-mcp-salt-formulas-opendaylight-AArch64-leveldb.patch with 100% similarity]
patches/opnfv-fuel/0006-mcp-config-AArch64-baremetal-Use-arm64-image.patch [moved from patches/opnfv-fuel/0007-mcp-config-AArch64-baremetal-Use-arm64-image.patch with 100% similarity]
patches/opnfv-fuel/0007-classes-baremetal-AArch64-virtio-NIC-names-sync.patch [moved from patches/opnfv-fuel/0008-classes-baremetal-AArch64-virtio-NIC-names-sync.patch with 98% similarity]
patches/opnfv-fuel/0008-maas-Add-curtin_userdata_arm64_generic_xenial.patch [moved from patches/opnfv-fuel/0009-maas-Add-curtin_userdata_arm64_generic_xenial.patch with 100% similarity]
patches/opnfv-fuel/0009-network-public-mgmt-Use-arm-pod3-POD-config.patch [moved from patches/opnfv-fuel/0010-network-public-mgmt-Use-arm-pod3-POD-config.patch with 100% similarity]
patches/opnfv-fuel/0010-classes-baremetal-arm-pod3-config-hardcode.patch [moved from patches/opnfv-fuel/0011-classes-baremetal-arm-pod3-config-hardcode.patch with 100% similarity]
patches/opnfv-fuel/0011-maas-boot-resources-Add-arm64-architecture.patch [moved from patches/opnfv-fuel/0012-maas-boot-resources-Add-arm64-architecture.patch with 100% similarity]
patches/opnfv-fuel/0012-libvirt-Use-libvirt-unix_sock_group.patch [moved from patches/opnfv-fuel/0013-libvirt-Use-libvirt-unix_sock_group.patch with 100% similarity]
patches/opnfv-fuel/0013-mcp-salt-formulas-armband-Extend-libvirt_domain.patch [moved from patches/opnfv-fuel/0014-mcp-salt-formulas-armband-Extend-libvirt_domain.patch with 100% similarity]
patches/opnfv-fuel/0014-virtng.py-virt.sls-Extend-libvirt_domain.patch [moved from patches/opnfv-fuel/0015-virtng.py-virt.sls-Extend-libvirt_domain.patch with 100% similarity]
patches/opnfv-fuel/0015-mcp-salt-formulas-armband-AArch64-bootstrap.patch [moved from patches/opnfv-fuel/0016-mcp-salt-formulas-armband-AArch64-bootstrap.patch with 100% similarity]
patches/opnfv-fuel/0016-seedng-module-Add-AArch64-repo.patch [moved from patches/opnfv-fuel/0017-seedng-module-Add-AArch64-repo.patch with 100% similarity]
patches/opnfv-fuel/0017-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch [moved from patches/opnfv-fuel/0018-lib.sh-rm-Ubuntu-boot-entry-on-EFI-systems.patch with 100% similarity]
patches/opnfv-fuel/0018-aarch64-skip-configuration-of-hugepages.patch [moved from patches/opnfv-fuel/0019-aarch64-skip-configuration-of-hugepages.patch with 93% similarity]
patches/opnfv-fuel/0019-baremetal-odl-Extend-arch-list-for-UCA-repo.patch [moved from patches/opnfv-fuel/0020-baremetal-odl-Extend-arch-list-for-UCA-repo.patch with 100% similarity]
patches/opnfv-fuel/0020-Add-opnfv-user-to-the-deployment.patch [moved from patches/opnfv-fuel/0021-Add-opnfv-user-to-the-deployment.patch with 100% similarity]
upstream/fuel

diff --git a/patches/opnfv-fuel/0002-salt.sh-user-data-Add-Saltstack-arm64-repo.patch b/patches/opnfv-fuel/0002-salt.sh-user-data-Add-Saltstack-arm64-repo.patch
deleted file mode 100644 (file)
index 689736b..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-: Copyright (c) 2017 Enea AB and others.
-:
-: All rights reserved. This program and the accompanying materials
-: are made available under the terms of the Apache License, Version 2.0
-: which accompanies this distribution, and is available at
-: http://www.apache.org/licenses/LICENSE-2.0
-::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
-From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-Date: Tue, 11 Jul 2017 18:57:57 +0200
-Subject: [PATCH] salt.sh, user-data: Add Saltstack arm64 repo
-
-While at it, add arm64 suppport to salt-master-setup.sh.
-Upstream commit [1] broke Salt bootstrap on AArch64, by
-introducing an architecture condition that is too strict to allow
-Debian package installation (even if we provide our own repo).
-
-Add "arm64" to the list of supported architectures. This needs
-to be done on the fly, as the bootstrap script is fetched using
-`curl` from <salt-master-setup.sh>, which is also fetched
-dynamically using `svn export`.
-
-[1] https://github.com/saltstack/salt-bootstrap/commit/caa6d7d
-
-FIXME: Use https for fetching GPG repo key.
-
-Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
----
- mcp/scripts/salt.sh            | 6 ++++++
- mcp/scripts/user-data.template | 9 +++++++--
- 2 files changed, 13 insertions(+), 2 deletions(-)
-
-diff --git a/mcp/scripts/salt.sh b/mcp/scripts/salt.sh
-index b291b0f..44db0a1 100755
---- a/mcp/scripts/salt.sh
-+++ b/mcp/scripts/salt.sh
-@@ -45,6 +45,12 @@ ssh ${SSH_OPTS} "${SSH_SALT}" bash -s << SALT_INSTALL_END
-   cd ${OPNFV_FUEL_DIR}/mcp/patches && ./patch.sh patches.list reclass
-
-   cd /srv/salt/scripts
-+  if [ "\$(uname -i)" = "aarch64" ]; then
-+    # NOTE(armband): On AArch64, skip creating apt source list definitions (-r)
-+    export BOOTSTRAP_SALTSTACK_OPTS=" -r -dX stable 2016.3 "
-+    sed -i 's/bootstrap.saltstack.com | $SUDO/bootstrap.saltstack.com | sed '"'"'s@"amd64")@"amd64"|"arm64")@g'"'"' | $SUDO/g' \
-+      ./salt-master-setup.sh
-+  fi
-   MASTER_HOSTNAME=cfg01.${CLUSTER_DOMAIN} DISTRIB_REVISION=nightly ./salt-master-init.sh
-   salt-key -Ay
-
-diff --git a/mcp/scripts/user-data.template b/mcp/scripts/user-data.template
-index cc97a60..c696d35 100644
---- a/mcp/scripts/user-data.template
-+++ b/mcp/scripts/user-data.template
-@@ -1,6 +1,11 @@
- #!/bin/bash
--wget -O - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.11/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
--echo "deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.11 xenial main" > /etc/apt/sources.list.d/salt.list
-+if [ "$(uname -i)" = "aarch64" ]; then
-+  wget -O - http://linux.enea.com/saltstack/apt/ubuntu/16.04/arm64/latest/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
-+  echo "deb http://linux.enea.com/saltstack/apt/ubuntu/16.04/arm64/latest xenial main" > /etc/apt/sources.list.d/salt.list
-+else
-+  wget -O - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.11/SALTSTACK-GPG-KEY.pub | sudo apt-key add -
-+  echo "deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.11 xenial main" > /etc/apt/sources.list.d/salt.list
-+fi
- apt update
- apt-get install -y salt-minion
- rm /etc/salt/minion_id
@@ -157,10 +157,10 @@ index 0a01af7..367343a 100644
            type: eth
            proto: static
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
-index 6f0c52c..cd1456a 100644
+index 6d2c7f3..3dd94e6 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
 +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
-@@ -20,10 +20,9 @@ parameters:
+@@ -23,10 +23,9 @@ parameters:
      cluster_node03_hostname: ctl03
      cluster_node03_address: ${_param:openstack_control_node03_address}
      nova_vncproxy_url: https://${_param:cluster_public_host}:6080
@@ -173,7 +173,7 @@ index 6f0c52c..cd1456a 100644
      interface_mtu: 1500
      keepalived_vip_interface: br-ctl
      keepalived_vip_virtual_router_id: 69
-@@ -57,12 +56,6 @@ parameters:
+@@ -61,12 +60,6 @@ parameters:
            type: eth
            proto: manual
            name: ${_param:tenant_nic}
@@ -186,7 +186,7 @@ index 6f0c52c..cd1456a 100644
          br-mesh:
            enabled: true
            type: bridge
-@@ -70,19 +63,19 @@ parameters:
+@@ -74,19 +67,19 @@ parameters:
            netmask: 255.255.255.0
            mtu: 1500
            use_interfaces:
@@ -212,7 +212,7 @@ index 6f0c52c..cd1456a 100644
            use_interfaces:
            - ${_param:tenant_nic}
          br-ctl:
-@@ -92,7 +85,7 @@ parameters:
+@@ -96,7 +89,7 @@ parameters:
            address: ${_param:single_address}
            netmask: 255.255.255.0
            use_interfaces:
@@ -221,7 +221,7 @@ index 6f0c52c..cd1456a 100644
          br-floating:
            enabled: true
            type: ovs_bridge
-@@ -109,7 +102,6 @@ parameters:
+@@ -113,7 +106,6 @@ parameters:
            address: ${_param:external_address}
            netmask: 255.255.255.0
            use_interfaces:
@@ -231,7 +231,7 @@ index 6f0c52c..cd1456a 100644
            - float-to-ex
 -
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/control.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/control.yml
-index e8666d6..149d29d 100644
+index b46e23d..040ea2c 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/control.yml
 +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/control.yml
 @@ -23,7 +23,7 @@ classes:
@@ -446,10 +446,10 @@ index d193469..73215ee 100644
      # MaaS has issues using MTU > 1500 for PXE interface
      pxe_interface_mtu: 1500
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
-index 070ab78..88150b0 100644
+index e11e35e..cea8c81 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
 +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
-@@ -19,9 +19,8 @@ parameters:
+@@ -22,9 +22,8 @@ parameters:
      cluster_node03_hostname: ctl03
      cluster_node03_address: ${_param:openstack_control_node03_address}
      nova_vncproxy_url: https://${_param:cluster_public_host}:6080
@@ -461,7 +461,7 @@ index 070ab78..88150b0 100644
      linux_system_codename: xenial
      interface_mtu: 1500
      keepalived_vip_interface: br-ctl
-@@ -40,12 +39,6 @@ parameters:
+@@ -44,12 +43,6 @@ parameters:
            type: eth
            proto: manual
            name: ${_param:tenant_nic}
@@ -474,7 +474,7 @@ index 070ab78..88150b0 100644
          br-mesh:
            enabled: true
            type: bridge
-@@ -53,19 +46,19 @@ parameters:
+@@ -57,19 +50,19 @@ parameters:
            netmask: 255.255.255.0
            mtu: 1500
            use_interfaces:
@@ -500,7 +500,7 @@ index 070ab78..88150b0 100644
            use_interfaces:
            - ${_param:tenant_nic}
          br-ctl:
-@@ -75,7 +68,7 @@ parameters:
+@@ -79,7 +72,7 @@ parameters:
            address: ${_param:single_address}
            netmask: 255.255.255.0
            use_interfaces:
@@ -509,7 +509,7 @@ index 070ab78..88150b0 100644
          br-floating:
            enabled: true
            type: ovs_bridge
-@@ -92,6 +85,6 @@ parameters:
+@@ -96,6 +89,6 @@ parameters:
            address: ${_param:external_address}
            netmask: 255.255.255.0
            use_interfaces:
@@ -518,7 +518,7 @@ index 070ab78..88150b0 100644
            use_ovs_ports:
            - float-to-ex
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/control.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/control.yml
-index a5913dd..638abba 100644
+index 1711ab0..0571320 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/control.yml
 +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/control.yml
 @@ -23,7 +23,7 @@ classes:
@@ -23,12 +23,12 @@ Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
  4 files changed, 14 insertions(+), 14 deletions(-)
 
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
-index cd1456a..c53f77f 100644
+index 3dd94e6..cfdba30 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
 +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/compute.yml
-@@ -3,8 +3,8 @@ classes:
- - system.linux.system.repo.mcp.extra
+@@ -4,8 +4,8 @@ classes:
  - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
  - system.nova.compute.cluster
 -- system.nova.compute.nfv.hugepages
 -- system.nova.compute.nfv.cpu_pinning
@@ -36,7 +36,7 @@ index cd1456a..c53f77f 100644
 +#- system.nova.compute.nfv.cpu_pinning
  - system.neutron.gateway.opendaylight.single
  - system.neutron.gateway.cluster
- - system.ceilometer.agent.cluster
+ - system.cinder.volume.single
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml
 index ad99447..ea95680 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-odl-ha/openstack/init.yml
@@ -59,20 +59,20 @@ index ad99447..ea95680 100644
      glance_service_host: ${_param:openstack_control_address}
      keystone_version: ${_param:openstack_version}
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
-index 88150b0..8bcb469 100644
+index cea8c81..3c48cff 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
 +++ b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/compute.yml
-@@ -3,8 +3,8 @@ classes:
- - system.linux.system.repo.mcp.extra
+@@ -4,8 +4,8 @@ classes:
  - system.linux.system.repo.saltstack.xenial
+ - system.linux.storage.loopback
  - system.nova.compute.cluster
 -- system.nova.compute.nfv.hugepages
 -- system.nova.compute.nfv.cpu_pinning
 +#- system.nova.compute.nfv.hugepages
 +#- system.nova.compute.nfv.cpu_pinning
  - system.neutron.gateway.cluster
- - system.ceilometer.agent.cluster
- - cluster.baremetal-mcp-ocata-ovs-ha.infra
+ - system.cinder.volume.single
+ - system.cinder.volume.backend.lvm
 diff --git a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml b/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml
 index 90e0cf3..c1452b4 100644
 --- a/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-ha/openstack/init.yml
index 81c74a3..978fd9d 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 81c74a3da29cabc3fe76d3b5467378d84fd2767e
+Subproject commit 978fd9da91b6cdd522e79a4b8c31cf8f800222a3