Age | Commit message (Collapse) | Author | Files | Lines |
|
contents into /root instead of deploy.sh only in /bin
Change-Id: I5c7c3a990bf18480b1e99a2119363e30e68e6d12
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Users may now provide domain_name in the ksgen settings file (along with
setting the correct and respective hostnames). This domain name will be
used for all of the deployed machines.
JIRA: BGS-86
Change-Id: I34b6da07dd565648399ea7a1abf2abe1ae62d91a
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 1089c79563e61589d105accc3067f6ebbd3020ed)
|
|
Change-Id: Ifb1ab47017ab28fab0a39961c2fd7728d2098cda
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit cf15cf80302559a1647d243187240cfca1efaad2)
|
|
VM resources (vcpus, memory, disk size) are now configurable in the
opnfv_ksgen_settings files. Each node in the ksgen settings file now
has "memory, cpus, disk" attributes:
- cpus is an integer number of CPUs to assign to the VM
- memory is an integer size in kilobytes
- disk is an integer size in gigabytes
The vagrant box vmdk is resized for each VM. Each VM will then modify
its partition to the new size, execute the normal reboot, then extend
the physical+logical volumes and filesystem using vagrant provisioning
scripts.
JIRA: APEX-1
Change-Id: I471319db14d2189052961b2f533c65850ebeb1e7
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 5384a722ffae47bc3519512d34802102ebc7be5b)
|
|
The printed horizon URL at the end of a successful deployment was
incorrect for non-HA deployments. The private IP was being printed
which is not publicly accessible. This patch fixes the URL printed to
be the public IP of the control node - the correct URL.
JIRA: APEX-12
Change-Id: Ia2f594e0cf839a9100c3bf5715a38fe4fd243bfe
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit db4a9ac5492659cd435b4e4e84868510259c6b29)
|
|
Patch adds a check to make sure that the user specified static_ip_range
argument (Ex. 192.168.0.10,192.168.0.20) falls within the valid public
subnet of the host (the same subnet as the default gateway).
JIRA: APEX-19
Change-Id: Ifc0b79074b887509617c2749e50d97d1800abad0
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 50fe670726f2229ef963517a890fef2d821b8821)
|
|
|
|
Change-Id: Ibe0840a74b9fe7fc0041ce92190cf82f25ae9298
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Change-Id: Idbe1d8ba5f1fe44ae5c5e407d5999c28909639c5
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Issue where the wrong field was being used for finding interfaces.
JIRA: APEX-11
Change-Id: I94635837c73acd0d271dbc9d0474dc5ba688ff10
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Bug where pxebr was checking for link state UP before the subinterface
was added to the bridge. Moved the check to be after. Added a short
sleep in between issuing the link up and checking link status.
JIRA: OCTO-109
Change-Id: I7f782a35adf49b0da675e932d109c41b26016a5b
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 87157c0dc9bd2a3da709d1cf980cce2e9c5469a3)
|
|
JIRA: OCTO-109
Change-Id: I272a1f9f12454ff71a8a1915ab7b712474b84832
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 1facde0bf0d51035cfed819e7680145969c6174d)
|
|
|
|
|
|
deploy.sh was failing in user deployments because the necessary puppet
modules and vagrant files were being copied accidentally from /tmp and
not the script directory. This patch fixes that issue. clean.sh was
failing checks to see if vagrant or virtualbox was still running, due to
a bug with checking "ps" and using grep. This patch resolves that.
JIRA: APEX-16,APEX-17
Change-Id: I1faa6fc134c0308acb2e7b14be30f7cd3c99d109
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
External network should have been provisioned as services tenant. The
external network and subnet are both changed with this patch. The
external subnet is also now configured to disable dhcp.
JIRA: APEX-9, APEX-10
Change-Id: I3e41dc4b0678efeb0824259147008cf455d8de1e
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Removes default gateway route to 10.0.2.2 after adding public default route
JIRA: APEX-2
Change-Id: I7ba23e916f3995f39ee1677007ae5c1612cb3cc9
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
pxebr bridge is needed by Fuel, but causes issues with Foreman. It is
now removed in clean.sh. setup.sh is also updated to be executable and
fixes a bug where grep was being used on output that is in stderr.
JIRA: OCTO-109
Change-Id: I037e168e40f3352a61a604ed6cea21d10250b434
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 30361efb7d3bf9525e9d9aadd5c137e9a654d1a4)
|
|
Change-Id: If9bf1e1de27a0564a7d6fd0184dc80073bc060e6
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
(cherry picked from commit c4a78e86d6d0eafb754a2bab3323d117ae507494)
|
|
Universal clean script will remove VirtualBox or libvirt/KVM VMs and
related hypervisor packages/kernel modules. The script is meant to be
executed prior to a deploy to clean the jumphost. The script will also
power off baremtal nodes via IPMI. These nodes are defined in yaml
and passed via argument -base_config.
JIRA: OCTO-109
Change-Id: I933b3d505b290d65996d60bf465144d92d433315
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 6de2b5425491885a660748b0aced2f2c2363e07f)
|
|
|
|
This patch deprecates the use of puppet-trystack repo and migrates the
puppet modules even to Genesis. deploy.sh now now copies the modules
from the current Genesis repo into foreman VM's /vagrant to be used
during install (rather than recloning). Associated changes in
Khaleesi/QuickStack:
- Khaleesi: commit 31b912778847f295d1459a71e5c41c808977c91d
- Astapor: commit ac4be11e348d7bcff1e1aa28c96056e18dba5291
JIRA: APEX-8
Change-Id: I322ac797d1d687f17434e07e6775acef8961bdef
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
This patch addresses the detection of the physical NICs to bridge to.
There was a bug where the regexp would ignore some NICs on accident, and
the purpose of the expression was to ignore virtual NICs. Rather than
ignore NICs by their name, this patch ensures that NICs are ignored if
they are actually virtual types.
Also fixes syntax issue with checking for nic_arg_flag.
JIRA: APEX-11
Change-Id: Ibd965c454faab1d751e3ce0b260eabc7fbe7c720
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
|
|
|
|
|
|
Chef removed the centos7 basebox from Atlas. A new opnfv base box was
added. This patch includes the modifications necessary to point to
that new box.
JIRA: APEX-14
Change-Id: I7e74726c692f21583d0d70f9dd7558665dfb5d99
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Ensures nodes are shutoff if a baremetal deployment, before attempting
to deploy. Previous behavior is deploy will run up to Foreman pxeboot,
then fail. We can save a lot of time by detecting this up front. Nodes
must be shutoff before deploying.
JIRA: BGS-68
Change-Id: Ie585e12a5271bc1baac60f6256f85e5cb1b1baeb
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
This patch adds new functionality to be able to specify the physical
interfaces on the jumphost to bridge to (rather than figured out
dynamically). The patch introduces new args for each nic:
- admin_nic
- private_nic
- public_nic
- storage_nic
The public_nic is the only arg to be used when using -virtual. In
baremetal: admin_nic, private_nic, and public_nic must either be all or
none specified. The patch also cleans up virtual node logic, which was
working, but had unnecessary logic.
JIRA: APEX-4
Change-Id: Ic0a2e1d8ce2b7464441e3e9041faf123b86ca7e6
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: I5c04770970fc781f1c7f95ef0f8e308f2c541f89
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Change-Id: I5c04770970fc781f1c7f95ef0f8e308f2c541f89
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
6.1/SR1 OF ARNO)"
|
|
New check makes sure that 3 controller nodes are defined in base_config
when ha_flag is set to true in base_config.
JIRA: APEX-7
Change-Id: I7f49dec82704d8c9cbbcf17eb004b0adede406b3
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
6.1/SR1 OF ARNO)
Change-Id: I8643d268c5d5e3395725667deb50b5f9df7c3f09
JIRA:0
Signed-off-by: Daniel Smith <daniel.smith@ericsson.com>
|
|
Note: The local branch name "removedocker" is missleading!
Change-Id: I4086bb3f47f720407a6356796a9724367cca2898
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
Fixes clean so that it does not hang when base_config is not provided.
Also now removes libvirt libraries which conflict with VirtualBox
required for deploy.
JIRA: BGS-78
Change-Id: I7c71ca207f260eafb1fb97ace764b9d288fc258a
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Bug where pxebr was checking for link state UP before the subinterface
was added to the bridge. Moved the check to be after. Added a short
sleep in between issuing the link up and checking link status.
JIRA: OCTO-109
Change-Id: I7f782a35adf49b0da675e932d109c41b26016a5b
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
pxebr bridge is needed by Fuel, but causes issues with Foreman. It is
now removed in clean.sh. setup.sh is also updated to be executable and
fixes a bug where grep was being used on output that is in stderr.
JIRA: OCTO-109
Change-Id: I037e168e40f3352a61a604ed6cea21d10250b434
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
Change-Id: If9bf1e1de27a0564a7d6fd0184dc80073bc060e6
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Change-Id: I2a204a9119c20cc1ab3a1a20807593454d5b1cd4
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Change-Id: I2a204a9119c20cc1ab3a1a20807593454d5b1cd4
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
|
|
|
|
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|