<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cloud Computing Köln &#187; rdo</title>
	<atom:link href="https://www.cloud-computing-koeln.de/tag/rdo/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloud-computing-koeln.de</link>
	<description>Neues zu Cloud Computing, Internet of Things und Technologien</description>
	<lastBuildDate>Mon, 15 Jun 2026 02:41:30 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>RDO CI promotion pipelines in a nutshell</title>
		<link>https://www.cloud-computing-koeln.de/rdo-ci-promotion-pipelines-in-a-nutshell/</link>
		<comments>https://www.cloud-computing-koeln.de/rdo-ci-promotion-pipelines-in-a-nutshell/#comments</comments>
		<pubDate>Fri, 17 Mar 2017 02:40:00 +0000</pubDate>
		<dc:creator><![CDATA[da Agency]]></dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[rdo]]></category>

		<guid isPermaLink="false">https://www.cloud-computing-koeln.de/rdo-ci-promotion-pipelines-in-a-nutshell/</guid>
		<description><![CDATA[<p>One of the key goals in #RDO is to provide a set of well tested and up-to-date repositories that can be smoothly used by our users: Operators deploying OpenStack with any of the available tools. Upstream projects using RDO repos to develop and test their patches, as OpenStack puppet modules, TripleO or kolla. To include&#8230; <a class="more-link" href="https://www.cloud-computing-koeln.de/rdo-ci-promotion-pipelines-in-a-nutshell/">Continue reading &#8594;</a></p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/rdo-ci-promotion-pipelines-in-a-nutshell/">RDO CI promotion pipelines in a nutshell</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>One of the key goals in <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/rdo/">#RDO</a> is to provide a set of well tested and up-to-date<br />
repositories that can be smoothly used by our users:</p>
<p>  Operators deploying OpenStack with any of the available tools.<br />
  Upstream projects using RDO repos to develop and test their patches, as OpenStack<br />
puppet modules, TripleO or kolla.</p>
<p>To include new patches in RDO packages as soon as possible, in RDO Trunk<br />
repos<br />
we build and publish new packages when commits are merged in upstream repositories.<br />
To ensure the content of theses packages is trustworthy, we run different tests which<br />
helps us to identify any problem introduced by the changes committed.</p>
<p>This post provides an overview of how we test RDO repositories. If you<br />
are interested in collaborate with us in running an improving it, feel free to<br />
let us know in rdo channel in freenode or rdo-list mailing list.</p>
<p>Promotion Pipelines</p>
<p>Promotion pipelines are composed by a set of related CI jobs that are executed<br />
for each supported OpenStack release to test the content of a specific RDO repository.<br />
Currently promotion pipelines are executed in diferent phases:</p>
<p>    Define the repository to be tested. RDO Trunk repositories are identified<br />
by a hash based on the upstream commit of the last built package. The content of<br />
these repos doesn&#8217;t change over time. When a promotion pipeline is launched, it<br />
grabs the latest consistent hash repo and sets it to be tested in following phases.</p>
<p>    Build TripleO images. TripleO is<br />
the recommended deployment tool for production usage in RDO and as such, is tested<br />
in RDO CI jobs. Before actually deploying OpenStack using TripleO the required<br />
images are built.</p>
<p>  Deploy and test RDO. We run a set of jobs which deploy and test OpenStack<br />
using different installers and scenarios to ensure they behave as expected. Currently,<br />
following deployment tools and configurations are tested:</p>
<p>      TripleO deployments. Using tripleo-quickstart<br />
  we deploy two different configurations, minimal<br />
  and minimal_pacemaker<br />
  which apply different settings that cover most common options.<br />
      OpenStack Puppet scenarios. Project puppet-openstack-integration (a.k.a. p-o-i)<br />
  maintains a set of puppet manifest to deploy different OpenStack services<br />
  combinations and configurations (scenarios) in a single server using OpenStack<br />
  puppet modules and run tempest smoke tests for the deployed services. The<br />
  tested services on each scenario can be found in the<br />
  README<br />
  for p-o-i. Scenarios 1, 2 and 3 are currently tested in RDO CI as<br />
      Packstack deployment. As part of the upstream testing, packstack defines<br />
  three deployment scenarios<br />
  to verify the correct behavior of the existing options. Note that tempest smoke tests<br />
  are executed also in these jobs. In RDO-CI we leverage those scenarios to test<br />
  new packages built in RDO repos.</p>
<p>  Repository and images promotion. When all jobs in the previous phase succeed,<br />
the tested repository is considered good and it is promoted so that users can use these<br />
packages:</p>
<p>      The repo is published using CentOS CDN in https://buildlogs.centos.org/centos/7/cloud/x86_64/rdo-trunk-&lt;release&gt;-tested/)<br />
      The images are copied to https://buildlogs.centos.org/centos/7/cloud/x86_64/tripleo_images/&lt;release&gt;/delorean/<br />
  to be used by TripleO users.</p>
<p>Tools used in RDO CI</p>
<p>  Jobs definitions are managed using Jenkings Job Builder, JJB,<br />
via gerrit review workflow in review.rdoproject.org<br />
  weirdo is the tool we<br />
use to run p-o-i and Packstack testing scenarios defined upstream inside RDO CI.<br />
It&#8217;s composed of a set of ansible roles and playbooks that prepares the environment<br />
and deploy and test the installers using the testing scripts provided by<br />
the projects.<br />
  TripleO Quickstart<br />
provides a set of scripts, ansible roles and pre-defined configurations to deploy<br />
an OpenStack cloud using TripleO<br />
in a simple and fully automated way.<br />
  ARA is used to store and visualize<br />
the results of ansible playbook runs, making easier to analize and troubleshoot<br />
them.</p>
<p>Infrastructure</p>
<p>RDO is part of the CentOS Cloud Special Interest Group so we run promotion pipelines<br />
in CentOS CI infrastructure where Jenkins<br />
is used as continuous integration server..</p>
<p>Handling issues in RDO CI</p>
<p>An important aspect of running RDO CI is managing properly the errors found in the<br />
jobs included in the promotion pipelines. The root cause of these issues sometimes<br />
is in the OpenStack upstream projects:</p>
<p>  Some problems are not catched in devstack-based jobs running in upstream gates.<br />
  In some cases, new versions of OpenStack services require changes in the deployment<br />
tools (puppet modules, TripleO, etc…).</p>
<p>One of the contributions of RDO to upstream projects is to increase test coverage of<br />
the projects and help to identify the problems as soon as possible. When we find them<br />
we report it upstream as Launchpad bugs and propose fixes when possible.</p>
<p>Every time we find an issue, a new card is added to the TripleO and RDO CI Status<br />
Trello board where<br />
we track the status and activities carried out to get it fixed.</p>
<p>Status of promotion pipelines</p>
<p>If you are interested in the status of the promotion pipelines in RDO CI you can<br />
check:</p>
<p>    CentOS CI RDO view<br />
can be used to see the result and status of the jobs for each OpenStack<br />
release.</p>
<p>    RDO Dashboard shows the overal<br />
status of RDO packaging and CI.</p>
<p>More info</p>
<p>  TripleO quickstart demostration by trown<br />
  Weirdo: A talk about CI in OpenStack and RDO by dmsimard.<br />
  ARA blog posts &#8211; from dmsimard blog<br />
  Ci in RDO: What do we test? &#8211; presentation in RDO and Ceph Meetup BCN.</p>
<p>Quelle: RDO</p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/rdo-ci-promotion-pipelines-in-a-nutshell/">RDO CI promotion pipelines in a nutshell</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.cloud-computing-koeln.de/rdo-ci-promotion-pipelines-in-a-nutshell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A tale of Tempest rpm with Installers</title>
		<link>https://www.cloud-computing-koeln.de/a-tale-of-tempest-rpm-with-installers/</link>
		<comments>https://www.cloud-computing-koeln.de/a-tale-of-tempest-rpm-with-installers/#comments</comments>
		<pubDate>Wed, 15 Mar 2017 17:50:07 +0000</pubDate>
		<dc:creator><![CDATA[da Agency]]></dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[rdo]]></category>

		<guid isPermaLink="false">http://www.cloud-computing-koeln.de/a-tale-of-tempest-rpm-with-installers/</guid>
		<description><![CDATA[<p>Tempest is a set of integration tests to run against OpenStack Cloud. Delivering robust and working OpenStack cloud is always challenging. To make sure what we deliver in #RDO is rock-solid, we use Tempest to perform a set of API and scenario tests against a running cloud using different installers like puppet-openstack-integration, packstack, and tripleo-quickstart.&#8230; <a class="more-link" href="https://www.cloud-computing-koeln.de/a-tale-of-tempest-rpm-with-installers/">Continue reading &#8594;</a></p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/a-tale-of-tempest-rpm-with-installers/">A tale of Tempest rpm with Installers</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Tempest is a set of integration tests to run against OpenStack Cloud.<br />
Delivering robust and working OpenStack cloud is always challenging. To make sure what we deliver in <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/rdo/">#RDO</a> is rock-solid, we use Tempest<br />
to perform a set of API and scenario tests against a running cloud using different installers like puppet-openstack-integration,<br />
packstack, and tripleo-quickstart.<br />
And, it is the story of how we integrated RDO Tempest RPM package with installers so it can be consumed by various CI rather than using raw upstream sources.</p>
<p>And the story begins from here:</p>
<p>In RDO, we deliver Tempest as an rpm to be consumed by anyone to test their cloud. Till Newton release,<br />
we maintained a fork of Tempest which contains the config_tempest.py script to auto generate tempest.conf<br />
for your cloud and a set of helper scripts to run Tempest tests as well as with some backports for each release. From Ocata, we have changed the source of Tempest rpm from forked Tempest to upstream Tempest by keeping<br />
the old source till Newton in RDO through rdoinfo. We are using rdo-patches branch<br />
to maintain patches backports starting from Ocata release.</p>
<p>With this change, we have moved the config_tempest.py script from the forked Tempest repository to a separate project python-tempestconf<br />
so that it can be used with vanilla Tempest to generate Tempest config automatically.</p>
<p>What have we done to make a happy integration between Tempest rpm and the installers?</p>
<p>Currently, puppet-openstack-integration, packstack, and tripleo-quickstart heavily use RDO packages. So using Tempest rpm with these installers will be the best match.<br />
Before starting the integration, we need to make the initial ground ready. Till Newton release, all these installers are using Tempest from source in their respective CI.<br />
We have started the match making of Tempest rpm with installers.<br />
puppet-openstack-integration and packstack consume puppet-modules. So in order to consume Tempest rpm, first I need to fix the puppet-tempest.</p>
<p>puppet-tempest</p>
<p>It is a puppet-module to install and configure Tempest and openstack-services Tempest plugins based on the services available from source as well as packages.<br />
So we have fixed puppet-tempest to install Tempest rpm from the package and created a Tempest workspace. In order to use that feature through puppet-tempest module [https://review.openstack.org/#/c/425085/].<br />
you need to add install_from_source =&gt; &#8216;false&#8217; and tempest_workspace =&gt; &#8216;path to tempest workspace&#8217; to tempest.pp and it will do the job for you.<br />
Now we are using the same feature in puppet-openstack-integration and packstack.</p>
<p>puppet-openstack-integration</p>
<p>It is a collection of scripts and manifests for puppet module testing (which powers the openstack-puppet CI).<br />
From Ocata release, we have added a flag TEMPEST_FROM_SOURCE flag in run_tests.sh script.<br />
Just change TEMPEST_FROM_SOURCE to false in the run_test.sh, Tempest is then installed and configured from packages using puppet-tempest.</p>
<p>packstack</p>
<p>It is a utility to install OpenStack on CentOS, Red Hat Enterprise Linux or other derivatives in proof of concept (PoC) environments. Till Newton, Tempest is installed and ran by packstack from the upstream source and behind the scenes, puppet-tempest does the job for us. From Ocata, we have replaced this feature by using Tempest RDO package. You can use this feature by running the following command:</p>
<p>$ sudo packstack &#8211;allinone &#8211;config-provision-tempest=y &#8211;run-tempest=y</p>
<p>It will perform packstack all in one installation and after that, it will install and configure Tempest and run smoke tests on deployed cloud.<br />
We are using the same in RDO CI.</p>
<p>tripleo-quickstart</p>
<p>It is an ansible based project for setting up TripleO virtual environments.<br />
It uses triple-quickstart-extras where validate-tempest roles exist which is used to install, configure and run Tempest on a tripleo deployment after installation. We have improved the validate-tempest role to use Tempest rpm package for all releases (supported by OpenStack upstream) by keeping the old workflow and as well as using Ocata Tempest rpm and using ostestr for running Tempest tests for all releases and using python-tempestconf to generate tempest.conf through this patch.</p>
<p>To see in action, Run the following command:</p>
<p>$ wget https://raw.githubusercontent.com/openstack/tripleo-quickstart/master/quickstart.sh<br />
$ bash quickstart.sh &#8211;install-deps<br />
$ bash quickstart.sh -R master &#8211;tags all $VIRTHOST</p>
<p>So finally the integration of Tempest rpm with installers is finally done and they are happily consumed in different CI and this will help to test and produce more robust OpenStack cloud in RDO as well as catch issues of Tempest with Tempest plugins early.</p>
<p>Thanks to apevec, jpena, amoralej, Haikel, dmsimard, dmellado, tosky, mkopec, arxcruz, sshnaidm, mwhahaha, EmilienM<br />
and many more on rdo channel for getting this work done in last 2 and half months. It was a great learning experience.<br />
Quelle: RDO</p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/a-tale-of-tempest-rpm-with-installers/">A tale of Tempest rpm with Installers</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.cloud-computing-koeln.de/a-tale-of-tempest-rpm-with-installers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RDO Ocata released</title>
		<link>https://www.cloud-computing-koeln.de/rdo-ocata-released/</link>
		<comments>https://www.cloud-computing-koeln.de/rdo-ocata-released/#comments</comments>
		<pubDate>Thu, 23 Feb 2017 02:39:57 +0000</pubDate>
		<dc:creator><![CDATA[da Agency]]></dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[rdo]]></category>
		<category><![CDATA[tripleo]]></category>

		<guid isPermaLink="false">http://www.cloud-computing-koeln.de/rdo-ocata-released/</guid>
		<description><![CDATA[<p>The #RDO community is pleased to announce the general availability of the RDO build for OpenStack Ocata for RPM-based distributions, #CentOS Linux 7 and Red Hat Enterprise Linux. RDO is suitable for building private, public, and hybrid clouds. Ocata is the 15th release from the OpenStack project, which is the work of more than 2500&#8230; <a class="more-link" href="https://www.cloud-computing-koeln.de/rdo-ocata-released/">Continue reading &#8594;</a></p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/rdo-ocata-released/">RDO Ocata released</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>The <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/rdo/">#RDO</a> community is pleased to announce the general availability of the RDO build for OpenStack Ocata for RPM-based distributions, <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/centos/">#CentOS</a> Linux 7 and Red Hat Enterprise Linux.<br />
RDO is suitable for building private, public, and hybrid clouds. Ocata is the 15th release from the OpenStack project, which is the work of more than 2500 contributors from around the world (source).</p>
<p>The RDO community project curates, packages, builds, tests and maintains a complete OpenStack component set for RHEL and CentOS Linux and is a member of the CentOS Cloud Infrastructure SIG.<br />
The Cloud Infrastructure SIG focuses on delivering a great user experience for CentOS Linux users looking to build and maintain their own on-premise, public or hybrid clouds.</p>
<p>All work on RDO, and on the downstream release, Red Hat OpenStack Platform, is 100% open source, with all code changes going upstream first.</p>
<p>Interesting things in the Ocata release include:</p>
<p>    Significant Improvements to Tempest and Tempest plugin packaging in RDO</p>
<p>    The OpenStack-Ansible project now supports deployment on top of CentOS with the help of RDO-packaged dependencies</p>
<p>For cloud operators, RDO now provides packages for some new OpenStack Services:</p>
<p>  Tacker: an ETSI MANO NFV Orchestrator and VNF Manager<br />
  Congress: an open policy framework for the cloud<br />
  Vitrage: the OpenStack RCA (Root Cause Analysis) Service<br />
  Kolla: The Kolla project provides tooling to build production-ready container images for deploying OpenStack clouds</p>
<p>Some other notable additions:</p>
<p>  novajoin: a dynamic vendordata plugin for the OpenStack nova metadata service to manage automatic host instantiation in an IPA server<br />
  ironic-ui: a new Horizon plugin to view and manage baremetal servers<br />
  python-virtualbmc VirtualBMC is a proxy that translates IPMI commands to libvirt calls. This allows projects such as OpenStack Ironic to test IPMI drivers using VMs.<br />
  python-muranoclient: a client for the Application Catalog service.<br />
  python-monascaclient: a client for the Monasca monitoring-as-a-service solution.<br />
  Shaker: the distributed data-plane testing tool built for OpenStack<br />
  Multi-architecture support: aarch64 builds are now provided through an experimental repository &#8211; enable the RDO &#8216;testing&#8217; repositories to get started</p>
<p>From a networking perspective, we have added some new Neutron plugins that can help Cloud users and operators to address new use cases and scenarios:</p>
<p>  networking-bagpipe: a mechanism driver for Neutron ML2 plugin using BGP E-VPNs/IP VPNs as a backend<br />
  networking-bgpvpn: an API and framework to interconnect BGP/MPLS VPNs to Openstack Neutron networks<br />
  networking-fujitsu: FUJITSU ML2 plugins/drivers for OpenStack Neutron<br />
  networking-l2gw: APIs and implementations to support L2 Gateways in Neutron<br />
  networking-sfc: APIs and implementations to support Service Function Chaining in Neutron</p>
<p>From the Packstack side, we have several improvements:</p>
<p>  We have added support to install Panko and Magnum<br />
  Puppet 4 is now supported, and we have updated our manifests to cover the latest changes in the supported projects</p>
<p>Getting Started</p>
<p>There are three ways to get started with RDO.</p>
<p>  To spin up a proof of concept cloud, quickly, and on limited hardware, try the All-In-One Quickstart. You can run RDO on a single node to get a feel for how it works.<br />
  For a production deployment of RDO, use the <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/tripleo/">#TripleO</a> Quickstart and you&#8217;ll be running a production cloud in short order.<br />
  Finally, if you want to try out OpenStack, but don&#8217;t have the time or hardware to run it yourself, visit TryStack, where you can use a free public OpenStack instance, running RDO packages, to experiment with the OpenStack management interface and API, launch instances, configure networks, and generally familiarize yourself with OpenStack. (TryStack is not, at this time, running Ocata, although it is running RDO.)</p>
<p>Getting Help</p>
<p>The RDO Project participates in a Q&amp;A service at ask.openstack.org, for more developer-oriented content we recommend joining the rdo-list mailing list. Remember to post a brief introduction about yourself and your RDO story. You can also find extensive documentation on the RDO docs site.</p>
<p>The rdo channel on Freenode IRC is also an excellent place to find help and give help.</p>
<p>We also welcome comments and requests on the CentOS mailing lists and the CentOS and TripleO IRC channels (centos, centos-devel, and tripleo on irc.freenode.net), however we have a more focused audience in the RDO venues.</p>
<p>Getting Involved</p>
<p>To get involved in the OpenStack RPM packaging effort, see the RDO community pages and the CentOS Cloud SIG page. See also the RDO packaging documentation.</p>
<p>Join us in rdo on the Freenode IRC network, and follow us at @RDOCommunity on Twitter. If you prefer Facebook, we&#8217;re there too, and also Google+.<br />
Quelle: RDO</p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/rdo-ocata-released/">RDO Ocata released</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.cloud-computing-koeln.de/rdo-ocata-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing RPM macro for OpenStack</title>
		<link>https://www.cloud-computing-koeln.de/writing-rpm-macro-for-openstack/</link>
		<comments>https://www.cloud-computing-koeln.de/writing-rpm-macro-for-openstack/#comments</comments>
		<pubDate>Mon, 16 Jan 2017 21:09:55 +0000</pubDate>
		<dc:creator><![CDATA[da Agency]]></dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[rdo]]></category>

		<guid isPermaLink="false">http://www.cloud-computing-koeln.de/writing-rpm-macro-for-openstack/</guid>
		<description><![CDATA[<p>RPM macro is a short string, always prefixed by % and generally surrounded by curly brackets ({}) which RPM will convert to a different and usually longer string. Some macros can take arguments and some can be quite complex. In RHEL, CentOS and Fedora, macros are provided by rpm package and from redhat-rpm-config. In #RDO,&#8230; <a class="more-link" href="https://www.cloud-computing-koeln.de/writing-rpm-macro-for-openstack/">Continue reading &#8594;</a></p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/writing-rpm-macro-for-openstack/">Writing RPM macro for OpenStack</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>RPM macro is a short string, always prefixed by % and generally surrounded by curly brackets ({}) which RPM will convert to a different and usually longer string.<br />
Some macros can take arguments and some can be quite complex.<br />
In RHEL, CentOS and Fedora, macros are provided by rpm package and from redhat-rpm-config.<br />
In <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/rdo/">#RDO</a>, OpenStack macros are provided by openstack-macros which comes from upstream rpm-packaging project.<br />
You can find list of all macros under /usr/lib/rpm/macros.d/ directory.</p>
<p>To see the list of all available macros on your system:</p>
<p>$ rpm &#8211;showrc</p>
<p>For example: %{_bindir} is a rpm-macro which points to the binary directory where executables are usually stored.</p>
<p>To evaluate an rpm macro:</p>
<p>$ rpm &#8211;eval %{_bindir}</p>
<p>%py_build is the commonly used rpm-macro in RDO OpenStack packages which points to python setup.py build process.</p>
<p>$ rpm &#8211;eval %py_build</p>
<p>Motivation behind writing a new RPM macro for OpenStack packages<br />
Currently, Tempest provides an external test plugin interface which enables anyone to integrate an external test suite as a part of Tempest run and each service Tempest plugin has an entrypoint<br />
defined in setup.cfg through which tempest discovers it and list the Tempest plugins.<br />
For example:</p>
<p>tempest.test_plugins =<br />
    heat_tests = heat_integrationtests.plugin:HeatTempestPlugin</p>
<p>In RDO OpenStack services RPM packages, In-tree Tempest plugins packages are provided by openstack-{service}-tests subpackage but the tempest plugin entrypoint is provided by the main package openstack-%{service}.<br />
So once you have a working OpenStack environment with Tempest installed having no test subpackage installed. Then we tried to run tempest commands you would have encountered &#8220;No module heat_integrationtests.plugin found&#8221;<br />
and you end up installing a hell lot of packages to fix this. The basic reason for the above error is tempest plugin entry point is installed by main OpenStack package but files pointing to entrypoint are not found.</p>
<p>To fix the above issue we have decided to separate out the tempest plugin entrypoint from the main package and move it to openstack-{service}-tests subpackage during rpmbuild process by creating a fake tempest plugin entry point<br />
for all RDO services packages. Since it is a massive and similar change affecting all OpenStack services packages.<br />
So, I have created %py2_entrypoint macro which is available in OpenStack Ocata release.<br />
Here is the macro definition of %py2_entrypoint:<br />
&#8220;`<br />
   # Create a fake tempest plugin entry point which will<br />
   # resides under %{python2_sitelib}/%{service}_tests.egg-info.<br />
   # The prefix is %py2_entrypoint %{modulename} %{service}<br />
   # where service is the name of the openstack-service or the modulename<br />
   # It should used under %install section<br />
   # the generated %{python2_sitelib}/%{service}_tests.egg-info<br />
   # will go under %files section of tempest plugin subpackage<br />
   # Example: %py2_entrypoint %{modulename} %{service}<br />
   # In most of the cases %{service} is same as %{modulename}<br />
   # but in case of neutron plugins it is different<br />
   # like servicename is neutron-lbaas and modulename is neutron_lbass<br />
   %py2_entrypoint()<br />
   egg_path=%{buildroot}%{python2_sitelib}/%{1}-*.egg-info<br />
   tempest_egg_path=%{buildroot}%{python2_sitelib}/%{1}_tests.egg-info<br />
   mkdir $tempest_egg_path<br />
   grep &#8220;tempest|Tempest&#8221; %{1}.egg-info/entry_points.txt &gt;$tempest_egg_path/entry_points.txt<br />
   sed -i &#8220;/tempest|Tempest/d&#8221; $egg_path/entry_points.txt<br />
   cp -r $egg_path/PKG-INFO $tempest_egg_path<br />
   sed -i &#8220;s/%{2}/%{1}_tests/g&#8221; $tempest_egg_path/PKG-INFO<br />
   %nil</p>
<p>&#8220;`<br />
Here is the list of tempest-plugin-entrypoint reviews.</p>
<p>Some learning from above macro:</p>
<p>[1.] You can use the shell script or Lua language to write macros.</p>
<p>[2.] %define  is used to define a macro in spec file or you can directly place the macro in /usr/lib/rpm/macros.d/macros.openstack-rdo to consume it using rpmbuild process.</p>
<p>[3.] use %nil to showcase the end of the macro.</p>
<p>[4.] use %{1} to %{6} to pass variables in macros.</p>
<p>Above is a temporary solution. We are working upstream to separate out tempest plugins from OpenStack project to a new repo for easier management and packaging<br />
in Pike release:https://review.openstack.org/#/c/405416/.</p>
<p>Thanks to Daniel, Alan Haikel and many others on rdo channel for getting the work done.<br />
It was a great learning experience.<br />
Quelle: RDO</p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/writing-rpm-macro-for-openstack/">Writing RPM macro for OpenStack</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.cloud-computing-koeln.de/writing-rpm-macro-for-openstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RDO Newton Released</title>
		<link>https://www.cloud-computing-koeln.de/rdo-newton-released/</link>
		<comments>https://www.cloud-computing-koeln.de/rdo-newton-released/#comments</comments>
		<pubDate>Fri, 07 Oct 2016 05:43:25 +0000</pubDate>
		<dc:creator><![CDATA[da Agency]]></dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[rdo]]></category>

		<guid isPermaLink="false">http://www.cloud-computing-koeln.de/rdo-newton-released/</guid>
		<description><![CDATA[<p>The #RDO community is pleased to announce the general availability of the RDO build for OpenStack Newton for RPM-based distributions &#8211; #CentOS Linux 7 and Red Hat Enterprise Linux. RDO is suitable for building private, public, and hybrid clouds. Newton is the 14th release from the OpenStack project, which is the work of more than&#8230; <a class="more-link" href="https://www.cloud-computing-koeln.de/rdo-newton-released/">Continue reading &#8594;</a></p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/rdo-newton-released/">RDO Newton Released</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>The <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/rdo/">#RDO</a> community is pleased to announce the general availability of the RDO build for OpenStack Newton for RPM-based distributions &#8211; <a class="expresscurate_contentTags" href="http://www.cloud-computing-koeln.de/tag/centos/">#CentOS</a> Linux 7 and Red Hat Enterprise Linux. RDO is suitable for building private, public, and hybrid clouds. Newton is the 14th release from the OpenStack project, which is the work of more than 2700 contributors from around the world.<br />
(Source)</p>
<p>The RDO community project curates, packages, builds, tests, and maintains a complete OpenStack component set for RHEL and CentOS Linux and is a member of the CentOS Cloud Infrastructure SIG. The Cloud Infrastructure SIG focuses on delivering a great user experience for CentOS Linux users looking to build and maintain their own on-premise, public or hybrid clouds. At latest count, RDO contains 1157 packages.</p>
<p>All work on RDO, and on the downstream release, Red Hat OpenStack Platform, is 100% open source, with all code changes going upstream first.</p>
<p>Getting Started</p>
<p>There are three ways to get started with RDO.</p>
<p>To spin up a proof of concept cloud, quickly, and on limited hardware, try the RDO QuickStart  You can run RDO on a single node to get a feel for how it works.</p>
<p>For a production deployment of RDO, use the TripleO Quickstart and you&#8217;ll be running a production cloud in short order.</p>
<p>Finally, if you want to try out OpenStack, but don&#8217;t have the time or hardware to run it yourself, visit TryStack, where you can use a free public OpenStack instance, running RDO packages, to experiment with the OpenStack management interface and API, launch instances, configure networks, and generally familiarize yourself with OpenStack</p>
<p>Getting Help</p>
<p>The RDO Project participates in a Q&amp;A service at ask.openstack.org, for more developer oriented content we recommend joining the rdo-list mailing list. Remember to post a brief introduction about yourself and your RDO story. You can also find extensive documentation on the RDO docs site.</p>
<p>The rdo channel on Freenode IRC is also an excellent place to find help and give help.</p>
<p>We also welcome comments and requests on the CentOS Mailing lists and the CentOS IRC Channels (centos, and centos-devel, on irc.freenode.net), however we have a more focused audience in the RDO venues.</p>
<p>Getting Involved</p>
<p>To get involved in the OpenStack RPM packaging effort, see the RDO community pages and the CentOS Cloud SIG page. See also the RDO packaging documentation.</p>
<p>Join us in rdo on the Freenode IRC network, and follow us at @RDOCommunity on Twitter. If you prefer Facebook, we&#8217;re there too, and also Google+.</p>
<p>And, if you&#8217;re going to be in Barcelona for the OpenStack Summit two weeks from now, join us on Tuesday evening at the Barcelona Princess, 5pm &#8211; 8pm, for an evening with the RDO and Ceph communities. If you can&#8217;t make it in person, we&#8217;ll be streaming it on YouTube.<br />
Quelle: RDO</p>
<p>Der Beitrag <a rel="nofollow" href="https://www.cloud-computing-koeln.de/rdo-newton-released/">RDO Newton Released</a> erschien zuerst auf <a rel="nofollow" href="https://www.cloud-computing-koeln.de">Cloud Computing Köln</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.cloud-computing-koeln.de/rdo-newton-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
