* changed rollback strategy for bootstrap
upgrade engine, in previous strategy we
made symlink from previous version of
bootstrap to /var/www/nailgun/bootstrap
it doesn't work because in 5.0 version
cobbler container mounts /var/www/nailgun
directory as /repo, as result symlinks
which we make on the host system are
broken inside of container.
Instead of symlink command we rename
previous version to /var/www/nailgun/bootstrap
* use lexists instead of exists because
exists returns False on broken symlinks
* fixed docker engine rollback, there
was wrong definition of previous version
of fuel.
Reviewed: https:/ /review. openstack. org/109285 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=a74fa60388d 658aff04aedbc5d 7ba7d091713c56
Committed: https:/
Submitter: Jenkins
Branch: master
commit a74fa60388d658a ff04aedbc5d7ba7 d091713c56
Author: Evgeniy L <email address hidden>
Date: Thu Jul 24 17:03:28 2014 +0400
Upgrades, fix rollback for bootstrap engine
* changed rollback strategy for bootstrap nailgun/ bootstrap
upgrade engine, in previous strategy we
made symlink from previous version of
bootstrap to /var/www/
it doesn't work because in 5.0 version
cobbler container mounts /var/www/nailgun
directory as /repo, as result symlinks
which we make on the host system are
broken inside of container.
Instead of symlink command we rename nailgun/ bootstrap
previous version to /var/www/
* use lexists instead of exists because
exists returns False on broken symlinks
* fixed docker engine rollback, there
was wrong definition of previous version
of fuel.
Change-Id: Id0b50835410e00 5fde76f421981b4 616211ddcbf
Closes-bug: #1348166