<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-cloud-services.git/meta-openstack/recipes-support/deploychef, branch pyro</title>
<subtitle>Mirror of git.yoctoproject.org/meta-cloud-services.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=pyro</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=pyro'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/'/>
<updated>2017-01-09T17:23:58+00:00</updated>
<entry>
<title>chef: remove the use of chef</title>
<updated>2017-01-09T17:23:58+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2017-01-09T15:04:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=0d6067258d09fdd47c95828e5e0e9b0f9987a529'/>
<id>urn:sha1:0d6067258d09fdd47c95828e5e0e9b0f9987a529</id>
<content type='text'>
The use of chef was never complete, had isses with updating binary
database files and had a cumbersome implementation. Since we are using
Ansible in meta-overc we are dropping the use of chef here and will
look to being at par with meta-overc by using Ansible if/when we get
time to look at runtime configuration in meta-cloud-services.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>housekeeping: replace deprecated base_contains</title>
<updated>2016-12-21T16:47:05+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2016-12-21T15:22:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=bd2525ceb47699747f9370773fa629bf28c999d6'/>
<id>urn:sha1:bd2525ceb47699747f9370773fa629bf28c999d6</id>
<content type='text'>
Fixes:
base_contains is deprecated, please use bb.utils.contains instead.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>housekeeping: remove references to openvswitch-controller</title>
<updated>2016-02-05T19:42:17+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2016-02-04T01:40:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=38682b461c31c252e2b3647d574727149a7423d4'/>
<id>urn:sha1:38682b461c31c252e2b3647d574727149a7423d4</id>
<content type='text'>
Per 5181ec2259eba5f4d3ec8516ea693bbc94481cf3 [openvswitch: rename
openvswitch-controller] and f7dcf5bce94064d32e6d07f9385fbff02e2a86f2
[openvswitch: enable systemd support] on meta-virtualization we remove
references to openvswitch-controller. This was never intended to be
something that should be installed. So removing this from the
packagegroup and chef.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: use /etc/init.d/run-postinsts to execute scripts</title>
<updated>2014-09-26T13:09:22+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-09-25T13:45:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=d0bef02d7dfff29fc99760cb75aa7a78ae68acca'/>
<id>urn:sha1:d0bef02d7dfff29fc99760cb75aa7a78ae68acca</id>
<content type='text'>
With changes made to the identity class, the postinstall
scripts no longer register users and services with keystone.
Instead, the registration is put inside the file
/etc/keystone/service-user-setup by the postinstall scripts.
Executing /etc/keystone/service-user-setup then registers
the users and services with keystone through /etc/keystone/identity.sh.
Therefore, executing just the postinstall scripts is not enough
enough to properly bring up the stack. However, executing
/etc/init.d/run-postinsts does both.

In addition, we are executing scripts within run-deploy in the
current shell environment so that the user can see all the updates
to the databases on the terminal.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: result of adapting deploychef to openstackchef class</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-07-31T00:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=ef4a3055abee950950c2aac127854eb9e83f2793'/>
<id>urn:sha1:ef4a3055abee950950c2aac127854eb9e83f2793</id>
<content type='text'>
The functionality the following files provide are now implemented in
openstackchef class, they are no longer needed in the deploychef package.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: non functional changes to deploychef package</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-07-30T23:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=1675bd0d6c8b7cb69e044a9d75b6ad1d43ce3ccb'/>
<id>urn:sha1:1675bd0d6c8b7cb69e044a9d75b6ad1d43ce3ccb</id>
<content type='text'>
Spelling mistake correction and sentence restructuring to the
header section in recipe file.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: adaptation of deploychef to support openstackchef</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-07-30T23:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=261f7f857503d7dcd7dcdc4c36aeff1b57194f9b'/>
<id>urn:sha1:261f7f857503d7dcd7dcdc4c36aeff1b57194f9b</id>
<content type='text'>
The deploychef package has been adapted to implement the
run-time functionality required by decentralized openstackchef
class.

It does this by executing a script (deploychef) which instruct chef-solo
to recreate configuration files from all template files placed
at

/opt/deploychef/cookbooks/openstack/templates/default

by openstackchef class at build-time.

The deploychef init script run-level is lower than run-postinsts
script, which runs all openstack post-install scripts at first boot.
The deploychef script makes a call to run-chefsolo script,
which then creates openstack configuration files from all template
files mentioned above as directed by a recipe file.
This enables us to reconfigure an openstack image on first-boot,
thereby, updating the image with environment variables like IP address.

Like the template files above, there is a list of all default
variables used by the services in an openstack installation.
These variables, like the templates files above are created by
the openstackchef class and saved to a file under deploychef
directory at:

/opt/deploychef/cookbooks/openstack/attributes/default.rb

Whenever it's desired to reconfigure an openstack deployment
with an updated value of any of the variables in the attributes file
above, the script file run-deploychef should be executed to
reconfigure the stack as shown below.

cd /opt/deploychef
./run-deploychef

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: make chef-solo templates for openstack services</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-05-28T02:02:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=48bd378fda4db37b519742bdcf98b6a48f83b594'/>
<id>urn:sha1:48bd378fda4db37b519742bdcf98b6a48f83b594</id>
<content type='text'>
The deploychef package enables us to reconfigure an openstack
installation at run-time. It does this with the help of chef-solo,
by first creating a set of template files from openstack services'
configuration files. The template files are then passed on to chef-solo
at run-time. Finally, chef-solo recreates the services' configuration
files from the template files at run-time; this enables us to reconfigure
openstack services with dynamic run-time environment variables.

This patch set consist of files with helper functions which enables
deploychef to recreate the template files for the respective openstack
services.
Later on in this commit series, the files in this patch set
will be deleted, because the functionality they provide will be
provided by openstackchef class.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: helper script and configuration files</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-05-28T02:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=800f64a64014fdbe046a6d0969303057de2e6539'/>
<id>urn:sha1:800f64a64014fdbe046a6d0969303057de2e6539</id>
<content type='text'>
Deploychef package reconfigures an openstack installation.
These are helper files used by the deploychef package to bring the
system down and back up again before, and after chef-solo has generated
our desired configuration files from template files.

Later on in this commit series, the *-list files will be replaced with
dynamically generated *-list files by openstackchef. In addition,
the script files will be adapted to support openstackchef.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>deploychef: configure chef-solo for deploychef package</title>
<updated>2014-09-26T13:09:21+00:00</updated>
<author>
<name>Mustapha Lansana</name>
<email>Mustapha.Lansana@windriver.com</email>
</author>
<published>2014-05-28T02:02:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=eeda01a7be07c78dac7b6ae5013524d857ceba3b'/>
<id>urn:sha1:eeda01a7be07c78dac7b6ae5013524d857ceba3b</id>
<content type='text'>
The deploychef package uses chef-solo to reconfigure an openstack
installation by converting services' configuration files to template
files. The attributes file defines the constants chef-solo uses to generate
configuration files/scripts. The recipe file describes how those
files/scripts should be created. The config and .json files
are input to chef-solo and describe location of files.

Later in this series, the attributes file will be replaced by a
dynamically generated attributes file. In addition, the recipe file
will change to accommodate changes to deploychef in order to support
openstackchef.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
</feed>
