1113 Commits

Author SHA1 Message Date
Zuul
e261f8ebf1 Merge "FFU: Introduce Aodh fast-forward-upgrade tasks" 2018-03-20 08:42:05 +00:00
Zuul
7126d4c903 Merge "FFU: add fast forward upgrade support for sensu client" 2018-03-19 12:00:41 +00:00
Zuul
97664cb9fe Merge "FFU: Fix glance tasks" 2018-03-19 08:23:35 +00:00
Zuul
7c466fb751 Merge "docker: add support for TripleO UI" 2018-03-17 11:38:01 +00:00
Zuul
32f594de68 Merge "Remove hiera interpolation from ceph-ansible parameters" 2018-03-17 05:54:19 +00:00
Zuul
e210a7a0e0 Merge "Add novajoin service" 2018-03-17 05:50:55 +00:00
Zuul
bb77118d6a Merge "FFU: Fix Keystone FFU tasks" 2018-03-17 04:36:38 +00:00
Zuul
78af246b66 Merge "Adds fast_forward_upgrade_tasks for Heat services" 2018-03-16 23:35:08 +00:00
Zuul
3253bba691 Merge "FFU: Upgrades: fix pacemaker checks" 2018-03-16 14:43:35 +00:00
Giulio Fidente
3acf7e4cfd Remove hiera interpolation from ceph-ansible parameters
We can't interpolate hiera parameters when setting values
for the ceph-ansible parameters.

Change-Id: I647497a593acd8628a2b0f439d8b5380ba8705aa
2018-03-16 15:41:21 +01:00
Zuul
f4a66ba188 Merge "Enable gnocchi-statsd health check" 2018-03-16 14:29:47 +00:00
Pradeep Kilambi
e9557a61a5 FFU: Introduce Aodh fast-forward-upgrade tasks
this upgrades the aodh services from N -> Q

bp fast-forward-upgrades

Change-Id: I245edb766cba21f46a4d31bde71752551422b168
2018-03-16 13:46:52 +01:00
Zuul
fbb6af9bc2 Merge "FFU: Introduce collectd fast-forward-upgrade tasks" 2018-03-16 01:02:00 +00:00
Zuul
fefecf633a Merge "FFU: Fix swift FFU tasks" 2018-03-16 01:01:58 +00:00
Zuul
f2517915d4 Merge "FFU: Introduce fluentd fast-forward-upgrade tasks" 2018-03-15 23:55:06 +00:00
Honza Pokorny
7cbe28b5ef docker: add support for TripleO UI
Co-Authored-By: Martin André <m.andre@redhat.com>
Co-Authored-By: Dan Prince <dprince@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>
Partially-Implements: bp tripleo-ui-undercloud-container
Change-Id: I1109d19e586958ac4225107108ff90187da30edd
2018-03-15 23:43:17 +01:00
Zuul
749ba5fcf3 Merge "FFU: Fix Cinder services action order" 2018-03-15 21:15:02 +00:00
Pradeep Kilambi
487fdb8a35 FFU: Introduce fluentd fast-forward-upgrade tasks
bp fast-forward-upgrades

Change-Id: Icb966f0acf2ba204fe77ae3a394b27fc114d6732
2018-03-15 16:31:18 +00:00
Pradeep Kilambi
74f751c762 FFU: Introduce collectd fast-forward-upgrade tasks
bp fast-forward-upgrades

Change-Id: Idfe3f05441030da9078993070307f420b01256b0
2018-03-15 16:27:27 +00:00
Lukas Bezdicka
d2eeb17d9d FFU: Fix Keystone FFU tasks
We need to set facts instead of resigering values.

Change-Id: I4db80792544c994d8ccd504ca86a10cd8d90039b
2018-03-15 16:10:54 +00:00
Lukas Bezdicka
503762d011 FFU: Fix swift FFU tasks
We need to set fact instead of registering values and we shouldn't
update packages if we don't run any DB migrations.

Change-Id: I2e508b06064f66ae640ae0c8694dbe290ef42846
2018-03-15 14:24:45 +00:00
Lukas Bezdicka
3f38dd6e46 FFU: Upgrades: fix pacemaker checks
Check if pacemaker resource is defined, not if it's running.
Ensure we try disabling pacemaker resources during FFU.

Change-Id: I9be9118490a28ee9c24d9c8c89a8daee75e5b817
2018-03-15 15:00:24 +01:00
Zuul
bebda4036b Merge "FFU: Add mongodb fast forward upgrade tasks" 2018-03-15 13:35:51 +00:00
Zuul
d04bb9bdd9 Merge "Fix gnocchi-upgrade Table <..> already exists errors" 2018-03-15 13:11:31 +00:00
Zuul
a175c9e6aa Merge "neutron: Call destroy-patch-ports before starting ovs-agent" 2018-03-15 04:25:50 +00:00
Zuul
b948588dbb Merge "Enable Tacker health check" 2018-03-15 03:23:45 +00:00
Zuul
045d903363 Merge "Enable etcd health check" 2018-03-15 03:23:43 +00:00
Michele Baldessari
1d704d4733 Fix gnocchi-upgrade Table <..> already exists errors
Currently we are calling /usr/bin/gnocchi-upgrade
--sacks-number=SACK_NUM from each node where gnocchi-api is part of the
role. gnocchi-upgrade seems to be racy and we sometimes end up with the
following error:

