joid.git
7 years agomodified to correct the URL. Mysql parameter changes as 07/40707/2
Narinder Gupta [Wed, 30 Aug 2017 16:19:09 +0000 (11:19 -0500)]
modified to correct the URL. Mysql parameter changes as
per charm team recommendation.

Change-Id: I34383c739df58c3e20968b324f71a819952dfbde
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agochange the charm version to latest for rados-gw as well. 05/40705/1
Narinder Gupta [Wed, 30 Aug 2017 14:49:23 +0000 (09:49 -0500)]
change the charm version to latest for rados-gw as well.

Change-Id: I6067eb2a14fed494f7f68a47c9cce7e7f849128d
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodfiied as per new requirements in the functest. 11/40411/1
Narinder Gupta [Mon, 28 Aug 2017 13:46:28 +0000 (08:46 -0500)]
modfiied as per new requirements in the functest.

Change-Id: I86866f2564e122f1d001706964096602665e10e3
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "Add Nokia pod 1 deployment config and details"
Narinder Gupta [Mon, 28 Aug 2017 11:59:27 +0000 (11:59 +0000)]
Merge "Add Nokia pod 1 deployment config and details"

7 years agoAdd Nokia pod 1 deployment config and details 75/40375/2
Martin Kulhavy [Mon, 28 Aug 2017 09:53:17 +0000 (12:53 +0300)]
Add Nokia pod 1 deployment config and details

Change-Id: Iafc0172dea008611a3251ee8adfe56218e4c32b1
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoAdd an example and blank labconfig files 81/40381/1
Martin Kulhavy [Mon, 28 Aug 2017 10:09:54 +0000 (13:09 +0300)]
Add an example and blank labconfig files

The currently available labconfig files may be confusing and are little
documented. There should be one example config file which is kept
up-to-date and well commented.

Change-Id: Ic765f647ded25ea43cc601153fde9eee9c233790
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoadded OS_REGION_NAME 97/40297/1
Narinder Gupta [Sat, 26 Aug 2017 03:34:58 +0000 (22:34 -0500)]
added OS_REGION_NAME

Change-Id: Ic1de594408773430d7d4656465575f79dc0cb781
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "Create new consolidated documentation for JOID"
Narinder Gupta [Fri, 25 Aug 2017 18:47:29 +0000 (18:47 +0000)]
Merge "Create new consolidated documentation for JOID"

7 years agomodified to use correct VIP address for internet api. 73/40273/1
Narinder Gupta [Fri, 25 Aug 2017 18:45:59 +0000 (13:45 -0500)]
modified to use correct VIP address for internet api.

Change-Id: I75fb70280b73feecf00fe8400c1e57f7ea3f3a4d
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoCreate new consolidated documentation for JOID 59/40259/1
Martin Kulhavy [Fri, 25 Aug 2017 14:19:45 +0000 (17:19 +0300)]
Create new consolidated documentation for JOID

The current documentation contains many different versions, which
overlap and partly contradict each other. This makes it very hard for
people with no experience with JOID to deploy it for the first time.

This commit tries to create a new docs structure, merging information
currently spread across different files, while at the same time updating
the information and adding new hints based on the experience deploying
JOID in our lab.

The new docs structure is inspired by and tries to follow the docs
structure used for the APEX installer.

As a next step after finalizing this transformation, the other
overlapping docs directories shall be removed

Change-Id: I7075ea48565a7bd509321a532f1173cffd24cdbc
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agomake sure master charm in kubernetes resolved before we are 25/40025/1
Narinder Gupta [Wed, 23 Aug 2017 18:11:15 +0000 (13:11 -0500)]
make sure master charm in kubernetes resolved before we are
 testing

Change-Id: I5da42ff08acfcdcf3049b5facd9dc2f9146a035e
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agofixed the typo. 93/39893/1
Narinder Gupta [Tue, 22 Aug 2017 17:50:14 +0000 (12:50 -0500)]
fixed the typo.

