This project is mirrored from https://:*****@osm.etsi.org/gerrit/osm/devops.git. Pull mirroring updated .
  1. Jan 20, 2022
    • garciadeblas's avatar
      Fixed installation issue with kube-flannel.yml · 5a5c63fa
      garciadeblas authored
      
      
      The installation of the local K8s cluster fails when kube-flannel.yml
      is not found in the temp folder. The error that we see in the installation is
      "error reading [/tmp/flannel.*****]: recognized file extensions are [.json .yaml .yml]"
      
      This commit updates the function deploy_cni_provider to remove the silent
      output when getting kube-flannel.yml. In addition, it adds several retries on error.
      Finally, the error message has been modified to be more explicit about the error.
      
      Change-Id: Ica07bc5b3b76ffb84f7247c436b214b531d8e833
      Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
      5a5c63fa
    • garciadeblas's avatar
      Silent output when deleting ns osm in k8s cluster · 91f26241
      garciadeblas authored
      
      
      The installation of the local k8s cluster with install_kubeadm_cluster.sh
      raised an error message when deleting the namespace "osm". That NS is
      deleted as a previous step to the deployment of OSM pods, just to make sure
      that we start from a clean NS.
      
      In principle, the error from kubectl should appear always in clean
      installations. For that reason, the output of the command is redirected
      to /dev/null to avoid confusion for the end user.
      
      Change-Id: I65b90675194848f3968a9c192427224652e3087f
      Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
      91f26241
    • Mark Beierl's avatar
      Bug 1841 Partial Revert · 13da5b3a
      Mark Beierl authored
      
      
      Revert the apt proxy in stage 3 as it appears that the cache gets
      crossed packages if 2 or more builds run at the same time.  Evidence
      of problem is hash mismatch on osm_devops deb file during stage 3
      
      Change-Id: Id8680453fd4588ca526ab1ea9cb8a322075e2386
      Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
      13da5b3a
    • Mark Beierl's avatar
      Bug 1841: LTS Support · 29cf45ac
      Mark Beierl authored
      
      
      Change stage 3 base image to Ubuntu 20.04 so we can use
      python3.8
      
      Change-Id: I42f9185277b9f081611c550cf0f86235b9bf8e85
      Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
      29cf45ac
  2. Jan 14, 2022
    • Mark Beierl's avatar
      Bug 1841: LTS Support · d7449362
      Mark Beierl authored
      
      
      Updates base to Ubuntu 20.04
      Updates python to 3.8
      Updates pip dependencies to more recent versions
      Adds apt cache to stage 2 dockerfile
      
      Fixes bug 1841
      
      Change-Id: I70af3cfab7484d7b284c143d554bef9f0be51812
      Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
      d7449362
    • Mark Beierl's avatar
      Bug 1858: Adding APT proxy · e7646259
      Mark Beierl authored
      
      
      Adds apt proxy to build scripts and dockerfiles.  Backward compatible
      change and proxy will not be used unless environment variable
      is supplied to docker build command.
      
      Fixes bug 1858
      
      Change-Id: Ibd25bd1c145b8d43eeb85c5c952aec30ebcce1fc
      Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
      e7646259
  3. Jan 13, 2022
  4. Dec 17, 2021
  5. Dec 10, 2021
    • Mark Beierl's avatar
      Bug 1648: Update Microstack Installation · b403f063
      Mark Beierl authored
      
      
      Change installation to --devmode instead of --classic
      Add --control to the init
      Checks for state before creating some objects
      Use the admin password generated by MicroStack install script
      Update default security group to have fully open access
      Update the initial image laod to 20.04
      Added creation of an osm-ext network with router to external
      
      Fixes bug 1648
      
      Change-Id: I6038be023bf04f99000b0ac8aeec7f7bcf205204
      Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
      b403f063
    • Mark Beierl's avatar
      Bug 1530: Limit IP addresses · 4aad47b0
      Mark Beierl authored
      
      
      Adds an exit to the awk command so that only the first IP address is used on
      a system that might have more than one IP address on the chosen interface
      
      Fixes bug 1530
      
      Change-Id: I7d5775ed1c1e801a338e048576d5106dc6c3d23a
      Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
      4aad47b0
    • Mark Beierl's avatar
      Bug 1531: Check for packages · 2ce2b004
      Mark Beierl authored
      
      
      Fixes logic to check for packages.  Originally based on dpkg -l, which could
      return packages that were once installed, then removed.  Instead a new function
      has been created that takes a list of packages to check and uses dpkg -L, which
      will return an error if a package is not, or no longer, installed
      
      Fixes bug 1531
      
      Change-Id: Id096cf969aacca62dc7783b803e7925c796e325d
      Signed-off-by: default avatarbeierlm <mark.beierl@canonical.com>
      2ce2b004
  6. Dec 09, 2021
  7. Dec 03, 2021
  8. Nov 29, 2021
  9. Nov 26, 2021
  10. Nov 25, 2021
  11. Nov 24, 2021
  12. Nov 22, 2021
  13. Nov 19, 2021
  14. Nov 18, 2021
  15. Nov 16, 2021
  16. Nov 12, 2021
  17. Nov 11, 2021
  18. Nov 10, 2021
  19. Nov 09, 2021
  20. Nov 08, 2021
  21. Nov 05, 2021
    • garciadeblas's avatar
      Feature 10892/10893/8460: refactor of OSM installer · 0bc87527
      garciadeblas authored
      
      
      This change covers:
      
      - Feature 10892. Installation of OSM on top of Ubuntu20.04. Changes
        are mostly in full_install_osm.sh and are related to the use of new
        versions of kubeadm and docker-ce. In addition, changes in Jenkins
        groovy files have been done to indicate the base image to be used,
        either 18.04 or 20.04.
      - Feature 10893. Better tracking of installation. The code for tracking
        in in common/track. There is a function track that it is called in
        the different steps of the installation.
      - Feature 8460: Cleanup old code in full_install_osm.sh. The script
        full_install_osm.sh has been split in different scripts performing
        specific tasks, thus simplifying the installer: install_docker_ce.sh,
        install_juju.sh and install_kubeadm_cluster.sh.
      
      Change-Id: I1e388ec56285337eaf34f68470aa5a9b23ff45ff
      Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
  22. Nov 04, 2021
  23. Nov 03, 2021
  24. Oct 19, 2021