summaryrefslogtreecommitdiffstats
path: root/ci
AgeCommit message (Collapse)AuthorFilesLines
2017-08-22Move tools.sh to ci/common dirMartin Kulhavy6-5/+5
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>
2017-08-21added the role swiftoperator as functest tempest test caseNarinder Gupta1-1/+1
expect the same. Change-Id: I7e03c9e527a0fc10c4c4aefdfd31492039d0b7bb Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-21Remove unused function argumentsMartin Kulhavy1-2/+2
Change-Id: I2865175d28e53a9582101612996fb06abe62458b Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
2017-08-21try to match the admin-openrc as per functest latest.Narinder Gupta1-18/+7
Change-Id: Ib2674038f82ae2825544149b7b88ee5ba8cb7d22 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-21Add a script to create proxies to dashboardsMartin Kulhavy1-0/+526
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>
2017-08-18Merge "check if maas exist the only delete pod."Narinder Gupta1-11/+12
2017-08-18Move help usage information to beginning of scriptMartin Kulhavy1-16/+18
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>
2017-08-18check if maas exist the only delete pod.Narinder Gupta1-11/+12
Change-Id: Id7a75e7edee830913174689a458fccb7522e6639 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17modified to do error checkingNarinder Gupta1-2/+7
Change-Id: I1292f0e6a9ba63965fe13229f11ebfdc914bd7b1 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17delete pod if exist during maas deployment.narindergupta3-3/+5
Change-Id: Id045671934696ff96d46079c0f1a8e0ea2a172c2 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17include ODL space in the bundle.narindergupta1-1/+2
Change-Id: I9e25eab9eca7ab1a944cdf9ca83507b7666583b9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17adding th elong option as command line.narindergupta3-92/+162
Change-Id: Ibe20b737a0ea9a6afc27ae490d8ff1ce6f61a5c0 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17Merge "fix cpu model for aarch64 kvm"Narinder Gupta1-2/+4
2017-08-17cleanup and remove unnecessary code.Narinder Gupta2-37/+28
Change-Id: Idace8f5b31479dbcd8040fc41ee20e3a70b0cc8a Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-16adding the formating correctly.Narinder Gupta2-5/+1
Change-Id: Ief2012b454c2f8285c75c9234841d0d704cc2d17 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-16modified to setup contraints on single bindin space charms.Narinder Gupta6-3/+13
Change-Id: Ied886a0865a637ac206a831c7ce98933c600e5e7 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-16adding space variable for K8 scenarios.narindergupta2-0/+7
Change-Id: If64c8af0b232c4ab126035b7a3fe266d86f232c9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-16modified to add the opensack api on seperate network.narindergupta8-36/+32
Change-Id: I8e909778cf50bc93118b68cfc2282c113fb7d7be Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-16modfied to use lxd/nodes/0 for classic.narindergupta1-2/+2
Change-Id: I36cd18fbd595d507cf09148a2c4a442b24b9cf3b Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-16fix cpu model for aarch64 kvmDi Xu1-2/+4
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>
2017-08-15modfied to use the default internal endpoint.Narinder Gupta7-13/+2
Change-Id: Iff2b0feacd6597d7dd7d6f6037dfa135bb0a6704 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-15modified ceilometer to have one plublic and internal API accordinglyNarinder Gupta1-1/+1
Change-Id: I86db6d084b7107300ba984792dc679fc947675b9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-15modified templates and added variable to easlity understand theNarinder Gupta23-234/+201
templates and added support for multiple networks. Change-Id: I1074c722c9007bd12c711dbfc58afa1a098d2a17 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-15Simplify argument parsing and add usage infoMartin Kulhavy2-30/+67
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>
2017-08-15Improve and highlight logging to console (2)Martin Kulhavy5-24/+60
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>
2017-08-15adjusting the timeout while reading status.Narinder Gupta3-13/+4
Change-Id: I26829677f4688e75edf607b2fcd839385523c5aa Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-14modified to have cph monitor in rados gateway.Narinder Gupta1-0/+3
Change-Id: Ib145e4f83941754e797916e211e032df30a30e2e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-14Adding the support of management netwok for pxe boot only.Narinder Gupta1-11/+21
Change-Id: Ice8bcbc26003efd53c50972742a53c7858e8deec Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-14modified to have better logic and by default fallback to amd64.Narinder Gupta1-16/+13
Change-Id: I161c544130b512a3715973f10a27335c29c8bd86 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-14Adding the storage space support in case it is defined.Narinder Gupta2-15/+10
Change-Id: Ic394674dd026f834dcee0db566dff7c654a2dba3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-11Adding port 5240 along with MAAS_URL needed for non x86Narinder Gupta2-2/+2
architecture. Change-Id: Ia30ced70185d3f42529f49621f46e539c8c006e6 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-10Merge "Change the deployment mode from 'nonha' to 'noha'"Narinder Gupta3-7/+7
2017-08-10Change the deployment mode from 'nonha' to 'noha'Martin Kulhavy3-7/+7
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>
2017-08-10modfiied to check more strict API_DOMAINNarinder Gupta1-1/+1
Change-Id: If45ad3e25243c666eeb420e9e43b3bc9896bcfa3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-10Merge "add support for AArch64 when porting MAAS"Narinder Gupta1-4/+14
2017-08-10add support for AArch64 when porting MAASDi Xu1-4/+14
Change-Id: Id001bf15a3b4313d2677f078b501154609ee4f3b Signed-off-by: Di Xu <di.xu@arm.com>
2017-08-10Merge "cleanup old controllers and models for virtual deployments"Narinder Gupta1-1/+11
2017-08-10Merge "on aarch64, libvirt failed to undefine a guest with nvram"Narinder Gupta1-1/+1
2017-08-10Merge "fix some typos"Narinder Gupta4-8/+8
2017-08-09modfiied to correct API and osdomain nameNarinder Gupta2-3/+5
Change-Id: I9d7efa5117c90f64135140cce52a42a5f0ad96c3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-10fix some typosDi Xu4-8/+8
Change-Id: I1373feb555056e8a7f95860aab90cf2c116b2b29 Signed-off-by: Di Xu <di.xu@arm.com>
2017-08-10cleanup old controllers and models for virtual deploymentsDi Xu1-1/+11
Change-Id: I47d2085345820e404f300c2a935c477988b4132a Signed-off-by: Di Xu <di.xu@arm.com>
2017-08-10on aarch64, libvirt failed to undefine a guest with nvramDi Xu1-1/+1
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>
2017-08-09modified to correct deploymentNarinder Gupta1-1/+1
Change-Id: I6942d254d7fe105f6ccaa1ddf0090e9d832e4f35 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-09Merge "Download OCL container packages from OPNFV artifact repo (if not ↵Narinder Gupta2-2/+17
present). Updated ceph.yaml to use correct lxd numbers"
2017-08-09Merge "Rename juju run --service flag to --application"Narinder Gupta1-1/+1
2017-08-09Download OCL container packages from OPNFV artifact repo (if not present).Stuart Mackie2-2/+17
Updated ceph.yaml to use correct lxd numbers Change-Id: If147df8cc188e02dafe6d3ce80bd6d4d9f548eb7 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
2017-08-09Added architecture specific code as enabling for power.Narinder Gupta8-565/+11
Same should work for ARM as well. Change-Id: I72f38bf046b2bbded3bc49073d2541010f374d5e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-08modfified to support Power architecture.narindergupta1-5/+24
Change-Id: I7e35cb9743322c1cf48b79a1a89fb3a8accdc8ae Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-08Rename juju run --service flag to --applicationMartin Kulhavy1-1/+1
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>