<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-cloud-services.git/meta-openstack/classes, branch fido-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=fido-kilo</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=fido-kilo'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/'/>
<updated>2015-12-11T17:11:31+00:00</updated>
<entry>
<title>Use a bbclass to remove argparse from requirements</title>
<updated>2015-12-11T17:11:31+00:00</updated>
<author>
<name>Josep Puigdemont</name>
<email>josep.puigdemont@enea.com</email>
</author>
<published>2015-12-09T12:40:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=0a89c5fa0d68d4c0325ca0790990ba4c5df592eb'/>
<id>urn:sha1:0a89c5fa0d68d4c0325ca0790990ba4c5df592eb</id>
<content type='text'>
argparse is required by some of the CLI applications of openstack. The
module is provided by python 2.7, however python-distribute (used in
fido), is not able to find it:

Python 2.7.9 (default, Oct 27 2015, 18:12:55)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import pkg_resources
&gt;&gt;&gt; pkg_resources.get_distribution('argparse')
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File
"/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py",
line 338, in get_distribution
    if isinstance(dist,Requirement): dist = get_provider(dist)
  File
"/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py",
line 217, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File
"/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py",
line 698, in require
    needed = self.resolve(parse_requirements(requirements))
  File
"/usr/lib/python2.7/site-packages/distribute-0.6.49-py2.7.egg/pkg_resources.py",
line 596, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: argparse
&gt;&gt;&gt; import argparse
&gt;&gt;&gt;

This patch adds a class that when inherited will remove argparse from
requirements.txt. Also with this patch, those python modules used by
openstackclient inherit the class.

Signed-off-by: Josep Puigdemont &lt;josep.puigdemont@enea.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>ruby.bbclass: Error fix</title>
<updated>2015-12-11T17:11:29+00:00</updated>
<author>
<name>Li xin</name>
<email>lixin.fnst@cn.fujitsu.com</email>
</author>
<published>2015-12-08T17:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=cd464daa71c79fdbf212484e36257a57ce785430'/>
<id>urn:sha1:cd464daa71c79fdbf212484e36257a57ce785430</id>
<content type='text'>
When build the recipes which inherit ruby,ERROR will occur as following:
ERROR: QA Issue: non debug package contains .debug directory: json
path /work/core2-64-oe-linux/json/1.8.3-r0/packages-split/json/usr/lib/ruby/
gems/2.2.0/extensions/x86_64-linux/2.2.0/json-1.8.3/json/ext/.debug/generator.so [debug-files]
So modify ruby.bbclass.

Signed-off-by: Li Xin &lt;lixin.fnst@cn.fujitsu.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>ruby.bbclass: WARNING Fix</title>
<updated>2015-07-27T13:56:42+00:00</updated>
<author>
<name>Li xin</name>
<email>lixin.fnst@cn.fujitsu.com</email>
</author>
<published>2015-07-23T02:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=818b0e5023c66aaf2fcbb18d4d0f784b552fb1ed'/>
<id>urn:sha1:818b0e5023c66aaf2fcbb18d4d0f784b552fb1ed</id>
<content type='text'>
When build the recipes which inherit ruby,WARNING will occur as following:
WARNING: QA Issue: mixlib-log: Files/directories were installed but not shipped in any package:
  /usr/lib/ruby/gems/2.2.0/build_info
  /usr/lib/ruby/gems/2.2.0/extensions
Please set FILES such that these items are packaged. Alternatively if they are unneeded,
avoid installing them or delete them within do_install. [installed-vs-shipped]
So modify ruby.bbclass

Signed-off-by: Li Xin &lt;lixin.fnst@cn.fujitsu.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<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>
</feed>
