Age | Commit message (Collapse) | Author | Files | Lines |
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: provision-vm-nodes: Use sudo to remove the XCI directory"
- xci: provision-vm-nodes: Use sudo to remove the XCI directory
Since I00d77e1fc62cccda7920af3469af9d44247780f4 the entire XCI_DEVEL_ROOT
is being removed. However, some of the files are owned by root so we
need elevated privileges to remove these files and directories
Change-Id: Ie10018ded198b922077e38fa5776fca098418192
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "bifrost: scripts: Do not run env-setup twice"
- bifrost: scripts: Do not run env-setup twice
This is already done a few lines above since
I94874d600a29247b7826324cc111901995df90dc so there is no need to do it
twice.
Change-Id: I661516d9aadd265bf6869005718b2f51c57ff84d
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Ensure XCI_DEVEL_ROOT is removed"
- Ensure XCI_DEVEL_ROOT is removed
It is important to start with a clean XCI_DEVEL_ROOT in order to
ensure the leftovers from the previous deployment doesn't result
in successful or failed deployments due to not having it in sync
with the latest updates.
Change-Id: I00d77e1fc62cccda7920af3469af9d44247780f4
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: synchronize-time: Install the chrony package and drop Xenial reference
The roles should pull all the packages they need so we need to install
the 'chrony' package everywhere and also drop the Xenial reference since
there is nothing Ubuntu specific here.
Change-Id: I51fb24573c0e884f8a96868e304b23140cc23b41
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: configure-nfs: Install the NFS server package
We need to explicitly install the nfs server package instead of bundling
it to the dib image since not every node needs it.
Change-Id: I73f59f4ed582359df80ea08712b433537c087aea
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: configure-nfs: Add SUSE support
Add ability to restart the NFS server on SUSE hosts.
Change-Id: Id5f0edb399151c62302b2e36bb9451ed35501d3f
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: configure-network: Add ability to configure network on SUSE hosts
Change-Id: I42c6f5f07ac87b5599758947fabe5fce36d44a2e
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: xci-deploy.sh: Allow xci-deploy.sh to run on SUSE hosts
SUSE support is slowly being added to XCI.
Change-Id: I1ab6c01d3a33a9b2264992b5e1d202146972743f
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: xci-deploy.sh: Configure dib so VMs match the host
In preparation for adding SUSE support, we need to configure the dib
build process to build images which match the host's OS.
Change-Id: I4944245d526f916b2033abc5d219fa7a69db54ab
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Vagrantfile: Update base OS before installing XCI
The Vagrant image may be old and have stale metadata leading to
failures when installing packages. As such, it's best to update
it as soon as possible. This is also inline with the AIO documentation
which suggests to always use an up to date OS.
Change-Id: I43d9f8431e1a6ed877936adc65c54be466b76aff
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Vagrantfile: Bump memory requirements to 16G
Apparently 8G is no longer enought to deploy the 'mini'
flavor since the following error occurs:
[14505.101254] Out of memory: Kill process 23666 (qemu-system-x86) score 344 or sacrifice child
[14505.103404] Killed process 23666 (qemu-system-x86) total-vm:5566132kB, anon-rss:3008288kB, file-rss:0kB, shmem-rss:0kB
Change-Id: Iaa21ad367c63bf17a2c999082b5e09fa2e772d67
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Vagrantfile: Add workaround for empty /etc/hosts
Due to a bug in Yast2, /etc/hosts may be empty in Vagrant images so
add a workaround for it.
Change-Id: I1da9204a07f33008f9d5f1ec9ce976116e9d7a4c
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Move Vagrantfile to root directory
We need access to the entire releng-xci directory so we can use the
OPNFV_RELENG_DEV_PATH variable to use modified files for testing
purposes so we move the Vagrantfile to the root directory.
Change-Id: I941b6f2efff479024ff580c3d58fcdcbadd9aa7f
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Vagrantfile: Set $HOME/.local/bin to path
It appears that pip install --user puts files in .local/bin
which may not always be in $PATH.
Change-Id: Ifa9fb3ee448471a00986e7f6f51544a3e436c9e1
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: Vagrantfile: Switch off privilege mode
The xci-deploy.sh script should not be run as root.
Change-Id: I8d78d9df218508a72b6e419d16c95739fc1801e0
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: playbooks: Add task for loading distribution variables
vars_files doesn't support loading files with variables in their names.
As such we add a new task to include these files before running any of
the roles. This fixes warnings like this:
Info: Starting provisining VM nodes using openstack/bifrost
-------------------------------------------------------------------------
No config file found; using defaults
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
skipping vars_file '../var/{{ ansible_os_family }}.yml' due to an undefined variable
Change-Id: I0a49e2ed8d811bb40a99612462752f8691133e0f
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- xci: env-vars: Bump Ansible version to 2.3.2.0
Now that bifrost uses virtual env for Ansible we can go ahead and
bump the Ansible version to match the one from OSA so we can make use of
the latest features. Furthremore, we stop passing ANSIBLE_VERBOSITY to
the command line since it's an environment variable so Ansible already
knows about it.
Change-Id: I52d9a211fc0ced1f7830f6945b2943f35d38109b
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- bifrost: Use virtual environment for bifrost
bifrost forces us to use an old Ansible version which means we can't
take advantage of new features in XCI playbooks. As such, we move the
entire bifrost step to a virtual environment so we can have a newer
version of Ansible on the host.
Change-Id: I94874d600a29247b7826324cc111901995df90dc
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Disable strict host key checking for galera cluster check
The command to check the galera cluster fails due to having strict
host key checking enabled.
This change disables strict host key checking for galera_container
to ensure we can verify if the database cluster is operational.
OSA does this for aio on their gate and put host key checking
configuration to group_vars which we might need to do as well.
Change-Id: Ifc59581d979c71f1db1b87126659470dc85cc2db
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "Generate and use certificates for OSA"
- Generate and use certificates for OSA
Instead of making OSA to generate self signed certs, bring our
own and pass them.
By this way we will be able to trust in that certs, and start
consuming OpenStack easily.
It will also generate proper openrc file to source it and start
consuming the cloud properly.
Change-Id: Ic72a8b05e6efb222926fc5fa0800e033b2dbd22f
Closes-Bug: RELENG-266
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "synchronize-time: Retry if chrony failed due to NTP issues"
- synchronize-time: Retry if chrony failed due to NTP issues
chrony randomly fails with the following issue
TASK [synchronize-time : synchronize time]
*************************************
fatal: [controller00]: FAILED! => {"changed": true, "cmd": "chronyc -a 'burst 4/4' && chronyc -a makestep", "delta": "0:00:00.004991", "end":
"2017-09-14 19:30:37.561972", "failed": true, "rc": 1, "start": "2017-09-14 19:30:37.556981", "stderr": "", "stdout": "200 OK\n503 No
such source", "stdout_lines": ["200 OK", "503 No such source"],"warnings": []}
As such, lets retry a few more times before giving up.
Change-Id: I20767bb3031061c03c9ba8dbc65859c7312bfac9
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: xci-deploy.sh: Do not 'tee' ssh output"
- xci: xci-deploy.sh: Do not 'tee' ssh output
Using 'tee' to capture 'ssh' command output randomly breaks with the
following error:
tee: standard output: Resource temporarily unavailable
Lets just store the log on the host and copy it back in the end.
Change-Id: I41edac138b8642e8765d5c1e5974b375b5b3203b
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: SHA bump as of September 5th 2017"
- xci: SHA bump as of September 5th 2017
The SHA bump is required for SUSE support.
Change-Id: If21e7658ee2ee967c458c08d186b5c1d07b5d93c
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Merge "xci: scripts: Update wording for comments"
- xci: scripts: Update wording for comments
Update wording so it matches the upstream one and minimize the
noise on a-r-r updates.
Change-Id: I216c1ee1ac4f24ab2c5a382bfe5e2aacf324024a
Signed-off-by: Markos Chandras <mchandras@suse.de>
|
|
* Update docs/submodules/releng-xci from branch 'master'
- Add ~/.local/bin to PATH if it is not there already
Change-Id: Ie9481ce8ec891313b613d824a8f8943e706884f7
Signed-off-by: Tapio Tallgren <tapio.tallgren@nokia.com>
|
|
Change-Id: I70f8a66404be63c595df5c7026cfe4806b079315
Signed-off-by: agardner <agardner@linuxfoundation.org>
|