summaryrefslogtreecommitdiffstats
path: root/ci/03-maasdeploy.sh
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-01-27improvements for default virtual pod creationRyota MIBU1-9/+4
This patch includes the following improvements: - deprecate ci/00-maasdeploy.sh - refactor cleaner sctipts - fix MAAS_IP in default configs Change-Id: I60f77e18ce41573a744d79b8cf468c23a7dd3385 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-26use 'jq' in 03-maasdeploy.shRyota MIBU1-39/+36
This patch introduces 'jq' to parse json output from maas cli. This patch also fixes bad value of SUBNET_CIDR. Change-Id: Ie3311f9a0b1aa89dd40727534700ab6db591a24b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-26did some cleanupm job.Narinder Gupta1-29/+23
Change-Id: I998482d0cba2bf6eb774d68124d2383ba869a08b Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-25bug fixes in 03-maasdeploy.shRyota MIBU1-9/+24
This patch includes the following fixes: - make the script pick the first 'system_id' from output of `maas machines create` - add missing parameter name in bootstrap machine creation - change file owner of ssh key files, so that maas user can access qemu via ssh - execute 'enablesubnetanddhcp()' Change-Id: Idf889425548760ec1d9a25458916d7c0d485d683 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2017-01-23modfied to add more vms in case there is updates required.Narinder Gupta1-5/+5
Change-Id: Ieccdefb3d8a37a3aede41902d6f7cfb3e933ec1e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-20added maas commands as an option.Narinder Gupta1-37/+33
Change-Id: If7e7cd48776240d361324066e7309b30dabffee7 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-20automated creation of bootstrap node based on host bridgesNarinder Gupta1-41/+66
configured by default. Change-Id: Id8bf1498c72b4e2132044f8ad2882a2d3950916e Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-20typoNarinder Gupta1-1/+1
Change-Id: Iaaaffd8e0199cb7352c8547845b334e0ae4d4554 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-20modified maas installer for xenial.Narinder Gupta1-42/+50
Change-Id: I4fdb2a6370001b5b8778f40add490ce394d826e3 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-12move to master branch of charm for few bug fixes.Narinder Gupta1-1/+24
Change-Id: I2e29d2f3aa8f547b95103a768543403cf2e1c7ce Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-12modified to include MAAS 2.0 on remote host.Narinder Gupta1-1/+1
Change-Id: If268a5ae1f0a103314f1ab742b495de3ffdb5efc Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-06modified to add cpu as host cpu for kvm machines.Narinder Gupta1-4/+4
Change-Id: Ia265021a79d5595748ec0b6b3e5988adbc3086b7 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-01-03update to maas for further changes and added labconfig.yaml forNarinder Gupta1-10/+33
huawei pod12 Change-Id: I50d2a146afaf439c0d5381c7444dc1fe7fb14f25 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-12-21modfiied to have space support in the juju2 configuration.Narinder Gupta1-7/+11
Change-Id: I2ccdee8604ef41ef79bb76eb9a165b1c02147d10 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-11-22modified to accomodate the MAAS 2.0Narinder Gupta1-6/+38
Change-Id: Id17ba35d82103b082136b91a694bf3a6f18d9c8d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-11-03adding line for echo.Narinder Gupta1-2/+3
Change-Id: If54897864df2905c40b273c8922796d16d50772d Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-11-03added support for maas 2.0 in non virtualized environment.Narinder Gupta1-16/+30
Change-Id: Icf024ed2cbf538df43e6bd5203685552ab6564d2 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-11-02modified to have better support of maas 2.0Narinder Gupta1-39/+49
Change-Id: Ie1298f2c2ccc04e0bb63a9303712d1a16b3f066c Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-11-01modfiied for latest charm tools also trying to add support forNarinder Gupta1-41/+99
MAAS 2.0 and it will be native. Change-Id: I44bdbc25ad430b2135a9cb89a4768b957d64ed9b Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2016-10-17modified to typo error.Narinder Gupta1-0/+387
Change-Id: I9992d424a6b74578b918c5a749ae86e892ea4084 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>