summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-11remove precise image upload which is not supported anymore.Narinder Gupta1-1/+0
Change-Id: I221e5617145848ff425161ed9bdd89001e4d76f7 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-10Switched to correct installation method for docker in clearwater deployment ↵AakashKT1-1/+7
scripts Change-Id: Id6551c43488d5fbdef169285c5741e22bd00bea8 Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
2017-08-10Merge "Change the deployment mode from 'nonha' to 'noha'"Narinder Gupta22-39/+39
2017-08-10Change the deployment mode from 'nonha' to 'noha'Martin Kulhavy22-39/+39
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 Gupta2-5/+5
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>
2017-08-08Merge "Improve and highlight logging to console"Narinder Gupta2-28/+65
2017-08-08Improve and highlight logging to consoleMartin Kulhavy2-28/+65
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-08adding openbaton requirement for relationship. and modify theNarinder Gupta2-9/+21
check status logic. Change-Id: I0242005c0de8bb2d57f2db75c22c63307c4cbc91 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-08Merge "Check that nodes have not failed commissioning or testing"Narinder Gupta1-3/+3
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-07Update in OVN charm revisionAakashKT1-1/+1
Change-Id: I8690dfb0fed0d40b75772e328b594a401d98f5c9 Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
2017-08-07Merge "Check that nodes have not failed commissioning"Narinder Gupta1-3/+11
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-05Scaling of worker nodes working, update OVN bundle revision to reflect sameAakashKT1-1/+1
Change-Id: I090dab958047030a69350fa27f2ebac9e45bb682 Signed-off-by: Aakash KT <aakash.kt@research.iiit.ac.in>
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-08-03trying the latest version of openstack charm.Narinder Gupta2-36/+36
Change-Id: I6214d6e0c46684ed8484b7ae00f601dbb3cb2db8 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-02modfieid to pass user_domain_id as well.Narinder Gupta1-2/+4
Change-Id: I1b5ef9efbbe4f25315309c48c7f3714c5e81b69f Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>