From: Aric Gardner Date: Fri, 5 Oct 2018 20:01:32 +0000 (+0000) Subject: Merge "Auto Generated INFO.yaml file" X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=HEAD;hp=3a1dba79fb201769da3710f0b75c38b6c35726df;p=joid.git Merge "Auto Generated INFO.yaml file" --- diff --git a/ci/01-bootstrap.sh b/ci/01-bootstrap.sh index e45c2ee0..5d57fab5 100755 --- a/ci/01-bootstrap.sh +++ b/ci/01-bootstrap.sh @@ -4,4 +4,4 @@ set -ex controllername=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml` cloudname=`awk 'NR==1{print substr($1, 1, length($1)-1)}' deployconfig.yaml` -juju bootstrap $controllername $cloudname --debug --to bootstrap.maas +juju bootstrap $controllername $cloudname --debug --constraints tags=bootstrap --bootstrap-series=$1 diff --git a/ci/02-deploybundle.sh b/ci/02-deploybundle.sh index df669a88..9473f322 100755 --- a/ci/02-deploybundle.sh +++ b/ci/02-deploybundle.sh @@ -156,7 +156,7 @@ openfile_fix() { if [ "$opnfvsdn" = "ocl" ] then - TAG="ubuntu16.04-4.0.2.0-34.tar.gz" + TAG="ubuntu16.04-4.1.1.0-103.tar.gz" for ROLE in contrail-controller contrail-analytics contrail-analyticsdb do diff --git a/ci/03-maasdeploy.sh b/ci/03-maasdeploy.sh index a6b311dc..73b789f1 100755 --- a/ci/03-maasdeploy.sh +++ b/ci/03-maasdeploy.sh @@ -61,9 +61,9 @@ if [ "$snapinstall" -eq "0" ]; then sudo apt-add-repository ppa:maas/stable -y fi if [ "bionic" != "$opnfvdistro" ]; then - sudo apt-add-repository cloud-archive:pike -y + sudo apt-add-repository cloud-archive:queens -y if [ "aarch64" == "$NODE_ARCTYPE" ]; then - sudo add-apt-repository ppa:ubuntu-cloud-archive/pike-staging -y + sudo add-apt-repository ppa:ubuntu-cloud-archive/queens-staging -y fi fi @@ -209,7 +209,6 @@ sudo virsh pool-define-as default --type dir --target /var/lib/libvirt/images/ | sudo virsh pool-start default || true sudo virsh pool-autostart default || true -# In case of virtual install set network if [ "$virtinstall" -eq 1 ]; then sudo virsh net-dumpxml default > default-net-org.xml sed -i '/dhcp/d' default-net-org.xml @@ -217,7 +216,18 @@ if [ "$virtinstall" -eq 1 ]; then sudo virsh net-destroy default sudo virsh net-define default-net-org.xml sudo virsh net-start default + sudo virsh net-autostart default || true rm -f default-net-org.xml +else + # As we use kvm so setup network on admin network + ADMIN_BR=`cat labconfig.json | jq '.opnfv.spaces[] | select(.type=="admin")'.bridge | cut -d \" -f 2 ` + sed -i "s@brAdm@$ADMIN_BR@" net.xml + sudo virsh net-destroy default || true + sudo virsh net-undefine default || true + sudo virsh net-define net.xml || true + sudo virsh net-autostart default || true + sudo virsh net-start default || true + sudo virsh net-autostart default || true fi # @@ -282,6 +292,7 @@ configuremaas(){ maas $PROFILE maas set-config name=upstream_dns value=$MY_UPSTREAM_DNS || true maas $PROFILE maas set-config name='maas_name' value=$MAAS_NAME || true maas $PROFILE maas set-config name='ntp_server' value='ntp.ubuntu.com' || true + maas $PROFILE domain update 0 name=$MAAS_NAME || true maas $PROFILE sshkeys create "key=$SSH_KEY" || true for tag in bootstrap compute control storage @@ -293,9 +304,9 @@ configuremaas(){ maas $PROFILE tags create name='opnfv-dpdk' comment='OPNFV DPDK enablement' \ kernel_opts='hugepagesz=2M hugepages=1024 hugepagesz=1G hugepages=20 default_hugepagesz=1G intel_iommu=on' || true - maas $PROFILE package-repositories create name="Ubuntu Proposed new" \ - url="http://archive.ubuntu.com/ubuntu" components="main" \ - distributions="xenial-proposed" arches=amd64,i386 + #maas $PROFILE package-repositories create name="Ubuntu Proposed new" \ + # url="http://archive.ubuntu.com/ubuntu" components="main" \ + # distributions="xenial-proposed" arches=amd64,i386 #create the required spaces. maas $PROFILE space update 0 name=default || true @@ -310,8 +321,16 @@ configuremaas(){ maas $PROFILE boot-source update $SOURCE_ID \ url=$URL keyring_filename=$KEYRING_FILE || true + maas $PROFILE boot-source-selections create 1 \ + os="ubuntu" release="xenial" arches="amd64" \ + labels="*" || true + maas $PROFILE boot-source-selections create 1 \ + os="ubuntu" release="bionic" arches="amd64" \ + labels="*" || true + if [ $NODE_ARCTYPE != "x86_64" ] ; then - maas $PROFILE boot-source-selection update 1 1 arches="$NODE_ARCHES" + maas $PROFILE boot-source-selection update 1 1 arches="$NODE_ARCHES" || true + maas $PROFILE boot-source-selection update 1 2 arches="$NODE_ARCHES" || true fi if [ "$snapinstall" -eq "0" ]; then @@ -465,9 +484,7 @@ addnodes(){ VIRSHIP="" # TODO: parse from $VIRSHURL if needed fi - if [ "$virtinstall" -eq 1 ]; then - netw=" --network bridge=virbr0,model=virtio" - elif ([ "$VIRSHHOST" != "" ]); then + if ([ "$VIRSHHOST" != "" ]); then # Get the bridge hosting the remote virsh brid=$(ssh $VIRSHHOST "ip a l | grep $VIRSHHOST | perl -pe 's/.* (.*)\$/\$1/g'") netw=" --network bridge=$brid,model=virtio" @@ -584,7 +601,20 @@ addnodes(){ done fi - maas $PROFILE pods create type=virsh power_address="$VIRSHURL" power_user=$USER + # Iterate to avoid "Conflict error" issue + for ii in 1 2 3 4 5 6 7 8 9 10 + do + echo "Try $ii" + maas $PROFILE pods create type=virsh power_address="$VIRSHURL" power_user=$USER > /tmp/deploy.out 2>&1 || true + cat /tmp/deploy.out + if ! fgrep -q 'Conflict' /tmp/deploy.out + then + break + else + continue + fi + done + # Make sure nodes are added into MAAS and none of them is in commissioning state i=0 diff --git a/ci/clean.sh b/ci/clean.sh index 1f3ef54f..1bd60056 100755 --- a/ci/clean.sh +++ b/ci/clean.sh @@ -18,6 +18,7 @@ juju destroy-controller $controllername --destroy-all-models -y || true rm -rf precise rm -rf trusty rm -rf xenial +rm -rf bionic rm -rf ~/joid_config/admin-openrc sleep 10 sudo sysctl -w vm.drop_caches=3 diff --git a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml index 1c297ce2..0553ff8f 100644 --- a/ci/config_tpl/juju2/bundle_tpl/aodh.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/aodh.yaml @@ -1,6 +1,6 @@ aodh: charm: "./{{ ubuntu.release }}/aodh" - num_units: 1 + num_units: {{ unit_qty() }} {% if os.service.bindings %} bindings: "": *oam-space @@ -9,8 +9,22 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin +{% if os.ha.mode == 'ha' %} + vip: *aodh-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_aodh_public + os-internal-hostname: *hostname_aodh_public + os-admin-hostname: *hostname_aodh_public +{% endif %} to: - - "lxd:nodes/0" +{% for unit_id in to_select() %} + - "lxd:nodes/{{ unit_id }}" +{% endfor %} {# Empty block to avoid bad block trim #} diff --git a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml index 8c248ce0..1ad45fb9 100644 --- a/ci/config_tpl/juju2/bundle_tpl/bundle.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/bundle.yaml @@ -10,6 +10,7 @@ {% else %} nodes: charm: "cs:{{ ubuntu.release }}/ubuntu" + series: {{ ubuntu.release }} {% if os.ha.mode == 'ha' %} num_units: 3 {% else %} @@ -18,6 +19,7 @@ nodes-compute: charm: "cs:{{ ubuntu.release }}/ubuntu" + series: {{ ubuntu.release }} {% if os.ha.mode == 'ha' %} num_units: {{ opnfv.units - 3 }} {% else %} @@ -26,6 +28,7 @@ {% endif %} ntp: charm: "./{{ ubuntu.release }}/ntp" + series: {{ ubuntu.release }} {% if os.network.controller == 'ocl' %} options: source: "0.ubuntu.pool.ntp.org 1.ubuntu.pool.ntp.org 2.ubuntu.pool.ntp.org 3.ubuntu.pool.ntp.org" @@ -57,6 +60,7 @@ {% include 'rabbitmq.yaml' %} {% include 'neutron-api.yaml' %} {% include 'heat.yaml' %} +{% include 'designate.yaml' %} {% if os.network.controller != 'ocl' %} {% include 'neutron-gateway.yaml' %} {% include 'ceilometer.yaml' %} diff --git a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml index 49bd4f7d..2f7a1dc4 100644 --- a/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/ceilometer.yaml @@ -1,13 +1,44 @@ - mongodb: - charm: ./{{ ubuntu.release }}/mongodb - num_units: 1 - constraints: *oam-space-constr + gnocchi: + charm: ./{{ ubuntu.release }}/gnocchi + num_units: {{ unit_qty() }} +{% if os.service.bindings %} + bindings: + "": *oam-space + public: *public-space + admin: *admin-space + internal: *internal-space +{% endif %} + series: {{ ubuntu.release }} + options: + openstack-origin: *openstack-origin +{% if os.ha.mode == 'ha' %} + vip: *gnocchi-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_gnocchi_public + os-internal-hostname: *hostname_gnocchi_public + os-admin-hostname: *hostname_gnocchi_public +{% endif %} + to: +{% for unit_id in to_select() %} + - "lxd:nodes/{{ unit_id }}" +{% endfor %} + memcached: + charm: ./{{ ubuntu.release }}/memcached + num_units: 2 {% if os.service.bindings %} bindings: "": *internal-space {% endif %} + series: {{ ubuntu.release }} + options: + allow-ufw-ip6-softfail: True to: - "lxd:nodes/0" + - "lxd:nodes/1" ceilometer: charm: "./{{ ubuntu.release }}/ceilometer" num_units: {{ unit_qty() }} @@ -18,11 +49,20 @@ admin: *admin-space internal: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin region: *openstack-region {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.ceilometer }} + vip: *ceilometer-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_ceilometer_public + os-internal-hostname: *hostname_ceilometer_public + os-admin-hostname: *hostname_ceilometer_public {% endif %} to: {% for unit_id in to_select() %} diff --git a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml index b8948e61..180e0490 100644 --- a/ci/config_tpl/juju2/bundle_tpl/ceph.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/ceph.yaml @@ -8,6 +8,7 @@ public: *ceph-public-space cluster: *ceph-cluster-space {% endif %} + series: {{ ubuntu.release }} options: expected-osd-count: {{ unit_ceph_qty() }} source: *openstack-origin @@ -43,10 +44,11 @@ public: *ceph-public-space cluster: *ceph-cluster-space {% endif %} + series: {{ ubuntu.release }} options: osd-devices: *osd-devices osd-journal: *osd-journal - osd-reformat: 'yes' + #osd-reformat: 'True' source: *openstack-origin {% if os.network.ipv6 %} prefer-ipv6: {{ os.network.ipv6 }} @@ -79,6 +81,7 @@ internal: *internal-space mon: *ceph-public-space {% endif %} + series: {{ ubuntu.release }} options: region: *openstack-region operator-roles: "Member,admin,SwiftOperator" @@ -90,7 +93,15 @@ ceph-osd-replication-count: {{ unit_ceph_qty() }} {% endif %} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.radosgw }} + vip: *rados-gateway-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_radosgw_public + os-admin-hostname: *hostname_radosgw_public + os-internal-hostname: *hostname_radosgw_public {% endif %} to: {% for unit_id in to_select(unit_qty()) %} diff --git a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml index 12b6acc6..7486172b 100644 --- a/ci/config_tpl/juju2/bundle_tpl/cinder.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/cinder.yaml @@ -14,6 +14,7 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% if os.git_repo.origin_git %} @@ -32,7 +33,15 @@ ceph-osd-replication-count: {{ unit_ceph_qty() }} {% endif %} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.cinder }} + vip: *cinder-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_cinder_public + os-internal-hostname: *hostname_cinder_public + os-admin-hostname: *hostname_cinder_public {% endif %} to: {% if opnfv.storage_dict.scaleio is defined %} diff --git a/ci/config_tpl/juju2/bundle_tpl/congress.yaml b/ci/config_tpl/juju2/bundle_tpl/congress.yaml index 03ebc7d0..a96951a7 100644 --- a/ci/config_tpl/juju2/bundle_tpl/congress.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/congress.yaml @@ -9,6 +9,7 @@ shared-db: *internal-space public: *public-space {% endif %} + series: {{ ubuntu.release }} options: region: *openstack-region {% if ubuntu.release == 'trusty' %} diff --git a/ci/config_tpl/juju2/bundle_tpl/designate.yaml b/ci/config_tpl/juju2/bundle_tpl/designate.yaml new file mode 100644 index 00000000..208b1951 --- /dev/null +++ b/ci/config_tpl/juju2/bundle_tpl/designate.yaml @@ -0,0 +1,49 @@ + designate: + charm: "./{{ ubuntu.release }}/designate" + num_units: {{ unit_qty() }} +{% if os.service.bindings %} + bindings: + "": *oam-space + public: *public-space + admin: *admin-space + internal: *internal-space + shared-db: *internal-space +{% endif %} + series: {{ ubuntu.release }} + options: + openstack-origin: *openstack-origin +{% if os.git_repo.origin_git %} + openstack-origin-git: "{{ os.git_repo.branch }}" +{% endif %} + region: *openstack-region +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_keystone_public + os-internal-hostname: *hostname_keystone_public + os-admin-hostname: *hostname_keystone_public +{% endif %} +{% if os.network.ipv6 %} + prefer-ipv6: {{ os.network.ipv6 }} +{% endif %} +{% if os.api.worker_multiplier %} + worker-multiplier: *worker-multiplier +{% endif %} +{% if os.ha.mode == 'ha' %} + vip: *designate-vip +{% endif %} + to: +{% for unit_id in to_select() %} + - "lxd:nodes/{{ unit_id }}" +{% endfor %} + designate-bind: + charm: "./{{ ubuntu.release }}/designate-bind" + num_units: 2 + bindings: + "": *internal-space + series: {{ ubuntu.release }} + to: + - "lxd:nodes/0" + - "lxd:nodes/1" + diff --git a/ci/config_tpl/juju2/bundle_tpl/glance.yaml b/ci/config_tpl/juju2/bundle_tpl/glance.yaml index e765bc30..1eac2e07 100644 --- a/ci/config_tpl/juju2/bundle_tpl/glance.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/glance.yaml @@ -10,6 +10,7 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin worker-multiplier: *worker-multiplier @@ -24,7 +25,15 @@ ceph-osd-replication-count: {{ unit_ceph_qty() }} {% endif %} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.glance }} + vip: *glance-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_glance_public + os-internal-hostname: *hostname_glance_public + os-admin-hostname: *hostname_glance_public {% endif %} to: {% for unit_id in to_select() %} diff --git a/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml b/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml index 26ea2867..79efb3fb 100644 --- a/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/haclusters.yaml @@ -1,6 +1,7 @@ hacluster-keystone: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -9,6 +10,7 @@ {% endif %} hacluster-cinder: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -17,6 +19,7 @@ {% endif %} hacluster-heat: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -25,6 +28,7 @@ {% endif %} hacluster-horizon: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -33,6 +37,7 @@ {% endif %} hacluster-nova: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -41,6 +46,7 @@ {% endif %} hacluster-neutron: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -49,6 +55,7 @@ {% endif %} hacluster-glance: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -58,6 +65,7 @@ {% if os.network.controller != 'ocl' %} hacluster-ceilometer: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 @@ -67,19 +75,46 @@ {% endif %} hacluster-mysql: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 {% if os.network.ipv6 %} prefer-ipv6: {{ os.network.ipv6 }} {% endif %} -{% if os.beta.hacluster_ceph_radosgw %} hacluster-ceph-radosgw: charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} options: corosync_transport: unicast cluster_count: 3 {% if os.network.ipv6 %} prefer-ipv6: {{ os.network.ipv6 }} {% endif %} + hacluster-aodh: + charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} + options: + corosync_transport: unicast + cluster_count: 3 +{% if os.network.ipv6 %} + prefer-ipv6: {{ os.network.ipv6 }} +{% endif %} + hacluster-gnocchi: + charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} + options: + corosync_transport: unicast + cluster_count: 3 +{% if os.network.ipv6 %} + prefer-ipv6: {{ os.network.ipv6 }} +{% endif %} + hacluster-designate: + charm: "./{{ ubuntu.release }}/hacluster" + series: {{ ubuntu.release }} + options: + corosync_transport: unicast + cluster_count: 3 +{% if os.network.ipv6 %} + prefer-ipv6: {{ os.network.ipv6 }} {% endif %} diff --git a/ci/config_tpl/juju2/bundle_tpl/harelations.yaml b/ci/config_tpl/juju2/bundle_tpl/harelations.yaml index e5274ed8..60652fe6 100644 --- a/ci/config_tpl/juju2/bundle_tpl/harelations.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/harelations.yaml @@ -11,4 +11,7 @@ - [ 'nova-cloud-controller:ha', 'hacluster-nova:ha' ] - [ 'openstack-dashboard:ha', 'hacluster-horizon:ha' ] - [ 'ceph-radosgw:ha', 'hacluster-ceph-radosgw:ha' ] + - [ 'aodh:ha', 'hacluster-aodh:ha' ] + - [ 'gnocchi:ha', 'hacluster-gnocchi:ha' ] + - [ 'designate:ha', 'hacluster-designate:ha' ] {% endif %} diff --git a/ci/config_tpl/juju2/bundle_tpl/heat.yaml b/ci/config_tpl/juju2/bundle_tpl/heat.yaml index bff431d3..4a647e8a 100644 --- a/ci/config_tpl/juju2/bundle_tpl/heat.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/heat.yaml @@ -9,6 +9,7 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin region: *openstack-region @@ -18,7 +19,15 @@ {% endif %} worker-multiplier: *worker-multiplier {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.heat }} + vip: *heat-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_heat_public + os-internal-hostname: *hostname_heat_public + os-admin-hostname: *hostname_heat_public {% endif %} to: {% for unit_id in to_select() %} diff --git a/ci/config_tpl/juju2/bundle_tpl/keystone.yaml b/ci/config_tpl/juju2/bundle_tpl/keystone.yaml index 1c6b78f6..9314af16 100644 --- a/ci/config_tpl/juju2/bundle_tpl/keystone.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/keystone.yaml @@ -9,6 +9,7 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% if os.git_repo.origin_git %} @@ -18,6 +19,16 @@ admin-role: {{ os.admin.role }} keystone-admin-role: {{ os.admin.role }} preferred-api-version: 3 +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + #use-https: 'yes' + #https-service-endpoints: 'True' + os-public-hostname: *hostname_keystone_public + os-internal-hostname: *hostname_keystone_public + os-admin-hostname: *hostname_keystone_public +{% endif %} {% if os.network.ipv6 %} prefer-ipv6: {{ os.network.ipv6 }} {% endif %} @@ -27,7 +38,7 @@ admin-password: {{ opnfv.admin_password | default(os.admin.password) }} admin-token: {{ os.admin.name }} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.keystone }} + vip: *keystone-vip {% endif %} to: {% for unit_id in to_select() %} diff --git a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml index f7ecc708..273c9f8b 100644 --- a/ci/config_tpl/juju2/bundle_tpl/mysql.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/mysql.yaml @@ -7,6 +7,7 @@ cluster: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: innodb-buffer-pool-size: 256M max-connections: 4000 @@ -23,7 +24,7 @@ prefer-ipv6: {{ os.network.ipv6 }} {% endif %} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.mysql }} + vip: *mysql-vip {% endif %} min-cluster-size: {{ unit_qty() }} to: diff --git a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml index f6daca52..3bdee5e8 100644 --- a/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/neutron-api.yaml @@ -9,6 +9,7 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% if os.git_repo.origin_git %} @@ -21,7 +22,7 @@ prefer-ipv6: {{ os.network.ipv6 }} {% endif %} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.neutron }} + vip: *neutron-api-vip {% endif %} {% if os.network.controller == 'nosdn' %} flat-network-providers: physnet1 @@ -46,6 +47,14 @@ {% endif %} {% if os.network.l2_population %} l2-population: true +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_neutron_public + os-internal-hostname: *hostname_neutron_public + os-admin-hostname: *hostname_neutron_public {% endif %} to: {% for unit_id in to_select() %} diff --git a/ci/config_tpl/juju2/bundle_tpl/neutron-gateway.yaml b/ci/config_tpl/juju2/bundle_tpl/neutron-gateway.yaml index dd1471d2..1f307da6 100644 --- a/ci/config_tpl/juju2/bundle_tpl/neutron-gateway.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/neutron-gateway.yaml @@ -10,6 +10,7 @@ "": *oam-space data: *overlay-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% if os.git_repo.origin_git %} diff --git a/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml b/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml index 7714456a..eae8e4ec 100644 --- a/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/neutron-ovs.yaml @@ -3,6 +3,7 @@ {% if os.service.bindings %} bindings: data: *overlay-space + series: {{ ubuntu.release }} options: {% else %} options: @@ -23,6 +24,7 @@ {% if os.network.controller == 'nosdn' %} bridge-mappings: physnet1:br-data data-port: *data-port + #enable-local-dhcp-and-metadata: true {% else %} ext-port: {{ opnfv.ext_port }} {% endif %} diff --git a/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml b/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml index bfb4c27d..7b9520f5 100644 --- a/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/nova-cloud-controller.yaml @@ -9,6 +9,7 @@ internal: *internal-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% if os.git_repo.origin_git %} @@ -25,7 +26,15 @@ prefer-ipv6: {{ os.network.ipv6 }} {% endif %} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.nova }} + vip: *nova-cc-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_nova_public + os-internal-hostname: *hostname_nova_public + os-admin-hostname: *hostname_nova_public {% endif %} {% if opnfv.domain is defined %} #console-proxy-ip: {{ opnfv.domain }} diff --git a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml index 73591b6b..93c97705 100644 --- a/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/nova-compute.yaml @@ -16,6 +16,7 @@ bindings: "": *oam-space internal: *internal-space + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% if os.git_repo.origin_git %} diff --git a/ci/config_tpl/juju2/bundle_tpl/oclphase1.yaml b/ci/config_tpl/juju2/bundle_tpl/oclphase1.yaml index 3746a1e5..3d754b59 100644 --- a/ci/config_tpl/juju2/bundle_tpl/oclphase1.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/oclphase1.yaml @@ -1,82 +1,83 @@ contrail-openstack: charm: ./{{ ubuntu.release }}/contrail-openstack + series: {{ ubuntu.release }} options: install-keys: | - | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 - - mQENBFgjd4cBCAC7nEIGx6SRod7OONALolVPDV/lGIRUH/qU1HYULTxALnve0vn2 - gOYDROZWWLN5yAWwOnNJ/xrXJdvlJ+wT3vSord3dafe42ynajJB48NNfgq0qCzJy - 832jA5CUPqoSBEQtWnEl6oDTf9iL/bsvybLKys1llQqZkgLNOunwJe9Mp0nhv9G3 - 7C7MpmjGjd3eviZaTPevONFVtDbWHU5QG8VEdX3n9QBNLzgaddMrY3ejg9ajGJ5H - OOiSa71OxVZG+hc6O26LtjZgXikZ5CZLbCSHMpzXOZzuKn1xbLz1BLna5F5Y7czs - XywyHK/Fq07T7ihzZ3GEhVfpbpOF+7egSY4lABEBAAG0J2plbmtpbnMgKGplbmtp - bnMpIDxqZW5raW5zQGp1bmlwZXIubmV0PokBOAQTAQIAIgUCWCN3hwIbAwYLCQgH - AwIGFQgCCQoLBBYCAwECHgECF4AACgkQeXOdQRGBcvcSaggAoh/87zZvJ09dH9yn - gGMtlnRyfob9LIpW9A9QB7yIpwm+awye0rG7cH6vs3LH9sr4V+GDhXNl3eaO9+BT - 9XxoyPllZ4tjiZ7kCKslK95V5mmHKa8hnnA7bo7sKrXJ3w5nYowEQUYLdaMdrWLx - cyJFJuYKEP5Fkx6TECsebMR4ly6rJjGDLFysuhWNAjOm7lNG2ZtS9s5d101HNhxN - RH71YMOGEfc2XeW5B6o2enjRmBWeoEIVhxn8YyPqtHbwQNwoSCdIXNyWF0f6Ju+s - q7OAPzGkWMdvXwN3Wlko8qitB+yGXE9muip7osEbt3gpwhMCcYiprvIBKdDoQPBc - 1xYMDrkBDQRYI3eHAQgAniMKcSf1aEergyyZZKFyQ4hkgAsg5eM3H5UngKDqAJZF - fuaibQ3jzpdqtGQU2xLPHNKsJIqAsGtxEnfXmZAdwJHkx+xMOV0VorMEU5HuuEFc - WXL1WL6dRfEmmFev0/ZBtZm4EE/ARlnTLBqxLRooEGljIacdqVakr8J23kbChulA - oz7AaWzJYzCcbvwveNL9ZxEQDLMtIcAXh5LubBZDR0uq9UgkPX3wTdQ0zQ6hR3MZ - KK0WYvXIPgESmrstCOrSR9X1d8hwjjwsgwVQwp1vGGHjWjEleCZvz7WyM0qFIRcj - 9kLbnm6flJMK0Bowg/3yuiG55EBK+3b9TNdSDuG/mwARAQABiQEfBBgBAgAJBQJY - I3eHAhsMAAoJEHlznUERgXL3aYAH/3GKj4V0qJCi7lW2NMH0nCdqp5Q1pyIm77Nv - VU4WH16jNXcNPKJv+9yLC2tCkfVcX7C2clT25SJ4dwPsos2Kcnnh3nNHi6S9SxWG - GzVy7o0preT1M01LE5zAADQlBPelOZseEM4EWgszNQ0dxrn030YWH9jKoNjUGI0W - hRq4c2qV1N7RG/QiIWJhB4Fkyxh5bl0GODjYhPB/3am2i8gkTksH9FQa1cVydVSc - FV6Ju8WGiUPpHGnDEmyzqudIAXtNApN16AO+09ECOaIJEgO+wcUZpJ8tAkrQ1CZs - FMy4DESyZ1go1Myueds3X6iCCCtrmk9x5FAKRMb7NvkN2+dbj5s= - =9u/w + mQENBFqVcvkBCACnPEXVBLmB79vQFRMu8sg4cNl0nvxTfStlkbrsuqs4JCKhvVWU + 6xF7Fa3e8up6t8Wn+53yqBEQhImN3RTDfE1RijHbIDHED2K8XtmMzHzN/ZuOwTxN + PdXN70HF+HBMW4egbDcImSyullPw65D5C3pHKZHmbnwPjXOAEdy3+6/8iNZex3mf + 4PDNs+KFmEblRWMTWryK7BdU3KI41o6jlixm5BkgPOQ5Tn0IZ300pGsIm2rvb6nN + LHsBDSPkamjGleDidqqEnS7ueMiRNSYg33bxbA/V5EtMcHpGbLSyMaLodqv5H/0L + ibt1nKEJnuV1/nNrTQMSpWCIGn5+f3UzQX+XABEBAAG0LFN0dWFydCBNYWNraWUg + KE9QTkZWKSA8d3NtYWNraWVAanVuaXBlci5uZXQ+iQE4BBMBAgAiBQJalXL5AhsD + BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDVIWmOj2VUIlUFB/9T8faY5vnZ + zJvU3GUJI4nNjj7kZeotfItBrBTtcWblkalIvDg/qqyMW6ZWr8Bl5I/Cs8LIDi5/ + UaHkrekpU5tECWZkF+qbUcoZ7e0wENj1L3j+SHHJZ231pU2N6Dkrks+X1QL7qcx1 + xXUMajzd+BfyxMGshpNu1vRmwVbtJNrRYzpPclfNsdz0D264o04n9XgSZMCz52gM + bNF1l9QEm7mVDZMxPImSNr2JjQCtKOuiTyQpXtzXQEVPwLerrG+3Ys6leSggckXp + W9sTEGDt8fREsUgWthAST4k2NRtA/yaULnbQZYChTmIzOPcw9gT5gl4KIzOpZc5t + fTIc/RNsBB2BuQENBFqVcvkBCACzqDT7QAw7xIN7gKQWzX82DZLCnTuOx83jW3U+ + cEZVFhYNfsqUY+Kp48IyePqeQCYvoBxkVGhnIBCT4cRzlfwj2AxoI8S4mDMI6GlD + Q0DaAlX+BFKDqLPOrDrFGtYBDwMWVjhgV4PaZ5w4J17RKaann5RWBTFObNtUNVtJ + Xr7XRUjBnUg76nZX6qzUj22V7LBMtF8vcf+pe+AHY0OV24CGJOvHbUNS+sh8Sfse + yGpqSdoVjU9UjgkSpiJl7PWFPrXqoiNsxR6nEeXufy8q9+X4DsCVdiaomifCw1FN + HoP/xVUDUDBMeTAC8zseTardit4rt0Gtuk+5DuRm9otpGNSbABEBAAGJAR8EGAEC + AAkFAlqVcvkCGwwACgkQ1SFpjo9lVCKUOggAh8CNa+AkoEJsRCtzjW+3dJIaSk5w + KEpq9fVlmAcCbyIimB3NDAgGLSCTSc3JeXt5Hdgp4M0+j56lVEOtcTC0HWQYYVL2 + 4QKv9fLypgJe5DLYtQmAyQOXNmO6P77/2KdeB1flxZiWmCDr3VJRgWseMILKb3oQ + 49Hfmk7HQrKOi0KaHbx0tpbUHo3uWR4H/QeQE3pCOA+ighqP3Mu3AHI/ySmWZyhc + kvvGambz75gXUdOb9L6eqV9lHQhFUCJznMdjCpd8HUFsbQiAaWKsFv5T5cpmBhDc + /MslWGpfFi+hs/ritGELl9+CiFdn6YPXULEb653V65ev8vg7NwX78ifNQw== + =SMUT -----END PGP PUBLIC KEY BLOCK----- install-sources: | - - "deb http://65.122.57.42/repo /" + - "deb http://65.122.57.45:30002/opnfv /" contrail-agent: charm: ./{{ ubuntu.release }}/contrail-agent + series: {{ ubuntu.release }} options: install-keys: | - | -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 - mQENBFgjd4cBCAC7nEIGx6SRod7OONALolVPDV/lGIRUH/qU1HYULTxALnve0vn2 - gOYDROZWWLN5yAWwOnNJ/xrXJdvlJ+wT3vSord3dafe42ynajJB48NNfgq0qCzJy - 832jA5CUPqoSBEQtWnEl6oDTf9iL/bsvybLKys1llQqZkgLNOunwJe9Mp0nhv9G3 - 7C7MpmjGjd3eviZaTPevONFVtDbWHU5QG8VEdX3n9QBNLzgaddMrY3ejg9ajGJ5H - OOiSa71OxVZG+hc6O26LtjZgXikZ5CZLbCSHMpzXOZzuKn1xbLz1BLna5F5Y7czs - XywyHK/Fq07T7ihzZ3GEhVfpbpOF+7egSY4lABEBAAG0J2plbmtpbnMgKGplbmtp - bnMpIDxqZW5raW5zQGp1bmlwZXIubmV0PokBOAQTAQIAIgUCWCN3hwIbAwYLCQgH - AwIGFQgCCQoLBBYCAwECHgECF4AACgkQeXOdQRGBcvcSaggAoh/87zZvJ09dH9yn - gGMtlnRyfob9LIpW9A9QB7yIpwm+awye0rG7cH6vs3LH9sr4V+GDhXNl3eaO9+BT - 9XxoyPllZ4tjiZ7kCKslK95V5mmHKa8hnnA7bo7sKrXJ3w5nYowEQUYLdaMdrWLx - cyJFJuYKEP5Fkx6TECsebMR4ly6rJjGDLFysuhWNAjOm7lNG2ZtS9s5d101HNhxN - RH71YMOGEfc2XeW5B6o2enjRmBWeoEIVhxn8YyPqtHbwQNwoSCdIXNyWF0f6Ju+s - q7OAPzGkWMdvXwN3Wlko8qitB+yGXE9muip7osEbt3gpwhMCcYiprvIBKdDoQPBc - 1xYMDrkBDQRYI3eHAQgAniMKcSf1aEergyyZZKFyQ4hkgAsg5eM3H5UngKDqAJZF - fuaibQ3jzpdqtGQU2xLPHNKsJIqAsGtxEnfXmZAdwJHkx+xMOV0VorMEU5HuuEFc - WXL1WL6dRfEmmFev0/ZBtZm4EE/ARlnTLBqxLRooEGljIacdqVakr8J23kbChulA - oz7AaWzJYzCcbvwveNL9ZxEQDLMtIcAXh5LubBZDR0uq9UgkPX3wTdQ0zQ6hR3MZ - KK0WYvXIPgESmrstCOrSR9X1d8hwjjwsgwVQwp1vGGHjWjEleCZvz7WyM0qFIRcj - 9kLbnm6flJMK0Bowg/3yuiG55EBK+3b9TNdSDuG/mwARAQABiQEfBBgBAgAJBQJY - I3eHAhsMAAoJEHlznUERgXL3aYAH/3GKj4V0qJCi7lW2NMH0nCdqp5Q1pyIm77Nv - VU4WH16jNXcNPKJv+9yLC2tCkfVcX7C2clT25SJ4dwPsos2Kcnnh3nNHi6S9SxWG - GzVy7o0preT1M01LE5zAADQlBPelOZseEM4EWgszNQ0dxrn030YWH9jKoNjUGI0W - hRq4c2qV1N7RG/QiIWJhB4Fkyxh5bl0GODjYhPB/3am2i8gkTksH9FQa1cVydVSc - FV6Ju8WGiUPpHGnDEmyzqudIAXtNApN16AO+09ECOaIJEgO+wcUZpJ8tAkrQ1CZs - FMy4DESyZ1go1Myueds3X6iCCCtrmk9x5FAKRMb7NvkN2+dbj5s= - =9u/w + mQENBFqVcvkBCACnPEXVBLmB79vQFRMu8sg4cNl0nvxTfStlkbrsuqs4JCKhvVWU + 6xF7Fa3e8up6t8Wn+53yqBEQhImN3RTDfE1RijHbIDHED2K8XtmMzHzN/ZuOwTxN + PdXN70HF+HBMW4egbDcImSyullPw65D5C3pHKZHmbnwPjXOAEdy3+6/8iNZex3mf + 4PDNs+KFmEblRWMTWryK7BdU3KI41o6jlixm5BkgPOQ5Tn0IZ300pGsIm2rvb6nN + LHsBDSPkamjGleDidqqEnS7ueMiRNSYg33bxbA/V5EtMcHpGbLSyMaLodqv5H/0L + ibt1nKEJnuV1/nNrTQMSpWCIGn5+f3UzQX+XABEBAAG0LFN0dWFydCBNYWNraWUg + KE9QTkZWKSA8d3NtYWNraWVAanVuaXBlci5uZXQ+iQE4BBMBAgAiBQJalXL5AhsD + BgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRDVIWmOj2VUIlUFB/9T8faY5vnZ + zJvU3GUJI4nNjj7kZeotfItBrBTtcWblkalIvDg/qqyMW6ZWr8Bl5I/Cs8LIDi5/ + UaHkrekpU5tECWZkF+qbUcoZ7e0wENj1L3j+SHHJZ231pU2N6Dkrks+X1QL7qcx1 + xXUMajzd+BfyxMGshpNu1vRmwVbtJNrRYzpPclfNsdz0D264o04n9XgSZMCz52gM + bNF1l9QEm7mVDZMxPImSNr2JjQCtKOuiTyQpXtzXQEVPwLerrG+3Ys6leSggckXp + W9sTEGDt8fREsUgWthAST4k2NRtA/yaULnbQZYChTmIzOPcw9gT5gl4KIzOpZc5t + fTIc/RNsBB2BuQENBFqVcvkBCACzqDT7QAw7xIN7gKQWzX82DZLCnTuOx83jW3U+ + cEZVFhYNfsqUY+Kp48IyePqeQCYvoBxkVGhnIBCT4cRzlfwj2AxoI8S4mDMI6GlD + Q0DaAlX+BFKDqLPOrDrFGtYBDwMWVjhgV4PaZ5w4J17RKaann5RWBTFObNtUNVtJ + Xr7XRUjBnUg76nZX6qzUj22V7LBMtF8vcf+pe+AHY0OV24CGJOvHbUNS+sh8Sfse + yGpqSdoVjU9UjgkSpiJl7PWFPrXqoiNsxR6nEeXufy8q9+X4DsCVdiaomifCw1FN + HoP/xVUDUDBMeTAC8zseTardit4rt0Gtuk+5DuRm9otpGNSbABEBAAGJAR8EGAEC + AAkFAlqVcvkCGwwACgkQ1SFpjo9lVCKUOggAh8CNa+AkoEJsRCtzjW+3dJIaSk5w + KEpq9fVlmAcCbyIimB3NDAgGLSCTSc3JeXt5Hdgp4M0+j56lVEOtcTC0HWQYYVL2 + 4QKv9fLypgJe5DLYtQmAyQOXNmO6P77/2KdeB1flxZiWmCDr3VJRgWseMILKb3oQ + 49Hfmk7HQrKOi0KaHbx0tpbUHo3uWR4H/QeQE3pCOA+ighqP3Mu3AHI/ySmWZyhc + kvvGambz75gXUdOb9L6eqV9lHQhFUCJznMdjCpd8HUFsbQiAaWKsFv5T5cpmBhDc + /MslWGpfFi+hs/ritGELl9+CiFdn6YPXULEb653V65ev8vg7NwX78ifNQw== + =SMUT -----END PGP PUBLIC KEY BLOCK----- install-sources: | - - "deb http://65.122.57.42/repo /" + - "deb http://65.122.57.45:30002/opnfv /" contrail-analytics: charm: ./{{ ubuntu.release }}/contrail-analytics diff --git a/ci/config_tpl/juju2/bundle_tpl/odl.yaml b/ci/config_tpl/juju2/bundle_tpl/odl.yaml index 2b12e6f0..b38d92dc 100644 --- a/ci/config_tpl/juju2/bundle_tpl/odl.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/odl.yaml @@ -7,6 +7,7 @@ controller-api: *internal-space ovsdb-manager: *internal-space {% endif %} + series: {{ ubuntu.release }} options: install-url: "https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.6.0-Carbon/distribution-karaf-0.6.0-Carbon.tar.gz" {% if os.network.sfc %} diff --git a/ci/config_tpl/juju2/bundle_tpl/onos.yaml b/ci/config_tpl/juju2/bundle_tpl/onos.yaml index a59d584f..da7f7202 100644 --- a/ci/config_tpl/juju2/bundle_tpl/onos.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/onos.yaml @@ -1,6 +1,7 @@ onos-controller: charm: ./{{ ubuntu.release }}/onos-controller num_units: 1 + series: {{ ubuntu.release }} options: {% if opnfv.ext_port is defined %} ext-port: {{ opnfv.ext_port }} diff --git a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml index a01d13ff..a3fc3cd9 100644 --- a/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/openbaton.yaml @@ -6,6 +6,7 @@ "": *oam-space internal: *internal-space {% endif %} + series: {{ ubuntu.release }} to: - "lxd:nodes/0" {# Empty block to avoid bad block trim #} diff --git a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml index 87fe85e9..c789df64 100644 --- a/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/openstack-dashboard.yaml @@ -7,6 +7,7 @@ "": *public-space shared-db: *internal-space {% endif %} + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% if os.git_repo.origin_git %} @@ -22,7 +23,15 @@ prefer-ipv6: {{ os.network.ipv6 }} {% endif %} {% if os.ha.mode == 'ha' %} - vip: {{ opnfv.vip.dashboard }} + vip: *dashboard-vip +{% endif %} +{% if os.api.ssl %} + ssl_ca: *ssl_ca + ssl_cert: *ssl_cert + ssl_key: *ssl_key + os-public-hostname: *hostname_dashboard_public + os-internal-hostname: *hostname_dashboard_public + os-admin-hostname: *hostname_dashboard_public {% endif %} to: {% for unit_id in to_select() %} diff --git a/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml b/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml index d00d47b0..8fecd04e 100644 --- a/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/opnfv-promise.yaml @@ -5,6 +5,7 @@ bindings: "": *internal-space {% endif %} + series: {{ ubuntu.release }} to: - "lxd:nodes/0" {# Empty block to avoid bad block trim #} diff --git a/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml b/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml index b3bba40d..ff0ca773 100644 --- a/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/rabbitmq.yaml @@ -7,6 +7,7 @@ amqp: *internal-space cluster: *internal-space {% endif %} + series: {{ ubuntu.release }} options: source: *openstack-origin {% if opnfv.storage_dict.ceph is defined %} diff --git a/ci/config_tpl/juju2/bundle_tpl/relations.yaml b/ci/config_tpl/juju2/bundle_tpl/relations.yaml index 2ed75e67..04ce15ef 100644 --- a/ci/config_tpl/juju2/bundle_tpl/relations.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/relations.yaml @@ -5,10 +5,16 @@ - [ 'nova-cloud-controller:quantum-network-service', 'neutron-gateway:quantum-network-service' ] - [ 'ceilometer:amqp', 'rabbitmq-server:amqp' ] - [ 'ceilometer-agent:ceilometer-service', 'ceilometer:ceilometer-service' ] - - [ 'ceilometer:identity-service', 'keystone:identity-service' ] - [ 'ceilometer:identity-notifications', 'keystone:identity-notifications' ] + - [ 'ceilometer:identity-service', 'keystone:identity-service' ] + - [ 'ceilometer:identity-credentials', 'keystone:identity-credentials' ] - [ 'ceilometer-agent:nova-ceilometer', 'nova-compute:nova-ceilometer' ] - - [ 'ceilometer:shared-db', 'mongodb:database' ] + - [ 'gnocchi:storage-ceph', 'ceph-mon:client' ] + - [ 'gnocchi:shared-db', 'mysql:shared-db' ] + - [ 'gnocchi:amqp', 'rabbitmq-server:amqp' ] + - [ 'gnocchi:coordinator-memcached', 'memcached:cache' ] + - [ 'gnocchi:metric-service', 'ceilometer:metric-service' ] + - [ 'gnocchi:identity-service', 'keystone:identity-service' ] {% endif %} - [ 'heat:shared-db', 'mysql:shared-db' ] - [ 'heat:identity-service', 'keystone:identity-service' ] @@ -59,6 +65,11 @@ - [ 'aodh:amqp', 'rabbitmq-server:amqp' ] - [ 'aodh:shared-db', 'mysql:shared-db' ] - [ 'aodh:identity-service', 'keystone:identity-service' ] + - [ designate, mysql ] + - [ designate, designate-bind ] + - [ designate, keystone ] + - [ designate, rabbitmq-server ] + - [ designate, memcached ] {% if os.lxd %} - [ 'nova-compute:lxd', 'lxd:lxd' ] {% endif %} diff --git a/ci/config_tpl/juju2/bundle_tpl/scaleio.yaml b/ci/config_tpl/juju2/bundle_tpl/scaleio.yaml index 0dae4294..c083b3d4 100644 --- a/ci/config_tpl/juju2/bundle_tpl/scaleio.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/scaleio.yaml @@ -2,6 +2,7 @@ scaleio-mdm: charm: "./{{ ubuntu.release }}/scaleio-mdm" num_units: {{ unit_scaleio_qty() }} + series: {{ ubuntu.release }} options: cluster-mode: 3 to: @@ -17,6 +18,7 @@ scaleio-sds: charm: "./{{ ubuntu.release }}/scaleio-sds" num_units: {{ opnfv.units }} + series: {{ ubuntu.release }} options: protection-domain: 'pd1' device-paths: {{ opnfv.storage_dict.scaleio.disk }} @@ -32,6 +34,7 @@ {% endif %} scaleio-sdc: charm: "./{{ ubuntu.release }}/scaleio-sdc" + series: {{ ubuntu.release }} num_units: {{ opnfv.units }} to: {% if os.hyperconverged %} @@ -45,12 +48,14 @@ {% endif %} scaleio-gw: charm: "./{{ ubuntu.release }}/scaleio-gw" + series: {{ ubuntu.release }} num_units: 1 to: - "nodes/0" scaleio-gui: charm: "./{{ ubuntu.release }}/scaleio-gui" num_units: 1 + series: {{ ubuntu.release }} to: - "nodes/0" {% endif %} diff --git a/ci/config_tpl/juju2/bundle_tpl/spaces.yaml b/ci/config_tpl/juju2/bundle_tpl/spaces.yaml index 3023dfc0..7036b936 100644 --- a/ci/config_tpl/juju2/bundle_tpl/spaces.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/spaces.yaml @@ -1,4 +1,4 @@ -{% if os.release == 'mitaka' %} +{% if ubuntu.release == 'bionic' %} openstack-origin: &openstack-origin distro {% else %} openstack-origin: &openstack-origin cloud:{{ ubuntu.release }}-{{ os.release }} @@ -66,3 +66,40 @@ {% endif %} osd-journal: &osd-journal +{% if os.ha.mode == 'ha' %} + # Various VIPs + aodh-vip: &aodh-vip {{ opnfv.vip.aodh }} + ceilometer-vip: &ceilometer-vip {{ opnfv.vip.ceilometer }} + cinder-vip: &cinder-vip {{ opnfv.vip.cinder }} + dashboard-vip: &dashboard-vip {{ opnfv.vip.dashboard }} + designate-vip: &designate-vip {{ opnfv.vip.designate }} + glance-vip: &glance-vip {{ opnfv.vip.glance }} + gnocchi-vip: &gnocchi-vip {{ opnfv.vip.gnocchi }} + heat-vip: &heat-vip {{ opnfv.vip.heat }} + keystone-vip: &keystone-vip {{ opnfv.vip.keystone }} + mysql-vip: &mysql-vip {{ opnfv.vip.mysql }} + neutron-api-vip: &neutron-api-vip {{ opnfv.vip.neutron }} + nova-cc-vip: &nova-cc-vip {{ opnfv.vip.nova }} + rados-gateway-vip: &rados-gateway-vip {{ opnfv.vip.radosgw }} +{% endif %} + +{% if os.api.ssl %} + ssl_ca: &ssl_ca include-base64://ssl/ca.crt + ssl_cert: &ssl_cert include-base64://ssl/maas.crt + ssl_key: &ssl_key include-base64://ssl/maas.key + + hostname_aodh_public: &hostname_aodh_public aodh.maas + hostname_ceilometer_public: &hostname_ceilometer_public ceilometer.maas + hostname_cinder_public: &hostname_cinder_public cinder.maas + hostname_dashboard_public: &hostname_dashboard_public openstack-dashboard.maas + hostname_designate_public: &hostname_designate_public designate.maas + hostname_glance_public: &hostname_glance_public glance.maas + hostname_gnocchi_public: &hostname_gnocchi_public gnocchi.maas + hostname_heat_public: &hostname_heat_public heat.maas + hostname_keystone_public: &hostname_keystone_public keystone.maas + hostname_rabbitmq: &hostname_rabbitmq rabbitmq.maas + hostname_neutron_public: &hostname_neutron_public neutron-api.maas + hostname_nova_public: &hostname_nova_public nova-cloud-controller.maas + hostname_radosgw_public: &hostname_radosgw_public rados-gateway.maas +{% endif %} + diff --git a/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml b/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml index 488462fe..61e672df 100644 --- a/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml +++ b/ci/config_tpl/juju2/bundle_tpl/subordinate.yaml @@ -2,12 +2,14 @@ {% if os.network.controller != 'ocl' %} ceilometer-agent: charm: ./{{ ubuntu.release }}/ceilometer-agent + series: {{ ubuntu.release }} options: openstack-origin: *openstack-origin {% endif %} {% if opnfv.storage_dict.ceph is defined %} cinder-ceph: charm: ./{{ ubuntu.release }}/cinder-ceph + series: {{ ubuntu.release }} options: {% if opnfv.storage_dict.ceph is defined %} ceph-osd-replication-count: {{ unit_ceph_qty() }} @@ -18,11 +20,13 @@ {% elif os.network.controller == 'odl' %} neutron-api-odl: charm: ./{{ ubuntu.release }}/neutron-api-odl + series: {{ ubuntu.release }} options: overlay-network-type: 'vxlan' security-groups: True openvswitch-odl: charm: ./{{ ubuntu.release }}/openvswitch-odl + series: {{ ubuntu.release }} options: {% if opnfv.ext_port is defined %} provider_mappings: "physnet1:{{ opnfv.ext_port }}" @@ -35,11 +39,13 @@ {% elif os.network.controller == 'onos' %} neutron-api-onos: charm: ./{{ ubuntu.release }}/neutron-api-onos + series: {{ ubuntu.release }} options: overlay-network-type: 'vxlan' security-groups: True openvswitch-onos: charm: ./{{ ubuntu.release }}/openvswitch-onos + series: {{ ubuntu.release }} options: {% if opnfv.spaces_dict.data is defined %} os-data-network: {{ opnfv.spaces_dict.data.cidr }} @@ -51,6 +57,7 @@ {% if os.lxd %} lxd: charm: ./{{ ubuntu.release }}/lxd + series: {{ ubuntu.release }} options: {% if 'srv' not in opnfv.storage_dict.ceph.disk %} block-devices: {{ opnfv.storage_dict.ceph.disk }} @@ -61,6 +68,7 @@ {% if opnfv.storage_dict.scaleio is defined %} scaleio-openstack: charm: ./{{ ubuntu.release }}/scaleio-openstack + series: {{ ubuntu.release }} options: protection-domains: 'pd1' {% endif %} diff --git a/ci/config_tpl/juju2/deployconfig.yaml b/ci/config_tpl/juju2/deployconfig.yaml index f94154cd..2d59b88a 100644 --- a/ci/config_tpl/juju2/deployconfig.yaml +++ b/ci/config_tpl/juju2/deployconfig.yaml @@ -46,25 +46,32 @@ opnfv: units: {{ lab.racks[0].nodes|count }} vip: {% if opnfv.spaces_dict.public is defined %} + aodh: {{ netpublic_prefix }}33 {{ net_prefix }}33 + ceilometer: {{ netpublic_prefix }}24 {{ net_prefix }}24 + cinder: {{ netpublic_prefix }}29 {{ net_prefix }}29 dashboard: {{ netpublic_prefix }}21 {{ net_prefix }}21 + designate: {{ netpublic_prefix }}32 {{ net_prefix }}32 glance: {{ netpublic_prefix }}22 {{ net_prefix }}22 + gnocchi: {{ netpublic_prefix }}31 {{ net_prefix }}31 + heat: {{ netpublic_prefix }}28 {{ net_prefix }}28 keystone: {{ netpublic_prefix }}23 {{ net_prefix }}23 - ceilometer: {{ netpublic_prefix }}24 {{ net_prefix }}24 mysql: {{ net_prefix }}25 - nova: {{ netpublic_prefix }}26 {{ net_prefix }}26 neutron: {{ netpublic_prefix }}27 {{ net_prefix }}27 - heat: {{ netpublic_prefix }}28 {{ net_prefix }}28 - cinder: {{ netpublic_prefix }}29 {{ net_prefix }}29 + nova: {{ netpublic_prefix }}26 {{ net_prefix }}26 radosgw: {{ netpublic_prefix }}30 {{ net_prefix }}30 {% else %} + aodh: {{ net_prefix }}33 + ceilometer: {{ net_prefix }}24 + cinder: {{ net_prefix }}29 dashboard: {{ net_prefix }}21 + designate: {{ net_prefix }}32 glance: {{ net_prefix }}22 + gnocchi: {{ net_prefix }}31 + heat: {{ net_prefix }}28 keystone: {{ net_prefix }}23 - ceilometer: {{ net_prefix }}24 mysql: {{ net_prefix }}25 - nova: {{ net_prefix }}26 neutron: {{ net_prefix }}27 - heat: {{ net_prefix }}28 - cinder: {{ net_prefix }}29 + nova: {{ net_prefix }}26 radosgw: {{ net_prefix }}30 {% endif %} + diff --git a/ci/default_deployment_config.yaml b/ci/default_deployment_config.yaml index 587c39a1..f4006128 100644 --- a/ci/default_deployment_config.yaml +++ b/ci/default_deployment_config.yaml @@ -1,10 +1,10 @@ ubuntu: release: xenial os: - release: pike + release: queens git_repo: origin_git: False - branch: pike + branch: queens hyperconverged: True ha: mode: ha @@ -14,6 +14,7 @@ os: api: worker_multiplier: 1.0 haproxy_timeout: 10000 + ssl: False admin: role: admin name: admin @@ -27,7 +28,6 @@ os: ipv6: False l2_population: False beta: - hacluster_ceph_radosgw: True huge_pages: False cpu_pin: False cpu_pin_set: all diff --git a/ci/deploy.sh b/ci/deploy.sh index ab3e5e34..3bbddb6f 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -9,7 +9,7 @@ source common/tools.sh opnfvsdn=nosdn opnfvtype=noha -openstack=pike +openstack=queens opnfvlab=default opnfvlabfile= opnfvrel=e @@ -21,9 +21,9 @@ virtinstall=0 maasinstall=0 usage() { echo "Usage: $0 - [-s|--sdn ] + [-s|--sdn ] [-t|--type ] - [-o|--openstack ] + [-o|--openstack ] [-l|--lab ] [-f|--feature ] [-d|--distro ] @@ -90,7 +90,7 @@ for argument in $options -d|--distro ) if ([ "arguments[index]" != "" ]); then - opnfdistro=${arguments[index]} + opnfvdistro=${arguments[index]} fi; ;; @@ -261,9 +261,10 @@ deploy() { fi #bootstrap the node - ./01-bootstrap.sh + ./01-bootstrap.sh $opnfvdistro juju model-config default-series=$opnfvdistro enable-os-refresh-update=false enable-os-upgrade=false + juju set-model-constraints tags= # case default deploy the opnfv platform: ./02-deploybundle.sh $opnfvtype $openstack $opnfvlab $opnfvsdn $opnfvfeature $opnfvdistro $opnfvmodel @@ -320,18 +321,6 @@ python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, i # Configuring deployment if ([ $opnfvmodel == "openstack" ]); then - if ([ $opnfvsdn == "ocl" ]); then - echo_info "Patching OpenContrail controller container" - juju run --application contrail-controller sudo docker cp contrail-controller:/etc/contrail/vnc_api_lib.ini /tmp - juju run --application contrail-controller cp /tmp/vnc_api_lib.ini /tmp/vnc_api_lib.ini2 - juju run --application contrail-controller 'echo "AUTHN_DOMAIN = admin_domain" >> /tmp/vnc_api_lib.ini2' - juju run --application contrail-controller sudo docker cp /tmp/vnc_api_lib.ini2 contrail-controller:/etc/contrail/vnc_api_lib.ini - juju run --application contrail-controller sudo docker exec contrail-controller service contrail-api restart - - juju run --application contrail-controller sudo docker cp /tmp/vnc_api_lib.ini2 contrail-analytics:/etc/contrail/vnc_api_lib.ini - echo_info "Wait for OpenContrail components to stabilize" - sleep 600 - fi echo_info "Configuring OpenStack deployment" @@ -340,11 +329,23 @@ if ([ $opnfvmodel == "openstack" ]); then # creating heat domain after pushing the public API into /etc/hosts status=`juju run-action heat/0 domain-setup` echo $status + if ([ $opnfvsdn != "ocl" ]) then + status=`juju run-action ceilometer/0 ceilometer-upgrade` + fi + echo $status if ([ $opnftype == "ha" ]); then status=`juju run-action heat/1 domain-setup` echo $status + if ([ $opnfvsdn != "ocl" ]) then + status=`juju run-action ceilometer/1 ceilometer-upgrade` + fi + echo $status status=`juju run-action heat/2 domain-setup` echo $status + if ([ $opnfvsdn != "ocl" ]) then + status=`juju run-action ceilometer/2 ceilometer-upgrade` + fi + echo $status fi sudo ../juju/get-cloud-images || true diff --git a/ci/genBundle.py b/ci/genBundle.py index ffe9cb8f..3df31776 100644 --- a/ci/genBundle.py +++ b/ci/genBundle.py @@ -200,14 +200,14 @@ if 'radosgwcluster' in extra: if 'hugepages' in extra: config['os']['beta']['huge_pages'] = True config['os']['beta']['cpu_pin'] = True -if 'mitaka' in extra: - config['os']['release'] = 'mitaka' -if 'trusty' in extra: - config['ubuntu']['release'] = 'trusty' - if 'liberty' in extra: - config['os']['release'] = 'liberty' +if 'pike' in extra: + config['os']['release'] = 'pike' if 'xenial' in extra: config['ubuntu']['release'] = 'xenial' +if 'bionic' in extra: + config['ubuntu']['release'] = 'bionic' + if 'pike' in extra: + config['os']['release'] = 'queens' if 'dishypcon' in extra: config['os']['hyperconverged'] = False if 'openbaton' in features: diff --git a/ci/k8.sh b/ci/k8.sh index 51b2f571..bea84a39 100755 --- a/ci/k8.sh +++ b/ci/k8.sh @@ -3,6 +3,21 @@ set -ex opnfvfeature=$1 +juju scp kubernetes-master/0:/home/ubuntu/config ~/joid_config/config + +export KUBE_MASTER_IP=`juju status kubernetes-master --format=yaml | grep public-address | cut -d ":" -f 2 | head -1 | sed "s/^[ \t]*//g"` +export KUBE_MASTER_URL=http://${KUBE_MASTER_IP}:6443 + +configk8(){ +cat <<-EOF +export KUBERNETES_PROVIDER=local +export KUBE_MASTER_IP=${KUBE_MASTER_IP} +export KUBE_MASTER_URL=${KUBE_MASTER_URL} +EOF +} + +configk8 > ~/joid_config/k8config + juju run-action kubernetes-worker/0 microbot replicas=3 juju config kubernetes-master enable-dashboard-addons=true || true juju expose kubernetes-worker || true diff --git a/ci/kubernetes/fetch-charms.sh b/ci/kubernetes/fetch-charms.sh index 4ab94a98..3906d7bd 100755 --- a/ci/kubernetes/fetch-charms.sh +++ b/ci/kubernetes/fetch-charms.sh @@ -11,5 +11,5 @@ function build { # openstack charm pull cs:ntp $distro/ntp -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd diff --git a/ci/net.xml b/ci/net.xml new file mode 100644 index 00000000..110428f1 --- /dev/null +++ b/ci/net.xml @@ -0,0 +1,5 @@ + + default + + + diff --git a/ci/nosdn/fetch-charms.sh b/ci/nosdn/fetch-charms.sh index 7ada1697..547bdba9 100755 --- a/ci/nosdn/fetch-charms.sh +++ b/ci/nosdn/fetch-charms.sh @@ -12,30 +12,33 @@ function build { # openstack bzr branch lp:~narindergupta/charms/trusty/promise/trunk $distro/promise -git clone -b stable/17.11 https://github.com/openstack/charm-hacluster.git $distro/hacluster -git clone -b stable/17.11 https://github.com/openstack/charm-ceilometer.git $distro/ceilometer -git clone -b stable/17.11 https://github.com/openstack/charm-ceilometer-agent.git $distro/ceilometer-agent -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-radosgw.git $distro/ceph-radosgw -git clone -b stable/17.11 https://github.com/openstack/charm-cinder.git $distro/cinder -git clone -b stable/17.11 https://github.com/openstack/charm-cinder-ceph.git $distro/cinder-ceph -git clone -b stable/17.11 https://github.com/openstack/charm-glance.git $distro/glance -git clone -b stable/17.11 https://github.com/openstack/charm-keystone.git $distro/keystone -git clone -b stable/17.11 https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster -git clone -b stable/17.11 https://github.com/openstack/charm-neutron-api.git $distro/neutron-api -git clone -b stable/17.11 https://github.com/openstack/charm-neutron-gateway.git $distro/neutron-gateway -git clone -b stable/17.11 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch -git clone -b stable/17.11 https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller -git clone -b stable/17.11 https://github.com/openstack/charm-nova-compute.git $distro/nova-compute -git clone -b stable/17.11 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard -git clone -b stable/17.11 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server -git clone -b stable/17.11 https://github.com/openstack/charm-heat.git $distro/heat -git clone -b stable/17.11 https://github.com/openstack/charm-lxd.git $distro/lxd +git clone https://github.com/openstack/charm-hacluster.git $distro/hacluster +git clone https://github.com/openstack/charm-ceilometer.git $distro/ceilometer +git clone https://github.com/openstack/charm-ceilometer-agent.git $distro/ceilometer-agent +git clone https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon +git clone https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd +git clone https://github.com/openstack/charm-ceph-radosgw.git $distro/ceph-radosgw +git clone https://github.com/openstack/charm-cinder.git $distro/cinder +git clone https://github.com/openstack/charm-cinder-ceph.git $distro/cinder-ceph +git clone https://github.com/openstack/charm-glance.git $distro/glance +git clone https://github.com/openstack/charm-keystone.git $distro/keystone +git clone https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster +git clone https://github.com/openstack/charm-neutron-api.git $distro/neutron-api +git clone https://github.com/openstack/charm-neutron-gateway.git $distro/neutron-gateway +git clone https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch +git clone https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller +git clone https://github.com/openstack/charm-nova-compute.git $distro/nova-compute +git clone https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard +git clone https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server +git clone https://github.com/openstack/charm-heat.git $distro/heat +git clone https://github.com/openstack/charm-lxd.git $distro/lxd git clone https://github.com/openbaton/juju-charm.git $distro/openbaton +charm pull cs:designate $distro/designate +charm pull cs:designate-bind $distro/designate-bind +charm pull cs:memcached $distro/memcached +charm pull cs:gnocchi $distro/gnocchi charm pull cs:$distro/aodh $distro/aodh -charm pull cs:$distro/mongodb $distro/mongodb charm pull cs:ntp $distro/ntp charm pull cs:$distro/haproxy $distro/haproxy charm pull cs:~narindergupta/congress-1 $distro/congress diff --git a/ci/odl/fetch-charms.sh b/ci/odl/fetch-charms.sh index cf8c6dc8..15cb941c 100755 --- a/ci/odl/fetch-charms.sh +++ b/ci/odl/fetch-charms.sh @@ -12,29 +12,29 @@ function build { # openstack bzr branch lp:~narindergupta/charms/trusty/promise/trunk $distro/promise -git clone -b stable/17.11 https://github.com/openstack/charm-hacluster.git $distro/hacluster -git clone -b stable/17.11 https://github.com/openstack/charm-ceilometer.git $distro/ceilometer -git clone -b stable/17.11 https://github.com/openstack/charm-ceilometer-agent.git $distro/ceilometer-agent -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd -git clone -b stable/17.11 https://github.com/openstack/charm-ceph-radosgw.git $distro/ceph-radosgw -git clone -b stable/17.11 https://github.com/openstack/charm-cinder.git $distro/cinder -git clone -b stable/17.11 https://github.com/openstack/charm-cinder-ceph.git $distro/cinder-ceph -git clone -b stable/17.11 https://github.com/openstack/charm-glance.git $distro/glance -git clone -b stable/17.11 https://github.com/openstack/charm-keystone.git $distro/keystone -git clone -b stable/17.11 https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster -git clone -b stable/17.11 https://github.com/openstack/charm-neutron-api.git $distro/neutron-api -git clone -b stable/17.11 https://github.com/openstack/charm-neutron-gateway.git $distro/neutron-gateway -git clone -b stable/17.11 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch -git clone -b stable/17.11 https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller -git clone -b stable/17.11 https://github.com/openstack/charm-nova-compute.git $distro/nova-compute -git clone -b stable/17.11 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard -git clone -b stable/17.11 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server -git clone -b stable/17.11 https://github.com/openstack/charm-heat.git $distro/heat -git clone -b stable/17.11 https://github.com/openstack/charm-lxd.git $distro/lxd -git clone -b stable/17.11 https://github.com/openstack/charm-odl-controller.git $distro/odl-controller -git clone -b stable/17.11 https://github.com/openstack/charm-neutron-api-odl.git $distro/neutron-api-odl -git clone -b stable/17.11 https://github.com/openstack/charm-openvswitch-odl.git $distro/openvswitch-odl +git clone -b stable/18.02 https://github.com/openstack/charm-hacluster.git $distro/hacluster +git clone -b stable/18.02 https://github.com/openstack/charm-ceilometer.git $distro/ceilometer +git clone -b stable/18.02 https://github.com/openstack/charm-ceilometer-agent.git $distro/ceilometer-agent +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-radosgw.git $distro/ceph-radosgw +git clone -b stable/18.02 https://github.com/openstack/charm-cinder.git $distro/cinder +git clone -b stable/18.02 https://github.com/openstack/charm-cinder-ceph.git $distro/cinder-ceph +git clone -b stable/18.02 https://github.com/openstack/charm-glance.git $distro/glance +git clone -b stable/18.02 https://github.com/openstack/charm-keystone.git $distro/keystone +git clone -b stable/18.02 https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster +git clone -b stable/18.02 https://github.com/openstack/charm-neutron-api.git $distro/neutron-api +git clone -b stable/18.02 https://github.com/openstack/charm-neutron-gateway.git $distro/neutron-gateway +git clone -b stable/18.02 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch +git clone -b stable/18.02 https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller +git clone -b stable/18.02 https://github.com/openstack/charm-nova-compute.git $distro/nova-compute +git clone -b stable/18.02 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard +git clone -b stable/18.02 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server +git clone -b stable/18.02 https://github.com/openstack/charm-heat.git $distro/heat +git clone -b stable/18.02 https://github.com/openstack/charm-lxd.git $distro/lxd +git clone -b stable/18.02 https://github.com/openstack/charm-odl-controller.git $distro/odl-controller +git clone -b stable/18.02 https://github.com/openstack/charm-neutron-api-odl.git $distro/neutron-api-odl +git clone -b stable/18.02 https://github.com/openstack/charm-openvswitch-odl.git $distro/openvswitch-odl git clone https://github.com/openbaton/juju-charm.git $distro/openbaton charm pull cs:$distro/aodh $distro/aodh diff --git a/ci/opencontrail/fetch-charms.sh b/ci/opencontrail/fetch-charms.sh index 62fbbd6b..03b67eed 100755 --- a/ci/opencontrail/fetch-charms.sh +++ b/ci/opencontrail/fetch-charms.sh @@ -12,28 +12,30 @@ function build { # openstack bzr branch lp:~narindergupta/charms/trusty/promise/trunk $distro/promise -git clone -b stable/17.08 https://github.com/openstack/charm-hacluster.git $distro/hacluster -git clone -b stable/17.08 https://github.com/openstack/charm-ceilometer.git $distro/ceilometer -git clone -b stable/17.08 https://github.com/openstack/charm-ceilometer-agent.git $distro/ceilometer-agent -git clone -b stable/17.08 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon -git clone -b stable/17.08 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd -git clone -b stable/17.08 https://github.com/openstack/charm-ceph-radosgw.git $distro/ceph-radosgw -git clone -b stable/17.08 https://github.com/openstack/charm-cinder.git $distro/cinder -git clone -b stable/17.08 https://github.com/openstack/charm-cinder-ceph.git $distro/cinder-ceph -git clone -b stable/17.08 https://github.com/openstack/charm-glance.git $distro/glance -git clone -b stable/17.08 https://github.com/openstack/charm-keystone.git $distro/keystone -git clone -b stable/17.08 https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster -git clone -b stable/17.08 https://github.com/openstack/charm-neutron-api.git $distro/neutron-api -git clone -b stable/17.08 https://github.com/openstack/charm-neutron-gateway.git $distro/neutron-gateway -git clone -b stable/17.08 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch -git clone -b stable/17.08 https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller -git clone -b stable/17.08 https://github.com/openstack/charm-nova-compute.git $distro/nova-compute -git clone -b stable/17.08 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard -git clone -b stable/17.08 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server -git clone -b stable/17.08 https://github.com/openstack/charm-heat.git $distro/heat -git clone -b stable/17.08 https://github.com/openstack/charm-lxd.git $distro/lxd +git clone -b stable/18.02 https://github.com/openstack/charm-hacluster.git $distro/hacluster +git clone -b stable/18.02 https://github.com/openstack/charm-ceilometer.git $distro/ceilometer +git clone -b stable/18.02 https://github.com/openstack/charm-ceilometer-agent.git $distro/ceilometer-agent +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-mon.git $distro/ceph-mon +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-osd.git $distro/ceph-osd +git clone -b stable/18.02 https://github.com/openstack/charm-ceph-radosgw.git $distro/ceph-radosgw +git clone -b stable/18.02 https://github.com/openstack/charm-cinder.git $distro/cinder +git clone -b stable/18.02 https://github.com/openstack/charm-cinder-ceph.git $distro/cinder-ceph +git clone -b stable/18.02 https://github.com/openstack/charm-glance.git $distro/glance +git clone -b stable/18.02 https://github.com/openstack/charm-keystone.git $distro/keystone +git clone -b stable/18.02 https://github.com/openstack/charm-percona-cluster.git $distro/percona-cluster +git clone -b stable/18.02 https://github.com/openstack/charm-neutron-api.git $distro/neutron-api +git clone -b stable/18.02 https://github.com/openstack/charm-neutron-gateway.git $distro/neutron-gateway +git clone -b stable/18.02 https://github.com/openstack/charm-neutron-openvswitch.git $distro/neutron-openvswitch +git clone -b stable/18.02 https://github.com/openstack/charm-nova-cloud-controller.git $distro/nova-cloud-controller +git clone -b stable/18.02 https://github.com/openstack/charm-nova-compute.git $distro/nova-compute +git clone -b stable/18.02 https://github.com/openstack/charm-openstack-dashboard.git $distro/openstack-dashboard +git clone -b stable/18.02 https://github.com/openstack/charm-rabbitmq-server.git $distro/rabbitmq-server +git clone -b stable/18.02 https://github.com/openstack/charm-heat.git $distro/heat +git clone -b stable/18.02 https://github.com/openstack/charm-lxd.git $distro/lxd git clone https://github.com/openbaton/juju-charm.git $distro/openbaton +charm pull cs:memcached $distro/memcached +charm pull cs:gnocchi $distro/gnocchi charm pull cs:$distro/mongodb $distro/mongodb charm pull cs:ntp $distro/ntp charm pull cs:$distro/aodh $distro/aodh diff --git a/ci/openstack.sh b/ci/openstack.sh index 3c8f9757..139a0dfc 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -62,7 +62,7 @@ keystoneIp() { if [ $(juju status keystone --format=short | grep " keystone"|wc -l) == 1 ];then unitAddress keystone 0 else - juju config keystone | python -c "import yaml; import sys; print yaml.load(sys.stdin)['settings']['vip']['value']" | cut -d " " -f 1 + juju config keystone vip | cut -d " " -f 1 fi } @@ -71,13 +71,26 @@ create_openrc() { echo_info "Creating the openrc (OpenStack client environment scripts)" mkdir -m 0700 -p cloud - keystoneIp=$(keystoneIp) - adminPasswd=$(juju config keystone | python -c "import yaml; import sys; print yaml.load(sys.stdin)['settings']['admin-password']['value']" | cut -d " " -f 1) + usessl=$(juju config keystone ssl_ca) + if [[ "$usessl" == "" ]]; then + usessl=no + else + usessl=yes + fi + keystoneIp=$(juju config keystone os-public-hostname | cut -d " " -f 1) + if [[ "$keystoneIp" == "" ]]; then + keystoneIp=$(keystoneIp) + fi + adminPasswd=$(juju config keystone admin-password | cut -d " " -f 1) - v3api=`juju config keystone preferred-api-version` + v3api=$(juju config keystone preferred-api-version) if [[ "$v3api" == "3" ]]; then - configOpenrc admin $adminPasswd admin http://$keystoneIp:5000/v3 RegionOne publicURL > ~/joid_config/admin-openrc + if [ "$usessl" == "yes" ]; then + configOpenrc admin $adminPasswd admin https://$keystoneIp:5000/v3 RegionOne publicURL > ~/joid_config/admin-openrc + else + configOpenrc admin $adminPasswd admin http://$keystoneIp:5000/v3 RegionOne publicURL > ~/joid_config/admin-openrc + fi chmod 0600 ~/joid_config/admin-openrc source ~/joid_config/admin-openrc projectid=`openstack project show admin -c id -f value` @@ -105,6 +118,7 @@ EOF } configOpenrc() { +if [ "$usessl" == "yes" ]; then cat <<-EOF #export OS_NO_CACHE='true' export OS_AUTH_URL=$4 @@ -117,11 +131,31 @@ export OS_PASSWORD=$2 export OS_IDENTITY_API_VERSION=3 export OS_REGION_NAME=$5 export OS_INTERFACE=public -#export OS_INSECURE=true -#export OS_CASSL=~/joid_config/ca.pem +export OS_CACERT=~/joid_config/keystone_juju_ca_cert.crt EOF +else +cat <<-EOF +#export OS_NO_CACHE='true' +export OS_AUTH_URL=$4 +export OS_USER_DOMAIN_NAME=admin_domain +export OS_PROJECT_DOMAIN_NAME=admin_domain +export OS_USERNAME=$1 +export OS_TENANT_NAME=$3 +export OS_PROJECT_NAME=$3 +export OS_PASSWORD=$2 +export OS_IDENTITY_API_VERSION=3 +export OS_REGION_NAME=$5 +export OS_INTERFACE=public +#export OS_CACERT=~/joid_config/bradm.etsi-ubuntu-jh.maas.pem +EOF +fi } + +if [ "$usessl" == "yes" ]; then + juju scp keystone/0:/usr/local/share/ca-certificates/keystone_juju_ca_cert.crt ~/joid_config/ +fi + # Create an load openrc create_openrc diff --git a/docs/release/configguide/configguide.rst b/docs/release/configguide/configguide.rst index b9c27f34..9db0ab30 100644 --- a/docs/release/configguide/configguide.rst +++ b/docs/release/configguide/configguide.rst @@ -4,7 +4,7 @@ JOID Configuration Scenario 1: Nosdn ----------------- -*./deploy.sh -o ocata -s nosdn -t ha -l custom -f none -d xenial -m openstack* +*./deploy.sh -o pike -s nosdn -t ha -l custom -f none -d xenial -m openstack* Scenario 2: Kubernetes core --------------------------- @@ -24,4 +24,14 @@ Scenario 4: Kubernetes with OVN Scenario 5: Openstack with Opencontrail --------------------------------------- -*./deploy.sh -o ocata -s ocl -t ha -l custom -f none -d xenial -m openstack* +*./deploy.sh -o pike -s ocl -t ha -l custom -f none -d xenial -m openstack* + +Scenario 6: Kubernetes Load Balancer with Canal CNI +--------------------------------------------------- + +*./deploy.sh -s canal -l custom -f lb -m kubernetes* + +Scenario 7: Kubernetes Load Balancer with Ceph +---------------------------------------------- + +*./deploy.sh -l custom -f lb,ceph -m kubernetes* diff --git a/docs/release/configguide/installerconfig.rst b/docs/release/configguide/installerconfig.rst index aee4ce25..86e33093 100644 --- a/docs/release/configguide/installerconfig.rst +++ b/docs/release/configguide/installerconfig.rst @@ -189,7 +189,7 @@ opnfv: release: d distro: xenial type: noha - openstack: newton + openstack: pike sdncontroller: - type: nosdn storage: @@ -244,10 +244,10 @@ When it's done, you should be able to view MAAS webpage (http:///MAAS) OPNFV Install ------------- -| ``   ./deploy.sh -o newton -s nosdn -t noha -l custom -f none -d xenial -m openstack`` +| ``   ./deploy.sh -o pike -s nosdn -t noha -l custom -f none -d xenial -m openstack`` | ``   `` -./deploy.sh -o newton -s nosdn -t noha -l custom -f none -d xenial -m openstack +./deploy.sh -o pike -s nosdn -t noha -l custom -f none -d xenial -m openstack NOTE: Possible options are as follows: @@ -263,9 +263,9 @@ Mode of Openstack deployed. ha: HA mode of openstack. Wihch version of Openstack deployed. - [-o|--openstack ] + [-o|--openstack ] + pike: Pike version of openstack. Ocata: Ocata version of openstack. - Newton: Newton version of openstack. Where to deploy [-l|--lab ] etc... diff --git a/docs/release/configguide/postinstall.rst b/docs/release/configguide/postinstall.rst index 49388b16..519eb4fb 100644 --- a/docs/release/configguide/postinstall.rst +++ b/docs/release/configguide/postinstall.rst @@ -6,7 +6,7 @@ Configure OpenStack openstack.sh under joid/ci used to configure the openstack after deployment -./openstack.sh custom xenial newton +./openstack.sh custom xenial pike Below commands are used to setup domain in heat. juju run-action heat/0 domain-setup diff --git a/docs/release/installation/abstract.rst b/docs/release/installation/abstract.rst index 4303ec6c..3a2c09a0 100644 --- a/docs/release/installation/abstract.rst +++ b/docs/release/installation/abstract.rst @@ -1,7 +1,7 @@ Abstract ======== -This document will explain how to install the Euphrates release of OPNFV with +This document will explain how to install the Fraser release of OPNFV with JOID including installing JOID, configuring JOID for your environment, and deploying OPNFV with different SDN solutions in HA, or non-HA mode. diff --git a/docs/release/installation/installation_baremetal.rst b/docs/release/installation/installation_baremetal.rst index 3b7d0ccc..567ab648 100644 --- a/docs/release/installation/installation_baremetal.rst +++ b/docs/release/installation/installation_baremetal.rst @@ -117,7 +117,7 @@ home directory. :: - git clone -b stable/danube https://gerrit.opnfv.org/gerrit/p/joid.git + git clone -b stable/fraser https://gerrit.opnfv.org/gerrit/p/joid.git Create a directory in ``joid/labconfig///`` and create or copy a ``labconfig.yaml`` configuration file to that directory. @@ -221,7 +221,7 @@ Example ``labconfig.yaml`` configuration file: release: d distro: xenial type: noha - openstack: ocata + openstack: pike sdncontroller: - type: nosdn storage: @@ -323,7 +323,7 @@ This section will guide you through the Juju an OPNFV deployment. This is the second of two JOID deployment steps. JOID allows you to deploy different combinations of OpenStack and SDN solutions -in HA or no-HA mode. For OpenStack, it supports Newton and Ocata. For SDN, it +in HA or no-HA mode. For OpenStack, it supports Pike and Ocata. For SDN, it supports Open vSwitch, OpenContrail, OpenDaylight and ONOS (Open Network Operating System). In addition to HA or no-HA mode, it also supports deploying the latest from the development tree (tip). @@ -334,10 +334,10 @@ script. For example: :: # in joid/ci directory - ./deploy.sh -d xenial -m openstack -o ocata -s nosdn -f none -t noha -l custom + ./deploy.sh -d xenial -m openstack -o pike -s nosdn -f none -t noha -l custom The above command starts an OPNFV deployment with Ubuntu Xenial (16.04) distro, -OpenStack model, Ocata version of OpenStack, Open vSwitch (and no other SDN), +OpenStack model, Pike version of OpenStack, Open vSwitch (and no other SDN), no special features, no-HA OpenStack mode and with custom labconfig. I.e. this corresponds to the ``os-nosdn-nofeature-noha`` OPNFV deployment scenario. @@ -373,20 +373,21 @@ corresponds to the ``os-nosdn-nofeature-noha`` OPNFV deployment scenario. **Version of Openstack deployed** :: - [-o ] + [-o ] - - ``newton``: Newton version of OpenStack. + - ``pike``: Pike version of OpenStack. - ``ocata``: Ocata version of OpenStack. **SDN controller** :: - [-s ] + [-s ] - ``nosdn``: Open vSwitch only and no other SDN. - ``odl``: OpenDayLight Boron version. - ``opencontrail``: OpenContrail SDN. - ``onos``: ONOS framework as SDN. + - ``cana;``: canal CNI plugin for kubernetes. **Feature to deploy** (comma separated list) :: @@ -400,6 +401,7 @@ corresponds to the ``os-nosdn-nofeature-noha`` OPNFV deployment scenario. - ``dpdk``: Will enable DPDK feature. - ``sfc``: Will enable sfc feature only supported with ONOS deployment. - ``lb``: Load balancing in case of Kubernetes will be enabled. + - ``ceph``: Ceph storage Kubernetes will be enabled. **Mode of Openstack deployed** :: @@ -553,7 +555,7 @@ The following are the common issues we have collected from the community: :: - ./deploy.sh -o newton -s nosdn -t ha -l custom -f none + ./deploy.sh -o pike -s nosdn -t ha -l custom -f none - If you have not setup MAAS with ``03-maasdeploy.sh`` then the ``./clean.sh`` command could hang, the ``juju status`` command may hang diff --git a/docs/release/installation/introduction.rst b/docs/release/installation/introduction.rst index 52e04f26..846792cf 100644 --- a/docs/release/installation/introduction.rst +++ b/docs/release/installation/introduction.rst @@ -5,7 +5,7 @@ JOID in brief ------------- JOID as *Juju OPNFV Infrastructure Deployer* allows you to deploy different combinations of OpenStack release and SDN solution in HA or non-HA mode. For -OpenStack, JOID currently supports Newton and Ocata. For SDN, it supports +OpenStack, JOID currently supports Ocata and Pike. For SDN, it supports Openvswitch, OpenContrail, OpenDayLight, and ONOS. In addition to HA or non-HA mode, it also supports deploying from the latest development tree. diff --git a/docs/release/installation/postinstall.rst b/docs/release/installation/postinstall.rst index 750ea4ad..3320ba05 100644 --- a/docs/release/installation/postinstall.rst +++ b/docs/release/installation/postinstall.rst @@ -67,7 +67,7 @@ OpenStack after deployment. :: - ./openstack.sh custom xenial newton + ./openstack.sh custom xenial pike Below commands are used to setup domain in heat. diff --git a/docs/release/release-notes/release-notes.rst b/docs/release/release-notes/release-notes.rst index 042dd0ee..5c1f1c16 100644 --- a/docs/release/release-notes/release-notes.rst +++ b/docs/release/release-notes/release-notes.rst @@ -1,4 +1,4 @@ -.. This work is licensed under a Creative Commons Attribution 4.0 International License. +/. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 .. (c) @@ -6,16 +6,16 @@ Abstract ======== -This document compiles the release notes for the Euphrates release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Euphrates release of OPNFV. +tool for the Fraser release of OPNFV. -The goal of the Euphrates release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure. @@ -25,18 +25,18 @@ OPNFV using JOID which is based on MAAS and Juju. Summary ======= -The Euphrates release with the JOID deployment toolchain will establish an OPNFV target system on a Pharos compliant lab infrastructure. -The current definition of an OPNFV target system is and OpenStack Newton combined with OpenDaylight Boron. +The Fraser release with the JOID deployment toolchain will establish an OPNFV target system on a Pharos compliant lab infrastructure. +The current definition of an OPNFV target system is and OpenStack Pike combined with OpenDaylight Boron. The system is deployed with OpenStack High Availability (HA) for most OpenStack services. -Ceph storage is used as Cinder backend, and is the only supported storage for Euphrates. Ceph is setup as 3 OSDs and 3 Monitors, one radosgw. +Ceph storage is used as Cinder backend, and is the only supported storage for Fraser. Ceph is setup as 3 OSDs and 3 Monitors, one radosgw. User has following choices to make to do the deployment. - - Openstack -- Newton + - Openstack -- Pike - Type -- HA, nonHA, tip (stable git branch of respective openstack) - - SDN controller -- OpenDaylight, nosdn(Openvswitch), Onos, OpenContrail - - Feature -- IPV6, DVR(distributed virtual routing), SFC(service function chaining odl only), BGPVPN(odl only), LB(Load Balancer for Kubernetes) + - SDN controller -- nosdn(Openvswitch), Onos, OpenContrail, Canal(k8), OVN (K8) + - Feature -- IPV6, DVR(distributed virtual routing), ceph(Kubernetes storage), LB(Load Balancer for Kubernetes) - Distro -- Xenial - Model -- Openstack, Kubernetes @@ -54,15 +54,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/euphrates | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Euphrates release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | December 15 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Euphrates release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -86,14 +86,14 @@ Version change Module version change ~~~~~~~~~~~~~~~~~~~~~ - - Euphrates release with the JOID deployment toolchain. - - OpenStack (Ocata release) + - Fraser release with the JOID deployment toolchain. + - OpenStack (Pike release) - Kubernetes 1.8 - Ubuntu 16.04 LTS Document version change ~~~~~~~~~~~~~~~~~~~~~~~ -- OPNFV Installation instructions for the Euphrates release using JOID deployment +- OPNFV Installation instructions for the Fraser release using JOID deployment toolchain - ver. 1.0.0 - OPNFV Release Notes with the JOID deployment toolchain - ver. 1.0.0 (this document) @@ -116,7 +116,7 @@ Feature additions +--------------------------------------+--------------------------------------+ | JIRA: JOID-106 | Kubernetes on Baremetal | +--------------------------------------+--------------------------------------+ -| JIRA: JOID-102 | Enable OpenStack Ocata | +| JIRA: | Enable OpenStack Pike | +--------------------------------------+--------------------------------------+ | | Enable OpenContrail | +--------------------------------------+--------------------------------------+ @@ -172,41 +172,49 @@ See JIRA: Scenario Releases ================= Name: joid-os-nosdn-nofeature-ha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-nofeature-ha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-nofeature-ha-baremetal-daily-fraser/ Notes: Name: joid-os-nosdn-lxd-ha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-fraser/ Notes: Name: joid-os-nosdn-lxd-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-fraser/ Notes: Name: joid-os-nosdn-nofeature-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-nofeature-noha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-nofeature-noha-baremetal-daily-fraser/ Notes: Name: joid-k8-nosdn-lb-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-nosdn-lb-noha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-nosdn-lb-noha-baremetal-daily-fraser/ Notes: Name: joid-k8-ovn-lb-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-ovn-lb-noha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-ovn-lb-noha-baremetal-daily-fraser/ Notes: Name: joid-os-ocl-nofeature-ha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-ocl-nofeature-ha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-ocl-nofeature-ha-baremetal-daily-fraser/ Notes: Name: joid-os-ocl-nofeature-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-ocl-nofeature-noha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-ocl-nofeature-noha-baremetal-daily-fraser/ +Notes: + +Name: joid-k8-canal-lb-noha +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-canal-lb-noha-baremetal-daily-fraser/ +Notes: + +Name: joid-k8-nosdn-lb_ceph-noha +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-nosdn-lb_ceph-noha-baremetal-daily-fraser/ Notes: References ========== -For more information on the OPNFV Euphrates release, please visit -- `OPNFV Euphrates release `_ +For more information on the OPNFV Fraser release, please visit +- `OPNFV Fraser release `_ Juju ---- @@ -221,12 +229,12 @@ MAAS JOID ---- - `OPNFV JOID wiki `_ -- `OPNFV Release Notes `_ +- `OPNFV Release Notes `_ - `OPNFV JOID Install Guide `_ OpenStack --------- -- `OpenStack Newton Release artifacts `_ +- `OpenStack Pike Release artifacts `_ - `OpenStack documentation `_ OpenDaylight diff --git a/docs/release/scenarios/k8-canal-lb-noha/index.rst b/docs/release/scenarios/k8-canal-lb-noha/index.rst new file mode 100644 index 00000000..ff273d4a --- /dev/null +++ b/docs/release/scenarios/k8-canal-lb-noha/index.rst @@ -0,0 +1,16 @@ +.. _k8-canal-lb-noha: + +.. This work is licensed under a Creative Commons Attribution 4.0 International Licence. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + +============================= +JOID Kubernetes Release Notes +============================= + +.. toctree:: + :numbered: + :maxdepth: 4 + + release-notes.rst + diff --git a/docs/release/scenarios/k8-canal-lb-noha/release-notes.rst b/docs/release/scenarios/k8-canal-lb-noha/release-notes.rst new file mode 100644 index 00000000..1248cf1c --- /dev/null +++ b/docs/release/scenarios/k8-canal-lb-noha/release-notes.rst @@ -0,0 +1,173 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + + +Abstract +======== + +This document compiles the release notes for the Fraser release of +OPNFV when using JOID as a deployment tool for Kubernetes with cancal CNI. + +Introduction +============ + +These notes provides release information for the use of joid as deployment +tool for the Fraser release of OPNFV for Kubernetes scenario. + +The goal of the Fraser release and this JOID based deployment process is +to establish a lab ready platform accelerating further development +of the OPNFV infrastructure for docker based workloads. + +Carefully follow the installation-instructions which guides a user to deploy +OPNFV using JOID which is based on MAAS and Juju. + +Summary +======= + +Kubernetes is an open-source system for automating deployment, scaling, and +management of containerized applications. + +This is a Kubernetes cluster that includes logging, monitoring, and operational +knowledge. It is comprised of the following components and features: + +Kubernetes (automated deployment, operations, and scaling) + TLS used for communication between nodes for security. + A CNI plugin (e.g., Canal) + Optional Ingress Controller (on worker) + Optional Dashboard addon (on master) including Heapster for cluster monitoring + +EasyRSA + Performs the role of a certificate authority serving self signed certificates + to the requesting units of the cluster. + +Etcd (distributed key value store) + Minimum Three node cluster for reliability. + +Fraser release with the JOID deployment with Kubernetes will establish an +OPNFV target system on a Pharos compliant lab infrastructure. + +NOTE: Detailed information on how to install in your lab can be find in installation guide +command to deploy lxd feature is: + +#Kubernetes deployment +./deploy.sh -m kubernetes -f lb -l custom -s canal + +Using Kubernetes after Deployment +================================= + +Once you have finished installinf the JOID with Kubernetes you can use the +following command to test the deployment. + +To deploy 5 replicas of the microbot web application inside the Kubernetes +cluster run the following command: + +juju run-action kubernetes-worker/0 microbot replicas=5 + +This action performs the following steps: + +It creates a deployment titled 'microbots' comprised of 5 replicas defined +during the run of the action. It also creates a service named 'microbots' +which binds an 'endpoint', using all 5 of the 'microbots' pods. +Finally, it will create an ingress resource, which points at a +xip.io domain to simulate a proper DNS service. + +Running the packaged example + +You can run a Juju action to create an example microbot web application: + +$ juju run-action kubernetes-worker/0 microbot replicas=3 +Action queued with id: db7cc72b-5f35-4a4d-877c-284c4b776eb8 + +$ juju show-action-output db7cc72b-5f35-4a4d-877c-284c4b776eb8 +results: + address: microbot.104.198.77.197.xip.io +status: completed +timing: + completed: 2016-09-26 20:42:42 +0000 UTC + enqueued: 2016-09-26 20:42:39 +0000 UTC + started: 2016-09-26 20:42:41 +0000 UTC +Note: Your FQDN will be different and contain the address of the cloud +instance. +At this point, you can inspect the cluster to observe the workload coming +online. + +Mor einformation on using Canonical distribution of kubernetes can be found +at https://jujucharms.com/canonical-kubernetes/ + +Release Data +============ + ++--------------------------------------+--------------------------------------+ +| **Project** | JOID | +| | | ++--------------------------------------+--------------------------------------+ +| **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | +| | opnfv-6.0.0 | ++--------------------------------------+--------------------------------------+ +| **Release designation** | Fraser release | +| | | ++--------------------------------------+--------------------------------------+ +| **Release date** | April 27 2018 | +| | | ++--------------------------------------+--------------------------------------+ +| **Purpose of the delivery** | Fraser release | +| | | ++--------------------------------------+--------------------------------------+ + +Deliverables +------------ + +Software deliverables +~~~~~~~~~~~~~~~~~~~~~ +`JOID based installer script files `_ + +Known Limitations, Issues and Workarounds +========================================= + +Known issues +------------ + +**JIRA TICKETS:** + ++--------------------------------------+--------------------------------------+ +| **JIRA REFERENCE** | **SLOGAN** | +| | | ++--------------------------------------+--------------------------------------+ +| JIRA: | No support for yardstick and functest| +| | for Kubernetes scenarios (OPNFV) | ++--------------------------------------+--------------------------------------+ +| JIRA: | | ++--------------------------------------+--------------------------------------+ + + +Scenario Releases +================= +Name: joid-k8-canal-lb-noha +Test Link: https://build.opnfv.org/ci/user/narindergupta/my-views/view/joid/job/joid-k8-canal-lb-noha-baremetal-daily-fraser/ +Notes: + +References +========== + +Juju +---- +- `Juju Charm store `_ +- `Juju documents `_ +- `Canonical Distibuytion of Kubernetes `_ + +MAAS +---- +- `Bare metal management (Metal-As-A-Service) `_ +- `MAAS API documents `_ + +JOID +---- +- `OPNFV JOID wiki `_ +- `OPNFV JOID Get Started `_ + +Kubernetes +---------- +- `Kubernetes Release artifacts `_ +- `Kubernetes documentation `_ + diff --git a/docs/release/scenarios/k8-nosdn-lb-noha/release-notes.rst b/docs/release/scenarios/k8-nosdn-lb-noha/release-notes.rst index a5ebd32d..6d49a3c6 100644 --- a/docs/release/scenarios/k8-nosdn-lb-noha/release-notes.rst +++ b/docs/release/scenarios/k8-nosdn-lb-noha/release-notes.rst @@ -6,17 +6,17 @@ Abstract ======== -This document compiles the release notes for the Danube release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool for Kubernets and load balancer. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Danube release of OPNFV for Kubernets and load balancer +tool for the Fraser release of OPNFV for Kubernets and load balancer scenario. -The goal of the Danube release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure for docker based workloads. @@ -46,7 +46,7 @@ EasyRSA Etcd (distributed key value store) Minimum Three node cluster for reliability. -Danube release with the JOID deployment with Kubernetes with load balancer will establish an +Fraser release with the JOID deployment with Kubernetes with load balancer will establish an OPNFV target system on a Pharos compliant lab infrastructure. NOTE: Detailed information on how to install in your lab can be find in installation guide @@ -105,15 +105,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/danube | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Danube release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | March 31 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Danube release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -146,7 +146,7 @@ Known issues Scenario Releases ================= Name: joid-k8-nosdn-lb-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-nosdn-lb-noha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-nosdn-lb-noha-baremetal-daily-fraser/ Notes: References diff --git a/docs/release/scenarios/k8-nosdn-lb_ceph-noha/index.rst b/docs/release/scenarios/k8-nosdn-lb_ceph-noha/index.rst new file mode 100644 index 00000000..b17b6282 --- /dev/null +++ b/docs/release/scenarios/k8-nosdn-lb_ceph-noha/index.rst @@ -0,0 +1,16 @@ +.. _k8-nosdn-lb_ceph-noha: + +.. This work is licensed under a Creative Commons Attribution 4.0 International Licence. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + +============================= +JOID Kubernetes Release Notes +============================= + +.. toctree:: + :numbered: + :maxdepth: 4 + + release-notes.rst + diff --git a/docs/release/scenarios/k8-nosdn-lb_ceph-noha/release-notes.rst b/docs/release/scenarios/k8-nosdn-lb_ceph-noha/release-notes.rst new file mode 100644 index 00000000..2d1c7913 --- /dev/null +++ b/docs/release/scenarios/k8-nosdn-lb_ceph-noha/release-notes.rst @@ -0,0 +1,174 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) + + +Abstract +======== + +This document compiles the release notes for the Fraser release of +OPNFV when using JOID as a deployment tool for Kubernetes with cancal CNI. + +Introduction +============ + +These notes provides release information for the use of joid as deployment +tool for the Fraser release of OPNFV for Kubernetes scenario. + +The goal of the Fraser release and this JOID based deployment process is +to establish a lab ready platform accelerating further development +of the OPNFV infrastructure for docker based workloads. + +Carefully follow the installation-instructions which guides a user to deploy +OPNFV using JOID which is based on MAAS and Juju. + +Summary +======= + +Kubernetes is an open-source system for automating deployment, scaling, and +management of containerized applications. + +This is a Kubernetes cluster that includes logging, monitoring, and operational +knowledge. It is comprised of the following components and features: + +Kubernetes (automated deployment, operations, and scaling) + TLS used for communication between nodes for security. + A CNI plugin (e.g., Canal) + Ceph based storage solution ( LXD container) + Optional Ingress Controller (on worker) + Optional Dashboard addon (on master) including Heapster for cluster monitoring + +EasyRSA + Performs the role of a certificate authority serving self signed certificates + to the requesting units of the cluster. + +Etcd (distributed key value store) + Minimum Three node cluster for reliability. + +Fraser release with the JOID deployment with Kubernetes will establish an +OPNFV target system on a Pharos compliant lab infrastructure. + +NOTE: Detailed information on how to install in your lab can be find in installation guide +command to deploy lxd feature is: + +#Kubernetes deployment +./deploy.sh -m kubernetes -f lb,ceph -l custom + +Using Kubernetes after Deployment +================================= + +Once you have finished installinf the JOID with Kubernetes you can use the +following command to test the deployment. + +To deploy 5 replicas of the microbot web application inside the Kubernetes +cluster run the following command: + +juju run-action kubernetes-worker/0 microbot replicas=5 + +This action performs the following steps: + +It creates a deployment titled 'microbots' comprised of 5 replicas defined +during the run of the action. It also creates a service named 'microbots' +which binds an 'endpoint', using all 5 of the 'microbots' pods. +Finally, it will create an ingress resource, which points at a +xip.io domain to simulate a proper DNS service. + +Running the packaged example + +You can run a Juju action to create an example microbot web application: + +$ juju run-action kubernetes-worker/0 microbot replicas=3 +Action queued with id: db7cc72b-5f35-4a4d-877c-284c4b776eb8 + +$ juju show-action-output db7cc72b-5f35-4a4d-877c-284c4b776eb8 +results: + address: microbot.104.198.77.197.xip.io +status: completed +timing: + completed: 2016-09-26 20:42:42 +0000 UTC + enqueued: 2016-09-26 20:42:39 +0000 UTC + started: 2016-09-26 20:42:41 +0000 UTC +Note: Your FQDN will be different and contain the address of the cloud +instance. +At this point, you can inspect the cluster to observe the workload coming +online. + +Mor einformation on using Canonical distribution of kubernetes can be found +at https://jujucharms.com/canonical-kubernetes/ + +Release Data +============ + ++--------------------------------------+--------------------------------------+ +| **Project** | JOID | +| | | ++--------------------------------------+--------------------------------------+ +| **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | +| | opnfv-6.0.0 | ++--------------------------------------+--------------------------------------+ +| **Release designation** | Fraser release | +| | | ++--------------------------------------+--------------------------------------+ +| **Release date** | April 27 2018 | +| | | ++--------------------------------------+--------------------------------------+ +| **Purpose of the delivery** | Fraser release | +| | | ++--------------------------------------+--------------------------------------+ + +Deliverables +------------ + +Software deliverables +~~~~~~~~~~~~~~~~~~~~~ +`JOID based installer script files `_ + +Known Limitations, Issues and Workarounds +========================================= + +Known issues +------------ + +**JIRA TICKETS:** + ++--------------------------------------+--------------------------------------+ +| **JIRA REFERENCE** | **SLOGAN** | +| | | ++--------------------------------------+--------------------------------------+ +| JIRA: | No support for yardstick and functest| +| | for Kubernetes scenarios (OPNFV) | ++--------------------------------------+--------------------------------------+ +| JIRA: | | ++--------------------------------------+--------------------------------------+ + + +Scenario Releases +================= +Name: joid-k8-nosdn-lb_ceph-noha +Test Link: https://build.opnfv.org/ci/user/narindergupta/my-views/view/joid/job/joid-k8-nosdn-lb_ceph-noha-baremetal-daily-fraser/ +Notes: + +References +========== + +Juju +---- +- `Juju Charm store `_ +- `Juju documents `_ +- `Canonical Distibuytion of Kubernetes `_ + +MAAS +---- +- `Bare metal management (Metal-As-A-Service) `_ +- `MAAS API documents `_ + +JOID +---- +- `OPNFV JOID wiki `_ +- `OPNFV JOID Get Started `_ + +Kubernetes +---------- +- `Kubernetes Release artifacts `_ +- `Kubernetes documentation `_ + diff --git a/docs/release/scenarios/k8-nosdn-nofeature-noha/release-notes.rst b/docs/release/scenarios/k8-nosdn-nofeature-noha/release-notes.rst index c9ad4364..ad356342 100644 --- a/docs/release/scenarios/k8-nosdn-nofeature-noha/release-notes.rst +++ b/docs/release/scenarios/k8-nosdn-nofeature-noha/release-notes.rst @@ -6,16 +6,16 @@ Abstract ======== -This document compiles the release notes for the Danube release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool for Kubernetes. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Danube release of OPNFV for Kubernetes scenario. +tool for the Fraser release of OPNFV for Kubernetes scenario. -The goal of the Danube release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure for docker based workloads. @@ -44,7 +44,7 @@ EasyRSA Etcd (distributed key value store) Minimum Three node cluster for reliability. -Danube release with the JOID deployment with Kubernetes will establish an +Fraser release with the JOID deployment with Kubernetes will establish an OPNFV target system on a Pharos compliant lab infrastructure. NOTE: Detailed information on how to install in your lab can be find in installation guide @@ -103,15 +103,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/danube | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Danube release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | March 31 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Danube release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -144,7 +144,7 @@ Known issues Scenario Releases ================= Name: joid-k8-nosdn-nofeature-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-nosdn-nofeature-noha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-nosdn-nofeature-noha-baremetal-daily-fraser/ Notes: References diff --git a/docs/release/scenarios/k8-ovn-lb-noha/release-notes.rst b/docs/release/scenarios/k8-ovn-lb-noha/release-notes.rst index 9e923745..2a0ba98f 100644 --- a/docs/release/scenarios/k8-ovn-lb-noha/release-notes.rst +++ b/docs/release/scenarios/k8-ovn-lb-noha/release-notes.rst @@ -6,17 +6,17 @@ Abstract ======== -This document compiles the release notes for the Euphrates release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool for Kubernets and load balancer. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Euphrates release of OPNFV for Kubernets and load balancer +tool for the Fraser release of OPNFV for Kubernets and load balancer scenario. -The goal of the Euphrates release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure for docker based workloads. @@ -46,7 +46,7 @@ EasyRSA Etcd (distributed key value store) Minimum Three node cluster for reliability. -Euphrates release with the JOID deployment with Kubernetes with load balancer will establish an +Fraser release with the JOID deployment with Kubernetes with load balancer will establish an OPNFV target system on a Pharos compliant lab infrastructure. NOTE: Detailed information on how to install in your lab can be find in installation guide @@ -105,15 +105,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/euphrates | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Euphrates release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | March 31 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Euphrates release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -146,7 +146,7 @@ Known issues Scenario Releases ================= Name: joid-k8-ovn-lb-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-ovn-lb-noha-baremetal-daily-euphrates/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-k8-ovn-lb-noha-baremetal-daily-fraser/ Notes: References diff --git a/docs/release/scenarios/os-nosdn-lxd-ha/release-notes.rst b/docs/release/scenarios/os-nosdn-lxd-ha/release-notes.rst index 96afbec0..7bfdc6dc 100644 --- a/docs/release/scenarios/os-nosdn-lxd-ha/release-notes.rst +++ b/docs/release/scenarios/os-nosdn-lxd-ha/release-notes.rst @@ -6,17 +6,17 @@ Abstract ======== -This document compiles the release notes for the Danube release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool with LXD container hypervisor. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Danube release of OPNFV with LXD hypervisor for containers +tool for the Fraser release of OPNFV with LXD hypervisor for containers scenario. -The goal of the Danube release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure. @@ -32,16 +32,16 @@ the container will look and feel like a regular VM – but will act like a container. LXD uses the same container technology found in the Linux kernel (cgroups, namespaces, LSM, etc). -Danube release with the JOID deployment with LXD hypervisor will establish an +Fraser release with the JOID deployment with LXD hypervisor will establish an OPNFV target system on a Pharos compliant lab infrastructure. -The current definition of an OPNFV target system is and OpenStack Newton combined +The current definition of an OPNFV target system is and OpenStack Pike combined with LXD Hypervisor. The system is deployed with OpenStack High Availability (HA) for most OpenStack services. User has following choices to make to do the deployment. - - Openstack -- Newton + - Openstack -- Pike - Type -- HA, nonHA, tip (stable git branch of respective openstack) - Feature -- LXD (container hypervisor) @@ -49,10 +49,10 @@ NOTE: Detailed information on how to install in your lab can be find in installa command to deploy lxd feature is: #LXD deployment with HA Openstack -./deploy.sh -o newton -f lxd -t ha -l custom -s nosdn +./deploy.sh -o pike -f lxd -t ha -l custom -s nosdn #LXD deployment with no HA Openstack -./deploy.sh -o newton -f lxd -t noha -l custom -s nosdn +./deploy.sh -o pike -f lxd -t noha -l custom -s nosdn Using LXD with Openstack ======================== @@ -79,15 +79,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/danube | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Danube release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | April 01 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Danube release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -120,11 +120,11 @@ Known issues Scenario Releases ================= Name: joid-os-nosdn-lxd-ha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-fraser/ Notes: Name: joid-os-nosdn-lxd-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-fraser/ Notes: References @@ -152,6 +152,6 @@ JOID OpenStack --------- -- `OpenStack Newton Release artifacts `_ +- `OpenStack Pike Release artifacts `_ - `OpenStack documentation `_ diff --git a/docs/release/scenarios/os-nosdn-lxd-noha/release-notes.rst b/docs/release/scenarios/os-nosdn-lxd-noha/release-notes.rst index 96afbec0..327736b9 100644 --- a/docs/release/scenarios/os-nosdn-lxd-noha/release-notes.rst +++ b/docs/release/scenarios/os-nosdn-lxd-noha/release-notes.rst @@ -6,17 +6,17 @@ Abstract ======== -This document compiles the release notes for the Danube release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool with LXD container hypervisor. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Danube release of OPNFV with LXD hypervisor for containers +tool for the Fraser release of OPNFV with LXD hypervisor for containers scenario. -The goal of the Danube release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure. @@ -32,16 +32,16 @@ the container will look and feel like a regular VM – but will act like a container. LXD uses the same container technology found in the Linux kernel (cgroups, namespaces, LSM, etc). -Danube release with the JOID deployment with LXD hypervisor will establish an +Fraser release with the JOID deployment with LXD hypervisor will establish an OPNFV target system on a Pharos compliant lab infrastructure. -The current definition of an OPNFV target system is and OpenStack Newton combined +The current definition of an OPNFV target system is and OpenStack Pike combined with LXD Hypervisor. The system is deployed with OpenStack High Availability (HA) for most OpenStack services. User has following choices to make to do the deployment. - - Openstack -- Newton + - Openstack -- Pike - Type -- HA, nonHA, tip (stable git branch of respective openstack) - Feature -- LXD (container hypervisor) @@ -49,10 +49,10 @@ NOTE: Detailed information on how to install in your lab can be find in installa command to deploy lxd feature is: #LXD deployment with HA Openstack -./deploy.sh -o newton -f lxd -t ha -l custom -s nosdn +./deploy.sh -o pike -f lxd -t ha -l custom -s nosdn #LXD deployment with no HA Openstack -./deploy.sh -o newton -f lxd -t noha -l custom -s nosdn +./deploy.sh -o pike -f lxd -t noha -l custom -s nosdn Using LXD with Openstack ======================== @@ -79,15 +79,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/danube | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Danube release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | April 01 2017 | +| **Release date** | April 30 2019 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Danube release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -120,11 +120,11 @@ Known issues Scenario Releases ================= Name: joid-os-nosdn-lxd-ha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-fraser/ Notes: Name: joid-os-nosdn-lxd-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-fraser/ Notes: References @@ -152,6 +152,6 @@ JOID OpenStack --------- -- `OpenStack Newton Release artifacts `_ +- `OpenStack Pike Release artifacts `_ - `OpenStack documentation `_ diff --git a/docs/release/scenarios/os-nosdn-nofeature-ha/release-notes.rst b/docs/release/scenarios/os-nosdn-nofeature-ha/release-notes.rst index 974b7981..a13397e9 100644 --- a/docs/release/scenarios/os-nosdn-nofeature-ha/release-notes.rst +++ b/docs/release/scenarios/os-nosdn-nofeature-ha/release-notes.rst @@ -6,17 +6,17 @@ Abstract ======== -This document compiles the release notes for the Danube release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool with KVM hypervisor. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Danube release of OPNFV with KVM hypervisor for containers +tool for the Fraser release of OPNFV with KVM hypervisor for containers scenario. -The goal of the Danube release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure. @@ -31,16 +31,16 @@ for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD- It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. -Danube release with the JOID deployment with KVM hypervisor will establish an +Fraser release with the JOID deployment with KVM hypervisor will establish an OPNFV target system on a Pharos compliant lab infrastructure. -The current definition of an OPNFV target system is and OpenStack Newton. +The current definition of an OPNFV target system is and OpenStack Pike. The system is deployed with OpenStack High Availability (HA) for most OpenStack services. User has following choices to make to do the deployment. - - Openstack -- Newton + - Openstack -- Pike - Type -- HA, nonHA, tip (stable git branch of respective openstack) - Feature -- KVM (hypervisor) @@ -48,10 +48,10 @@ NOTE: Detailed information on how to install in your lab can be find in installa command to deploy lxd feature is: #KVM deployment with HA Openstack -./deploy.sh -o newton -f none -t ha -l custom -s nosdn +./deploy.sh -o pike -f none -t ha -l custom -s nosdn #LXD deployment with no HA Openstack -./deploy.sh -o newton -f none -t noha -l custom -s nosdn +./deploy.sh -o pike -f none -t noha -l custom -s nosdn Using Openstack =============== @@ -68,15 +68,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/danube | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Danube release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | April 01 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Danube release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -106,11 +106,11 @@ Known issues Scenario Releases ================= Name: joid-os-nosdn-lxd-ha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-fraser/ Notes: Name: joid-os-nosdn-lxd-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-fraser/ Notes: References @@ -137,6 +137,6 @@ JOID OpenStack --------- -- `OpenStack Newton Release artifacts `_ +- `OpenStack Pike Release artifacts `_ - `OpenStack documentation `_ diff --git a/docs/release/scenarios/os-nosdn-nofeature-noha/release-notes.rst b/docs/release/scenarios/os-nosdn-nofeature-noha/release-notes.rst index 974b7981..a13397e9 100644 --- a/docs/release/scenarios/os-nosdn-nofeature-noha/release-notes.rst +++ b/docs/release/scenarios/os-nosdn-nofeature-noha/release-notes.rst @@ -6,17 +6,17 @@ Abstract ======== -This document compiles the release notes for the Danube release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool with KVM hypervisor. Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Danube release of OPNFV with KVM hypervisor for containers +tool for the Fraser release of OPNFV with KVM hypervisor for containers scenario. -The goal of the Danube release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure. @@ -31,16 +31,16 @@ for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD- It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko. -Danube release with the JOID deployment with KVM hypervisor will establish an +Fraser release with the JOID deployment with KVM hypervisor will establish an OPNFV target system on a Pharos compliant lab infrastructure. -The current definition of an OPNFV target system is and OpenStack Newton. +The current definition of an OPNFV target system is and OpenStack Pike. The system is deployed with OpenStack High Availability (HA) for most OpenStack services. User has following choices to make to do the deployment. - - Openstack -- Newton + - Openstack -- Pike - Type -- HA, nonHA, tip (stable git branch of respective openstack) - Feature -- KVM (hypervisor) @@ -48,10 +48,10 @@ NOTE: Detailed information on how to install in your lab can be find in installa command to deploy lxd feature is: #KVM deployment with HA Openstack -./deploy.sh -o newton -f none -t ha -l custom -s nosdn +./deploy.sh -o pike -f none -t ha -l custom -s nosdn #LXD deployment with no HA Openstack -./deploy.sh -o newton -f none -t noha -l custom -s nosdn +./deploy.sh -o pike -f none -t noha -l custom -s nosdn Using Openstack =============== @@ -68,15 +68,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/danube | +| | opnfv-6.0.0 | +--------------------------------------+--------------------------------------+ -| **Release designation** | Danube release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | April 01 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Danube release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -106,11 +106,11 @@ Known issues Scenario Releases ================= Name: joid-os-nosdn-lxd-ha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-ha-baremetal-daily-fraser/ Notes: Name: joid-os-nosdn-lxd-noha -Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-danube/ +Test Link: https://build.opnfv.org/ci/view/joid/job/joid-os-nosdn-lxd-noha-baremetal-daily-fraser/ Notes: References @@ -137,6 +137,6 @@ JOID OpenStack --------- -- `OpenStack Newton Release artifacts `_ +- `OpenStack Pike Release artifacts `_ - `OpenStack documentation `_ diff --git a/docs/release/scenarios/os-nosdn-openbaton-ha/release-notes.rst b/docs/release/scenarios/os-nosdn-openbaton-ha/release-notes.rst index da55e4ce..30de5976 100644 --- a/docs/release/scenarios/os-nosdn-openbaton-ha/release-notes.rst +++ b/docs/release/scenarios/os-nosdn-openbaton-ha/release-notes.rst @@ -6,7 +6,7 @@ Abstract ======== -This document compiles the release notes for the Euphrates release of +This document compiles the release notes for the Fraser release of OPNFV when using JOID as a deployment tool with the Open Baton NFV MANO framework provided by the OPNFV orchestra project. @@ -14,10 +14,10 @@ Introduction ============ These notes provides release information for the use of joid as deployment -tool for the Euphrates release of OPNFV for orchestra +tool for the Fraser release of OPNFV for orchestra scenario. -The goal of the Euphrates release and this JOID based deployment process is +The goal of the Fraser release and this JOID based deployment process is to establish a lab ready platform accelerating further development of the OPNFV infrastructure. @@ -32,16 +32,16 @@ Open Baton is the result of an agile design process having as major objective th of an extensible and customizable framework capable of orchestrating network services across heterogeneous NFV Infrastructures. -Euphrates release with the JOID deployment enables deployment of orchestra +Fraser release with the JOID deployment enables deployment of orchestra on a Pharos compliant lab infrastructure. -The current definition of an OPNFV target system is based on OpenStack Ocata. +The current definition of an OPNFV target system is based on OpenStack Pike. The system is deployed with OpenStack High Availability (HA) for most OpenStack services. User has following choices to make to do the deployment. - - Openstack -- Ocata + - Openstack -- Pike - Type -- HA, nonHA, tip (stable git branch of respective openstack) - Feature -- Open Baton (NFV MANO framework) @@ -49,10 +49,10 @@ NOTE: Detailed information on how to install in your lab can be find in installa command to deploy orchestra feature is: #Orchestra deployment with no HA Openstack -./deploy.sh -o ocata -m openstack -f openbaton -s nosdn -t nonha +./deploy.sh -o pike -m openstack -f openbaton -s nosdn -t nonha #Orchestra deployment with no HA Openstack -./deploy.sh -o ocata -m openstack -f openbaton -s nosdn -t ha +./deploy.sh -o pike -m openstack -f openbaton -s nosdn -t ha Using Openstack @@ -76,15 +76,15 @@ Release Data | | | +--------------------------------------+--------------------------------------+ | **Repo/tag** | gerrit.opnfv.org/gerrit/joid.git | -| | stable/euphrates | +| | stable/hrates | +--------------------------------------+--------------------------------------+ -| **Release designation** | Euphrates release | +| **Release designation** | Fraser release | | | | +--------------------------------------+--------------------------------------+ -| **Release date** | October 24 2017 | +| **Release date** | April 27 2018 | | | | +--------------------------------------+--------------------------------------+ -| **Purpose of the delivery** | Euphrates release | +| **Purpose of the delivery** | Fraser release | | | | +--------------------------------------+--------------------------------------+ @@ -115,7 +115,7 @@ Scenario Releases ================= Name: os-nosdn-openbaton-ha -Test Link: https://build.opnfv.org/ci/job/joid-deploy-baremetal-daily-euphrates +Test Link: https://build.opnfv.org/ci/job/joid-deploy-baremetal-daily-hrates Notes: References @@ -142,11 +142,11 @@ JOID OpenStack --------- -- `OpenStack Newton Release artifacts `_ +- `OpenStack Release artifacts `_ - `OpenStack documentation `_ Orchestra --------- -- `Orchestra Release Notes `_ +- `Orchestra Release Notes `_ - `Open Baton documentation `_ diff --git a/docs/release/userguide/userguide.rst b/docs/release/userguide/userguide.rst index 63911a0e..5b829f02 100644 --- a/docs/release/userguide/userguide.rst +++ b/docs/release/userguide/userguide.rst @@ -1,7 +1,7 @@ Introduction ============ -This document will explain how to install OPNFV Euphrates with JOID including installing JOID, configuring JOID for your environment, and deploying OPNFV with different SDN solutions in HA, or non-HA mode. Prerequisites include +This document will explain how to install OPNFV Fraser with JOID including installing JOID, configuring JOID for your environment, and deploying OPNFV with different SDN solutions in HA, or non-HA mode. Prerequisites include - An Ubuntu 16.04 LTS Server Jumphost - Minimum 2 Networks per Pharos requirement @@ -172,7 +172,7 @@ opnfv: release: d distro: xenial type: noha - openstack: newton + openstack: pike sdncontroller: - type: nosdn storage: @@ -227,11 +227,11 @@ HA or non-HA mode. For OpenStack, it supports Juno and Liberty. For SDN, it supp vSwitch, OpenContrail, OpenDaylight and ONOS (Open Network Operating System). In addition to HA or non-HA mode, it also supports deploying the latest from the development tree (tip). -The deploy.sh script in the joid/ci directoy will do all the work for you. For example, the following deploys OpenStack Newton with OpenvSwitch in a HA mode. +The deploy.sh script in the joid/ci directoy will do all the work for you. For example, the following deploys OpenStack Pike with OpenvSwitch in a HA mode. :: - ~/joid/ci$ ./deploy.sh -o newton -s nosdn -t ha -l custom -f none -m openstack + ~/joid/ci$ ./deploy.sh -o pike -s nosdn -t ha -l custom -f none -m openstack The deploy.sh script in the joid/ci directoy will do all the work for you. For example, the following deploys Kubernetes with Load balancer on the pod. @@ -251,8 +251,8 @@ Take a look at the deploy.sh script. You will find we support the following for ha: HA mode of OpenStack. tip: The tip of the development. [-o] - mitak: OpenStack Mitaka version. - newton: OpenStack Newton version. + ocata: OpenStack Ocata version. + pike: OpenStack Pike version. [-l] default: For virtual deployment where installation will be done on KVM created using ./03-maasdeploy.sh custom: Install on bare metal OPNFV defined by labconfig.yaml @@ -417,7 +417,7 @@ The following are the common issues we have collected from the community: :: - ./deploy.sh -o newton -s nosdn -t ha -l custom -f none + ./deploy.sh -o pike -s nosdn -t ha -l custom -f none - If you have setup maas not with 03-maasdeploy.sh then the ./clean.sh command could hang, the juju status command may hang because the correct MAAS API keys are not mentioned in diff --git a/juju/get-cloud-images b/juju/get-cloud-images index 9711b793..5e3d7606 100755 --- a/juju/get-cloud-images +++ b/juju/get-cloud-images @@ -16,16 +16,13 @@ fi if grep -q 'virt-type: lxd' bundles.yaml; then URLS=" \ - http://download.cirros-cloud.net/daily/20161201/cirros-dl161201-$NODE_ARCTYPE-lxc.tar.gz \ - http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-$NODE_ARCHES-root.tar.gz " - -else - URLS=" \ + http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-$NODE_ARCTYPE-lxc.tar.gz \ + http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-$NODE_ARCHES-root.tar.gz \ http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-$NODE_ARCHES-uefi1.img \ http://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-$NODE_ARCHES-uefi1.img \ http://mirror.catn.com/pub/catn/images/qcow2/centos6.4-x86_64-gold-master.img \ http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 \ - http://download.cirros-cloud.net/daily/20161201/cirros-dl161201-$NODE_ARCTYPE-disk.img " + http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-$NODE_ARCTYPE-disk.img \ fi for URL in $URLS diff --git a/labconfig/kontron/labconfig.yaml b/labconfig/kontron/labconfig.yaml new file mode 100644 index 00000000..7d4e241e --- /dev/null +++ b/labconfig/kontron/labconfig.yaml @@ -0,0 +1,141 @@ +lab: + location: kontron + racks: + - rack: pod1 + nodes: + - name: rack-1-s3-c1 + architecture: x86_64 + roles: [network,control] + nics: + - ifname: intf1 + spaces: [admin] + mac: ["00:a0:a5:9a:d7:26"] + - ifname: intf2 + spaces: [] + mac: ["00:a0:a5:9a:d7:24"] + - ifname: intf2.30 + spaces: [floating] + mac: ["00:a0:a5:9a:d7:24"] + - ifname: intf2.10 + spaces: [data] + mac: ["00:a0:a5:9a:d7:24"] + power: + type: ipmi + address: 192.168.101.13 + user: admin + pass: admin + - name: rack-1-s4-c1 + architecture: x86_64 + roles: [compute,control,storage] + nics: + - ifname: intf1 + spaces: [admin] + mac: ["00:a0:a5:9a:d7:20"] + - ifname: intf2 + spaces: [] + mac: ["00:a0:a5:9a:d7:1e"] + - ifname: intf2.30 + spaces: [floating] + mac: ["00:a0:a5:9a:d7:1e"] + - ifname: intf2.10 + spaces: [data] + mac: ["00:a0:a5:9a:d7:1e"] + power: + type: ipmi + address: 192.168.101.14 + user: admin + pass: admin + - name: rack-1-s5-c1 + architecture: x86_64 + roles: [compute,storage] + nics: + - ifname: intf1 + spaces: [admin] + mac: ["00:a0:a5:9a:f1:50"] + - ifname: intf2 + spaces: [] + mac: ["00:a0:a5:9a:f1:4e"] + - ifname: intf2.30 + spaces: [floating] + mac: ["00:a0:a5:9a:f1:4e"] + - ifname: intf2.10 + spaces: [data] + mac: ["00:a0:a5:9a:f1:4e"] + power: + type: ipmi + address: 192.168.101.15 + user: admin + pass: admin + - name: rack-1-s6-c1 + architecture: x86_64 + roles: [compute,storage] + nics: + - ifname: intf1 + spaces: [admin] + mac: ["00:a0:a5:9b:00:b0"] + - ifname: intf2 + spaces: [] + mac: ["00:a0:a5:9b:00:ae"] + - ifname: intf2.30 + spaces: [floating] + mac: ["00:a0:a5:9b:00:ae"] + - ifname: intf2.10 + spaces: [data] + mac: ["00:a0:a5:9b:00:ae"] + power: + type: ipmi + address: 192.168.101.16 + user: admin + pass: admin + - name: rack-1-s7-c1 + architecture: x86_64 + roles: [compute,control,storage] + nics: + - ifname: intf1 + spaces: [admin] + mac: ["00:a0:a5:9b:05:7a"] + - ifname: intf2 + spaces: [] + mac: ["00:a0:a5:9b:05:78"] + - ifname: intf2.30 + spaces: [floating] + mac: ["00:a0:a5:9b:05:78"] + - ifname: intf2.10 + spaces: [data] + mac: ["00:a0:a5:9b:05:78"] + power: + type: ipmi + address: 192.168.101.17 + user: admin + pass: admin + floating-ip-range: 10.10.3.40,10.10.3.250,10.10.3.1,10.10.3.0/24 + ext-port: "intf2.30" + dns: 8.8.8.8 + osdomainname: +opnfv: + release: f + distro: xenial + type: noha + openstack: pike + sdncontroller: + - type: nosdn + storage: + - type: ceph + disk: /dev/sdb + feature: odl_l2 + spaces: + - type: admin + bridge: brAdmin + cidr: 10.10.0.0/24 + gateway: 10.10.0.1 + vlan: + - type: floating + bridge: brExt + cidr: 10.10.3.0/24 + gateway: 10.10.3.1 + vlan: 30 + - type: data + bridge: brData + cidr: 10.10.1.0/24 + gateway: + vlan: 10