<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla.git/tests/test_set_config.py, 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>2020-09-14T10:09:05+00:00</updated>
<entry>
<title>Fix kolla_set_configs --check with a directory</title>
<updated>2020-09-14T10:09:05+00:00</updated>
<author>
<name>Mark Goddard</name>
<email>mark@stackhpc.com</email>
</author>
<published>2020-08-06T09:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=c6835b12a6f1e8f715aa5c69383a8d1836551496'/>
<id>urn:sha1:c6835b12a6f1e8f715aa5c69383a8d1836551496</id>
<content type='text'>
There are several issues with kolla_set_configs --check:

1. We calculate the destination path incorrectly when comparing a file
   in a directory, due to passing arguments to os.path.relpath in the
   wrong order
2. For directories that have not changed, we also attempt to compare
   them as files, which fails when they are open()ed.
3. If the config JSON does not have a config_files key, it fails with a
   KeyError.

The first two issues affect the fluentd container, which specifies
directories as the source, without using a glob. The third affects OVN
containers.

This patch fixes these issues.

Closes-Bug: #1890567

Change-Id: I8921befe51da4282121443849177a7ca5ebe8822
(cherry picked from commit c5320eb22386c34d83435fa0b9aa03b178996b52)
</content>
</entry>
<entry>
<title>Make set_configs.py work with symlinks</title>
<updated>2017-07-06T09:18:53+00:00</updated>
<author>
<name>Martin André</name>
<email>m.andre@redhat.com</email>
</author>
<published>2017-07-04T13:31:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=f54f3406308406a158737c468c5e61ddb1eb61a2'/>
<id>urn:sha1:f54f3406308406a158737c468c5e61ddb1eb61a2</id>
<content type='text'>
Closes-Bug: #1702305

Change-Id: I92a404b8d301937dc1847d42576e30db43951990
</content>
</entry>
<entry>
<title>Fix argument to handle_permissions</title>
<updated>2017-07-02T10:05:36+00:00</updated>
<author>
<name>Chulmin Kang</name>
<email>chaman.kang@gmail.com</email>
</author>
<published>2017-07-02T07:09:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=ea3d140cab23ce3016e3bea7d35e4f5fbb8611f6'/>
<id>urn:sha1:ea3d140cab23ce3016e3bea7d35e4f5fbb8611f6</id>
<content type='text'>
Fix the format of argument passed to handle_permissions function, so
that handle_permissions can handle permissions and ownerships of
config_files.

Change-Id: Ic07975a16973df22cdaa6685fc326620812f8f65
Closes-Bug: #1701876
</content>
</entry>
<entry>
<title>Introduce merge and preserve_properties for config_files</title>
<updated>2017-06-27T06:44:41+00:00</updated>
<author>
<name>Martin André</name>
<email>m.andre@redhat.com</email>
</author>
<published>2017-06-21T13:52:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=e313c896219b3942d66a00d5388ba2cda6bcce87'/>
<id>urn:sha1:e313c896219b3942d66a00d5388ba2cda6bcce87</id>
<content type='text'>
The `merge` option will basically copy all the files recursively inside
the container without removing the existing files or directory, while
the `preserve_properties` option keeps the file attributes
(permissions, ownership, timestamps) in the container.

This is useful if you have extracted some config files from a container
and want to use them in another container based on the same image.

This makes TripleO usage of Kolla much more robust.

Change-Id: I78dcec741a941dc21adba33ba33a6dc6ff1d217c
</content>
</entry>
<entry>
<title>Allow setting copied files group more precisely</title>
<updated>2017-06-21T16:17:44+00:00</updated>
<author>
<name>Martin André</name>
<email>m.andre@redhat.com</email>
</author>
<published>2017-06-06T08:58:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=748a056b0964e2abf93ad66951957c834a32b81b'/>
<id>urn:sha1:748a056b0964e2abf93ad66951957c834a32b81b</id>
<content type='text'>
Previously with the config_files structure of config.json, the group
name was automatically set to the one of the user name. It is now
possible to set the group name in the same fashion than the
'permissions' structure with:

  owner: 'desired_owner:desired_group'

