Update git submodules
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 3 Jan 2018 22:41:32 +0000 (23:41 +0100)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 4 Jan 2018 20:30:01 +0000 (20:30 +0000)
commitf3c71b482cdc9da3fe5b51cad908292c718ae85e
treee6045033180c07f3030725804812c6d923334e0b
parent7760254ca3a9b128324fb9b5d3b8a82ba53b3b51
Update git submodules

* Update docs/submodules/fuel from branch 'stable/euphrates'
  - [baremetal] Switch VCP base image to UCA

    Since Mirantis prebuilt image comes with salt-minion 2016.3 instead
    of 2016.11 and upgrading it leads to a hard to break catch-22, use
    the Ubuntu cloud archive image we already download for FN VMs and
    pre-install:
    - a newer kernel (hwe-edge);
    - salt-minion (2016.11);
    This also implicitly aligns the image handling on AArch64 and x86_64.

    Change-Id: I86d1c777449d37bdd0348936a598e3ffe9d265af
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
    (cherry picked from commit f37103b4d60f057f653e0e5e8b7c6c3023a95b2d)

  - deploy.sh: Fix missing space in dependencies list

    Change-Id: I4d41ff8b9f7c1b59a2c1a400b9335f17b8c542be
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
    (cherry picked from commit 4d4149faa5604836931c039ad1922f95a764bb76)

  - deploy.sh: Factor out pkg deps into yaml files

    Instead of hardcoding the packages to install on the jumphost at
    deploy time in `ci/deploy.sh`, move the requirements list to a
    dedicated yaml file, so it is decoupled from actual code.

    While at it, add missing deps:
    - ipxe-qemu (AArch64 Ubuntu only);

    Change-Id: I9ee5c0796b70f9d29427d608b6415333c8841e1e
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
    (cherry picked from commit b57cd65121f61114432b07c04106fc4b8609440e)

  - base image: Explicitly call kpartx

    qemu-nbd currently available in CentOS 7 does not add partition
    mappings automatically for NBD devices, so add explicit `kpartx`
    calls.

    Change-Id: Ifa79c89b82024602b782c449dbf4de10899e03b5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
    (cherry picked from commit 5c890d60fff57b624358f4d4be6865862f4f8415)

  - AArch64: base image: pre-install salt-minion

    While at it, rename apt repo in foundation node user-data template
    from "salt" to "saltstack", to align with reclass model naming.

    Change-Id: I5b216492349ae187b568884b1ab4046c52b1c6b2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
    (cherry picked from commit feb877785544a31a18ae2f0ee2900a82e7ac4337)

  - Add pre-{install,purge} support for base image

    Extend <lib.sh> and its invocation from <ci.deploy.sh> with
    support for modifying foundation node VMs base image prior to
    using it with:
    - additional APT GPG keys;
    - additional APT repos;
    - packages to pre-install;
    - packages to pre-remove;
    - (non-configurable) cloud init datasource via NoCloud only,
      so VCP VMs won't wait for metadata service;

    While at it, re-use the resulting image as a base for another
    round of pre-patching (same operations as above are supported)
    to provide a base image for VCP VMs.

    Add AArch64-specific configuration based on new mechanisms:
    - pre-install linux-image-generic-hwe-16.04-edge (and headers)
      for foundation node and VCP (common) image (also requires new
      repo and its key);
    - pre-install cloud-init for VCP image (it should already be
      installed, but script needs non-empty config for VCP to create
      the VCP image and transfer it over to Salt Master);

    NOTE: cloud-init is required on VCP VMs for DHCP on 1st iface.

    JIRA: FUEL-309

    Change-Id: I7dcaf0ffd9c57009133c6d339496ec831ab14375
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
    (cherry picked from commit 6ead32f737f39e3d82e1484a9d31f07ed2daeadb)
docs/submodules/fuel