[dashboard] Support upstream apache2 cookbook

Bug #1396769 reported by Elliott Davis
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
High
Unassigned

Bug Description

Currently the openstack-dashboard cookbook has a dependency of less than 2.0 listed for for the Apache2 cookbook. This causes many problems with Ubuntu 14.04 support as Apache2.2 is no longer the default version shipped with 14.04.

The fix is to update the dependency in metadata.rb but this really breaks the tests (and possibly other platforms)

JJ Asghar (d-jj)
Changed in openstack-chef:
status: New → Triaged
importance: Undecided → High
milestone: none → juno-rc1
JJ Asghar (d-jj)
summary: - [openstack-dashboard] Support upstream apache2 cookbook
+ [dashboard] Support upstream apache2 cookbook
Revision history for this message
Mike Perez (thingee) wrote :
Download full text (3.3 KiB)

Looks like there was an attempt on this:

https://github.com/stackforge/cookbook-openstack-dashboard/commit/8642691b07b2a0eb6430d2da9668db8826c09fa7

Following instructions:

https://github.com/stackforge/openstack-chef-repo/blob/master/README.md#checkout-cookbooks

I can confirm on 14.04.1 this is not working:

$ /opt/chef/embedded/bin/berks vendor ./cookbooks
Resolving cookbook dependencies...
Fetching 'ceph' from git://github.com/stackforge/cookbook-ceph.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-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-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 'statsd' from git://github.com/att-cloud/cookbook-statsd.git (at master)
Fetching cookbook index from https://supermarket.getchef.com...
Unable to satisfy constraints on package apache2 due to solution constraint (openstack-dashboard = 10.0.0). Solution constraints that may result in a constraint on apache2: [(apache2 = 1.9.6)], [(ceph = 0.2.2) -> (apache2 >= 1.1.12)], [(openstack-dashboard = 10.0.0) -> (apache2 ~> 3.0)], [(openstack-object-storage = 10.0.0) -> (statsd = 0.1.6) -> (git = 0.7.0) -> (apache2 >= 0.0.0)], [(statsd = 0.1.6) -> (git = 0.7.0) -> (apache2 >= 0.0.0)]
Demand that cannot be met: (openstack-dashboard = 10.0.0)
Artifacts for which there are conflicting dependencies: apache2 = 1.11.0 -> [(iptables >= 0.0.0), (logrotate >= 0.0.0), (pacman >= 0.0.0), (freebsd >= 0.0.0)]Unable to find a solution for demands: apache2 (= 1.9.6), apt (= 2.3.8), aws (= 2.1.1), build-essential (= 1.4.2), ceph (0.2.2), database (= 2.2.0), erlang (= 1.4.2), memcached (= 1.7.2), mysql (= 5.4.4), mysql-chef_gem (= 0.0.4), openssl (= 1.1.0), openstack-block-storage (10.0.1), openstack-common (10.2.0), openstack-compute (10.0.0), openstack-dashboard (10.0.0), openstack-identity (10.0.1), openstack-image (10.1.0), openstack-network (10.1.0), openstack-object-storage (10.0.0), openstack-ops-database (10.0.0), openstack-ops-messaging (10.0.1), openstack-orchestration (10.0.0), ope...

Read more...

Revision history for this message
Elliott Davis (elliott-davis) wrote :

Mike,

Can you ensure you're pulling the dashboard cookbook from master? This change is already live in the master branch.

Also, could you ensure your berksfile doesn't have a lower dependency on apache? I see quite often that the apache version is locked to 1.9.6 if you cloned the original openstack cookbook from stackforge.

Elliott Davis

Revision history for this message
JJ Asghar (d-jj) wrote :

Elliott, can you close this with the proper review.

Changed in openstack-chef:
milestone: juno-rc1 → juno-stable
Revision history for this message
Elliott Davis (elliott-davis) wrote :
Changed in openstack-chef:
status: Triaged → Fix Released
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.