3113 Commits

Author SHA1 Message Date
Michele Baldessari
437f4df0ea Force epmd listening to a specific address
With this change we export ERL_EPMD_ADDRESS set to the
address rabbitmq is listening too. We need to explicitely
export it so that epmd can pick it up and bind to the address.

Closes-Bug: #1645898

Change-Id: Iacb2ee262da419f61ec3511f42b395f69f5d14da
2016-12-31 23:01:30 +01:00
Jenkins
9ba58e005c Merge "Pass nova rabbit information to mysql" 2016-12-23 18:42:57 +00:00
Jenkins
4c25c57c49 Merge "Split OVN northd and ml2 plugin" 2016-12-23 12:45:49 +00:00
Jenkins
db45116afd Merge "Manage disallow_iframe_embed" 2016-12-23 11:29:14 +00:00
Jenkins
3de4f828b4 Merge "Add network_config_hook interface to run-os-net-config.sh" 2016-12-23 11:16:44 +00:00
Jenkins
ff5b7a1d35 Merge "Modify external loadbalancer environments to use new FixedIPs" 2016-12-23 00:36:21 +00:00
Jenkins
ce3331333d Merge "Add CI matrix to THT" 2016-12-23 00:22:13 +00:00
Jenkins
2a6df57475 Merge "Introduce role-specific NodeUserData, use for docker" 2016-12-22 23:41:08 +00:00
Jenkins
6190f56a51 Merge "FreeIPA: Make OTP and FreeIPA server parameters optional" 2016-12-22 23:37:22 +00:00
Jenkins
a63c2273ed Merge "Use ws instead of http for Zaqar websocket endpoints" 2016-12-22 23:14:17 +00:00
Jenkins
a47ebf6df3 Merge "Add bind mounts for agent state" 2016-12-22 22:14:44 +00:00
Jenkins
8125e6880a Merge "Adds missing OpenDaylight username/password from ODL OVS service" 2016-12-22 22:12:07 +00:00
Alex Schultz
7f58104f5d Pass nova rabbit information to mysql
The cell v2 setup requires the transport url for nova. We need to
provide mysql with the rabbit connection information so that it can it
when setting up the cell information.

Change-Id: I43ba77cd4c8da7c6dc117ab0bd53e5cd330dc3de
Related-Bug: #1649341
2016-12-22 13:54:13 -07:00
Jenkins
e2be921333 Merge "Decouple swift-proxy from ceilometer" 2016-12-22 14:06:55 +00:00
James Slagle
20f627c0f0 Add network_config_hook interface to run-os-net-config.sh
run-os-net-config.sh only allows for limited customization of the
network configuration in config.json. Namely, it only customizes the
bridge_name and interface_name.

This will likely not be sufficient for all use cases. This patch adds a
generic network_config_hook bash function that will be called if it is
defined. The function is an entry point for deployers to write custom
code to further influence run-os-net-config.sh.

A possible alternative approach would be to pass the server resource
into the NetworkConfig template. That would allow running arbitrary
SoftwareDeployments on the server before NetworkDeployment is executed.
However, the interface of NetworkDeployment is likely still not as
flexible as this approach as the inputs are hardcoded in the role
template files (role.role.j2.yaml), which are not meant to be modified
by deployers.

The immediate use case for this work is using os-net-config in our
multinode CI jobs where we need to create vxlan tunnels between the
nodes and we need to know the local private IP of each node for the
tunnel endpoint. As the IP is different for each node, it's not a
parameter we could specify in the templates.

Change-Id: I26d0ebdaba6fcd3fe885e41ed234eb79a2405228
Implements: blueprint multinode-ci-os-net-config
2016-12-22 08:34:06 -05:00
Jenkins
d291083e7f Merge "Add hook to generate metadata from service profiles" 2016-12-22 12:08:12 +00:00
Jenkins
58f3d248ba Merge "Add a per service bootstrap node variable" 2016-12-22 11:58:32 +00:00
Carlos Camacho
bb26e4696e Add CI matrix to THT
Currently the description of CI matrix is defined
in tripleo-ci, but the services for each scenario
lives now in THT. This submission moves this table
to the repo in which the configuration is defined.

Change-Id: I9ef1acefc6e1f347528a48edcb4d997a9628fcf6
2016-12-22 11:53:12 +01:00
Juan Antonio Osorio Robles
d2da59065d Add hook to generate metadata from service profiles
This enables the deployer to dynamically add nova metadata to the
servers based on the output of service profiles that implement the
metadata_settings key in the role_data output for the profiles.