Change-Id: I3820782985f7a8dc2474db8f89ba86ef2b031d1f
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoChanged $ROLES to explicit list to avoid some bash issue 91/39891/1
Stuart Mackie [Tue, 22 Aug 2017 16:36:02 +0000 (09:36 -0700)]
Changed $ROLES to explicit list to avoid some bash issue

Change-Id: I512f1717705bf208bb847612abd41c82c13af644
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
7 years agoremoving the public gateway addition code as it was added because 89/39889/4
Narinder Gupta [Tue, 22 Aug 2017 16:05:41 +0000 (11:05 -0500)]
removing the public gateway addition code as it was added because
ealier juju was not supported with multiple network space.

Change-Id: I9fc3017c90b8ecdf9a6a1563056dad37d995ca0e
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMove tools.sh to ci/common dir 63/39863/1
Martin Kulhavy [Tue, 22 Aug 2017 11:07:07 +0000 (14:07 +0300)]
Move tools.sh to ci/common dir

This file is only sourced by other script and is not meant to be
executed (contains only functions).

Change-Id: I41253b73f720e4b7e987c5164901253c7e51ee8b
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoadded the role swiftoperator as functest tempest test case 09/39809/1
Narinder Gupta [Mon, 21 Aug 2017 17:25:07 +0000 (12:25 -0500)]
added the role swiftoperator as functest tempest test case
expect the same.

Change-Id: I7e03c9e527a0fc10c4c4aefdfd31492039d0b7bb
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoRemove unused function arguments 69/39769/1
Martin Kulhavy [Mon, 21 Aug 2017 13:17:57 +0000 (16:17 +0300)]
Remove unused function arguments

Change-Id: I2865175d28e53a9582101612996fb06abe62458b
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agotry to match the admin-openrc as per functest latest. 65/39765/2
Narinder Gupta [Mon, 21 Aug 2017 13:11:02 +0000 (08:11 -0500)]
try to match the admin-openrc as per functest latest.

Change-Id: Ib2674038f82ae2825544149b7b88ee5ba8cb7d22
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoAdd a script to create proxies to dashboards 81/39681/3
Martin Kulhavy [Sun, 20 Aug 2017 21:30:40 +0000 (00:30 +0300)]
Add a script to create proxies to dashboards

A script to create virtual hosts in Apache2 to proxy communication to
the web dashboards/consoles which might be on private networks. In case
of frequent access to these services, this approach is simpler than
using SSH tunneling each time.
Additionally, this script creates a customized homepage for the jumphost
with links to the dashboards and information about the credentials.

Change-Id: I2c9e17a95fa480095a4baba6bd990628bc73e053
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoMerge "check if maas exist the only delete pod."
Narinder Gupta [Fri, 18 Aug 2017 16:31:05 +0000 (16:31 +0000)]
Merge "check if maas exist the only delete pod."

7 years agoMove help usage information to beginning of script 93/39593/1
Martin Kulhavy [Fri, 18 Aug 2017 14:43:49 +0000 (17:43 +0300)]
Move help usage information to beginning of script

If user requests the usage information (e.g. with `--help` argument),
the information should be displayed right away. Currently the script
first runs updates and installs of dependencies, which can take very
long time.

Change-Id: If5a75a98876ddeeb580764d823a11331ee8e9faf
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agocheck if maas exist the only delete pod. 77/39577/1
Narinder Gupta [Fri, 18 Aug 2017 09:59:12 +0000 (04:59 -0500)]
check if maas exist the only delete pod.

Change-Id: Id7a75e7edee830913174689a458fccb7522e6639
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to do error checking 61/39561/2
Narinder Gupta [Fri, 18 Aug 2017 01:07:09 +0000 (20:07 -0500)]
modified to do error checking

Change-Id: I1292f0e6a9ba63965fe13229f11ebfdc914bd7b1
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agodelete pod if exist during maas deployment. 43/39543/1
narindergupta [Thu, 17 Aug 2017 19:23:32 +0000 (14:23 -0500)]
delete pod if exist during maas deployment.

