<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/docker/nova/nova-api/extend_start.sh, branch stein-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=stein-eol</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla.git/atom?h=stein-eol'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/'/>
<updated>2019-12-31T02:03:08+00:00</updated>
<entry>
<title>create missing apache2 directory on Debian/Ubuntu</title>
<updated>2019-12-31T02:03:08+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=7d9cd19673e9520c181cbe4d7b83387a43a464c4'/>
<id>urn:sha1:7d9cd19673e9520c181cbe4d7b83387a43a464c4</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
(cherry picked from commit 932f09bcd65e15524b5229fdb6bc73a7e0111b27)
</content>
</entry>
<entry>
<title>Run nova api_db sync before db sync</title>
<updated>2019-06-27T14:24:57+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=09226a59866e5ace7d573bac2e0772109a2554a0'/>
<id>urn:sha1:09226a59866e5ace7d573bac2e0772109a2554a0</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
(cherry picked from commit 84a07102e2db92333ce416a520151f1a1856f162)
</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>
<entry>
<title>Make Heka collect Nova logs</title>
<updated>2016-02-19T21:49:18+00:00</updated>
<author>
<name>Éric Lemoine</name>
<email>elemoine@mirantis.com</email>
</author>
<published>2016-02-03T10:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=511a758982b715bd00ac415deac47f0f9275d055'/>
<id>urn:sha1:511a758982b715bd00ac415deac47f0f9275d055</id>
<content type='text'>
Partially implements: blueprint heka
Change-Id: I67dfc5d762d74454e4a852dd61c57fe9cd4b78c8
</content>
</entry>
<entry>
<title>Create nova-api database</title>
<updated>2016-02-02T21:56:54+00:00</updated>
<author>
<name>SamYaple</name>
<email>sam@yaple.net</email>
</author>
<published>2016-02-01T23:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=e7dfd63bfc5cfba0117c410d418feaff0f7999f3'/>
<id>urn:sha1:e7dfd63bfc5cfba0117c410d418feaff0f7999f3</id>
<content type='text'>
This is a required patch.

Kilo introduced a nova-api database but didn't use it. [1]
Mitaka now uses it and has broken booting instances. [2]

[1] https://wiki.openstack.org/wiki/ReleaseNotes/Kilo#OpenStack_Compute_.28Nova.29
[2] https://github.com/openstack/nova/blob/df0fca62cf5324f5b6eae0fed1f88c6c9ed61c71/releasenotes/notes/request-spec-api-db-b9cc6e0624d563c5.yaml

Change-Id: If0a7f4ba4937fab8d60f5236ca00db06faa768c7
Closes-Bug: #1540579
</content>
</entry>
</feed>
