<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/docker/nova/nova-api/extend_start.sh, branch train-eol</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla.git/atom?h=train-eol</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=train-eol'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2020-01-14T13:16:38+00:00</updated>
<entry>
<title>Refactor Apache httpd setup</title>
<updated>2020-01-14T13:16:38+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2019-12-10T11:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=6ef631d229eb545246776c0618573daefc8f85bc'/>
<id>urn:sha1:6ef631d229eb545246776c0618573daefc8f85bc</id>
<content type='text'>
All Apache httpd setup has been moved to a new helper script,
kolla_httpd_setup. This includes the existing clean of /run/httpd,
/var/run/httpd, /tmp/httpd etc.

Horizon has an additional bit of Apache config for Debian/binary, which
has been kept in extend_start.sh for horizon.

Change-Id: Ia2af74b69c151db0bd7e452460b0babcee50b282
Related: blueprint centos-rhel-8
(cherry picked from commit 8484190e77e4237247dac7fba128e5a111fc9918)
</content>
</entry>
<entry>
<title>Support DB bootstrap from Nova Conductor container</title>
<updated>2019-08-20T16:22:40+00:00</updated>
<author>
<name>Doug Szumski</name>
<email>doug@stackhpc.com</email>
</author>
<published>2019-07-26T12:20:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=b087f058c96be252aa32842f208f766295a2b5ca'/>
<id>urn:sha1:b087f058c96be252aa32842f208f766295a2b5ca</id>
<content type='text'>
Currently the Nova API container does all the database bootstrapping
for Nova. In a deployment with more than one active cell, it makes
more sense for the conductors to bootstrap their own databases, rather
than have the Nova API container do it. This change adds support for
that. Until the support is actually used, we leave Nova API as-is.

Partially Implements: blueprint support-nova-cells
Change-Id: Id3a78b6838a3aae04f5dd5bd6ec928359297cfd3
</content>
</entry>
<entry>
<title>Run nova api_db sync before db sync</title>
<updated>2019-06-17T10:07:01+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2019-06-17T09:49:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=84a07102e2db92333ce416a520151f1a1856f162'/>
<id>urn:sha1:84a07102e2db92333ce416a520151f1a1856f162</id>
<content type='text'>
Backport: Stein, Rocky

Since cells v2 was introduced, nova operators must run two commands to
migrate the database schemas of nova's databases - nova-manage api_db
sync and nova-manage db sync. It is necessary to run them in this order,
since the db sync may depend on schema changes made to the api
database in the api_db sync. Executing the db sync first may fail,
for example with the following seen in a Queens to Rocky upgrade:

    nova-manage db sync
    ERROR: Could not access cell0.
    Has the nova_api database been created?
    Has the nova_cell0 database been created?
    Has "nova-manage api_db sync" been run?
    Has "nova-manage cell_v2 map_cell0" been run?
    Is [api_database]/connection set in nova.conf?
    Is the cell0 database connection URL correct?
    Error: (pymysql.err.InternalError) (1054, u"Unknown column
            'cell_mappings.disabled' in 'field list'") [SQL: u'SELECT
    cell_mappings.created_at AS cell_mappings_created_at,
    cell_mappings.updated_at AS cell_mappings_updated_at,
    cell_mappings.id AS cell_mappings_id, cell_mappings.uuid AS
    cell_mappings_uuid, cell_mappings.name AS cell_mappings_name,
    cell_mappings.transport_url AS cell_mappings_transport_url,
    cell_mappings.database_connection AS
    cell_mappings_database_connection, cell_mappings.disabled AS
    cell_mappings_disabled \nFROM cell_mappings \nWHERE
    cell_mappings.uuid = %(uuid_1)s \n LIMIT %(param_1)s'] [parameters:
    {u'uuid_1': '00000000-0000-0000-0000-000000000000', u'param_1': 1}]
    (Background on this error at: http://sqlalche.me/e/2j85)

Despite this error, the command actually exits zero, so kolla does not notice
the failure.

This change reorders these two commands to run the api_db sync before the db
sync.

Change-Id: I0514c02aaee1a413a7979c3a426e0484df839861
Closes-Bug: #1832860
</content>
</entry>
<entry>
<title>create missing apache2 directory on Debian/Ubuntu</title>
<updated>2019-06-03T13:11:24+00:00</updated>
<author>
<name>Marcin Juszkiewicz</name>
<email>marcin.juszkiewicz@linaro.org</email>
</author>
<published>2019-05-28T10:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=932f09bcd65e15524b5229fdb6bc73a7e0111b27'/>
<id>urn:sha1:932f09bcd65e15524b5229fdb6bc73a7e0111b27</id>
<content type='text'>
Ubuntu/source deployment of several images (horizon, placement-api, zun)
failed with:

+ exec /usr/sbin/apache2 -DFOREGROUND
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot

Change-Id: Ie2a1077f7def0743f1403341985e2109aa490026
</content>
</entry>
<entry>
<title>Fix nova-api extend_start.sh</title>
<updated>2018-06-11T06:59:52+00:00</updated>
<author>
<name>yatin</name>
<email>ykarel@redhat.com</email>
</author>
<published>2018-06-11T06:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=6de3e6885639a92a87ece004afd2f827ce2a9ac0'/>
<id>urn:sha1:6de3e6885639a92a87ece004afd2f827ce2a9ac0</id>
<content type='text'>
Patch https://review.openstack.org/#/c/558765 added
an extra closure bracket }, this patch fixes it.

