<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-cloud-services.git/meta-openstack/classes, branch kilo</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=kilo</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=kilo'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/'/>
<updated>2015-02-20T03:50:09+00:00</updated>
<entry>
<title>chef: make deploychef dependencies a distro feature</title>
<updated>2015-02-20T03:50:09+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@windriver.com</email>
</author>
<published>2015-02-20T03:23:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=5cb7f84b7fdce2d667f51f94af5fdfd4f1e5bd26'/>
<id>urn:sha1:5cb7f84b7fdce2d667f51f94af5fdfd4f1e5bd26</id>
<content type='text'>
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>add generic monitor framework</title>
<updated>2014-09-30T18:30:18+00:00</updated>
<author>
<name>Vu Tran</name>
<email>vu.tran@windriver.com</email>
</author>
<published>2014-09-30T16:22:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=b4d666ff63acd269b0acb2c4419643863c683750'/>
<id>urn:sha1:b4d666ff63acd269b0acb2c4419643863c683750</id>
<content type='text'>
Instead of having a central file or group of files to
describe what data resources should be monitored.  The
content of these files will depend on what core system
monitoring is used ((e.g. Nagios or Monasca).

It's desirable to have each recipe describes what
it wants be monitored in generic way such that various system
monitors can understand and convert these into their format.

If a recipe wishes to register itself to system monitor, it
inherits monitor bbclass and use MONITOR_SERVICE_PACKAGES and
MONITOR_SERVICE_&lt;package name&gt; to indicate what processes
should should be monitored.  Also MONITOR_CHECKS_&lt;package name&gt;
variale can be used to pass list of scripts which will be run
on target and if any of these scripts fail then will report.

Eventually monitor.bbclass will be expanded to allow recipe
to describe more complicated information passed down to
system monitor (e.g. Nagios or Monasca)

Signed-off-by: Vu Tran &lt;vu.tran@windriver.com&gt;

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>openstack-base: support for openstackchef to hook into rootfs creation</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:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=2b726dacf1d2213c0a5ebc01f1db4f0caa8d06d5'/>
<id>urn:sha1:2b726dacf1d2213c0a5ebc01f1db4f0caa8d06d5</id>
<content type='text'>
Openstack-base class is inheriting openstackchef class
Since we want openstackchef post-rootfs function to be called
after rootfs creation for all openstack images, openstack-base
class need to inherit openstackchef class.
In addition, we want the node names; compute/controller
to be reconfigurable to other variables beside
compute/controller in /etc/hosts file at run-time, and be consistent
with node names used for compute/controller in all openstack installation.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>openstackchef: decentralized openstack-chef class implementation</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:08:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=caf76c8322f247d0829dc9a18009bee0b1195a06'/>
<id>urn:sha1:caf76c8322f247d0829dc9a18009bee0b1195a06</id>
<content type='text'>
This class provides a framework for recipes(packages) to register
their configuration files with the deploychef package. This class
works together with the deploychef package. This implementation
makes it possible for the deploychef package, with the help of
chef-solo, to recreate registered configuration files at run-time.

Only services that inherit this class and register their configuration
files are re-configurable at run-time; and by configurable, we mean to
make chefsolo templates out of their configuration files and to be aware
of the list of daemons that need to be killed/started at run-time.
Therefore, openstackchef class requires the recipes/classes inheriting
it to advertise their configuration files, list of start/stop daemons
and finally a special callback function when necessary.

In order to avoid duplication of common placeholders and
substitution across the various recipes inheriting this class,
we keep a dictionary of common placeholders and substitutions,
but rely on the recipes to define the values these placeholders take
at run-time.
See the description at the top of the class files (openstackchef.bbclass
and openstackchef_inc.bbclass ) for more details.

This class makes chef-solo template files out of the configuration
files exposed to it by the recipes.
The resulting templates are stored at

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

on the resulting rootfs.

It also creates a file containing a set of chef-solo default template
values known as attributes in chef-solo world. The default values are
provided by the recipes and classes inheriting this class.
The chefsolo attributes file is stored at

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

at the end of rootfs creation process.

At run-time, the deploychef package whose package files are stored
at '/opt/deploychef', makes a call to chef-solo.
Chef-solo in turn uses the attributes and templates files to overwrite
the configuration files for services like neutron, nova, swift, etc..
that registered configuration files with openstackchef class
at build time. See accompanying documentation for further explanation.

Signed-off-by: Mustapha Lansana &lt;Mustapha.Lansana@windriver.com&gt;
</content>
</entry>
<entry>
<title>identity.bbclass: update where to find run-postinsts script</title>
<updated>2014-07-31T15:57:23+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2014-07-30T17:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=ce6ac55384cc3dec5e3760172924842719002c8c'/>
<id>urn:sha1:ce6ac55384cc3dec5e3760172924842719002c8c</id>
<content type='text'>
It's now 99, not 98

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
</content>
</entry>
<entry>
<title>aio: add support for identity.bbclass</title>
<updated>2014-07-30T04:50:59+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2014-07-28T15:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=3b59cc8c9564bbf8df07eb4bb8991d1a32ac9c78'/>
<id>urn:sha1:3b59cc8c9564bbf8df07eb4bb8991d1a32ac9c78</id>
<content type='text'>
Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
</content>
</entry>
<entry>
<title>Keystone: build time incremental/programatic user additions</title>
<updated>2014-07-30T04:50:59+00:00</updated>
<author>
<name>Andy Ning</name>
<email>andy.ning@windriver.com</email>
</author>
<published>2014-07-16T15:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=a7395b4401d076aac72d59c0503648cb27d46002'/>
<id>urn:sha1:a7395b4401d076aac72d59c0503648cb27d46002</id>
<content type='text'>
Instead of creating tenant/user/role and service/endpoint for all
openstack services in keystone postinstall, now each of the services
creates keystone identities by itself in its own postinstall.

The exiting identity.bbclass has been re-written so that each of
the individual postinstalls will queue up keystone identity creation
in /etc/keystone/service-user-setup at runtime. And
service-user-setup will be run as the last postinstall to create
keytstone identities for all the services.

Signed-off-by: Andy Ning &lt;andy.ning@windriver.com&gt;
</content>
</entry>
<entry>
<title>Add metadata service support to controller node</title>
<updated>2014-06-18T19:08:11+00:00</updated>
<author>
<name>Andy Ning</name>
<email>andy.ning@windriver.com</email>
</author>
<published>2014-06-13T15:21:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=9b966a64a3bbf50f4661d4d8adac2a56794db5cb'/>
<id>urn:sha1:9b966a64a3bbf50f4661d4d8adac2a56794db5cb</id>
<content type='text'>
The metadata service is working as the following:
- metadata is being served by nova-api on controller at port 8775.
- VM instance requests metadata by 169.254.169.254 (eg, curl http://169.254.169.254/latest/meta-data)
- metadata request comes to neutron-ns-metadata-proxy on controller in dhcp network name space.
- neutron-ns-metadata-proxy forwards the request to neutron-metadata-agent through a unix domain socket (/var/lib/neutron/metadata_proxy).
- neutron-metadata-agent sends the request to nova-api on port 8775 to be serviced.

To support metadata service, neutron-ns-metadata-proxy is baked into the controller image. Also neutron-metadata-agent startup script
(/etc/init.d/neutron-metadata-agent) and config file (/etc/neutron/metadata_agent.ini) are added to start up metadata agent at system
initialization. dhcp_agent.ini and nova.conf are updated as well.

A README.metadata is added in the Documentation/ directory.

Signed-off-by: Andy Ning &lt;andy.ning@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>ruby: Use en_US instead of C locale</title>
<updated>2014-05-27T20:28:33+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2014-05-27T17:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=96ad965cc70b57d520adca5a120e699c0deaabd9'/>
<id>urn:sha1:96ad965cc70b57d520adca5a120e699c0deaabd9</id>
<content type='text'>
If a builder doesn't have the C locale an error can occur:

| DEBUG: Executing shell function do_compile
| /bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
| ERROR:  While executing gem ... (ArgumentError)
|     invalid byte sequence in US-ASCII
| WARNING: ..../mime-types-1.25.1-r0/temp/do_compile/run.do_compile.5389:95 exit 1 from
|   LANG="C.UTF-8" LC_ALL="C.UTF-8" gem build $gem
| ERROR: Function failed: do_compile (see ..../mime-types-1.25.1-r0/temp/do_compile/log.do_compile.5389 for further information)

Use the en_US locale instead which tends to be more widely available
and from the looks of things usually recommended.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
</content>
</entry>
<entry>
<title>ruby.bbclass is incompatible with older python</title>
<updated>2014-05-24T04:27:14+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2014-05-23T17:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=4a70d93624a1397c1e03a4f6c494e20757c53f8c'/>
<id>urn:sha1:4a70d93624a1397c1e03a4f6c494e20757c53f8c</id>
<content type='text'>
subprocess.check_output() doesn't exist in older python2.6*

Rewriting as subprocess.Popen

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
</content>
</entry>
</feed>
