Age | Commit message (Collapse) | Author | Files | Lines |
|
There is no need to provision VM nodes as root. The only thing that we
need to run as root is the destroy-env.sh script and for that we move
it to its own play so we can use Ansible's become directive. Moreover,
since this playbook operates on localhost we can use 'connection: local'
so we don't have to execute everything via ssh and possibly speed up
the whole process.
Change-Id: Ia9efd5f30e95385b5cf193dde352f93551846c0e
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
Having everything in the /opt implies root privileges. However, xci
should work as normal user and as such we use the /tmp directory as
the root directory.
Change-Id: I985ded289208e1de53ad0ba878afd5bfd745c3fd
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
In preparation for running xci-deploy as normal user, we do not need to
gain elevated privileges in order to connect to remote hosts. SSH keys
will be placed in user's ssh directory so we can ssh as normal user.
Change-Id: Ieb705515ec191955a646839e8f195d089df184bd
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
There is no good reason to run the script as root. If elevated
privileges are required then we will do it on a per case basis.
Change-Id: I7195fb3a0026ea20ce04e0b652dd3c1c56ca5741
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
|
|
Change-Id: I490b7b1de44e7a04ea631ffa4808f633353f94c5
Signed-off-by: agardner <agardner@linuxfoundation.org>
|
|
Change-Id: If0ce98b4d6f86a0bb6ad5b7b78bf134ef87c1fd9
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: I53ddedb80f19ec9f8224cb0e22e4657b1472169f
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
|
|
|
|
Create different pages for installer@architectures
- x86
- aarch64
JIRA: FUNCTEST-821
Change-Id: I3c4ebba3f7969f6c1a5d04c4d5b5a63db5a3e7c2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
|
|
|
|
|
|
Change-Id: I086adca7f9671c2c5e6fd04a1ec339e8b22f1de4
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Ansible can request elevated privileges using the 'become' directive.
As such there is no need to run ansible using sudo. Furthermore,
OpenStack CI runs all jobs as normal user and we need to do the same
in order to compare behavior and results properly.
Change-Id: Id198efd1d6fdf4619de931fbedc7caba8d68d2a0
|
|
This is similar to commit 6769ae9bcbf6 ("prototypes: bifrost: Add
keystone roles"). In preparation for running the bifrost jobs as normal
user we need to write a clouds.yaml file to users home directory.
This is similar to the bifrost upstream testing playbook.
Change-Id: Iae4bc73906649707667925280a19282ec5c93998
|
|
'pip install ansible' is not enough on newly installed hosts which may
lack the necessary build tools to install Ansible's dependencies. As
such, we add a script similar to the bifrost/scripts/install-deps.sh
one to pull in all the necessary distro-specific packages so Ansible
and it's dependencies can be installed from scratch.
Change-Id: I4b1e74644db9ace451ad763e4c54f1a3a43214fd
|
|
|
|
aria2c should use "-d" to indicate the directory to store the downloaded
file.
Change-Id: I6590403fb0c0b2938ee384cf5b1d5acc42ed94c1
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|
|
|
|
DOVETAIL-426
Error message:
if node.roles[0].lower() == "controller":
IndexError: list index out of range
Change-Id: I96d26cc3798b993b5b296f554becfc175e3e87b4
Signed-off-by: xudan <xudan16@huawei.com>
|
|
Change-Id: Ief68ecad4570f1d6ea0a5142f6071adf3188f50b
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
|
|
Change-Id: I353b8d96709fb149aa4574ecd0f0b06439770652
Signed-off-by: agardner <agardner@linuxfoundation.org>
|
|
Change-Id: Ic996d49b161af23184fbbce4812c103a158ebef2
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
|
|
|
|
|
|
JIRA: DOVETAIL-424
the principle is
1) not disturb the original work flow
2) after vpn testcases integrated into dovetail, i.e, CVP tool,
there is a need to find a POD has bgpvpn feature which is
suitable to validate bgp vpn test cases in proposed_tests.
3) only add dovetail proposed_tests into bgpvpn scenario deploy-test loop
to reduce unnecessary time consuming.
4) further, should consider to add dovetail job in os-nosdn-nofeature loop
Change-Id: Iad6ae1e44470c8e9d49a25980d292ba3871bd6a4
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
Change-Id: I2d0e6c1199fe3ac2841923abdabd19c239b2b5f8
Signed-off-by: agardner <agardner@linuxfoundation.org>
|
|
The os_client_config Ansible module used by all the ironic-* roles
depends on the keystone roles so we need to make use of them even
though they do not affect the end result. This fixes the following
OPNFV CI problem due to not having a clouds.yaml file present to
be consumed by the os_client_config Ansible module.
fatal: [controller00]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
An exception occurred during task execution. The full traceback is:
Traceback (most recent call last):
File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 75, in <module>
main()
File "/tmp/ansible_ApkCUQ/ansible_module_os_client_config.py", line 63, in main
for cloud in config.get_all_clouds():
File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 798, in get_all_clouds
cloud, region_name=region['name']))
File "/usr/lib/python2.7/site-packages/os_client_config/config.py", line 1071, in get_one_cloud
auth_plugin = loader.load_from_options(**config['auth'])
File "/usr/lib/python2.7/site-packages/keystoneauth1/loading/base.py", line 162, in load_from_options
raise exceptions.MissingRequiredOptions(missing_required)
keystoneauth1.exceptions.auth_plugins.MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url
fatal: [opnfv]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
Moreover, we cleanup the ~/openstack directory which may contain some
bifrost artifacts such as a clouds.yaml file.
Finally, we use 'sudo -H' because for the keystone roles we need the HOME
variable to be set properly.
Change-Id: I45b08bd33dd8ea9505fe10eb4b2b10956b3b683c
|
|
Soon, Functest will start using only public endpoints
and will remove admin connectivity to the deployments.
Change-Id: I2089ccd3d6e7f1acda7b46d3104a8a78a47af8ff
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
CI no longer runs brahmaputra and colorado jobs.
To keep the jobs as simple as possible, remove
that support.
Change-Id: I29661f414923807dc6c0d22526dc852a45dbe7bb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
Because opera vnf test requires Open-O msb ip and the independency
of this test case, set specific docker env vars for compass4nfv
os-nosdn-openo-ha scenario.
Change-Id: I486e3896dc86d29cf93818b317675c088c1c5198
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
|
|
JIRA: DOVETAIL-420
CI wrong with:
Archiving artifacts
WARN: No artifacts found that match the file pattern "results/*/". Configuration error?
WARN: ?results/*/? doesn?t match anything, but ?*/? does. Perhaps that?s what you mean?
Change-Id: Ia548cb4e3b5e34f43c130c2860892364bffad233
Signed-off-by: xudan <xudan16@huawei.com>
|
|
|
|
|
|
Change-Id: I313dc0661b41556a6b9cb4cc3ba0d79db9c16c88
Signed-off-by: helenyao <yaohelan@huawei.com>
|
|
JIRA: DOVETAIL-419
since dovetal has no A/B/C/D branch, only have master,
need docker image name sth like opnfv/dovetail:plugfest_april_2017
rather than opnfv/dovetail:<release>.1.0, etc.
then when RELEASE_VERSION is empty, generate opnfv/dovetail:latest
ortherwise opnfv/dovetail:<RELEASE_VERSION>
Change-Id: I92573bee35da16305074393401e5e5da65aaa22c
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
JIRA: DOVETAIL-420
Collecting virtualenv
Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
Installing collected packages: virtualenv
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 223, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 308, in run
strip_file_prefix=options.strip_file_prefix,
File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 646, in install
**kwargs
File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 816, in install
strip_file_prefix=strip_file_prefix
File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 1013, in move_wheel_files
strip_file_prefix=strip_file_prefix,
File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 317, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib64/python2.7/shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/virtualenv.py'
Change-Id: I7c387013739252402fa3774b1a2df241a09f24c0
Signed-off-by: xudan <xudan16@huawei.com>
|
|
|
|
|
|
Change-Id: If23c52437b45806526c0b38e6176ab040715a70e
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
JIRA: DOVETAIL-407
1. HA test cases need a file pod.yaml giving the info of the pod
(node's ip, username, password/key_file).
2. Dovetail client has finished the adaption JIRA: DOVETAIL-405.
3. CI uses create_pod_file.py to generate /home/opnfv/dovetail/userconfig/pod.yaml
4. If INSTALLER_TYPE is fuel, fetch it's jumpserver key to
/home/opnfv/dovetail/userconfig/id_rsa
Change-Id: Iaf6afbdfb8e4331ae9a10ea3df060c37e9010a0a
Signed-off-by: xudan <xudan16@huawei.com>
|
|
|
|
Use multi-thread tool such as aria2c to download the daisy image,
to reduce the time spent on downloading.
Change-Id: Id1b7f9195fe0d499b9b02b0a8410e02871f675f9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
|