Change-Id: I379ff17856509c9321b86c13a72eacc18f5c1202
Closes-Bug: #1775698
</content>
</entry>
<entry>
<title>Apply Nova rolling upgrade logic</title>
<updated>2018-06-05T09:54:37+00:00</updated>
<author>
<name>Duong Ha-Quang</name>
<email>duonghq@vn.fujitsu.com</email>
</author>
<published>2018-04-04T08:19:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=7f1ba57e1868cab599f3f8fb2731fe4663428462'/>
<id>urn:sha1:7f1ba57e1868cab599f3f8fb2731fe4663428462</id>
<content type='text'>
This patchset apply Nova rolling upgrade logic [1]

[1] https://docs.openstack.org/nova/latest/user/upgrade.html

Change-Id: I2cc973896d08988c0db121673d357fd1d37e6e6c
Implements: blueprint apply-service-upgrade-procedure
</content>
</entry>
<entry>
<title>Fix if $user is root at extend_start</title>
<updated>2017-05-12T12:40:52+00:00</updated>
<author>
<name>egonzalez90</name>
<email>dabarren@gmail.com</email>
</author>
<published>2017-05-12T11:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=45c54d7959a04dd95e871d6d00dd0fb84a5126d0'/>
<id>urn:sha1:45c54d7959a04dd95e871d6d00dd0fb84a5126d0</id>
<content type='text'>
In ubuntu is not evaluating correctly
if $user == root check at extend_start.

Changing to "$(whoami)" == 'root' fixes the issue

Change-Id: I296a1f98764cdfa09650c483bc7beba53e6bdba4
Closes-Bug: #1690360
</content>
</entry>
<entry>
<title>Add missing cleanup step for new apache images</title>
<updated>2017-04-20T08:17:38+00:00</updated>
<author>
<name>Martin André</name>
<email>m.andre@redhat.com</email>
</author>
<published>2017-04-04T08:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=e2c7e2512a3e2373d4f92ec5bdd8152ce152ff0b'/>
<id>urn:sha1:e2c7e2512a3e2373d4f92ec5bdd8152ce152ff0b</id>
<content type='text'>
A few new images got apache as part of blueprint
apache-packages-for-apis without a cleaning up. Without this step the
containers may fail to restart due to runtime files already present.

This commit fixes it for all images with the exception of heat-base so
that it can be cleanly backported to stable/ocata.

It also removes the unused APACHE_DIR variable from freezer-api and
keystone extend_start.sh script.

Change-Id: I47d75221b3d1aae91f11d3e0da83e221a00315b7
Closes-Bug: #1679565
</content>
</entry>
<entry>
<title>Adds migration step from nova to nova_api database</title>
<updated>2016-04-05T07:50:01+00:00</updated>
<author>
<name>Serguei Bezverkhi</name>
<email>sbezverk@cisco.com</email>
</author>
<published>2016-04-03T21:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=7676b079e6b812b16ac63d753d27853e75732d69'/>
<id>urn:sha1:7676b079e6b812b16ac63d753d27853e75732d69</id>
<content type='text'>
This patch adds a missing required step to migrate information from the nova
to the new nova_api database.

Closes-Bug: #1565497

Change-Id: Ia1554e12c688e5a6509af2d37f1825fd4ab666be
Co-Authored-By: Steven Dake &lt;stdake@cisco.com&gt;
</content>
</entry>
<entry>
<title>Remove duplicate code in nova extend_start.sh</title>
<updated>2016-02-23T07:58:46+00:00</updated>
<author>
<name>Éric Lemoine</name>
<email>elemoine@mirantis.com</email>
</author>
<published>2016-02-22T13:32:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ede53b1dcbd475aa0dff339ee8dffaa9008247a9'/>
<id>urn:sha1:ede53b1dcbd475aa0dff339ee8dffaa9008247a9</id>
<content type='text'>
Change-Id: I37d737509bc7cf3dc74bb13ecb0a6ae68080556e
Partial-Bug: #1546944
</content>
</entry>
</feed>