Change-Id: Id045671934696ff96d46079c0f1a8e0ea2a172c2
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoinclude ODL space in the bundle. 39/39539/1
narindergupta [Thu, 17 Aug 2017 18:25:18 +0000 (13:25 -0500)]
include ODL space in the bundle.

Change-Id: I9e25eab9eca7ab1a944cdf9ca83507b7666583b9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoadding th elong option as command line. 19/39519/5
narindergupta [Thu, 17 Aug 2017 15:38:42 +0000 (10:38 -0500)]
adding th elong option as command line.

Change-Id: Ibe20b737a0ea9a6afc27ae490d8ff1ce6f61a5c0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "fix cpu model for aarch64 kvm"
Narinder Gupta [Thu, 17 Aug 2017 14:08:47 +0000 (14:08 +0000)]
Merge "fix cpu model for aarch64 kvm"

7 years agocleanup and remove unnecessary code. 03/39503/1
Narinder Gupta [Thu, 17 Aug 2017 12:28:10 +0000 (07:28 -0500)]
cleanup and remove unnecessary code.

Change-Id: Idace8f5b31479dbcd8040fc41ee20e3a70b0cc8a
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoadding the formating correctly. 67/39467/1
Narinder Gupta [Thu, 17 Aug 2017 04:32:58 +0000 (23:32 -0500)]
adding the formating correctly.

Change-Id: Ief2012b454c2f8285c75c9234841d0d704cc2d17
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to setup contraints on single bindin space charms. 65/39465/1
Narinder Gupta [Thu, 17 Aug 2017 03:25:33 +0000 (22:25 -0500)]
modified to setup contraints on single bindin space charms.

Change-Id: Ied886a0865a637ac206a831c7ce98933c600e5e7
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoadding space variable for K8 scenarios. 57/39457/1
narindergupta [Thu, 17 Aug 2017 01:50:37 +0000 (20:50 -0500)]
adding space variable for K8 scenarios.

Change-Id: If64c8af0b232c4ab126035b7a3fe266d86f232c9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to add the opensack api on seperate network. 53/39453/2
narindergupta [Thu, 17 Aug 2017 01:29:25 +0000 (20:29 -0500)]
modified to add the opensack api on seperate network.

Change-Id: I8e909778cf50bc93118b68cfc2282c113fb7d7be
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodfied to use lxd/nodes/0 for classic. 47/39447/1
narindergupta [Wed, 16 Aug 2017 18:32:59 +0000 (13:32 -0500)]
modfied to use lxd/nodes/0 for classic.

Change-Id: I36cd18fbd595d507cf09148a2c4a442b24b9cf3b
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agofix cpu model for aarch64 kvm 87/39387/2
Di Xu [Wed, 16 Aug 2017 04:55:24 +0000 (12:55 +0800)]
fix cpu model for aarch64 kvm

CPU mode 'host-model' for aarch64 kvm domain is not supported by hypervisor

refer to issue #1673467 (https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1673467)

Change-Id: Idad0a4a19a801200b5f87d43e2a62b21833ab6b1
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agomodfied to use the default internal endpoint. 75/39375/1
Narinder Gupta [Wed, 16 Aug 2017 02:19:07 +0000 (21:19 -0500)]
modfied to use the default internal endpoint.

Change-Id: Iff2b0feacd6597d7dd7d6f6037dfa135bb0a6704
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified ceilometer to have one plublic and internal API accordingly 73/39373/1
Narinder Gupta [Wed, 16 Aug 2017 02:00:38 +0000 (21:00 -0500)]
modified ceilometer to have one plublic and internal API accordingly

Change-Id: I86db6d084b7107300ba984792dc679fc947675b9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified templates and added variable to easlity understand the 61/39361/4
Narinder Gupta [Tue, 15 Aug 2017 18:28:22 +0000 (13:28 -0500)]
modified templates and added variable to easlity understand the
templates and added support for multiple networks.

Change-Id: I1074c722c9007bd12c711dbfc58afa1a098d2a17
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoSimplify argument parsing and add usage info 55/39355/2
Martin Kulhavy [Tue, 15 Aug 2017 15:18:48 +0000 (18:18 +0300)]
Simplify argument parsing and add usage info

