Age | Commit message (Collapse) | Author | Files | Lines |
|
his environment.
Change-Id: If406bbeb4577369a5b7c7f76a9e0255eef2afbcf
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I6cf005194c7aff6845bfb749a45cd674531fedd4
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I4f8ad592138ae6a372cfad199cc066b4e5e5ab18
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: Ife9d8e071d2ffb36238decfa0f1d934d1a0b0c88
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
This reverts commit 9f0a678ee9d4a5a0afc620f93edb14b3e4dcf56b.
Change-Id: I1671d69dfcd8ebd3dd60a495de5d8cdca65ab1a2
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I4e8bf6ccf9081e3b0bc8c544cd7a6ecb9156ea28
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I0764f19e0389921a7240802ebce0c484837f19ee
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: If88127b0a69186cc27a875c2ae544328e088dfd9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I7d55a0543ecf8f1b9323c95747e4ad84df3d7180
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I9cec17471e962bbf161e9fe331b61d5cb10171c8
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: If7cf0add214da153daf39967fac15ba027cc3885
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I62aa32f7dacedc3008565ffd005d45e431485bb9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
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>
|
|
key for cloud archive is missing in xenial cloud image.
Change-Id: I1f38c90ba5e77ebb99d5075fb1988ac82d47718f
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
deployment.
Change-Id: I7afcc6e382f7575fbd2741cded3915763aafe6f6
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
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>
|
|
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>
|
|
Change-Id: I1292f0e6a9ba63965fe13229f11ebfdc914bd7b1
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: Id045671934696ff96d46079c0f1a8e0ea2a172c2
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: Ibe20b737a0ea9a6afc27ae490d8ff1ce6f61a5c0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
|
|
Change-Id: I8e909778cf50bc93118b68cfc2282c113fb7d7be
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
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>
|
|
templates and added support for multiple networks.
Change-Id: I1074c722c9007bd12c711dbfc58afa1a098d2a17
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
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>
|
|
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>
|
|
Change-Id: Ice8bcbc26003efd53c50972742a53c7858e8deec
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I161c544130b512a3715973f10a27335c29c8bd86
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: Ic394674dd026f834dcee0db566dff7c654a2dba3
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
|
|
Change-Id: Id001bf15a3b4313d2677f078b501154609ee4f3b
Signed-off-by: Di Xu <di.xu@arm.com>
|
|
|
|
Change-Id: I9d7efa5117c90f64135140cce52a42a5f0ad96c3
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I1373feb555056e8a7f95860aab90cf2c116b2b29
Signed-off-by: Di Xu <di.xu@arm.com>
|
|
Same should work for ARM as well.
Change-Id: I72f38bf046b2bbded3bc49073d2541010f374d5e
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I7e35cb9743322c1cf48b79a1a89fb3a8accdc8ae
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Iec917ba5ae1e2bfa1f32d0682945dc770454570c
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
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>
|
|
Change-Id: I97b693fa6cd6eeb638d45fd444a5097a3387a0c9
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
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>
|
|
Change-Id: I5035b9162e0e49a710a47564bfb79aaf6f31b57e
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Change-Id: I1189a542d3975edc6ae3b6681f7dad31524dd4ca
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I7a6c9711dd322fe47f79af325cbe8e3f7a727bce
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I10af2cbc02c27ac906897c5241f296413dc41ae3
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I055975abdd84fd3c89bade506d3269f75225addb
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Otherwise use the existing one."
|