<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-cloud-services.git/meta-openstack/classes, branch rocko</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=rocko</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/atom?h=rocko'/>
<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>identity: make work with python 3</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:14:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=aac8e1fe714cfa5bdecb520ff96bae381b7426b1'/>
<id>urn:sha1:aac8e1fe714cfa5bdecb520ff96bae381b7426b1</id>
<content type='text'>
dict.has_key has been deprecated for a while and officiall removed in
python 3, instead we need to use 'key in'.

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: drop usage of bb.data.getVar()</title>
<updated>2016-12-20T22:29:25+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2016-12-19T20:10:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=ab7fc08536aafa90465c1483dfdf9cb4d95bd0b3'/>
<id>urn:sha1:ab7fc08536aafa90465c1483dfdf9cb4d95bd0b3</id>
<content type='text'>
Similar to oe-core commit 2864ff6a4b3c3f9b3bbb6d2597243cc5d3715939 the
bb.data.getVar() have been deprecated for enough time now that it has
been removed. We need to switch to the new getVar() to get things
working again.

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>identity.bbclass: Fix python synthax error</title>
<updated>2016-09-22T14:01:18+00:00</updated>
<author>
<name>Adrian Dudau</name>
<email>adrian.dudau@enea.com</email>
</author>
<published>2016-09-20T09:27:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=6043a4a17dc5ca9080dac7789e38620b7b1aa372'/>
<id>urn:sha1:6043a4a17dc5ca9080dac7789e38620b7b1aa372</id>
<content type='text'>
Signed-off-by: Adrian Dudau &lt;adrian.dudau@enea.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>identity.bbclass: Enforce octal literal representation in os.chmod</title>
<updated>2016-09-19T20:04:22+00:00</updated>
<author>
<name>Adrian Dudau</name>
<email>adrian.dudau@enea.com</email>
</author>
<published>2016-09-19T08:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=7e2df5146653d98747e13c0810cebc21f85272ad'/>
<id>urn:sha1:7e2df5146653d98747e13c0810cebc21f85272ad</id>
<content type='text'>
Python 3 changed to the explicit representation and throws errors
otherwise.

Signed-off-by: Adrian Dudau &lt;adrian.dudau@enea.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>openstackchef_inc.bbclass: Update python synthax for except</title>
<updated>2016-09-19T20:04:22+00:00</updated>
<author>
<name>Adrian Dudau</name>
<email>adrian.dudau@enea.com</email>
</author>
<published>2016-09-16T14:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=10a219245e4a68054c93c86bd42483d801d22dca'/>
<id>urn:sha1:10a219245e4a68054c93c86bd42483d801d22dca</id>
<content type='text'>
The synthax used is deprecated and causes errors.

Signed-off-by: Adrian Dudau &lt;adrian.dudau@enea.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>openstackchef: add missing parameter to getVar</title>
<updated>2016-03-21T14:19:41+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2016-03-18T20:50:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=0272d957bf5424acc425557e9a0a4a26c03b4401'/>
<id>urn:sha1:0272d957bf5424acc425557e9a0a4a26c03b4401</id>
<content type='text'>
Builds are failing with:

File: 'openstackchef_inc.bbclass', lineno: 624, function: deploychef_add_file_to_FILES_PN
0620:    pkg_files = "FILES_%s" %  pkg
0621:    ldata.setVar("OVERRIDES", "%s:%s" % (pkg_files, overrides))
0622:    bb.data.update_data(ldata)
0623:
*** 0624:    dest_base = d.getVar('CHEF_TEMPLATE_BASE')
0625:    pkg_imagedir = d.getVar('CHEF_ROOTFS_BASE', True)
0626:    #Add the packages image base directory if it does not already exist
0627:    if re.search(pkg_imagedir, files) == None:
0628:        #All the directory and all files in it
Exception: TypeError: getVar() takes at least 3 arguments (2 given)

Add the required parameter to fix the build. Chef is planned to be
removed from this layer in the near future, so this change is not
tested.

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>Use a bbclass to remove argparse from requirements</title>
<updated>2015-12-11T17:14:32+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=2d260e08c1e1b4f115b226fdcaf02eb9e7dce77f'/>
<id>urn:sha1:2d260e08c1e1b4f115b226fdcaf02eb9e7dce77f</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: move to base layer</title>
<updated>2015-09-16T20:07:28+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2015-09-15T13:47:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-cloud-services.git/commit/?id=8c9558234d451daa242df9b22cbd854a7cefa177'/>
<id>urn:sha1:8c9558234d451daa242df9b22cbd854a7cefa177</id>
<content type='text'>
In commit 1aa30310259027ebb87ee95ef914ca3de55d6a09 [puppet: move to
base layer] we made puppet available to all sub-layers but since we
didn't move the required ruby.bbclass we couldn't actually use it
without using meta-openstack. Complete the move by moving the
ruby.bbclass to the base layer. At some point I think we still want to
remove ruby.bbclass from meta-cloud-services completely and use
meta-ruby, but we will do that at another time.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
</feed>