One can set an implementation via the OS::TripleO::ServerMetadataHook
resource, which currently is set as OS::Heat::None. So, because of
the default implementation, if left untouched it actually does
nothing.

Currently, besides the list, which is metadata_settings, this hook also
takes the name of the node that it's setting the metadata for.

This is useful for nova vendordata plugins that can parse said metadata.

Change-Id: I8a937f711f0b90156fbb6c4632760435ef846474
2016-12-22 10:06:17 +00:00
Jenkins
33bdba26d6 Merge "Use df instead of findmnt in cephstorage upgrade scripts" 2016-12-21 21:09:36 +00:00
Jenkins
4a7e093a6b Merge "Add "deployed server" fake neutron ports" 2016-12-21 14:52:36 +00:00
Jenkins
64d720a40d Merge "Synchronize NetworkDeployment inputs for generic roles" 2016-12-21 13:53:48 +00:00
Michele Baldessari
8d796ea0e4 Add a per service bootstrap node variable
In order to call commands that need to be run on a single node, we
create a new per-service variable that will contain the first node of
each role containing the service.

Change-Id: I03e8685f939e8ae1fcd8b16883b559615042505d
Partial-Bug: #1615983
2016-12-21 11:52:57 +01:00
Jenkins
6ec44d98b4 Merge "Make the openvswitch 2.4->2.5 upgrade more robust" 2016-12-21 10:28:54 +00:00
Jenkins
aed9e1b9c1 Merge "net-conf: make bridge and interface name optional" 2016-12-21 09:36:29 +00:00
Jenkins
b9cab21630 Merge "Set the default event pipeline publisher" 2016-12-20 20:25:44 +00:00
Jenkins
7246700889 Merge "Use OS::Heat::DeployedServer" 2016-12-20 20:24:22 +00:00
Tim Rozet
c5b7aa125f Adds missing OpenDaylight username/password from ODL OVS service
ODL username and password are already present in the OpenDaylightApi
service.  However, when moving the OpenDaylightApi service to its own
custom role, the Controller/Compute nodes no longer have access to these
hiera values.  This patch adds them also to the OpenDaylightOvs service.

Closes-Bug: 1651499
Depends-On: I418643810ee6b8a2c17a4754c83453140ebe39c7

Change-Id: I169fdad4c94bd6dfc1fe7cde3d6b19b36d916af7
Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-20 13:55:35 -05:00
Pradeep Kilambi
696bb73165 Set the default event pipeline publisher
Since we have aodh enabled for alarms, we should set the
notifier to the default queue alarm.all.

Closes-bug: #1590473

Change-Id: Ibcb5076424ac2ddcd18ff717d82da1aec4c035cb
2016-12-20 10:37:14 -05:00
Dan Prince
5d777f38e7 Use ws instead of http for Zaqar websocket endpoints
This patch updates the endpoint map for Zaqar websockets
so that we use ws (or wss for SSL) instead of the http varients.
This should help resolve protocol issues when trying to make
connections to the websocket API.

Change-Id: Iea88d1e30299cb621424740a39d498defa371ca4
2016-12-20 10:06:34 -05:00
Jenkins
08bc584cd6 Merge "Expose param to enable legacy ceilometer api" 2016-12-20 14:57:47 +00:00
Jenkins
78f377c163 Merge "Move UpgradeInitCommand to role templates" 2016-12-20 14:46:54 +00:00
Jenkins
c2e00128aa Merge "Run upgrade steps before post-deploy config" 2016-12-20 14:45:57 +00:00
Juan Antonio Osorio Robles
d2c61c5b79 FreeIPA: Make OTP and FreeIPA server parameters optional
In the freeipa-enroll.yaml, it can be the case that the node has been
enrolled (via a cloud-init script); in this case, the OTP and the
FreeIPA server are optional. However, we still need to get a kerberos
ticket, which is the last step of this script, since this ticket is what
certmonger will use to request the certificates in subsequent steps.

Change-Id: I7e9d6a747cdcbe81c9a74a17db5e91aa9d459f65
2016-12-20 14:37:08 +02:00
Jenkins
58d711e29f Merge "Remove unused attr from templates" 2016-12-19 23:32:48 +00:00
Jenkins
cc2c3f96b6 Merge "Revert "Switch mistral to use authtoken configuration"" 2016-12-19 23:32:12 +00:00
Ben Nemec
997690ba31 Revert "Switch mistral to use authtoken configuration"
It turns out the puppet-mistral change this depends on broke
introspection, so we need to back it out for now.