The code for initial parsing of the script arguments was simplified and
added better checks of the arguments. For clearer information, usage
information can be printed out.

Pod special cases were removed (can be directly specified using custom).

Change-Id: I42ca0ed703d5062f6deae74aa931513c235e2898
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoImprove and highlight logging to console (2) 47/39347/1
Martin Kulhavy [Tue, 15 Aug 2017 13:04:11 +0000 (16:04 +0300)]
Improve and highlight logging to console (2)

xtrace produces a lot of output that can be hard to read. This commit
uses extra functions for formatted output (info and error),
so that they stand out in the log and make it easier for the user to
understand what is currently happening.

Building up on change #38909: https://gerrit.opnfv.org/gerrit/38909

Change-Id: I0ddf9e0d3a12a62ae45c56d33a8d48c335b618a0
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoadjusting the timeout while reading status. 91/39291/3
Narinder Gupta [Mon, 14 Aug 2017 21:42:21 +0000 (16:42 -0500)]
adjusting the timeout while reading status.

Change-Id: I26829677f4688e75edf607b2fcd839385523c5aa
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to have cph monitor in rados gateway. 89/39289/1
Narinder Gupta [Mon, 14 Aug 2017 20:54:37 +0000 (15:54 -0500)]
modified to have cph monitor in rados gateway.

Change-Id: Ib145e4f83941754e797916e211e032df30a30e2e
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoAdding the support of management netwok for pxe boot only. 83/39283/1
Narinder Gupta [Mon, 14 Aug 2017 19:52:56 +0000 (14:52 -0500)]
Adding the support of management netwok for pxe boot only.

Change-Id: Ice8bcbc26003efd53c50972742a53c7858e8deec
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to have better logic and by default fallback to amd64. 79/39279/1
Narinder Gupta [Mon, 14 Aug 2017 18:57:21 +0000 (13:57 -0500)]
modified to have better logic and by default fallback to amd64.

Change-Id: I161c544130b512a3715973f10a27335c29c8bd86
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoAdding the storage space support in case it is defined. 77/39277/1
Narinder Gupta [Mon, 14 Aug 2017 17:15:13 +0000 (12:15 -0500)]
Adding the storage space support in case it is defined.

Change-Id: Ic394674dd026f834dcee0db566dff7c654a2dba3
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoAdding port 5240 along with MAAS_URL needed for non x86 57/39157/1
Narinder Gupta [Sat, 12 Aug 2017 00:32:44 +0000 (19:32 -0500)]
Adding port 5240 along with MAAS_URL needed for non x86
architecture.

Change-Id: Ia30ced70185d3f42529f49621f46e539c8c006e6
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoremove precise image upload which is not supported anymore. 37/39137/1
Narinder Gupta [Fri, 11 Aug 2017 12:58:50 +0000 (07:58 -0500)]
remove precise image upload which is not supported anymore.

Change-Id: I221e5617145848ff425161ed9bdd89001e4d76f7
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoSwitched to correct installation method for docker in clearwater deployment scripts 87/39087/1
AakashKT [Thu, 10 Aug 2017 18:11:35 +0000 (23:41 +0530)]
Switched to correct installation method for docker in clearwater deployment scripts

Change-Id: Id6551c43488d5fbdef169285c5741e22bd00bea8
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agoMerge "Change the deployment mode from 'nonha' to 'noha'"
Narinder Gupta [Thu, 10 Aug 2017 11:18:33 +0000 (11:18 +0000)]
Merge "Change the deployment mode from 'nonha' to 'noha'"

7 years agoChange the deployment mode from 'nonha' to 'noha' 73/38973/2
Martin Kulhavy [Wed, 9 Aug 2017 13:08:40 +0000 (16:08 +0300)]
Change the deployment mode from 'nonha' to 'noha'

To conform with the OPNFV scenario naming pattern, the mode of the
scenario must be either 'ha' or 'noha'.

Reference: https://wiki.opnfv.org/display/INF/CI+Scenario+Naming

