Create /etc/fuel/5.0 directory and make symlink from /etc/fuel/5.0/version.yaml to /etc/fuel/version.yaml

Bug #1317049 reported by Evgeniy L
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Aleksandr Didenko

Bug Description

During master provisioning create /etc/fuel/5.0 directory, add version.yaml
and make symlink from /etc/fuel/5.0/version.yaml to /etc/fuel/version.yaml

https://github.com/stackforge/fuel-main/blob/b33adfc3a17377415bf0fc80b7b8419fc5fb7176/iso/ks.template#L351-L352

Also fix dockerctl to use fuel version from /etc/fuel/version.yaml

https://github.com/stackforge/fuel-library/blob/76d7bf2d268150d738d07b0b4501f3e5d404deae/deployment/puppet/docker/templates/dockerctl_config.erb#L13

See discussion
https://review.openstack.org/#/c/92380/

Evgeniy L (rustyrobot)
description: updated
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Alexander Didenko (adidenko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-library (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/93317

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/93316
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=82b1f6ca55a8daf0039e838e52c43722d39277d0
Submitter: Jenkins
Branch: master

commit 82b1f6ca55a8daf0039e838e52c43722d39277d0
Author: Aleksandr Didenko <email address hidden>
Date: Mon May 12 17:48:20 2014 +0300

    Put version.yaml into /etc/fuel/$RELEASE/ dir

    During master provisioning create /etc/fuel/5.0 directory, add
    version.yaml and make symlink from /etc/fuel/5.0/version.yaml to
    /etc/fuel/version.yaml

    Change-Id: Ie9080720c60e29e43f3e858f40b25c60a5183423
    Closes-Bug: #1317049
    Implements: blueprint fuel-containerization-of-services

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/93317
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=209fd27238eb0db42188132e9e0d1a4bb801ef18
Submitter: Jenkins
Branch: master

commit 209fd27238eb0db42188132e9e0d1a4bb801ef18
Author: Aleksandr Didenko <email address hidden>
Date: Mon May 12 18:09:07 2014 +0300

    Get fuel version from version.yaml

    For upgrades we need to get VERSION from /etc/fuel/version.yaml
    instead of hardcoded value defined at time of Puppet run. Falls
    back to value set during puppet run in case reading fails.

    Depends on https://review.openstack.org/93316

    Change-Id: I397a10f00453d593c1a1fde6e5f73645a5c56fa7
    Implements: blueprint fuel-containerization-of-services
    Related-Bug: #1317049

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on {"build_id": "2014-05-22_01-10-31", "mirantis": "yes", "build_number": "216", "ostf_sha": "5c479f04c35127576d35526650ec83b104f9a33d", "nailgun_sha": "31fcb161ff8d6bfb861b041467440752c0e9c537", "production": "docker", "api": "1.0", "fuelmain_sha": "dda9cff27999e74b80e8e6a9e665e7e9677ab994", "astute_sha": "9a0d86918724c1153b5f70bdae008dea8572fd3e", "release": "5.0", "fuellib_sha": "872b6a7a968b619a493ad46c504910020ea2edae"}

Changed in fuel:
status: Fix Committed → 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.