6708 Commits

Author SHA1 Message Date
Zuul
f85cefec43 Merge "Enable Neutron server health check" 2018-02-21 11:04:03 +00:00
Marius Cornea
ca7721003b Do not remove packages during FFU
This change removes the UpgradeRemoveUnusedPackages parameter from
the fast-forward-upgrade environment to avoid removing packages
during upgrade which leads to failures.

Change-Id: I3e9ca8ef653f8298bc68bfe9752ae773f0fc34c0
2018-02-20 20:58:52 -05:00
Zuul
e937174f99 Merge "ffu: Add fast-forward-upgrade env" 2018-02-21 01:56:01 +00:00
Zuul
b02849a0fe Merge "Refactor get-occ-config.sh" 2018-02-20 21:36:19 +00:00
Lee Yarwood
93083a656c ffu: Add fast-forward-upgrade env
This change introduces a simple environment file to be used when
updating the inital overcloud stack to generate the required Ansible
outputs. This environment introduces the following:

- resource_registry entries to ensure compatability between the deployed
  Newton stack and the new Queens stack. These services having been
  previously deprecated in Ocata before removal in Pike.
- parameter_defaults for StackUpdateType and UpgradeRemoveUnusedPackages

bp fast-forward-upgrades
Change-Id: I3c690b8d08ca3a7d75481e176760a0efddebf82a
2018-02-20 13:22:04 -05:00
Sergii Golovatiuk
961f7315f3 Refactor get-occ-config.sh
* Add $ to to eval hosts to get proper dereference
* Add quatas around eval
* Replace let with ((i++))

Change-Id: I5dbb6ef16598905b6d3bbb9efc448e0b45cbe099
2018-02-20 16:14:14 +01:00
Zuul
69a011727e Merge "Add firewall chain configuration" 2018-02-20 15:00:33 +00:00
Zuul
69c0232a6f Merge "Mount netns as shared to persist namespaces" 2018-02-20 12:04:46 +00:00
Zuul
2218e7baba Merge "Do not use the 3rd argument of yaql groupBy" 2018-02-20 07:18:53 +00:00
Zuul
1143294fee Merge "Cleanup /etc/sysconfig/iptables on stack update" 2018-02-20 05:08:33 +00:00
Zuul
a8d7d2ab9b Merge "Zuul: Remove project name" 2018-02-20 05:06:14 +00:00
Zuul
031fc65a0d Merge "Revert "Disable SNMP service in all CI jobs"" 2018-02-20 05:06:03 +00:00
Zuul
de8c27a223 Merge "Restrict SNMP to internal network" 2018-02-20 05:05:59 +00:00
Zuul
76d1a4c73c Merge "Add reno for manila generic driver removal" 2018-02-20 01:57:26 +00:00
Alex Schultz
a1ec856e61 Add firewall chain configuration
Adds the ability to specify firewall chains via heat templates.
Additionally newer versions of docker have switched to updating
the FORWARD chain to DROP by default. Neutron needs this to be
ACCEPT by default. This change adds the ability to specify
firewall chains via templates.

Depends-On: Ib75f97748540b9162d76c9c189d3ca7e082b3784
Change-Id: I15ec9216013a1b0b935dcd1f5bc8281348777189
Related-Bug: #1750194
2018-02-19 15:28:32 -07:00
Zuul
f075e46076 Merge "Ensure node is rebooted before enabling DPDK" 2018-02-19 20:46:36 +00:00
Zuul
d7ec3c48ac Merge "Allow passing custom openshift-ansible playbook" 2018-02-19 20:46:28 +00:00
Zuul
97afd58793 Merge "Simplify FastForwardRepoArgs structure used in FFU repo selection." 2018-02-19 20:46:12 +00:00
Zuul
583090d288 Merge "Add TripleOFirewall service to undercloud roles" 2018-02-19 20:46:00 +00:00
Zuul
b47f0e15d5 Merge "undercloud: remove duplicate Neutron Server entry" 2018-02-19 20:45:52 +00:00
Zuul
98d6527674 Merge "Revert "Enable *_use_fqdn in ceph-ansible when EnableInternalTLS"" 2018-02-19 20:45:37 +00:00
Zuul
db56757a66 Merge "Add pacemaker upgrade_tasks for P..Q major upgrade" 2018-02-19 20:20:59 +00:00
Zuul
1efa62a233 Merge "Disable UseDNS in sshd config" 2018-02-19 20:15:31 +00:00
Thomas Herve
0ddfff79ee Do not use the 3rd argument of yaql groupBy
Due to an incompatible change in yaql, it's hard to use the aggregration
of groupBy as the behavior is completely different depending on the
version. Let's try to not rely on it.