Change-Id: I99a2ffb40dd1e0f0d155af985498d27e00817188
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agomodfiied to check more strict API_DOMAIN 49/39049/1
Narinder Gupta [Thu, 10 Aug 2017 10:50:03 +0000 (05:50 -0500)]
modfiied to check more strict API_DOMAIN

Change-Id: If45ad3e25243c666eeb420e9e43b3bc9896bcfa3
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "add support for AArch64 when porting MAAS"
Narinder Gupta [Thu, 10 Aug 2017 03:31:47 +0000 (03:31 +0000)]
Merge "add support for AArch64 when porting MAAS"

7 years agoadd support for AArch64 when porting MAAS 15/39015/3
Di Xu [Thu, 13 Jul 2017 07:31:47 +0000 (15:31 +0800)]
add support for AArch64 when porting MAAS

Change-Id: Id001bf15a3b4313d2677f078b501154609ee4f3b
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agoMerge "cleanup old controllers and models for virtual deployments"
Narinder Gupta [Thu, 10 Aug 2017 03:20:34 +0000 (03:20 +0000)]
Merge "cleanup old controllers and models for virtual deployments"

7 years agoMerge "on aarch64, libvirt failed to undefine a guest with nvram"
Narinder Gupta [Thu, 10 Aug 2017 03:16:25 +0000 (03:16 +0000)]
Merge "on aarch64, libvirt failed to undefine a guest with nvram"

7 years agoMerge "fix some typos"
Narinder Gupta [Thu, 10 Aug 2017 03:15:27 +0000 (03:15 +0000)]
Merge "fix some typos"

7 years agomodfiied to correct API and osdomain name 29/39029/1
Narinder Gupta [Thu, 10 Aug 2017 03:03:39 +0000 (22:03 -0500)]
modfiied to correct API and osdomain name

Change-Id: I9d7efa5117c90f64135140cce52a42a5f0ad96c3
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agofix some typos 25/39025/1
Di Xu [Mon, 17 Jul 2017 08:39:11 +0000 (16:39 +0800)]
fix some typos

Change-Id: I1373feb555056e8a7f95860aab90cf2c116b2b29
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agocleanup old controllers and models for virtual deployments 21/39021/1
Di Xu [Mon, 17 Jul 2017 08:52:31 +0000 (16:52 +0800)]
cleanup old controllers and models for virtual deployments

Change-Id: I47d2085345820e404f300c2a935c477988b4132a
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agoon aarch64, libvirt failed to undefine a guest with nvram 17/39017/1
Di Xu [Mon, 17 Jul 2017 07:49:42 +0000 (15:49 +0800)]
on aarch64, libvirt failed to undefine a guest with nvram

refer to related redhat issue #1195667 (https://bugzilla.redhat.com/show_bug.cgi?id=1195667)

Change-Id: Ie5c3cc04b978f778886c9a3f7fbb9a2e9fc460e5
Signed-off-by: Di Xu <di.xu@arm.com>
7 years agomodified to correct deployment 11/39011/1
Narinder Gupta [Thu, 10 Aug 2017 02:04:04 +0000 (21:04 -0500)]
modified to correct deployment

Change-Id: I6942d254d7fe105f6ccaa1ddf0090e9d832e4f35
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "Download OCL container packages from OPNFV artifact repo (if not present)...
Narinder Gupta [Wed, 9 Aug 2017 22:42:38 +0000 (22:42 +0000)]
Merge "Download OCL container packages from OPNFV artifact repo (if not present). Updated ceph.yaml to use correct lxd numbers"

7 years agoMerge "Rename juju run --service flag to --application"
Narinder Gupta [Wed, 9 Aug 2017 22:41:40 +0000 (22:41 +0000)]
Merge "Rename juju run --service flag to --application"

7 years agoDownload OCL container packages from OPNFV artifact repo (if not present). 01/39001/1
Stuart Mackie [Wed, 9 Aug 2017 21:54:56 +0000 (14:54 -0700)]
Download OCL container packages from OPNFV artifact repo (if not present).
Updated ceph.yaml to use correct lxd numbers

