Pin fog-openstack library to avoid breakage
The update of the fog-openstack ruby gem from 0.12.7 to 0.2.0 breaks
Chef recipes. The first call to cookbook-openstackclient from
cookbook-openstack-identity:recipes/registration.rb fails already with
something like (extract from a kitchen run of openstack-chef-repo):
ERROR: openstack_domain[default] (openstack-identity::registration line 69)
had an error: Fog::Identity::OpenStack::NotFound: Expected([200]) <=>
Actual(404 Not Found)
(http://127.0.0.1:35357/v3/v3/domains): The resource could not be found.
Change-Id: I4d30cb1770b6774b39bfd4e4c413f25816b405df
(cherry picked from commit 7ae001c6c4)
This commit is contained in:
committed by
Samuel Cassiba
parent
a8f531997a
commit
19ce6f6bf3
@@ -6,10 +6,10 @@ description 'Installs the fog-openstack gem and offers LWRPs to use it'
|
|||||||
issues_url 'https://launchpad.net/openstack-chef'
|
issues_url 'https://launchpad.net/openstack-chef'
|
||||||
source_url 'https://git.openstack.org/openstack/cookbook-openstack-client'
|
source_url 'https://git.openstack.org/openstack/cookbook-openstack-client'
|
||||||
chef_version '>= 12.5' if respond_to?(:chef_version)
|
chef_version '>= 12.5' if respond_to?(:chef_version)
|
||||||
version '17.0.0'
|
version '17.0.1'
|
||||||
|
|
||||||
%w(ubuntu redhat centos).each do |os|
|
%w(ubuntu redhat centos).each do |os|
|
||||||
supports os
|
supports os
|
||||||
end
|
end
|
||||||
|
|
||||||
gem 'fog-openstack'
|
gem 'fog-openstack', '<0.2.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user