This reverts commit ed029e5bf279945e82bff8766af4093856a7ac6a.

Change-Id: I828478267935cdc68aa24de8c9dc2d12fcadb631
2016-12-19 20:34:46 +00:00
Jenkins
a788c006df Merge "Switch mistral to use authtoken configuration" 2016-12-19 18:46:25 +00:00
Steve Baker
d5cd18d3c5 Introduce role-specific NodeUserData, use for docker
Currently when the docker environments are invoked, every node has the
boot script run which replaces os-collect-config with the heat-agents
container. This should only be happening on Compute nodes currently,
and each role will be converted to heat-agents one at a time.

This change implements a role-specific NodeUserData resource and uses
that mechanism to run docker/firstboot/install_docker_agents.yaml only
on Compute nodes.

Change-Id: Id81811dbcaf0e661c3980aa25f3ca80db5ef0954
2016-12-19 18:13:57 +01:00
Steve Baker
e6bc520581 Add bind mounts for agent state
These ensure that software configuration tasks are not re-run when the
heat-agents container is restarted.

Change-Id: Ieb84fe1f6dd849737ff22f51daa12ddc467dcdde
2016-12-19 18:13:57 +01:00
Jenkins
299c301925 Merge "Add a type for the ControlVirtualIP resource" 2016-12-19 15:05:02 +00:00
Jenkins
2d16279117 Merge "Correction to SRIOV THT Examples" 2016-12-19 13:20:47 +00:00
Steven Hardy
c568891000 Move UpgradeInitCommand to role templates
We can't run this during the upgrade steps, because there are things
which need to happen before any role configuration happens, e.g
installing the new hiera heat-config hook, which must be done before
e.g "ControllerDeployment" runs or the stack update hangs.

Partially-Implements: blueprint overcloud-upgrades-per-service
Change-Id: I365b57513590662c3f78a33dc625747f457c48c5
2016-12-19 11:04:47 +00:00
Steven Hardy
58c6988751 Run upgrade steps before post-deploy config
For some upgrade scenarios, e.g all-in-one deployments, it may
be possible to run the upgrade steps, then apply puppet in one
stack update, so reverse the order here.  For normal deployments
the upgrade steps are mapped to OS::Heat::None so this will have
no effect.

Partially-Implements: blueprint overcloud-upgrades-per-service
Change-Id: I3c78751349a6ac2bc5dff82f67bffe13750ac21c
2016-12-19 11:04:47 +00:00
Jenkins
b8a4e40cf2 Merge "Set rabbitmq's port and IP via the config file and not the env file" 2016-12-19 08:54:27 +00:00
Jenkins
3f2242d05e Merge "Introduce role-specific nova-server-metadata" 2016-12-19 07:45:05 +00:00
Jenkins
6111d9ccf5 Merge "Enable SECURE_PROXY_SSL_HEADER option for horizon" 2016-12-19 07:41:31 +00:00
Steven Hardy
d169989598 Split OVN northd and ml2 plugin
This allows us to take advantage of the composable roles hiera
settings to connect the plugin to the northd/ovndb API without
needing to hard-code the IP of the node running the service.

Change-Id: I2508d48f81c1819ae3521fff271c0bdc50724604
Depends-On: I9af7bd837c340c3df016fc7ad4238b2941ba7a95
Closes-Bug: #1634171
2016-12-19 12:30:21 +05:30
Jenkins
d78e6c2822 Merge "Use hostname -s instead of hostnamectl --transient" 2016-12-17 22:47:00 +00:00
Dan Prince
9313e18f30 Add "deployed server" fake neutron ports
This patch swaps out the noop ctlplane port for a more
proper fake neutron port stack. This stack is a swap
in for the OS::Neutron::Port heat resource and can be
controlled via the DeployedServerPortMap parameter.

By relying on <hostname>-<network> naming conventions in the
map we can map IPs to specific servers without using the
Neutron API. This will allow us to inject IP information
into the Heat stack within the new t-h-t undercloud installer
which currently does not run a Neutron service.

Change-Id: I29fbc720c3d582cbb94385e65e4b64b101f7eac9
2016-12-17 09:54:57 -05:00