<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>python on System Administration, Hosting, Cloud and technologies in between</title>
    <link>https://dmsimard.com/tags/python/</link>
    <description>Recent content in python on System Administration, Hosting, Cloud and technologies in between</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 08 Jan 2016 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://dmsimard.com/tags/python/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Selinux, Python, virtualenv, chroot and ansible don&#39;t play nice.</title>
      <link>https://dmsimard.com/2016/01/08/selinux-python-virtualenv-chroot-and-ansible-dont-play-nice/</link>
      <pubDate>Fri, 08 Jan 2016 00:00:00 +0000</pubDate>
      
      <guid>https://dmsimard.com/2016/01/08/selinux-python-virtualenv-chroot-and-ansible-dont-play-nice/</guid>
      <description>The problem Aborting, target uses selinux but python bindings (libselinux-python) aren&#39;t installed!
Uh oh, have you seen that before ?
I bumped into an interesting issue recently when running Ansible from a RHEL derivative host.
It turns out that Ansible requires the package libselinux-python to be installed on hosts where Ansible is running file modules.
 If you have SELinux enabled on remote nodes, you will also want to install libselinux-python on them before using any copy/file/template related functions in Ansible.</description>
    </item>
    
    <item>
      <title>Migrating Glance images to a different backend</title>
      <link>https://dmsimard.com/2015/07/18/migrating-glance-images-to-a-different-backend/</link>
      <pubDate>Sat, 18 Jul 2015 00:00:00 +0000</pubDate>
      
      <guid>https://dmsimard.com/2015/07/18/migrating-glance-images-to-a-different-backend/</guid>
      <description>The use case This isn&amp;rsquo;t exactly far-fetched but nothing seems to do it out of the box: migrate Glance images from a backend to the other.
We&amp;rsquo;re in the process of moving our Glance default store to Swift, it simply scales infinitely better than the file backend. Now, changing the default store does just that: change the default store. It makes it so the newly created images will be uploaded to the new store - it doesn&amp;rsquo;t do anything for the existing images.</description>
    </item>
    
    <item>
      <title>Openstackclient is better than I thought</title>
      <link>https://dmsimard.com/2015/06/28/openstackclient-is-better-than-i-thought/</link>
      <pubDate>Sun, 28 Jun 2015 00:00:00 +0000</pubDate>
      
      <guid>https://dmsimard.com/2015/06/28/openstackclient-is-better-than-i-thought/</guid>
      <description>When openstackclient came out, I was not a believer. I thought.. Great, a new standard (cue XKCD), and I joked about it.
I had been using the ordinary CLI clients like novaclient, keystoneclient and so on. Over time, I guess I got used to their strengths, weaknesses and their quirks for better or for worse.
We&amp;rsquo;ve started wrapping around Openstackclient in the different puppet modules for Openstack. Since Openstackclient provides CSV output, it makes it easy for us to parse the command outputs.</description>
    </item>
    
    <item>
      <title>New release of python-cephclient: 0.1.0.5</title>
      <link>https://dmsimard.com/2015/03/11/new-release-of-python-cephclient/</link>
      <pubDate>Wed, 11 Mar 2015 00:00:00 +0000</pubDate>
      
      <guid>https://dmsimard.com/2015/03/11/new-release-of-python-cephclient/</guid>
      <description>I&amp;rsquo;ve just drafted a new release of python-cephclient on PyPi: v0.1.0.5.
After learning about the ceph-rest-api I just had to do something fun with it.
In fact, it&amp;rsquo;s going to become very handy for me as I might start to develop with it for things like nagios monitoring scripts.
The changelog:
dmsimard:
 Add missing dependency on the requests library Some PEP8 and code standardization cleanup Add root &amp;ldquo;PUT&amp;rdquo; methods Add mon &amp;ldquo;PUT&amp;rdquo; methods Add mds &amp;ldquo;PUT&amp;rdquo; methods Add auth &amp;ldquo;PUT&amp;rdquo; methods  Donald Talton:</description>
    </item>
    
    <item>
      <title>python-cephclient now on PyPi</title>
      <link>https://dmsimard.com/2014/01/18/python-cephclient-now-on-pypi/</link>
      <pubDate>Sat, 18 Jan 2014 00:00:00 +0000</pubDate>
      
      <guid>https://dmsimard.com/2014/01/18/python-cephclient-now-on-pypi/</guid>
      <description>Back on January 1st, I wrote about my initiative regarding a client for the Ceph REST API made in python.
I&amp;rsquo;m glad to announce that the client is now available on PyPi and I have just drafted the second release: v0.1.0.2.
Check it out and let me know what you think !</description>
    </item>
    
    <item>
      <title>A python client for ceph-rest-api</title>
      <link>https://dmsimard.com/2014/01/01/a-python-client-for-ceph-rest-api/</link>
      <pubDate>Wed, 01 Jan 2014 00:00:00 +0000</pubDate>
      
      <guid>https://dmsimard.com/2014/01/01/a-python-client-for-ceph-rest-api/</guid>
      <description>After learning there was an API for Ceph, it was clear to me that I was going to write a client to wrap around it and use it for various purposes.
It is still a work in progress and I feel it is not complete and clean enough to publish on pypi yet but I invite you to take a look and tell me what you think !
The client is available on Github under the Apache v2 license here: https://github.</description>
    </item>
    
  </channel>
</rss>