Change-Id: If147df8cc188e02dafe6d3ce80bd6d4d9f548eb7
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
7 years agoAdded architecture specific code as enabling for power. 67/38967/2
Narinder Gupta [Wed, 9 Aug 2017 09:13:12 +0000 (04:13 -0500)]
Added architecture specific code as enabling for power.
Same should work for ARM as well.

Change-Id: I72f38bf046b2bbded3bc49073d2541010f374d5e
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodfified to support Power architecture. 35/38935/2
narindergupta [Tue, 8 Aug 2017 19:50:46 +0000 (14:50 -0500)]
modfified to support Power architecture.

Change-Id: I7e35cb9743322c1cf48b79a1a89fb3a8accdc8ae
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoRename juju run --service flag to --application 39/38939/1
Martin Kulhavy [Tue, 8 Aug 2017 20:20:21 +0000 (23:20 +0300)]
Rename juju run --service flag to --application

This flag has been renamed in (probably) Juju 2.0.
For reference, compare documentation for `juju run` command in
https://jujucharms.com/docs/1.25/commands and
https://jujucharms.com/docs/2.0/commands

The `--service` flag causes the `openstack.sh` to fail and exit,
skipping important functionality.

Change-Id: Ia5b3f5c29622de2caabee9832aa6920932c43656
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoMerge "Improve and highlight logging to console"
Narinder Gupta [Tue, 8 Aug 2017 16:11:02 +0000 (16:11 +0000)]
Merge "Improve and highlight logging to console"

7 years agoImprove and highlight logging to console 09/38909/1
Martin Kulhavy [Tue, 8 Aug 2017 11:27:33 +0000 (14:27 +0300)]
Improve and highlight logging to console

xtrace produces a lot of output that can be hard to read. This commit
adds a function to print important information messages in bold yellow,
so that they stand out in the log and make it easier for the user to
understand what is currently happening.

Change-Id: I78d3dbd909beca30b36723b879b13436932629f9
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoadding openbaton requirement for relationship. and modify the 05/38905/1
Narinder Gupta [Tue, 8 Aug 2017 10:18:47 +0000 (05:18 -0500)]
adding openbaton requirement for relationship. and modify the
check status logic.

Change-Id: I0242005c0de8bb2d57f2db75c22c63307c4cbc91
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "Check that nodes have not failed commissioning or testing"
Narinder Gupta [Tue, 8 Aug 2017 09:31:51 +0000 (09:31 +0000)]
Merge "Check that nodes have not failed commissioning or testing"

7 years agoCheck that nodes have not failed commissioning or testing 93/38893/1
Martin Kulhavy [Tue, 8 Aug 2017 09:07:24 +0000 (12:07 +0300)]
Check that nodes have not failed commissioning or testing

Both states 'Failed commissioning' and 'Failed testing' are reasons to
stop the deployment process because their interface cannot be updated
in the next step.

Change-Id: I8e9f2b9de24c67c4e08f36b04b80e0c4a02c7604
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoUpdate in OVN charm revision 45/38845/1
AakashKT [Mon, 7 Aug 2017 13:14:03 +0000 (18:44 +0530)]
Update in OVN charm revision

Change-Id: I8690dfb0fed0d40b75772e328b594a401d98f5c9
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agoMerge "Check that nodes have not failed commissioning"
Narinder Gupta [Mon, 7 Aug 2017 12:44:57 +0000 (12:44 +0000)]
Merge "Check that nodes have not failed commissioning"

7 years agoCheck that nodes have not failed commissioning 11/38811/2
Martin Kulhavy [Sun, 6 Aug 2017 18:46:42 +0000 (21:46 +0300)]
Check that nodes have not failed commissioning

If any of the nodes have failed during the commissioning phase, it makes
no sense to proceed with the deployment (it will fail when trying to
update the interfaces of the nodes).

