Allow packages to be updated

Registered by Mark Vanderwiel

Allow packages to be updated via the package resource action:upgrade. The cookbook today are inconsistent in what packages can be updated on subsequent converges. This blueprint attempts to bring some consistency to this.

There are probably other items that will be need to support the release upgrade, that is covered by blueprint openstack-upgrade.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
Mark Vanderwiel
Direction:
Needs approval
Assignee:
Mark Vanderwiel
Definition:
Pending Approval
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon icehouse-stable
Started by
Mark Vanderwiel
Completed by
Mark Vanderwiel

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/allow-package-updates,n,z

Addressed by: https://review.openstack.org/91476
    Allow packages to be updatable

Addressed by: https://review.openstack.org/91481
    Allow packages to be updatable

-----------------------------------------------------------
Might I suggest an alternative pattern, thusly:

package_list.each do |pkg|
  package pkg do
    action node["openstack"]["do_package_upgrades"] == true ? :upgrade : :install
    options platform_options["package_options"]
  end
end

This gives me the option of leaving all packages alone, until I have tested new packages and can flip the switch (by changing the environment variable) to do upgrades

- Darren Birkett

Addressed by: https://review.openstack.org/91662
    Allow packages to be updatable

Addressed by: https://review.openstack.org/91687
    Allow packages to be updatable

Addressed by: https://review.openstack.org/91691
    Allow packages to be updatable

Addressed by: https://review.openstack.org/91694
    Allow packages to be updatable

Addressed by: https://review.openstack.org/91836
    Allow packages to be updatable

Addressed by: https://review.openstack.org/104922
    Changed the action of all package resources from default to :upgrade

(?)

Work Items

Work items:
change to use package upgrade consistently: INPROGRESS
change to allow package upgrade control: TODO

This blueprint contains Public information 
Everyone can see this information.