2018-03-14 12:39:39,683 [1] ERROR    oslo_db.sqlalchemy.exc_filters: DBAPIError exception wrapped from (pymysql.err.InternalError) (1050, u"Table 'archive_policy' already exists") [SQL: u'\nCREATE TABLE archive_policy (\n\tname VARCHAR(255) NOT NULL, \n\tback_window INTEGER NOT NULL, \n\tdefinition TEXT NOT NULL, \n\taggregation_methods TEXT NOT NULL, \n\tPRIMARY KEY (name)\n)ENGINE=InnoDB CHARSET=utf8\n\n']
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute
    result = self._query(query)
  File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
  File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 856, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1057, in _read_query_result
    result.read()
  File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1340, in read
    first_packet = self.connection._read_packet()
  File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1014, in _read_packet
    packet.check_error()
  File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error
    err.raise_mysql_exception(self._data)
  File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
    raise errorclass(errno, errval)
InternalError: (1050, u"Table 'archive_policy' already exists")

Let's run it from a the bootstrap node by wrapping it into the
bootstrap_host_exec magic.

Change-Id: I106512eeffff3425608a543f9bc5e6a9508d15e5
Closes-Bug: #1755564
2018-03-14 20:49:05 +01:00
Zuul
347ec1cab9 Merge "Assignning a value to NeutronServiceName propertiy in neutron-ovs-dpdk-agent.yaml" 2018-03-14 19:28:34 +00:00
Zuul
baa27f1c33 Merge "docker-puppet.py: don't pull if image exists" 2018-03-14 19:19:47 +00:00
Lukas Bezdicka
9765f8d225 FFU: Fix glance tasks
We need to register fact instead of reruning checks and we can't
hijack glance-api service with glance-registry removal. For the
removal of glance-registry we reintroduce the disabled service
to Controller role.

Change-Id: I38ab5a91b541e7e070f188ee73ef4c7dd7f65eaa
2018-03-14 17:54:35 +00:00
Lukas Bezdicka
a9aff0b566 FFU: Add mongodb fast forward upgrade tasks
Change-Id: Ie1bcc672e0e5bef844a6354e1380e7d53cd67189
2018-03-14 17:39:57 +00:00
Zuul
a197218d60 Merge "neutron: rename db when upgrading a containerized undercloud" 2018-03-14 17:03:30 +00:00
Juan Antonio Osorio Robles
781e1b2b4c Add novajoin service
This adds the relevant templates to enable novajoin in a containerized
undercloud environment. Note that this is not meant for the overcloud
(yet), and since there are several limitations that need to be addressed
first. This is meant for the containerized undercloud.

Depends-On: Iea461f66b8f4e3b01a0498e566a2c3684144df80
Depends-On: Ia733b436d5ebd0710253c070ec47a655036e0751
Depends-On: I554125fd6b48e620370f9e3a6061bbdc1d55b0ae
Change-Id: I3aad8a90816e6fc443f20579f6ac7ad4f35eafcb
2018-03-14 13:55:16 +00:00
Zuul
c931009702 Merge "Convert ServiceNetMap evals to hiera interpolation" 2018-03-14 13:20:13 +00:00
Lukas Bezdicka
5038364cb2 FFU: Fix Cinder services action order
We should try to disable pacemaker resource and shut down services
in step 1 and make sure we check running services only once.

Change-Id: I5676132be477695838c59a0d59c62e09e335a8f0
2018-03-14 14:20:09 +01:00
Zuul
3a2d7fbc3a Merge "Minor update steps for ODL" 2018-03-14 13:20:04 +00:00
Zuul
b9a9bfde3d Merge "Enable nova placement health check" 2018-03-14 04:33:09 +00:00
Zuul
5452576fc9 Merge "Enable nova-migration-target health check" 2018-03-14 04:33:07 +00:00
Zuul
9a29630055 Merge "Enable iscsid health check" 2018-03-14 04:33:05 +00:00
Zuul
8c8f81b97f Merge "Enable memcached health check" 2018-03-14 04:33:03 +00:00
Zuul
09a3c8b379 Merge "Enable collectd health check" 2018-03-14 04:32:27 +00:00
Zuul
41fffa9f8c Merge "Enable cinder-api health check" 2018-03-14 03:43:22 +00:00
Zuul
82b898e92d Merge "Enable gnocchi-metricd health check" 2018-03-14 03:43:20 +00:00
Zuul
c29a5750a4 Merge "Enable ceilometer-agent-central health check" 2018-03-14 03:39:10 +00:00
Zuul
39bacde443 Merge "Enable gnocchi-api health check" 2018-03-14 01:36:18 +00:00
Zuul
9df09eb744 Merge "Enable aodh-api health check" 2018-03-14 01:36:15 +00:00
waleed mousa
470bcd3f58 Assignning a value to NeutronServiceName propertiy in neutron-ovs-dpdk-agent.yaml
Assign openvswitch-agent to  NeutronServiceName propertiy in
neutron-ovs-dpdk-agent.yaml

Change-Id: I4988a9527f55cd60dcf47e8dbe068c56611986e2
Closes-Bug: #1754323
2018-03-13 07:57:16 +00:00
Emilien Macchi
5cb155eb7c neutron: rename db when upgrading a containerized undercloud
When the undercloud was not containerized, the neutron database name was called neutron.
When we upgrade to a containerized undercloud, the database name is called ovs_neutron.
We introduced MigrateLegacyNeutronDb (false by default in the service but true when
the undercloud is containerized) that will rename the database during host_prep_tasks.

Also, we'll make sure mariadb is stopped before running Puppet steps,
but only when we deploy a containerized undercloud and also when mariadb
was actually running. The tasks are idempotent and tested.

Change-Id: I009cd38f4d10bf3942c8f18f90c6a0fa50858219
Closes-Bug: #1753247
2018-03-12 22:25:57 +00:00
Chandan Kumar
38387ada75 Added t-h-t for tempest container
It adds a fake tempest service in order to make tempest
container available on undercloud.

Change-Id: If580292572ee5a11a41f68752a6ffe8a99f066e7
2018-03-12 06:42:15 +00:00