Age | Commit message (Collapse) | Author | Files | Lines |
|
Deploy is now pip/rpm installed as opnfv-deploy in /bin. Alternatively
the deploy.py script can be invoked via python. The legacy deploy.sh
was only being used for CI, which has now been updated to remove the
need for the Apex repo containing ci/deploy.sh.
Change-Id: I1fb93bd9de23a97a09bedb8ac014ef81955875f2
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
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>
|
|
Change-Id: I369b9d24880ebdb0836e42740ebf27082be9de99
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
opnfv-tht-pr: 128
opnfv-puppet-tripleo-pr: 23
Change-Id: Ib99f7e3968ed03bd86ca0de9c6c37c9871921486
Signed-off-by: bobzhou <bob.zh@huawei.com>
|
|
Change-Id: I7010fb29bf6927d3d4050d9dd8326a0ec7bc44f1
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
JIRA: APEX-426
Change-Id: Id2ea69fd26c1160885cbd532d297ed9d3b89f5f7
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Currently we allow specifying ram per Overcloud VM. If the node is
detected as ODL, we bump the RAM to a minimum of 10GB. There is a need
to be able to specify the RAM per compute node in cases where we need
controller RAM to be high, but want compute nodes to be low (like CSIT)
- in order to keep the memory footprint as small as possible.
Changes Include:
- Adds '--virtual-compute-ram' argument that will override the
'--virtual-ram' param for compute nodes
- Fixes a bug where if ODL is used and RAM is overridden to 10GB for
Control nodes, it was also accidentally being set for compute nodes
- Modifies '--virtual-ram' to be '--virtual-default-ram' in order to
clarify this parameter sets the default amount of RAM for all
overcloud nodes which may be overridden by a role specific arg
Change-Id: Ia36082aa2167d9897f3ec6753d08804352301c63
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
- Also removing a stale file
Change-Id: Ice2f9b4f9961bcd7f05278f11995aa0af237ac8e
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Introduces new (hidden) cli option to change composable env config.
This parameter then will use the provided file, for example,
csit-environment.yaml instead of the typical opnfv-environment.yaml.
The effect is using less services required for ODL CSIT snapshots.
Note: this will not work with perf options, but those are not required
currently for ODL CSIT.
CSIT also does not need ceph, so providing a new deploy option to
allow disabling it.
JIRA: APEX-362
Change-Id: If3833b1acceeb23ef9e12c90df6cc9607bd8c724
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: I73d8e92b97b25b39010380d09f7fad3c65795869
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
removing unused option from deploy comments
Change-Id: I2cddffebf0246c1b3f8f4adb96549dc1ce29ec80
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Right now we use a ntp_server parameter set in deploy.sh, but since
new network_settings file contains ntp information already, we can
use those values instead.
JIRA: APEX-266
Change-Id: I717af80b967971ea9111002d657972efd94a163a
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
OVS with NSH should be installed only if we're enabling SFC in an
ONOS deployment
JIRA: APEX-331
Change-Id: I54826bb2d62b20c42f00c856d8458444f2f795e5
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
VLAN support allows a set of nodes with a single nic to deploy removing
the need for --flat. flat was not well maintained or tested.
Change-Id: Ieae1c2350c83544ce50048b44300fa0b8e68dd43
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
- proposed in genesis
https://wiki.opnfv.org/display/genesis/Common+Network+Settings
- This patch updates the network_settings files in the config/network dir
and updates the associated bash, python and python tests relative to
the new yaml structure and nomenclature used in the proposed settings
file
JIRA: APEX-262
Change-Id: Ib0dc9d0f21465b38f2a53cff20f71fb9230bfc48
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
|
|
|
|
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
We don't want NTP update to fail the entire deployment, as the ntp server
is hard coded in deploy.sh and the server is not always accessible.
Change-Id: I044484e4f81d7580ce4d4824a4bcc4b6b8f7d0f1
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
- allows tab completion for deploy and clean script's subcommands
Change-Id: If5f5718a3695993767671ab823f434f463c593f2
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Since the VMs use ntpdate to set the correct time, the host should
also have the correct time.
JIRA: APEX-246
Change-Id: I55ba59398f56ad25df283336c8ed75e6a3652fe4
Signed-off-by: Randy Levensalor <r.levensalor@cablelabs.com>
|
|
Change-Id: Ib03728e8ffe9c65044b32b4348e9c1c88862c6e3
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Defaults for virtual deployments was not correct, there were three baremetal
nodes being created by default for a noha deployment.
JIRA: APEX-221
Change-Id: I8b13ffb620d8ebaed4308725edbc7e84279872dd
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
- Move deploy option parsing to before network settings parsing,
as performance options are needed during networking setting
parsing.
- Fix numa fdio_enabled option setting
- Add numa to controller hiera hierarchy in tht
opnfv-tht-pr: 53
Change-Id: I0a87c557c8bf653d5a86eccdbb3172733c06716a
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
JIRA: APEX-222
Change-Id: I435852fbe1597bf03f617dc14a6718de699b648f
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
trying to reduce the monolith deploy.sh to smaller parts
Change-Id: Ie2d2d74de5b8cacbb1c57d3d397bede0b659c0af
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
trying to reduce the monolith deploy.sh to smaller parts
Change-Id: Ie7068473e4ddd8eeca28ebd03de57781222ad761
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
trying to reduce the monolith deploy.sh to smaller parts
Change-Id: Iceeda2be0539563163bceaacbb54c6cc2d07b87b
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
trying to reduce the monolith deploy.sh to smaller parts
Change-Id: Ia92c055021073dc72f46a970cd03206ddd8df8da
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
trying to reduce the monolith deploy.sh to smaller parts
Change-Id: Ic40a7327d95a290d83f9c0b18ad87a280b0da3c4
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
trying to reduce the monolith deploy.sh to smaller parts
Change-Id: Ic788748969819637171a51d10b87b018fe286ae1
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
|
|
Trying to split the monolith deploy.sh
Change-Id: Ib145e01696384b1b27e8a79263647235e7d68e2a
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
After dpdk finishes install, br-phy needs to be brought up and ovs-agent
needs to be restarted. This cannot happen in tripleO because
os-collect-config will try to ping from dpdk interfaces to the
controller to validate network connectivity. This doesn't work with
dpdk, so we leave br-phy down until end of deployment.
JIRA: APEX-119
Change-Id: I3d36d02b773fcbb3c5527b85fd00a2fa1b3cc25d
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
Changes include:
- Copies root pub key to overcloud nodes
- Introduces overcloud util command to login control/computes
- Minor fixes to undercloud util command
JIRA: APEX-192
Change-Id: I903fda4b1d232fc623137490630ac905ebb781d7
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
JIRA: APEX-135
opnfv-tht-pr: 16
opnfv-puppet-tripleo-pr: 2
Change-Id: Ic14abd13e2aa46d7ef37b74dd7b005ebf9977bdd
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
- syntax updates to match pep8 standards
- tests to cover apex_python_utils.py
Change-Id: Ifac06fdbb97266f1b574b20610979b6965d6dd55
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Issue where in default network_settings, api_network is not specified.
This means that the settings do not have api_network in its output, but
the nic template checks to see if api_network vlan is native in its
logic. This patch assumes a vlan will be numeric. A blank value or a
value of 'native' will not be numeric therefore default is expanded to
allow blank values as non-vlan networks.
Also fixes controller to always have br-ex.
Change-Id: Ibebb231901e653127175aef194eec708e8507da2
Signed-off-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Dan Radez <dradez@redhat.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
* changes:
Fixes IP failure during os-collect-config ping check
Adding VLAN support
|
|
|
|
|
|
JIRA: APEX-136
JIRA: APEX-30
Change-Id: I7cbbe11f4c1f1455dba253733c78fe8dc215de97
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
|
|
JIRA: APEX-133
opnfv-tht-pr: 29
Change-Id: I3080c91c3995ed946b902a75907ef11cb349fc33
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
JIRA: APEX-177
Change-Id: I6ee95a3c525fb58699fb3af795a66639f217214c
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
- Make sure flat network is not used when ovs-dpdk is used
- Make sure private network is enabled when ovs-dpdk is used
JIRA: APEX-174
Change-Id: I595b142124033392145b28221d64088d45c3e8d5
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
Sahara isn't installed, and having the endpoint confuses testing
services. This patch removes the endpoint after deployment.
Change-Id: Iaab227d398704c31911feaf7ea3bfbfa655d0f54
JIRA: APEX-176
Signed-off-by: Michael Chapman <michapma@redhat.com>
|
|
JIRA: APEX-119
Change-Id: Ia66f2ef4c169187b0cb575b10292d02f530b9902
Signed-off-by: Tim Rozet <trozet@redhat.com>
|