Age | Commit message (Collapse) | Author | Files | Lines |
|
Old Fuel deploy scripts required the virtual POD name to be
virtual_kvm, which needed to be translated at CI level after
source enviroment specific configuration.
New Fuel deploy scripts no longer need this translation, so
drop it.
Change-Id: I18164e77895bbb03a1ca7798e3c0ba78c34d1c65
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Using sudo triggers a chain of dependencies in our infrastructure,
ranging from issues cleaning up the Jenkins workspace to deploy-time
permission issues.
As it turns out, cleaning all looses ends after that change is not a
trivial task, and the remaining work outweights the benefits of using
sudo in the first place.
The original motivation for using sudo was a superposition of:
- hardcoded check for running as root in Fuel's ci/deploy.sh;
- the ability to install packages on the hosts via apt-get/yum;
- the ability to spawn VMs using virt-manager;
All of the above can be mitigated by imposing a series of restrictions
for the Jenkins slave / jump server workstation and the jenkins user:
- check for sudo rights instead of running as root user;
- explicitly use sudo for package installation and/or system-level
changes;
- add jenkins user to "kvm" and "libvirtd" groups;
So, revert using sudo when calling the deploy script, and limit sudo
actions to package installation in Armband's deploy script.
To compensate running as a regular user, a series of small changes is
required in Armband project itself, together with the appropiate
Jenkins slave user configuration on the machines running this script.
This reverts commit 67d8bac7b2a97531ad465f275747b3dc455d4fe4.
Change-Id: I88df6db1a43b93b7314ceca53d353f9000f15153
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Previous commit adding sudo for ci/deploy.sh call breaks Armband
deploys, since ci/deploy.sh relies on $WORKSPACE env var being set.
Change-Id: I948c8e3c00b430e0c186c0a727e1b7e027d7a089
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
New MCP deploy scripts have a hard requirement on running as root.
Bring back sudo for the `ci/deploy.sh` invocation, aligning with
Fuel@OPNFV.
NOTE: This can be later avoided/reverted if we can guarantee the
"jenkins" user has sudo rights, even without a tty present.
Change-Id: Ibec7b14e9174a7f482609890e5e68912931a8d05
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
|
|
sometimes it can't copy os_cacert but copy opnfv_openrc.
it cause an issue and didn't execute the command chown.
so the opnfv_openrc will belong to root, which will cause errors next time.
Change-Id: I2955ba347d399d65c9e5cd566235be06fb7c30af
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|
|
Change-Id: I20856e1b445587f0d8ee23e792793af863743252
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
Now only Openstack https is supported by OSA repo LXC in compass
deployment, so certification file is required to enable SSL
verification.
After [1] is merged, the cacert file os_cacert will be provided
in the container compass-tasks.
[1]: https://gerrit.opnfv.org/gerrit/#/c/37451/
Change-Id: Id747cef1955733a1c93feb20a26d503a5de1fb93
Signed-off-by: Linda Wang <wangwulin@huawei.com>
|
|
Change-Id: I43bc486e2fc12bea5f7664cc1e5acc5630e5f739
Signed-off-by: MatthewLi <lijun_1203@126.com>
|
|
error log
https://gerrit.opnfv.org/gerrit/#/c/37053/
https://build.opnfv.org/ci/job/testapi-verify-master/220/console
Change-Id: Id278edad06c2852c662392d75fd3cf4041b03451
Signed-off-by: MatthewLi <lijun_1203@126.com>
|
|
|
|
|
|
When [1] is ready and merged, we don't need to download the
OS images that are not needed for the deployed scenario.
The same filter applies to armband jobs.
[1] https://gerrit.opnfv.org/gerrit/#/c/37373/
Change-Id: I5813c738a8d9fa1262299cc50993557757f6d7e8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
|
|
|
|
|
|
|
|
|
|
Change-Id: Ie374bb151f351764e86d05d7c7b8e254c9d6cd59
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Change-Id: I2ec55ccba540979148abdf0ab028e114c36eff76
Signed-off-by: JingLu5 <lvjing5@huawei.com>
|
|
|
|
JIRA: RELENG-277
dovetail run against ZTE-pod1 od-odl_l2-nofeature-ha scenario
weekly, every Sunday
ZTE-pod1 od-odl_l2-nofeature-ha scenario already exists, see the time trigger "0 2 * * *"
dovetail-fuel zte-pod1 job already exists
Change-Id: Ic870a78623873ce2f717477dcb09f18794651899
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
* os-nosdn-ovs-noha (dpdk)
* os-odl_l2-nofeature-noha
* os-odl_l3-nofeature-noha
Change-Id: Ic18f13ea4b23ab5bacb5418a6756bedf9e5fc242
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
|
|
Replacing words with variables to make docker deploy generic so that it can
be availed by other modules.
Change-Id: Iacf4829aa5feede48038b71155a4dab43a8d427d
Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
|
|
|
|
|
|
some files/dirs should be gitignored in testapi,
but they may be needed in releng, this patch aims to
manage gitignore by testapi itself
Change-Id: I3c57d1199145d7f062d4e48aa8216ae34672f455
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
As webportal is introduced, the project structure
is becoming more complex, it is time to make it a
a little bit more official
Change-Id: Id380d37b07719f053b0bd385a326a2f2944a4b22
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
|
|
This is a port from the patchset verify job and is needed due to changes
in the docker container.
Change-Id: I54626e4681ab25f6d947aaa2dcf969e5b2e0bab9
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
|
|
These packages are needed by pw-token-gen.py tool
Change-Id: Ib9d165274449551a469e201da9feeffac5a7a4cf
Signed-off-by: Juan Vidal Allende <juan.vidal.allende@ericsson.com>
|
|
|
|
Sync with changes for Fuel@OPNFV targeting master branch (MCP):
- disable ISO build for master branch;
- turn off upload action & checkout;
- add retrieving OS credentials for MCP;
- disable ISO download for master branch;
Change-Id: I11eacfad7ee1f738119e17c2e63c3d92707f8e1f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
https://wiki.opnfv.org/display/INF/Project+Roll+Out+for+Anteater
Week begining July the 10th
Change-Id: Ifc6e59f2298ae8d83679a3817c82a2cc6ec4acd6
Signed-off-by: lukehinds <lhinds@redhat.com>
|
|
Change-Id: I5e9ee5bf45f4f349dc178ce7062610469c8de008
Signed-off-by: zhihui wu <wu.zhihui1@zte.com.cn>
|
|
error log
https://build.opnfv.org/ci/job/compass-os-odl_l3-nofeature-ha-virtual-daily-master/366/
Subprojects triggered but not blocked for
Change-Id: Idc73361430f91c0f2e8002a950a738054442807f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
Since we improved the reporting deploy way, the SERVER_URL is set
to http://testresults.opnfv.org/reporting2 by default. So we don't
need to set it.
So we have to ways:
In CI:
docker run -itd -p 8084:8000 opnfv/reporting:tag
Personal use:
docker run -itd -p 8084:8000 -e SERVER_URL={server_ip}:8084 opnfv/reporting:tag
(8084 is the port mapping, you can change it)
Change-Id: Ibe8adbb4601378d59d4d1fe6c7dd3266222c47d1
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
|
|
|
|
|
|
|
|
The 'fetch_os_creds' script is preferred to run on jump server to get OS creds as mand projects do,
this patch unify the way to get OS creds by volume-binding.
Change-Id: I0da54545ee088458c952f216945c29232d487692
Signed-off-by: JingLu5 <lvjing5@huawei.com>
|
|
|
|
JIRA: DOVETAIL-460
Change-Id: Ibd89d338e94178fadcdfe533c71e4df74641b97c
Signed-off-by: xudan <xudan16@huawei.com>
|
|
support centos. it is needless to verify in centos."
|
|
log https://build.opnfv.org/ci/job/compass-os-nosdn-nofeature-ha-virtual-daily-danube/119/
Change-Id: I7ea57268b92e48c3531f412551c9582f440950ee
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
|
|
Change-Id: I390c742040b3f32c705c989cac82ee7cbe7b5748
Signed-off-by: wutianwei <wutianwei1@huawei.com>
|