Change-Id: Idc9f202820555d08aa2b07d8296b79b7fea0337a
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agoScaling of worker nodes working, update OVN bundle revision to reflect same 01/38801/1
AakashKT [Sat, 5 Aug 2017 14:38:43 +0000 (20:08 +0530)]
Scaling of worker nodes working, update OVN bundle revision to reflect same

Change-Id: I090dab958047030a69350fa27f2ebac9e45bb682
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agoAutomatically add the virsh IP to known hosts 71/38771/1
Martin Kulhavy [Fri, 4 Aug 2017 14:23:36 +0000 (17:23 +0300)]
Automatically add the virsh IP to known hosts

During the generation of the bootstrap VM, ssh connection to the host
machine is opened. If the IP is not yet in the list of known hosts,
the installation blocks and waits for user input.
The fix queries the host and adds the ssh fingerprint(s) to the list of
known hosts, if it is not present already.

Change-Id: I3e4bbb80811ab880e7271970713047c5d4ccca0f
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agotrying the latest version of openstack charm. 07/38707/1
Narinder Gupta [Thu, 3 Aug 2017 23:19:04 +0000 (18:19 -0500)]
trying the latest version of openstack charm.

Change-Id: I6214d6e0c46684ed8484b7ae00f601dbb3cb2db8
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodfieid to pass user_domain_id as well. 53/38653/1
Narinder Gupta [Thu, 3 Aug 2017 02:56:11 +0000 (21:56 -0500)]
modfieid to pass user_domain_id as well.

Change-Id: I1b5ef9efbbe4f25315309c48c7f3714c5e81b69f
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodfied the mod of the scripts in executing mode. 51/38651/1
Narinder Gupta [Wed, 2 Aug 2017 20:01:09 +0000 (15:01 -0500)]
modfied the mod of the scripts in executing mode.

Change-Id: I18b3992076b253fc6282dd0694b6a17fc6271335
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoScripts for deploying clearwater on kubernetes-cluster (with loadbalancer) 43/38643/4
AakashKT [Wed, 2 Aug 2017 18:14:30 +0000 (23:44 +0530)]
Scripts for deploying clearwater on kubernetes-cluster (with loadbalancer)

Change-Id: I3baca4c8ed73c8154ee2627fc62d81cb694c0726
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agoAdding the OS_DOMAIN_PROJECT_ID 33/38633/1
Narinder Gupta [Wed, 2 Aug 2017 14:44:00 +0000 (09:44 -0500)]
Adding the OS_DOMAIN_PROJECT_ID

Change-Id: I0428b5ac9748615f2ca53761f9833eb8a376fbe6
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "Added keys into bundle for ocl"
Narinder Gupta [Fri, 28 Jul 2017 13:25:59 +0000 (13:25 +0000)]
Merge "Added keys into bundle for ocl"

7 years agoAdded keys into bundle for ocl 35/38335/1
Stuart Mackie [Fri, 28 Jul 2017 13:00:50 +0000 (06:00 -0700)]
Added keys into bundle for ocl

Change-Id: If5b9f770acdc65314602a80ca27126301595b675
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
7 years agomodified the bundle for HA. 95/38295/1
Narinder Gupta [Thu, 27 Jul 2017 16:33:05 +0000 (11:33 -0500)]
modified the bundle for HA.

Change-Id: I0ecd9b73ed0e3c9e3d639c53189d366a6c9f42d2
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoChange Contrail repo and key 89/38289/1
Stuart Mackie [Thu, 27 Jul 2017 15:42:06 +0000 (08:42 -0700)]
Change Contrail repo and key

Change-Id: I70e996c1f75d7482a5ebfcc102e946d9fe05ac98
Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
7 years agochanging the bundle which works for OCL. 79/38279/1
Narinder Gupta [Thu, 27 Jul 2017 13:55:04 +0000 (08:55 -0500)]
changing the bundle which works for OCL.

Change-Id: Id92622368fefca84c3d45eced6d6ca0e0b9790f5
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to remove gateway as not needed with OCL 19/38119/2
Narinder Gupta [Wed, 26 Jul 2017 05:01:35 +0000 (00:01 -0500)]
modified to remove gateway as not needed with OCL

