Berksfile in testing-stack

86 views
Skip to first unread message

Soheil Eizadi

unread,
Mar 12, 2015, 7:44:29 PM3/12/15
to opscode-che...@googlegroups.com
You guys are usually way ahead of me :) Today I found Berksfile missing a cookbook dependency, added following to the file:
cookbook 'openstack-bare-metal', github: 'stackforge/cookbook-openstack-bare-metal', branch: "master"
-Soheil

More detail log....

sc-l-seizadi:chef-openstack-testing-stack seizadi$ chef exec rake berks_vendor
......
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 openstack-bare-metal, which does not exist, due to solution constraint (openstack-compute = 11.0.0). Solution constraints that may result in a constraint on openstack-bare-metal: [(openstack-compute = 11.0.0) -> (openstack-bare-metal ~> 11.0.0)], [(openstack-telemetry = 11.0.0) -> (openstack-compute = 11.0.0) -> (openstack-bare-metal ~> 11.0.0)]
Missing artifacts: openstack-bare-metal
Demand that cannot be met: (openstack-compute = 11.0.0)
Unable to find a solution for demands: apache2 (= 3.0.0), apt (= 2.6.1), aws (= 2.1.1), build-essential (= 1.4.2), ceph (= 0.8.0), database (= 4.0.2), erlang (= 1.4.2), memcached (= 1.7.2), mysql (= 6.0.13), mysql2_chef_gem (= 1.0.1), openssl (= 4.0.0), openstack-block-storage (11.0.0), openstack-common (11.0.0), openstack-compute (11.0.0), openstack-dashboard (11.0.0), openstack-identity (11.0.0), openstack-image (11.0.0), openstack-network (11.0.0), openstack-object-storage (11.0.0), openstack-ops-database (11.0.0), openstack-ops-messaging (11.0.0), openstack-orchestration (11.0.0), openstack-telemetry (11.0.0), postgresql (= 3.4.18), python (= 1.4.6), rabbitmq (= 3.9.0), selinux (= 0.7.2), statsd (0.1.6), xfs (= 1.1.0), yum (= 3.5.2), yum-epel (= 0.6.0)
rake aborted!

Soheil Eizadi

unread,
Mar 12, 2015, 7:53:25 PM3/12/15
to opscode-che...@googlegroups.com
As I running the new cookbooks looks like the new Ironic stuff is breaking more things.
-Soheil

                   [2015-03-12T23:41:52+00:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/data/db_passwords/ironic

cmlu...@dragoon.io

unread,
Mar 12, 2015, 8:27:54 PM3/12/15
to opscode-che...@googlegroups.com
It should be fixed soon. This is a new dependency that is under heavy
development. For now you can comment out the part of about bare metal in
the compute role.
> --
> You received this message because you are subscribed to the Google Groups
> "opscode-chef-openstack" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to opscode-chef-open...@googlegroups.com.
> To post to this group, send email to
> opscode-che...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/opscode-chef-openstack/CALFsGHkJGSUvjwatPS%3Dc%2BjT_Os8ajjPjaWQB7sWgZDBq3O2uuQ%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

Mark Vanderwiel

unread,
Mar 13, 2015, 10:51:48 AM3/13/15
to opscode-che...@googlegroups.com
Humm, I see that in the berksfile here: https://github.com/stackforge/openstack-chef-repo/blob/master/Berksfile#L2

There are a couple other issues with bare-metal conductor right now, so it's been temp pulled from the roles  see https://review.openstack.org/#/c/162737/
the other bug that's being worked is: https://review.openstack.org/#/c/163439/

Soheil Eizadi

unread,
Mar 13, 2015, 12:22:15 PM3/13/15
to opscode-che...@googlegroups.com
It was the Berksfile in the testing-stack: https://github.com/jjasghar/chef-openstack-testing-stack

I noticed that testing-stack has a branch for stable/icehouse but it does not have a stable/juno branch, that would be good to put in.

I backed out all the metal dependencies including the ones in the ops-database. Now I fail on packages in keystone, I am trying to build for CentOS-7 and it is probably too early for that on master.
-Soheil

                     * package[openstack-keystone] action upgrade[2015-03-13T04:05:14+00:00] INFO: Processing package[openstack-keystone] action upgrade (openstack-identity::server line 53)
                  
                       * No candidate version available for openstack-keystone
                       ================================================================================
                       Error executing action `upgrade` on resource 'package[openstack-keystone]'
                       ================================================================================
                      
                       Chef::Exceptions::Package
                       -------------------------
                       No candidate version available for openstack-keystone
                      
                       Resource Declaration:
                       ---------------------
                       # In /var/chef/cache/cookbooks/openstack-identity/recipes/server.rb
                      
                        53:   package pkg do
                        54:     options platform_options['package_options']
                        55:     action :upgrade
                        56:   end
                        57: end
                      




--
You received this message because you are subscribed to the Google Groups "opscode-chef-openstack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opscode-chef-open...@googlegroups.com.
To post to this group, send email to opscode-che...@googlegroups.com.

Christopher Luciano

unread,
Mar 13, 2015, 12:26:14 PM3/13/15
to opscode-che...@googlegroups.com
Ah the reason for this is that chef-openstack has been deprecated. You want to use this repo https://github.com/stackforge/openstack-chef-repo.

Soheil Eizadi

unread,
Mar 13, 2015, 1:19:37 PM3/13/15
to opscode-che...@googlegroups.com
Got it, to contribute to this do we fork and submit pull requests or go through the OpenStack Community process?
-Soheil

JJ Asghar

unread,
Mar 13, 2015, 1:21:15 PM3/13/15
to opscode-che...@googlegroups.com

On Mar 13, 2015, at 12:19 PM, Soheil Eizadi <s.ei...@gmail.com> wrote:

Got it, to contribute to this do we fork and submit pull requests or go through the OpenStack Community process?
-Soheil


Yep, now that it is been moved to the stackforge project, it goes through the normal process.

Mark Vanderwiel

unread,
Mar 13, 2015, 3:17:08 PM3/13/15
to opscode-che...@googlegroups.com
A couple updates, first that repo has now been integrated into the "official" one here: https://github.com/stackforge/openstack-chef-repo   All changes for this are now only going into this one.

Second, for the centos7 side, that means the common cookbook default recipe will kick in the RDO repos.  Unfortunately those RDO repos are not yet available for kilo (check here https://repos.fedorapeople.org/repos/openstack/openstack-kilo/fedora-22/) , hence the failure you had.

I found this ML entry that talks about when RDO might have something for us to start playing with: https://www.redhat.com/archives/rdo-list/2014-December/msg00123.html

If your bold, you can try using the RDO nightly builds/trunk  here:  http://trunk.rdoproject.org/   I see centos7 packages in there, but have no idea of the stability.
To unsubscribe from this group and stop receiving emails from it, send an email to opscode-chef-openstack+unsub...@googlegroups.com.

To post to this group, send email to opscode-che...@googlegroups.com.

Soheil Eizadi

unread,
Mar 13, 2015, 4:04:38 PM3/13/15
to opscode-che...@googlegroups.com
Thanks for the info Mark, I've been trying to get OpenCrowbar bare-metal chef-provisioning to work with the project. It works best with CentOS that was why I was using it. I went back to stable-Juno for my work. I will contribute the code back for review when I get it stable.
-Soheil

To unsubscribe from this group and stop receiving emails from it, send an email to opscode-chef-open...@googlegroups.com.

To post to this group, send email to opscode-che...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages