Conform to change of the opentack-client cookbook

Bug #1447229 reported by Yuki Nishiwaki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Undecided
Mark Vanderwiel

Bug Description

cookbook-openstack-client <https://github.com/stackforge/cookbook-openstack-client/blob/master/metadata.rb> has changed 1days ago.

Thus current chef-repo <https://github.com/stackforge/openstack-chef-repo> is broken and don't work it .

We have two problems due to the change of cookbook-openstack-client .

1. The name of cookbook was changed from "openstack-client" to "openstack_client"
2. The dependency version of yum increased than 3.5.2

I pasted error logs due to these problem as bellow .

The error log is due to first problem
------
me$chef exec rake berks_vendor
chef exec berks vendor cookbooks
Resolving cookbook dependencies...
Fetching 'openstack-bare-metal' from git://github.com/stackforge/cookbook-openstack-bare-metal.git (at master)
Fetching 'openstack-block-storage' from git://github.com/stackforge/cookbook-openstack-block-storage.git (at master)
Fetching 'openstack-client' from git://github.com/stackforge/cookbook-openstack-client.git (at master)
In your Berksfile, you have:

  cookbook 'openstack-client'

But that cookbook is actually named 'openstack_client'

This can cause potentially unwanted side-effects in the future.

NOTE: If you do not explicitly set the 'name' attribute in the metadata, the name of the directory will be used instead. This is often a cause of confusion for dependency solving.
rake aborted!
Command failed with status (114): [chef exec berks vendor cookbooks...]
openstack-chef-repo/Rakefile:10:in `run_command'
openstack-chef-repo/Rakefile:26:in `block in <top (required)>'
Tasks: TOP => berks_vendor
(See full trace by running task with --trace)
---

The error log is due to second problem . This error log is very long and I summarized it.
---
chef exec rake berks_vendor
chef exec berks vendor cookbooks
Resolving cookbook dependencies...
Fetching 'openstack-bare-metal' from git://github.com/stackforge/cookbook-openstack-bare-metal.git (at master)
Fetching 'openstack-block-storage' from git://github.com/stackforge/cookbook-openstack-block-storage.git (at master)
Fetching 'openstack-common' from git://github.com/stackforge/cookbook-openstack-common.git (at master)
Fetching 'openstack-compute' from git://github.com/stackforge/cookbook-openstack-compute.git (at master)
Fetching 'openstack-dashboard' from git://github.com/stackforge/cookbook-openstack-dashboard.git (at master)
Fetching 'openstack-data-processing' from git://github.com/stackforge/cookbook-openstack-data-processing.git (at master)
Fetching 'openstack-database' from git://github.com/stackforge/cookbook-openstack-database.git (at master)
Fetching 'openstack-identity' from git://github.com/stackforge/cookbook-openstack-identity.git (at master)
Fetching 'openstack-image' from git://github.com/stackforge/cookbook-openstack-image.git (at master)
Fetching 'openstack-integration-test' from git://github.com/stackforge/cookbook-openstack-integration-test.git (at master)
Fetching 'openstack-network' from git://github.com/stackforge/cookbook-openstack-network.git (at master)
Fetching 'openstack-object-storage' from git://github.com/stackforge/cookbook-openstack-object-storage.git (at master)
Fetching 'openstack-ops-database' from git://github.com/stackforge/cookbook-openstack-ops-database.git (at master)
Fetching 'openstack-ops-messaging' from git://github.com/stackforge/cookbook-openstack-ops-messaging.git (at master)
Fetching 'openstack-orchestration' from git://github.com/stackforge/cookbook-openstack-orchestration.git (at master)
Fetching 'openstack-telemetry' from git://github.com/stackforge/cookbook-openstack-telemetry.git (at master)
Fetching 'openstack_client' from git://github.com/stackforge/cookbook-openstack-client.git (at master)
Fetching 'statsd' from git://github.com/att-cloud/cookbook-statsd.git (at master)
Fetching cookbook index from https://supermarket.chef.io...
Unable to satisfy constraints on package yum due to solution constraint (yum = 3.5.2). Solution constraints that may result in a constraint on yum: [(ceph = 0.8.0) -> (yum >= 3.0.0)], [(ceph = 0.8.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(erlang = 1.4.2) -> (yum ~> 3.0)], [(erlang = 1.4.2) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(erlang = 1.4.2) -> (yum-erlang_solutions = 0.2.0) -> (yum ~> 3.0)], [(memcached = 1.7.2) -> (runit = 1.5.18) -> (yum ~> 3.0)], [(memcached = 1.7.2) -> (runit = 1.5.18) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(memcached = 1.7.2) -> (runit = 1.6.0) -> (packagecloud = 0.0.4) -> (yum >= 0.0.0)], [(memcached = 1.7.2) -> (runit = 1.1.2) -> (yum >= 0.0.0)], [(memcached = 1.7.2) -> (runit = 1.4.4) -> (yum < 3.0.0)], [(memcached = 1.7.2) -> (runit = 1.5.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(memcached = 1.7.2) -> (runit = {1.5.0,1.5.5}) -> (yum ~> 3.0)], [(memcached = 1.7.2) -> (runit = 1.5.5) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(memcached = 1.7.2) -> (yum ~> 3.0)], [(memcached = 1.7.2) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(mysql2_chef_gem = 1.0.1) -> (mysql = {6.0.13,5.3.6}) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(mysql2_chef_gem = 1.0.1) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(mysql2_chef_gem = 1.0.1) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(mysql2_chef_gem = 1.0.1) -> (mariadb = 0.2.0) -> (yum >= 0.0.0)], [(openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-block-storage = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-block-storage = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (ceph = 0.8.0) -> (yum >= 3.0.0)], [(openstack-block-storage = 11.0.0) -> (openstack-image = 11.0.0) -> (ceph = 0.8.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (python = 1.4.6) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-block-storage = 11.0.0) -> (ceph = 0.8.0) -> (yum >= 3.0.0)], [(openstack-block-storage = 11.0.0) -> (ceph = 0.8.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (ceph = 0.8.0) -> (yum >= 3.0.0)], [(openstack-compute = 11.0.0) -> (ceph = 0.8.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-compute = 11.0.0) -> (openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-compute = 11.0.0) -> (openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-compute = 11.0.0) -> (openstack-bare-metal = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-compute = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-compute = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-compute = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-compute = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-compute = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-compute = 11.0.0) -> (openstack-identity = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum >= 0.0.0)], [(openstack-compute = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (mariadb = 0.3.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (mysql = 6.0.13) -> (yum-mysql-community = 0.1.17) -> (yum >= 3.0.0)], [(openstack-compute = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (yum ~> 3.5.2)], [(openstack-compute = 11.0.0) -> (openstack-image = 11.0.0) -> (openstack-common = 11.2.0) -> (yum-epel = 0.6.0) -> (yum ~> 3.0)], [(openstack-compute = 11.0.0) ->

---

description: updated
Changed in openstack-chef:
assignee: nobody → Yuki Nishiwaki (uckey-1067)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-chef-repo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/176366

Changed in openstack-chef:
status: New → In Progress
Changed in openstack-chef:
assignee: Yuki Nishiwaki (uckey-1067) → Mark Vanderwiel (vanderwl)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-chef-repo (master)

Reviewed: https://review.openstack.org/176366
Committed: https://git.openstack.org/cgit/stackforge/openstack-chef-repo/commit/?id=63c48f49cbdd9ab540d6322a0e9ca6e29c125d1c
Submitter: Jenkins
Branch: master

commit 63c48f49cbdd9ab540d6322a0e9ca6e29c125d1c
Author: Yuki Nishiwaki <email address hidden>
Date: Thu Apr 23 00:35:47 2015 +0900

    Conform to update of the cookbook-openstack-client

    Berksfile is updated, because the cookbook-openstack-client is updated.
    The update to be need to change Berksfile are following.
    1. The name of cookbook was changed from "openstack-client" to
    "openstack_client"
    2. The dependency version of yum increased than 3.5.2, client cookbook requires 3.5.4.

    Change-Id: I6393c815339800fdf0b2ca7c99d4c87caa176398
    Closes-bug: #1447229

Changed in openstack-chef:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-chef ocata-eol

This issue was fixed in the openstack/openstack-chef ocata-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-chef-repo ocata-eol

This issue was fixed in the openstack/openstack-chef-repo ocata-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.