Make the cookbooks work with Chef 13+

Registered by Samuel Cassiba

The cookbooks are currently geared for Chef 11/12 infrastructure. They should support the current release (13.x) as well as the upcoming release, 14.x

Blueprint information

Status:
Complete
Approver:
None
Priority:
Essential
Drafter:
Samuel Cassiba
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Samuel Cassiba
Completed by
Samuel Cassiba

Related branches

Sprints

Whiteboard

I don't know where to put this but I think it is good to have it somewhere.
Here are some warning I have at the end of a chef-client run :

Deprecated features used!
  method access to node attributes (node.foo.bar) is deprecated and will be removed in Chef 13, please use bracket syntax (node["foo"]["bar"]) at 2 locations:
    - /var/chef/cache/cookbooks/openstack-compute/attributes/default.rb:28:in `from_file'
    - /var/chef/cache/cookbooks/openstack-compute/attributes/default.rb:138:in `from_file'
  node.set is deprecated and will be removed in Chef 14, please use node.default/node.override (or node.normal only if you really need persistence) at 4 locations:
    - /var/chef/cache/cookbooks/openstack-ops-messaging/recipes/rabbitmq-server.rb:34:in `from_file'
    - /var/chef/cache/cookbooks/openstack-identity/recipes/registration.rb:90:in `from_file'
    - /var/chef/cache/cookbooks/openstack-identity/recipes/registration.rb:91:in `from_file'
    - /var/chef/cache/cookbooks/openstack-identity/recipes/registration.rb:92:in `from_file'

Gerrit topic: https://review.openstack.org/#q,topic:bp/modern-chef,n,z

Addressed by: https://review.openstack.org/523030
    common refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523031
    block-storage refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523046
    compute refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523047
    identity refactor for Pike and Chef 13

Gerrit topic: https://review.openstack.org/#q,topic:bug/1616265,n,z

Addressed by: https://review.openstack.org/523048
    dashboard refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523049
    image refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523050
    ops-database refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523051
    ops-messaging refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523156
    orchestration refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523157
    integration-test refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523159
    network refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523161
    Incremented chefdk to 2.3.4

Addressed by: https://review.openstack.org/523172
    telemetry refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/523277
    Implemented Chef 13 support for Test Kitchen and CI

Addressed by: https://review.openstack.org/524193
    identity refactor for Pike and Chef 13

Addressed by: https://review.openstack.org/529901
    Updated integration attributes and methods

Addressed by: https://review.openstack.org/537067
    Bumped ChefDK release to 2.3.4

Addressed by: https://review.openstack.org/538697
    Disabled epel repo, cleaned up environments files

Addressed by: https://review.openstack.org/539227
    Removed unused tests for deprecated RDBMS flavor

Addressed by: https://review.openstack.org/540629
    Added apache2 dependency, endpoint handling

Addressed by: https://review.openstack.org/541295
    Cleaned up minimal role, deprecated provisioning cookbook

Addressed by: https://review.openstack.org/541751
    Removed deprecated postgres test

Addressed by: https://review.openstack.org/542600
    Use updated volume packages for Cinder

Addressed by: https://review.openstack.org/542602
    Update CirrOS, Ubuntu image locations

Addressed by: https://review.openstack.org/542612
    Revert from packaged tempest to git, update image refs

Addressed by: https://review.openstack.org/542613
    Revert inspec test to use Tempest from git

Addressed by: https://review.openstack.org/545482
    Update dashboard reference to Pike branch

Addressed by: https://review.openstack.org/547272
    Update dashboard reference to Pike branch

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.