Change-Id: If08c12d9ffd2a8567fccd77473ead1483bd7dff0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to fix deployment error 17/38117/1
Narinder Gupta [Wed, 26 Jul 2017 04:39:20 +0000 (23:39 -0500)]
modified to fix deployment error

Change-Id: Iec917ba5ae1e2bfa1f32d0682945dc770454570c
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodfied to take care of OCL deployment 07/38107/1
Narinder Gupta [Tue, 25 Jul 2017 21:41:43 +0000 (16:41 -0500)]
modfied to take care of OCL deployment

Change-Id: I462fbcd4eb04e65117eb5e7690440ce88aa05c9b
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agomodified to accomodate OCL 99/38099/4
Narinder Gupta [Tue, 25 Jul 2017 17:47:44 +0000 (12:47 -0500)]
modified to accomodate OCL

Change-Id: Ib8227c4050b51adc2c466511bedf47e45a817db1
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoWorking bundle, will work on getting etcd getting up 51/38051/1
AakashKT [Tue, 25 Jul 2017 07:25:31 +0000 (12:55 +0530)]
Working bundle, will work on getting etcd getting up

Change-Id: I94a7cb1ab6d73a1406b8555cbf4716e2667d58af
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agoUpdated ovn charm revision (ovn-8 -> ovn-11) 55/37955/1
AakashKT [Sun, 23 Jul 2017 22:11:22 +0000 (03:41 +0530)]
Updated ovn charm revision (ovn-8 -> ovn-11)

Change-Id: I6382ff20b2ec31d9153d651f20f3d9f0b7e2a0bd
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agoMofifications for OVN-Kubernetes 27/37927/1
AakashKT [Fri, 21 Jul 2017 13:47:39 +0000 (19:17 +0530)]
Mofifications for OVN-Kubernetes

Change-Id: Ib1f24d4a11d5d0dd4a5356619757cc72ac800877
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agomodfied to use public IP for keystone. 23/37523/4
Narinder Gupta [Fri, 14 Jul 2017 17:53:26 +0000 (12:53 -0500)]
modfied to use public IP for keystone.

Change-Id: Id0bcd86ee00b81de4e15722038e0e5e985772971
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoby default moving to public End point. 19/37519/2
Narinder Gupta [Fri, 14 Jul 2017 15:19:16 +0000 (10:19 -0500)]
by default moving to public End point.

Change-Id: Idfcdc337d2a497e286b79a0cd933f6bbc3753b99
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoMerge "Fix pip warnings"
Narinder Gupta [Fri, 14 Jul 2017 14:46:39 +0000 (14:46 +0000)]
Merge "Fix pip warnings"

7 years agothis patch will try to fix envuronment paramters needed for 19/37419/4
Narinder Gupta [Thu, 13 Jul 2017 17:42:06 +0000 (12:42 -0500)]
this patch will try to fix envuronment paramters needed for
functest.

Change-Id: If418c689dbe55b9b6123f72f91308b61a38de4b8
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
7 years agoFix pip warnings 93/37193/1
Martin Kulhavy [Tue, 11 Jul 2017 16:22:12 +0000 (19:22 +0300)]
Fix pip warnings

1) `sudo pip` causes permission issues with the cache directory.
2) `pip list` without specifying format raises deprecation warning.

Change-Id: If1c1941cce6195603231706776c0b73d5255e9cc
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
7 years agosegregrate the flannel and ovn whoch is controlled by commad line 79/37179/1
AakashKT [Tue, 11 Jul 2017 13:05:27 +0000 (18:35 +0530)]
segregrate the flannel and ovn whoch is controlled by commad line
parameter

Change-Id: I005827f72631bea8b11e302a84aaf95de8dee1c8
Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
7 years agomodified to accomodate latest intel pod changes from pod5 to pod21 35/36835/1
Narinder Gupta [Sun, 2 Jul 2017 22:24:48 +0000 (17:24 -0500)]
modified to accomodate latest intel pod changes from pod5 to pod21

Change-Id: Ic9edfd4c355317a6873987bb63659bb9611aa285
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>