Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
|
|
|
|
Signed-off-by: Szilard Cserey <szilard.cserey@ericsson.com>
|
|
Patch needed after updated fuel devops repo key change
Reference: https://github.com/stackforge/fuel-main/commit/82e77c7f476a23220f44b74c7f32fc04a7189a4e#diff-9d30c16c74e663e5cdb1dc7d9189ed2d
Patch needed after updated fuel devops python package versions
Reference: https://github.com/stackforge/fuel-main/commit/a765460d3fd69089e3b4d2b3a6b55e28e6fb53eb
Rebased site.pp
Change-Id: I138b383b0d57091a81f98acae3b6e7af6a189632
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
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>
|
|
|
|
|
|
JIRA: OCTO-109
Change-Id: I272a1f9f12454ff71a8a1915ab7b712474b84832
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: I2d7b1862e49cf56e4b962248957a09cef83f0f23
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
|
|
|
|
Verifies that subnets are at least these sizes for deploy:
- admin: 5 IPs
- private: 10 IPs
- public: 25 IPs
- storage: 10 IPs
JIRA: BGS-71
Change-Id: I0a6c373c9a8737fa9f0c2712851616dc301968f3
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Now all VMs in the vm_dir (/opt/var/opnfv) will be destroyed and
removed. Also, virtual box VMs that are leftover even if Vagrant is
stuck will attempted to be gracefully removed first, before forcefully
destroying the process. The clean should work for both baremetal and
virtual deployments.
JIRA: APEX-3
Change-Id: Ib31cf1210651e4413ec8fe918ff91be63f4ad6d4
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
For bare metal deployments, the list IP of the last IP of the subnet
and 20 IPs before are reservered for neutron public IPs.
A new function to subtract a number from an IP was added.
Really fixed the logic for skipping 10 IP for VIPs was flipped to treat
no_dhcp with static IPs as a special case.
Removed a false print statement that the foreman VM is running.
Consolidated two identical print messages with the public IP range.
Change-Id: I189b9440dafd98e49d9a147515810e44b97ab256
Signed-off-by: randyl <r.levensalor@cablelabs.com>
|
|
Looks like for some reason GIT_SSL_NO_VERIFY=true is required for the
git clone to work in LF lab. I guess git cannot recognize the SSL
cert. However, this same git clone command works on another non-LF
server that is using the same exact git version without the need for
this fix.
JIRA: BGS-60
Change-Id: I2a71902b3fe01026644ada29bef67c3db3cda711
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
JIRA: BGS-60
Change-Id: I23a004d41ff8fd37a0ddcae1b4831a333000cae8
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
JIRA: BGS-60
Change-Id: Ida9458cf638eca81e6a3d67941203c605d9e4a8a
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
No longer relies on bgs_vagrant github project. Now Foreman VM is
created under /var/opt/opnfv/foreman_vm, instead of /tmp/bgs_vagrant for better
naming convention and file location. Other VM nodes are also placed in
/var/opt/opnfv/.
JIRA: BGS-60
Change-Id: I009d907ad777750168b822ab86cd11515e28cdd7
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
This patch will take care of the subnet on public range. Instead of
having a stoned /24, we can use now use at least /27 subnet (because
foreman will try to use 20 IPs for public floating ip pool)
This is not the best way to do that, but it's better than the current
way.
It also add a parameter to set the number of floating IP we want to use
from the public subnet in provider network.
Change-Id: I467f2a4098d2da3c6f666453cead64e18d0c655c
JIRA: BGS-75
Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
|
|
No longer needed post Arno
Change-Id: I24ba94e48658372034e334d413f044f407f2cb72
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
BGS-83
Change-Id: I0dada0a6c4fc6b9dda9fe586b0371ba543045057
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
|
|
For the LF pods, it seems that the ansible reload playbook is necessary,
in our pod, we also need to wait 1 minute before trying to run shell
provisionner in Vagrant VM.
This patch adds a 1 minute pause into the ansible playground in order to
be sure that the machine will be accessible.
This avoid "SSH connection unexpectedly closed" issue.
Change-Id: Iab2b47decb0120e8359a175b1f16ccbd1036e91f
JIRA: BGS-85
Signed-off-by: arnaudmorin <arnaud.morin@gmail.com>
|
|
|
|
Patchset fixes the following:
- Virtual deployment no longer requires 3 networks, does a lookup of
the public interface on the server to bridge to, and then uses internal
VirtualBox networks for the other admin and private networks
- enable_virtual_dhcp option now allows enabling of Foreman DHCP
server. This new default behavior is to use static IP address in
virtual deployments. This is more useful in environments where
disabling DHCP on the public network is not an option.
- static_ip_range argument used to define which IP block to use out of
the public network for the deployment. Valid only in virtual deployment.
- puppet verification for virtual deployments added
- horizon and foreman URLs will now be printed at the end of deployment
- fixes and updates to non-HA deployments
- ping_site argument now allows users to specify the site to verify VM
internet connectivity. Default is google.com which is unreachable in
China
JIRA: BGS-73
Change-Id: I63b4c91477591d2f9436b5e6f59a2f2ee021d7d7
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
case of dhcp/pxe time-out
Change-Id: Id505a0ee89b72460bc65c7181ceae40e5443a515
JIRA:
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
|
|
|
|
|
|
|
|
BGS-80
Change-Id: I97a5d2a9b1f6c799c1976ec1cf6e687b108e0d0f
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
|