summaryrefslogtreecommitdiffstats
path: root/ci/03-maasdeploy.sh
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-06-02libvirtd and libvirt both needed.narindergupta1-1/+5
It seems some Ubuntu system shows libvirt and some do libvirtd. Based on when system deploys So lets try both. Change-Id: If31a6474b4c00ff335b4fe74b6d1be00e6f36575 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-05-14add define for virshGuo Ruijing1-1/+1
Change-Id: I5035b9162e0e49a710a47564bfb79aaf6f31b57e Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-05-13typo corrected.Narinder Gupta1-6/+7
Change-Id: I1189a542d3975edc6ae3b6681f7dad31524dd4ca Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-05-12modfied to support intel lab.Narinder Gupta1-9/+10
Change-Id: I7a6c9711dd322fe47f79af325cbe8e3f7a727bce Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-05-12fix for virshurl in case of bootstrap.Narinder Gupta1-2/+2
Change-Id: I10af2cbc02c27ac906897c5241f296413dc41ae3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-05-12correct and update few corner cases.Narinder Gupta1-16/+10
Change-Id: I055975abdd84fd3c89bade506d3269f75225addb Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-05-11Merge "modified to change the logic to create fabric and vlan if not exist. ↵Narinder Gupta1-172/+82
Otherwise use the existing one."
2017-05-11Merge "add remote virsh support for bootstrap"Narinder Gupta1-3/+20
2017-05-11add remote virsh support for bootstrapBlaisonneau David1-3/+20
Change-Id: Id28de3861a66a7b8d30efe9a30a22881bf41e991 Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
2017-05-11modified to change the logic to create fabric and vlan if notNarinder Gupta1-172/+82
exist. Otherwise use the existing one. Change-Id: Iaac620ab74622543b205ed2fad5622492daea757 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-05-08Merge "enable new fabric and network creation"Narinder Gupta1-116/+69
2017-05-08enable new fabric and network creationBlaisonneau David1-116/+69
Usefull for jumphost with a different network mapping than pod servers (case of virtual jumphost) Change-Id: Ib358bf3c0a5cd89621dad791011b6fa92decdc95 Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
2017-05-04Merge "Fix adding cloud-archive:newton issue in Ubuntu 16.04"Narinder Gupta1-0/+1
2017-05-02added support for install from git repository. please modifyNarinder Gupta1-3/+3
default_deployment_config.yaml to install from release repo for ocata,master etc. Also user can define their own URL and more information can be obtained at jujucharms.com Change-Id: I4943dbf68c6d980b2a2da65417b16631df768b48 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-05-01Fix adding cloud-archive:newton issue in Ubuntu 16.04Guo Ruijing1-0/+1
Change-Id: Ib8946ca47cefbabd247b98ad0dc6d4f0789e767e Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-04-28modfiied the mac address also reimport the iamges.narindergupta1-2/+2
Change-Id: I362481f7456ac6b93d5f11ac2ea62f8fe5330e99 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-04-28modified to correct the error ID failed in case of error.narindergupta1-2/+4
Change-Id: I669aeccd0ceef758fa9eee87d46426bd6a78230b Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-04-26add function to delete existing netwBlaisonneau David1-2/+8
Change-Id: Ib2b61aa1c61557beb6b879cc879e57235aced866 Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
2017-04-26add fabric generation functionBlaisonneau David1-5/+67
Change-Id: Ia15c7053294f84a35ae6d1af3bd5efef03bbb79f Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
2017-04-26modify the maas to use the interface name as per yaml filenarindergupta1-6/+11
Change-Id: I6a060757a39786c073c2567ca73502267d8c271b Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-03-31change default network gateway on containers with a public networkBlaisonneau David1-1/+2
Change-Id: Ic6b08b2942e94e8d8b9e7f46519058fcf3536d74 Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
2017-03-23Add interface renaming on maas for heterogeneous hardware configBlaisonneau David1-5/+21
Change-Id: I7b26821802f1843d738a116082b70bd27b35b35b Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
2017-03-21correct of maas deploy and orange pod2 updateBlaisonneau David1-116/+58
MAAS deploy correction to manage heterogeneous hardware (different interfaces mapping or naming amoung nodes, and configuration of a VLAN on an interface without network_cidr) Change-Id: Ib3825bd8600cf62637cee85779d9ee0a55f896c4 Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
2017-02-23modified to get the juju 2.1.0 as release juju version.Narinder Gupta1-2/+2
Change-Id: I03cee75fab719d986ab5556ec9189816f7c9b9ee Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-22configure VLAN on interface in MAAS.Narinder Gupta1-10/+87
Change-Id: Id62ba268cf02b594a8d2fa6992d7917de2b960e9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-21corected error during dpeloyment.Narinder Gupta1-7/+9
Change-Id: Icf1506198d47f796973ccf58c2a3eaaa1add0554 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-21modfied to automaticallly enable interface in the MAAS deploy.Narinder Gupta1-18/+27
Change-Id: If1e722b36f6b7556f4d09ec23d351eff9a5fe269 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-20modified to clean by and efficient code.Narinder Gupta1-53/+29
Change-Id: I3a05837d8d02aa572a41491db57cfe9008b20c32 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-20Merge "enable interface and subnet as per the labconfig.yaml"Narinder Gupta1-27/+59
2017-02-18enable interface and subnet as per the labconfig.yamlNarinder Gupta1-27/+59
Change-Id: I2883abedeba9ec8ce70b0619b531b00ed8af3538 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-17Merge "fixed more errors."Narinder Gupta1-6/+6
2017-02-17fixed more errors.Narinder Gupta1-6/+6
Change-Id: I0cb6b1013723c9ecf4fc3e8c2b185070b20a8f18 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-17fix searching with jq selectRyota MIBU1-4/+4
Change-Id: I98842799db56040c935336758db3de1e02825a41 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-16modfiied to fix parse error.Narinder Gupta1-9/+8
Change-Id: Id7ba0c333065d3997531ba7a1a727e54349956b0 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-16modified to support deployed on bare metal and adding nodes andNarinder Gupta1-3/+20
enabled dhcp on admin interface. Change-Id: I194a31e0533474a07d42633b076db5aa534408d4 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-16Modified to use labconfig and deployconfig data only rather thanNarinder Gupta1-21/+18
hard code the network details. Change-Id: I0d959a2ef63b957e0f4c6d45ac5e2151c0183e32 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-16Some adjustments related to MAAS import images.Narinder Gupta1-19/+22
Change-Id: Ib654069c2845708e92e5163cc58862458e381d90 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-15modified to enable the interface with internal-api space forNarinder Gupta1-23/+4
ddeployment on bare metal. Change-Id: Id382768c7dc6a475d6bf330b9ffed590fb780ec4 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-14Trying to setup the right values of mysql for cluster.Narinder Gupta1-1/+5
Change-Id: I3d1d8e7284e33b9eb056d17b41f792e757699747 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-10install expect also.Narinder Gupta1-1/+1
Change-Id: Ie26666cfbe26e9be7468bf75e3c60d09e04b747f Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-10added to workaround MAAS bug where commisoning of node fails.Narinder Gupta1-0/+8
Change-Id: I021a0da8c0e6ac5b7c83ee7d8d152dd446d69924 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-10spell check and fix errors.Narinder Gupta1-1/+1
Change-Id: I0184cca01a7bc0372d41bf32c250d1d724409700 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-06fix ppa path juju/dev --> juju/develRyota MIBU1-2/+2
also deleting "set -e" from cleanvm.sh Change-Id: I0404abf63e158d93d5193a4c74bd4075ffed6efc Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-06bug fixesRyota MIBU1-10/+11
- not to create '2' file by using '[[]]' instead of '[]' - delete files which are needed only during build process - update createresource() to support maas v2 Change-Id: I182bb2e62909dc0e1cb8494297ecab3872a067e5 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-02-05cleanup task.Narinder Gupta1-26/+13
Change-Id: I287e80899225c611752117ab29f079de7ba25f58 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-05increasing the mysql max connection to accomodate buffer size.Narinder Gupta1-4/+1
Change-Id: Ic7d2ba8717289cd8ec5e3cca32b209b1f69cae33 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-02-04modfiied to take care of using juju 2.1-beta4. Will switch onceNarinder Gupta1-12/+20
get the final confirmation of release. Change-Id: Id5964a5fd458df9c0486051dd3c6fbbd2abaa7bd Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>