Update KUD to switch to Ubuntu 18.04 84/94484/4
authorRitu Sood <ritu.sood@intel.com>
Fri, 30 Aug 2019 17:30:56 +0000 (10:30 -0700)
committerRitu Sood <ritu.sood@intel.com>
Sun, 20 Oct 2019 17:39:00 +0000 (10:39 -0700)
Removed not needed packages for 18.04 for
OVN, updated the vagrant image to 18.04
and added some needed apt packages

Issue-ID: MULTICLOUD-474
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I82550f8e58371af1c2476540c6b864384c450967

kud/deployment_infra/playbooks/Debian.yml
kud/hosting_providers/vagrant/Vagrantfile
kud/hosting_providers/vagrant/installer.sh

index 96357fe..b9725b2 100644 (file)
@@ -11,8 +11,6 @@ openvswitch_service: openvswitch-switch
 openvswitch_pkgs:
   - openvswitch-common
   - openvswitch-switch
-  - libopenvswitch
-  - openvswitch-datapath-dkms
 ovn_central_service: ovn-central
 ovn_central_pkgs:
   - ovn-central # <= 2.8.1-1
index 2d1b5ab..58251fe 100644 (file)
@@ -10,8 +10,8 @@
 ##############################################################################
 
 box = {
-  :virtualbox => { :name => 'elastic/ubuntu-16.04-x86_64', :version => '20180708.0.0' },
-  :libvirt => { :name => 'elastic/ubuntu-16.04-x86_64', :version=> '20180210.0.0'}
+  :virtualbox => { :name => 'elastic/ubuntu-18.04-x86_64', :version => '20191013.0.0' },
+  :libvirt => { :name => 'peru/ubuntu-18.04-server-amd64'}
 }
 
 require 'yaml'
index 41b21f6..7c0a906 100755 (executable)
@@ -107,6 +107,7 @@ function install_k8s {
     local_release_dir=$(grep "local_release_dir" $kud_inventory_folder/group_vars/k8s-cluster.yml | awk -F "\"" '{print $2}')
     local tarball=v$version.tar.gz
     sudo apt-get install -y sshpass make unzip # install make to run mitogen target and unzip is mitogen playbook dependency
+    sudo apt-get install -y gnupg2 software-properties-common
     _install_docker
     _install_ansible
     wget https://github.com/kubernetes-incubator/kubespray/archive/$tarball