cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Will Stevens <>
Subject Upgrade fails on Master
Date Fri, 03 Feb 2017 14:40:14 GMT
Hey All,
I have been doing the same upgrade path for months.  It basically goes like
this.  I am running CentOS6.8.

- Build code with jenkins and publish to a repo
- Backup /etc/cloudstack/management/ ->
- Update my /etc/yum.repos.d/cloudstack.repo file to point to the new build
- Since it is the same version as the last time (4.10), I have to remove
the old packages
-- sudo yum -y remove cloudstack-management cloudstack-common
- Install the new packages
-- sudo yum -y install cloudstack-management cloudstack-usage
- Copy the to
- Restart the service

I recently pulled in the latest code from master and now I get different

When I install the packages, I get this:
--- snip ---
Running Transaction
  Installing : cloudstack-common-          1/3
  Installing : cloudstack-management-      2/3
Unable to determine ssl settings for server.xml, please run
cloudstack-setup-management manually
Unable to determine ssl settings for tomcat.conf, please run
cloudstack-setup-management manually
  Installing : cloudstack-usage-           3/3
Replacing with management server
Replacing key with management server key
  Verifying  : cloudstack-common-          1/3
  Verifying  : cloudstack-usage-           2/3
  Verifying  : cloudstack-management-      3/3

  cloudstack-management.x86_64 0:
cloudstack-usage.x86_64 0:

Dependency Installed:
  cloudstack-common.x86_64 0:

--- snip --

I check what files are in the '/etc/cloudstack/management' folder.

--- snip relevant ---
server.xml -> /etc/cloudstack/management/server-nonssl.xml
tomcat6.conf -> /etc/cloudstack/management/tomcat6-nonssl.conf
--- snip relevant ---

I notice that 'server.xml' is there, but 'tomcat.conf' is not.

I run 'cloudstack-setup-management' as it says in the instructions.

$ sudo cloudstack-setup-management
Starting to configure CloudStack Management Server:
Configure Firewall ...        [OK]
Configure CloudStack Management Server ...[OK]
CloudStack Management Server setup is Done!

It does not seem to have changed anything in '/etc/cloudstack/management'

I try to start the CloudStack Management service and then tail the log and
I get this in the logs and the service does not start.

--- snip ---
2017-01-18 20:01:19,134 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle]
(Thread-90:null) (logid:) stopping bean ClusterServiceServletAdapter
2017-01-18 20:01:19,135 ERROR [c.c.c.ClusterServiceServletContainer]
(Thread-10:null) (logid:) Unexpected exception Socket closed
at Method)
2017-01-18 20:01:19,135 INFO  [o.a.c.s.l.CloudStackExtendedLifeCycle]
(Thread-90:null) (logid:) stopping bean ClusterManagerImpl
2017-01-18 20:01:19,135 INFO  [c.c.c.ClusterManagerImpl] (Thread-90:null)
(logid:) Stopping Cluster manager, msid : 7617392934992
--- snip ---

I am not sure what changed on master that would have caused this, but
apparently something is unhappy.

Any ideas for how to resolve this and make sure upgrades still work for ACS?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message