Change-Id: I2887011f6baf4867d422579b116b5e143acf5679
Related-Bug: #1750032
2018-02-19 16:32:42 +01:00
Zuul
0d78b528d2 Merge "Fix a typo in docker_puppet_apply.sh" 2018-02-19 09:20:53 +00:00
Sofer Athlan-Guyot
19029070c5 Simplify FastForwardRepoArgs structure used in FFU repo selection.
The current structure is unnecessarily complex forcing the use of
json_query filter with a parameter.  The quoting inside that line
become hard to read and is currently failing.

We change the structure to a simple hash, as this is currently all
what is needed.

Change-Id: I17f2d1b4e549e275d7d6a675cd522c6b567815ac
Closes-Bug: #1749911
2018-02-19 08:56:45 +00:00
Zuul
3b50fdf886 Merge "Add docker service for neutron-ovs-dpdk-agent service" 2018-02-19 08:47:03 +00:00
Emilien Macchi
f48709e22e Revert "Disable SNMP service in all CI jobs"
Now SNMP is secured, we can re-enable it in CI.
This reverts commit cb90c8ce484d8e0328a0f2a8250e1c0fa81dd6cb.

Change-Id: I4ec805015ab8975d8922279ea64546799f5ce92a
2018-02-19 02:24:44 +00:00
Emilien Macchi
43155ed146 Restrict SNMP to internal network
Add a parameter, SnmpdIpSubnet, which can be an IP/MASK that will be
used to secure with IPtables the source network authorized to reach
SNMP service on the host.
If SnmpdIpSubnet is left empty (default) the parameter will be set to
SnmpdNetwork.

Also change the IPtables id, 127 was used by Horizon, so let's switch
SNMP to 124. No impact on users.

Change-Id: I46fce28926cb5a881f7384948480266712ae75e3
Closes-Bug: #1749324
2018-02-19 02:24:28 +00:00
Zuul
7b8e0b7d72 Merge "Fix docker neutron logging" 2018-02-18 01:12:21 +00:00
Zuul
18a7258915 Merge "docker-registry: add missing firewall rules" 2018-02-17 22:57:59 +00:00
Zuul
b80b208359 Merge "docker: don't override horizon::vhost_extra_params" 2018-02-17 22:23:14 +00:00
Zuul
5d1c1d0bba Merge "Add non-production ceph defaults to low-memory-usage.yaml" 2018-02-17 20:27:07 +00:00
Emilien Macchi
995cf71057 docker: don't override horizon::vhost_extra_params
horizon::vhost_extra_params is already configured in
puppet/services/horizon.yaml, and users can change the value with
HorizonVhostExtraParams parameter.

Docker deployments didn't have HorizonVhostExtraParams taken in account
since we were overriding with Hiera. This patch fix it.

Closes-Bug: #1749627
Change-Id: I77f1312112c7f613d795242060709082ef72f150
2018-02-17 18:00:02 +00:00
Emilien Macchi
05a0f6cdec Add TripleOFirewall service to undercloud roles
... so we can configure IPtables on containerized undercloud.

Depends-On: https://review.openstack.org/545367
Change-Id: I9f8c3d18938926257456388fd15e8eeb2e2868fd
2018-02-17 01:42:06 +00:00
Emilien Macchi
9d9289cf6d undercloud: remove duplicate Neutron Server entry
... or the deployment fails since we try to deploy twice the
OS::TripleO::Services::NeutronApi service.

Change-Id: I92d5d037074494c40fb2b1968985a95ffd2fae12
2018-02-17 01:42:01 +00:00
Emilien Macchi
c658ca55fc docker-registry: add missing firewall rules
... needed when the undercloud is containerized, since the overcloud
need access to the undercloud registry.

Change-Id: Idf55b14b79b9e3073a5f8caaa4a3c4634c3d3d7d
2018-02-17 01:41:57 +00:00
Emilien Macchi
fd7999c14e mistral-executor: mount /var/lib/mistral
When containerizing mistral-executor, we need to mount /var/lib/mistral so
our operators can get the config-download logs when the undercloud is
containerized and config-download is used to deploy the overcloud.

