cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [2/3] git commit: updated refs/heads/4.9 to d6e9045
Date Wed, 24 Aug 2016 07:34:43 GMT
Merge pull request #1657 from shapeblue/4.8-usageserverfix

[lts/blocker] CLOUDSTACK-9467: Add symlink to key file for usage serverOn fresh installation,
the usage server fails to start if the `key` file does
not exist in its classpath. The issue is reproducible in environments (such as Trillian)
where the usage server is installed before cloudstack-setup-databases has been called.
Before the cloudstack db has been setup, the key file does not exist at its
default location and installation of usage-server fails to add a symlink to the
key file.

This fix adds a default symlink to `/etc/cloudstack/management/key` if a
symlink/file does not already exist in the /etc/cloudstack/usage directory.

On new installation, in the post-installation steps it checks if the symlink
or file exists, and adds a symlink if it does not exist. On existing
installations, if symlink or file exists then it will skip adding symlink.

/cc @jburwell @PaulAngus @karuturi
@blueorangutan package

* pr/1657:
  CLOUDSTACK-9467: Add symlink to key file for usage server

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/19f159a9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/19f159a9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/19f159a9

Branch: refs/heads/4.9
Commit: 19f159a96b0a565f1a70cdd745a6f2ca0c35207c
Parents: 3fa8762 8cd44b1
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Wed Aug 24 13:04:02 2016 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Wed Aug 24 13:04:02 2016 +0530

----------------------------------------------------------------------
 packaging/centos63/cloud.spec | 4 ++++
 packaging/centos7/cloud.spec  | 4 ++++
 2 files changed, 8 insertions(+)
----------------------------------------------------------------------



Mime
View raw message