summaryrefslogtreecommitdiffstats
path: root/ci/03-maasdeploy.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-05-09adding bionic support.Narinder Gupta1-8/+20
Change-Id: I07214051129149800beac45a40727a7843cfd107 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2018-05-01autostart the network.Narinder Gupta1-0/+1
Change-Id: I4e9eea55404e28997517ed7a427d5c6c645ce4de Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2018-04-27dynamically using the bootstrap and change domain.Narinder Gupta1-4/+13
Change-Id: Id5fbb9cc577cd69b216d2ae2a7e8669412dbba0d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2018-04-19added ssl support based on default.Narinder Gupta1-2/+2
Change-Id: I0198520e43c81d7734bc3b2f4396e55c42d33e5c Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2018-04-11Fixes for OpenContrail running on Pike in Fraser release:Stuart Mackie1-1/+14
- 02-deploybundle.sh - updated package names - 03-maasdeploy.sh - Iterate pods create command to get past "Conflict error" - config_tpl/juju2/bundle_tpl/oclphase1.yaml - updated public keys - deploy.sh - changed usage message to reflect using ocl not opencontrail Change-Id: If2d3820a4984498813d86162a1208402aceca312 Signed-off-by: Stuart Mackie <wsmackie@juniper.net>
2018-03-31modfiied to use admin as default for VM.Narinder Gupta1-3/+4
Change-Id: I22aef2a36ae7ba08681c1c202d20726d1a605ad1 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2018-03-28using the admin bridge on jumphost.Narinder Gupta1-13/+7
Change-Id: Iced282c4024b9ed523e13b3df6b635df1a7af24e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2018-01-24modified to satified the lab issues it seems sudo was required inNarinder Gupta1-1/+1
his environment. Change-Id: If406bbeb4577369a5b7c7f76a9e0255eef2afbcf Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-12-15added bionic support with snap deployment. Alos fixes.Narinder Gupta1-19/+32
Change-Id: I6cf005194c7aff6845bfb749a45cd674531fedd4 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-12-07adding snap install of MAAS.Narinder Gupta1-39/+50
Change-Id: I4f8ad592138ae6a372cfad199cc066b4e5e5ab18 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-12-01modified for bionic support for future deployment.Narinder Gupta1-4/+21
Change-Id: Ife9d8e071d2ffb36238decfa0f1d934d1a0b0c88 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-12-01Revert "adding latest release charm support."Narinder Gupta1-21/+3
This reverts commit 9f0a678ee9d4a5a0afc620f93edb14b3e4dcf56b. Change-Id: I1671d69dfcd8ebd3dd60a495de5d8cdca65ab1a2 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-12-01adding latest release charm support.Narinder Gupta1-3/+21
Change-Id: I4e8bf6ccf9081e3b0bc8c544cd7a6ecb9156ea28 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-11-21add pod19 without vlan.Narinder Gupta1-8/+8
Change-Id: I0764f19e0389921a7240802ebce0c484837f19ee Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-11-17modified to correct the labconfig.yaml and reserver more ip.Narinder Gupta1-0/+25
Change-Id: If88127b0a69186cc27a875c2ae544328e088dfd9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-11-16modfied to comment VLAN as some issues today.Narinder Gupta1-3/+4
Change-Id: I7d55a0543ecf8f1b9323c95747e4ad84df3d7180 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-11-07few more fixed for ARM bare metal deployment.Narinder Gupta1-2/+2
Change-Id: I9cec17471e962bbf161e9fe331b61d5cb10171c8 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-10-31adding ceph support for Kubernetes.Narinder Gupta1-12/+19
Change-Id: If7cf0add214da153daf39967fac15ba027cc3885 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-10-30modified as deployment failing on this.Narinder Gupta1-1/+1
Change-Id: I62aa32f7dacedc3008565ffd005d45e431485bb9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-10-18cleanup codeGuo Ruijing1-18/+2
1. remove unused code due to juju>2 & maas>2.2 in Ubuntu16.04 2. remove deprecated 03-maasdeploy.sh 3. remove other unused code Change-Id: I20fd0e96400db1262b0df3ef2b502c8001dd5b76 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-25add key for cloud archiveGuo Ruijing1-0/+2
key for cloud archive is missing in xenial cloud image. Change-Id: I1f38c90ba5e77ebb99d5075fb1988ac82d47718f Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-09-01modified to autostart the VMs created for bootstrap and virtualNarinder Gupta1-0/+4
deployment. Change-Id: I7afcc6e382f7575fbd2741cded3915763aafe6f6 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-22Move tools.sh to ci/common dirMartin Kulhavy1-1/+1
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-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-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.narindergupta1-1/+2
Change-Id: Id045671934696ff96d46079c0f1a8e0ea2a172c2 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17adding th elong option as command line.narindergupta1-0/+1
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-16modified to add the opensack api on seperate network.narindergupta1-20/+10
Change-Id: I8e909778cf50bc93118b68cfc2282c113fb7d7be 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-15modified templates and added variable to easlity understand theNarinder Gupta1-1/+1
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 Kulhavy1-29/+49
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 Kulhavy1-1/+1
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-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 Gupta1-2/+2
Change-Id: Ic394674dd026f834dcee0db566dff7c654a2dba3 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 "fix some typos"Narinder Gupta1-2/+2
2017-08-09modfiied to correct API and osdomain nameNarinder Gupta1-2/+2
Change-Id: I9d7efa5117c90f64135140cce52a42a5f0ad96c3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-10fix some typosDi Xu1-2/+2
Change-Id: I1373feb555056e8a7f95860aab90cf2c116b2b29 Signed-off-by: Di Xu <di.xu@arm.com>
2017-08-09Added architecture specific code as enabling for power.Narinder Gupta1-10/+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-08Improve and highlight logging to consoleMartin Kulhavy1-28/+39
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>
2017-08-08Check that nodes have not failed commissioning or testingMartin Kulhavy1-3/+3
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>
2017-08-07Check that nodes have not failed commissioningMartin Kulhavy1-3/+11
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>
2017-08-04Automatically add the virsh IP to known hostsMartin Kulhavy1-1/+13
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>
2017-07-25modified to fix deployment errorNarinder Gupta1-1/+2
Change-Id: Iec917ba5ae1e2bfa1f32d0682945dc770454570c Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-07-11Fix pip warningsMartin Kulhavy1-2/+2
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>
2017-06-20modified to enable the virtual install.Narinder Gupta1-10/+20
Change-Id: I97b693fa6cd6eeb638d45fd444a5097a3387a0c9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>