To help our operators, we also create /var/lib/mistral/readme.txt so
they know where to find the config-download data.

Change-Id: I8d31d5fec2721c6e4f82b1ad2169a7635cb57600
Closes-Bug: #1749823
2018-02-17 01:41:52 +00:00
Emilien Macchi
e897da3b69 Update YAQL queries with groupBy
YAQL introduced a backward incompatible change in one of its minor
versions:
3fb9178401 (diff-f36776b660e5fe4f88e3295e5b751396R215)

It changes the expected behavior of groupBy() aggregator, so we need to
update our queries otherwise it fails with a "list index out of range"
error.

Change-Id: I2ca2ebb2c8d22aeedbcb6920072db5b6dba3311b
Closes-Bug: #1750032
Co-Authored-By: Alex Schultz <aschultz@redhat.com>
2018-02-17 01:41:12 +00:00
Tom Barron
ee0521b25a Add reno for manila generic driver removal
A recent change [1] removed dysfunctional environment templates
for manila with the "generic" back end.  Add a release note for
same.

[1] I2e1db2bd614eae65e59712f50dc3391f16f6b388

Change-Id: Iaca0250361055d5175fc93814334cd393e959395
2018-02-16 12:46:00 -05:00
Michele Baldessari
dc811f803a Fix a typo in docker_puppet_apply.sh
In change Icf4a64ed76635e39bbb34c3a088c55e1f14fddca we did a refactoring
of the puppet apply commmands into a single script. A typo slipped in
where we set FACTOR_uuid instead of FACTER_uuid

Change-Id: If67d1bbf50d4fdaffa14e197dffc90f5b1577712
Closes-Bug: #1750000
2018-02-16 18:31:31 +01:00
John Fulton
fa026d6440 Add non-production ceph defaults to low-memory-usage.yaml
Ceph Luminous does not create a pool if the pg_number,
pool size, and mon_max_pg_per_osd are outside of Ceph
recomended practice for production clusters. TripleO
development environments which use low-memory-usage.yaml
may not meet this criteria and fail a deployment with
Luminous unless the defaults for these values are overriden
as in this change.

Change-Id: I12ee495b780f29fc098c5c3bd57c46fd946146ae
Closes-Bug: #1749544
2018-02-15 22:59:56 +00:00
Emilien Macchi
985e037dc2 docker: configure group/user for deployment_user
See context here: Ia5cc7b34ebee8cf2f49300ce23050370d5f1038a

This user will be useful for containerized undercloud, to maintain
parity with what was done in instack-undercloud.

Depends-On: Ia5cc7b34ebee8cf2f49300ce23050370d5f1038a
Depends-On: Ifd1bec1262dfbd213810bb2b4d561f47bf010e69
Change-Id: I48ab4a0ba0240e931391602943b471b5b6ec8e80
2018-02-15 20:17:55 +00:00
Zuul
0b719f3023 Merge "Unify the Cinder HA and non-HA docker configurations" 2018-02-15 19:27:45 +00:00
Zuul
4b6a7462ce Merge "Undercloud: support for external VIP for SSL" 2018-02-15 19:24:13 +00:00
Zuul
b3e566422b Merge "Fix PublicVirtualFixedIPs in envs" 2018-02-15 16:03:02 +00:00
Zuul
d582730249 Merge "Align zaqar max_messages_post_size with undercloud" 2018-02-15 15:57:53 +00:00
Zuul
da9d3e3a31 Merge "Change type of CephAnsiblePlaybook from string to comma_delimited_list" 2018-02-15 13:57:10 +00:00
Zuul
5a5d1a745c Merge "undercloud_post: fix subnet name" 2018-02-15 13:38:12 +00:00
Martin André
7b762a6a0c Disable UseDNS in sshd config
The UseDNS causes the sshd server to perform a reverse DNS lookup when
a client connects which introduces reasonable delay when everything is
fine, but can be counted in seconds when DNS is not setup correctly.
This is particularly annoying when using ansible to configure the node
as it is failing with timeouts waiting for privilege escalation prompt.

This commit disables the UseDNS option since we do not use hostname
based authentication in TripleO.

Change-Id: Ib000f3488326a802d97d0bcdb3299d54248f0935
2018-02-15 14:10:04 +01:00