Closes-Bug: #1696095
Change-Id: Ibae9f74e2351c81a717294467aedc51ea773c41e
</content>
</entry>
<entry>
<title>Fix the set config error</title>
<updated>2017-01-18T03:38:22+00:00</updated>
<author>
<name>Jeffrey Zhang</name>
<email>zhang.lei.fly@gmail.com</email>
</author>
<published>2016-08-29T07:35:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=97e17becce5dc7c2261c5e54cfdb18c02ecdcf96'/>
<id>urn:sha1:97e17becce5dc7c2261c5e54cfdb18c02ecdcf96</id>
<content type='text'>
* fix wrong handle for directory
* refactor the code

Closes-Bug: #1563741
Change-Id: I83869e074cb2924f1c5b49a67e57aefef623a8b0
</content>
</entry>
<entry>
<title>Remove dependencies on kazoo and friends</title>
<updated>2016-05-02T13:12:50+00:00</updated>
<author>
<name>Steven Dake</name>
<email>stdake@cisco.com</email>
</author>
<published>2016-05-01T18:00:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=025d57f82005a4ea92950f9b4d717c88f647d15f'/>
<id>urn:sha1:025d57f82005a4ea92950f9b4d717c88f647d15f</id>
<content type='text'>
Since kolla-mesos has been retired, there is no need in the code
base to keep the zookeeper implementation.  As a result, just remove
it.  If we were to keep it we need virtualenvs for that part of the
code base which installs the python dependencies related to it
for from-binary installs.

This just simplifies the implementation tremendously and culls dead
code.

Change-Id: Ieda226e652d67f5b5667112f4f2556f3171366d3
Closes-Bug: #1577194
</content>
</entry>
<entry>
<title>Reconfigure keystone service</title>
<updated>2016-02-27T02:15:48+00:00</updated>
<author>
<name>Jeffrey Zhang</name>
<email>jeffrey.zhang@99cloud.net</email>
</author>
<published>2016-02-25T00:19:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=72ac7a5541e510cadfec0dc6754c5cf52503b187'/>
<id>urn:sha1:72ac7a5541e510cadfec0dc6754c5cf52503b187</id>
<content type='text'>
Partially-implements: bp kolla-reconfig

Change-Id: Ied293e59bf4531e88a0e5e5bf9a5f5f495d2a0e7
</content>
</entry>
<entry>
<title>Add py27 py34 pypy unittest</title>
<updated>2016-01-13T05:47:49+00:00</updated>
<author>
<name>Jeffrey Zhang</name>
<email>zhang.lei.fly@gmail.com</email>
</author>
<published>2016-01-08T11:18:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=67e4607d43eb703bb4e5ac94fa4adf9fe43d31b8'/>
<id>urn:sha1:67e4607d43eb703bb4e5ac94fa4adf9fe43d31b8</id>
<content type='text'>
Change-Id: Iaf58463bd156924839062b8284a2d7151a153db5
</content>
</entry>
<entry>
<title>Add support for copying files from a "zk://" source</title>
<updated>2015-12-02T09:25:43+00:00</updated>
<author>
<name>Angus Salkeld</name>
<email>asalkeld@mirantis.com</email>
</author>
<published>2015-11-19T05:35:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla.git/commit/?id=27c0ae06241e18f6639311aba65657b4ef83cf26'/>
<id>urn:sha1:27c0ae06241e18f6639311aba65657b4ef83cf26</id>
<content type='text'>
Co-Authored-By: Michal Rostecki &lt;mrostecki@mirantis.com&gt;
Implements: blueprint zookeeper

Change-Id: I176f063d3802716846b921e210c1569d28bd90d8
</content>
</entry>
</feed>
