<?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>ManageIQ &#8211; Made For Cloud</title>
	<atom:link href="https://madeforcloud.com/category/manageiq/feed/" rel="self" type="application/rss+xml" />
	<link>https://madeforcloud.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Tue, 14 Jan 2020 00:54:14 +0000</lastBuildDate>
	<language>en-AU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>Ansible Tower provider for Cloudforms / ManageIQ</title>
		<link>https://madeforcloud.com/2020/01/14/ansible-tower-provider-for-cloudforms-manageiq/</link>
					<comments>https://madeforcloud.com/2020/01/14/ansible-tower-provider-for-cloudforms-manageiq/#respond</comments>
		
		<dc:creator><![CDATA[gocallag]]></dc:creator>
		<pubDate>Tue, 14 Jan 2020 00:54:14 +0000</pubDate>
				<category><![CDATA[Ansible]]></category>
		<category><![CDATA[Ansible Tower]]></category>
		<category><![CDATA[Cloudforms]]></category>
		<category><![CDATA[ManageIQ]]></category>
		<guid isPermaLink="false">https://madeforcloud.com/?p=99</guid>

					<description><![CDATA[Always fun to strike problems in what should be the simplest things. I wanted to add Ansible Tower as a service into ManageIQ. Cloudforms would have a similar result. Following the very simple instructions at https://www.manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/index I proceeded to add the new provider. It&#8217;s all pretty straight forward. Putting in the URL to my Tower&#8230;<p><a class="more-link" href="https://madeforcloud.com/2020/01/14/ansible-tower-provider-for-cloudforms-manageiq/" title="Continue reading &#8216;Ansible Tower provider for Cloudforms / ManageIQ&#8217;">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
										<content:encoded><![CDATA[
<p>Always fun to strike problems in what should be the simplest things.   I wanted to add Ansible Tower as a service into ManageIQ.  Cloudforms would have a similar result.</p>



<p>Following the very simple instructions at <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://www.manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/index" target="_blank">https://www.manageiq.org/docs/reference/latest/doc-Managing_Providers/miq/index</a> I proceeded to add the new provider.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://madeforcloud.com/wp-content/uploads/2020/01/index-1024x481.png" alt="" class="wp-image-100"/></figure>



<p>It&#8217;s all pretty straight forward.  Putting in the URL to my Tower server I get greeted with a bunch of errors.</p>



<pre class="wp-block-preformatted"><strong>Credential validation was not successful:  {:headers=>{"server"=>"nginx", "date"=>"Mon, 13 Jan 2020  23:42:12 GMT", "content-type"=>"text/html; charset=utf-8",  "content-length"=>"3873", "connection"=>"close",  "vary"=>"Cookie, Accept-Language, Origin",  "content-language"=>"en", "x-api-total-time"=>"0.046s"</strong>
.
.
.
blah blah
.
.
<strong>status=>404</strong></pre>



<p>By default ManageIQ and Cloudforms search for /api/v1 on the Tower server.  /api/v1 was deprecated and removed as of Ansible Tower 3.6, see <a href="https://docs.ansible.com/ansible-tower/latest/html/towerapi/conventions.html" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">https://docs.ansible.com/ansible-tower/latest/html/towerapi/conventions.html</a></p>



<p>So, what is a person to do?   Hit the google.  Eventually I came across this bugzilla item <a rel="noreferrer noopener" aria-label=" (opens in a new tab)" href="https://bugzilla.redhat.com/show_bug.cgi?id=1740860" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1740860</a> and it gave a hint as to just specifying the /api/v2 in the URL I gave to ManageIQ rather than just the base hostname.  eg.  https://blah&#8230;./api/v2</p>



<p>Tried it,  it worked!  My credential validated and a provider refresh was automatically initiated and all my Ansible Tower templates and inventories were discovered correctly.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://madeforcloud.com/2020/01/14/ansible-tower-provider-for-cloudforms-manageiq/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
