summaryrefslogtreecommitdiffstats
path: root/apex/undercloud
AgeCommit message (Collapse)AuthorFilesLines
2017-11-30Merge "Disable introspection extras"Feng Pan1-0/+1
2017-11-29Disable introspection extrasTim Rozet1-0/+1
According to the documentation introspection extras attempts to collect more hardware info during inspection. This is causing problems for some users and we do not need it for our deployments. JIRA: APEX-534 Change-Id: Ia4a72ed14fb744a10d02ee2d3f4e283cc7208c2b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-29Fixes permissions and owner for undercloud.qcow2Tim Rozet1-1/+2
The undercloud storage disk is copied during our deployment from modified underloud from upstream. We copy it as owner root with wrong permissions. This changes the owner to qemu and sets the permissions the same as the other storage disks that virsh creates for overcloud nodes. Change-Id: Ie884a586f91be3461e4b511e224d061639f04c69 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-11-06Adds ability to deploy from upstream openstackTim Rozet1-4/+10
To deploy with upstream openstack branch, use new deploy setting 'os_version'. A default scenario file for nosdn with pike has been included in this patch. If 'os_version' is a version other than the default version for this OPNFV release, then upstream is used. In order to use upstream with the current OS version use '--upstream' argument to the deploy command, to force an upstream deployment. Also include '-e upstream-environment.yaml' to use default upstream deployment settings. Supports nosdn and odl-nofeature deployments. Change-Id: Ic07e308827b449637b4e86cdd086434e4de2fb69 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-28Adding python unittests for apex/virtual/*Dan Radez1-1/+1
Change-Id: I13dd395cd6270cbf0a02855b1d29794ecca06d76 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-08Merge "Conditionalize VM console arg based on arch"Tim Rozet1-1/+3
2017-09-06Conditionalize VM console arg based on archDan Radez1-1/+4
Change-Id: Ide9159e5ba7d5388c7bf62bf865b0015422e9159 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-06Enabling the aarch check for deploymentDan Radez1-2/+3
Change-Id: Ic5f1fc8a61f74f7aa6b2fabf67169c601a603367 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-31Adds Undercloud retry and log fetchTim Rozet1-3/+15
Retry to install the undercloud if it fails due to sometimes failing. Also copy undercloud log over to host temp dir. Change-Id: I50f98c4f0d52fa6bb56d9dcd0766bbe745160452 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-28Passing deploy_dir through to create_vmDan Radez1-2/+5
Change-Id: I07a1c899d43c5edf1054fc819fff4336d9b3ed16 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet2-0/+206
Removes all bash libraries and converts almost all of the code to a mixture of Python and Ansible. utils.sh and clean.sh still exist. clean.sh will be migrated fully to clean.py in another patch. The Apex Python package is now built into the opnfv-apex-common RPM. To install locally do 'pip3 install .'. To deploy: opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build -v --debug Non-python files (THT yaml, settings files, ansible playbooks) are all installed into /usr/share/opnfv-apex/. The RPM will copy settings files into /etc/opnfv-apex/. JIRA: APEX-317 Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024 Signed-off-by: Tim Rozet <trozet@redhat.com>