Age | Commit message (Collapse) | Author | Files | Lines |
|
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."
|
|
|
|
Change-Id: Id28de3861a66a7b8d30efe9a30a22881bf41e991
Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
|
|
exist. Otherwise use the existing one.
Change-Id: Iaac620ab74622543b205ed2fad5622492daea757
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
|
|
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>
|
|
|
|
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>
|
|
Change-Id: Ib8946ca47cefbabd247b98ad0dc6d4f0789e767e
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
|
|
Change-Id: I362481f7456ac6b93d5f11ac2ea62f8fe5330e99
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: I669aeccd0ceef758fa9eee87d46426bd6a78230b
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: Ib2b61aa1c61557beb6b879cc879e57235aced866
Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
|
|
Change-Id: Ia15c7053294f84a35ae6d1af3bd5efef03bbb79f
Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
|
|
Change-Id: I6a060757a39786c073c2567ca73502267d8c271b
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
|
|
Change-Id: Ic6b08b2942e94e8d8b9e7f46519058fcf3536d74
Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
|
|
Change-Id: I7b26821802f1843d738a116082b70bd27b35b35b
Signed-off-by: Blaisonneau David <david.blaisonneau@orange.com>
|
|
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>
|