[ https://issues.apache.org/jira/browse/CLOUDSTACK-7082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058189#comment-14058189 ]
Sheng Yang commented on CLOUDSTACK-7082: ---------------------------------------- I don't think it's related to keystore. 2014-07-08 10:08:59,577 DEBUG [c.c.u.s.Script] (main:null) Executing: sudo keytool -genkey -keystore /etc/cloudstack/management/cloud.keystore -storepass vmops.com -keypass vmops.com -keyalg RSA -validity 3650 -dname cn="Cloudstack User",ou="l ocalhost",o="localhost",c="Unknown" 2014-07-08 10:08:59,676 DEBUG [c.c.u.s.Script] (main:null) Exit value is 1 2014-07-08 10:08:59,677 DEBUG [c.c.u.s.Script] (main:null) sudo: no tty present and no askpass program specified 2014-07-08 10:08:59,677 WARN [c.c.s.ConfigurationServerImpl] (main:null) Would use fail-safe keystore to continue. java.io.IOException: Fail to generate certificate!: sudo: no tty present and no askpass program specified at com.cloud.server.ConfigurationServerImpl.generateDefaultKeystore(ConfigurationServerImpl.java:601) at com.cloud.server.ConfigurationServerImpl.updateSSLKeystore(ConfigurationServerImpl.java:629) at com.cloud.server.ConfigurationServerImpl.persistDefaultValues(ConfigurationServerImpl.java:300) As message said, "fail-safe" keystore has been loaded to make sure communication continue. This exception happens sometime and make no difference to mgmt server. > [Automation] System vm are not getting created in Xen > ------------------------------------------------------ > > Key: CLOUDSTACK-7082 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7082 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Xen > Affects Versions: 4.5.0 > Environment: Xen > Build 4.4 / master > Reporter: Rayees Namathponnan > Assignee: Sheng Yang > Priority: Blocker > Fix For: 4.5.0 > > Attachments: management-server_CLOUDSTACK-7082.rar > > > Create advanced zone in Xen with 4.5 build. SSVM and CPVM failed to create, > observed below error in MS log, also attached full log > 2014-07-08 10:13:32,271 DEBUG [c.c.s.ConfigurationServerImpl] (main:null) > Caught SQLException when inserting system user: Duplicate entry '1' for key > 'PRIMARY' > 2014-07-08 10:13:32,271 DEBUG [c.c.s.ConfigurationServerImpl] (main:null) > Caught SQLException when creating admin account: Duplicate entry '2' for key > 'PRIMARY' > 2014-07-08 10:13:32,272 DEBUG [c.c.s.ConfigurationServerImpl] (main:null) > Caught SQLException when inserting admin user: Duplicate entry '2' for key > 'PRIMARY' > 2014-07-08 10:13:32,273 DEBUG [c.c.s.ConfigurationServerImpl] (main:null) > Caught (SQL?)Exception: no network_group Table 'cloud.network_group' doesn't > exist > java.io.IOException: Fail to generate certificate!: sudo: no tty present and > no askpass program specified > 2014-07-08 10:13:51,450 WARN [c.c.c.d.ManagementServerHostDaoImpl] > (Cluster-Heartbeat-1:ctx-b1344ab9) update:Exception:Invalid cluster session > detected > com.cloud.utils.exception.CloudRuntimeException: Invalid cluster session > detected > Caused by: com.cloud.cluster.ClusterInvalidSessionException: runid > 1404814404734 is no longer valid > java.lang.RuntimeException: update:Exception:Invalid cluster session detected > Caused by: com.cloud.utils.exception.CloudRuntimeException: Invalid cluster > session detected > Caused by: com.cloud.cluster.ClusterInvalidSessionException: runid > 1404814404734 is no longer valid > 2014-07-08 10:13:52,854 WARN [c.c.c.d.ManagementServerHostDaoImpl] > (Cluster-Heartbeat-1:ctx-32db3a37) update:Exception:Invalid cluster session > detected > com.cloud.utils.exception.CloudRuntimeException: Invalid cluster session > detected > Caused by: com.cloud.cluster.ClusterInvalidSessionException: runid > 1404814404734 is no longer valid > java.lang.RuntimeException: update:Exception:Invalid cluster session detected > Caused by: com.cloud.utils.exception.CloudRuntimeException: Invalid cluster > session detected > Caused by: com.cloud.cluster.ClusterInvalidSessionException: runid > 1404814404734 is no longer valid > 2014-07-08 10:13:54,354 WARN [c.c.c.d.ManagementServerHostDaoImpl] > (Cluster-Heartbeat-1:ctx-bc4d14ae) update:Exception:Invalid cluster session > detected > com.cloud.utils.exception.CloudRuntimeException: Invalid cluster session > detected > Caused by: com.cloud.cluster.ClusterInvalidSessionException: runid > 1404814404734 is no longer valid > java.lang.RuntimeException: update:Exception:Invalid cluster session detected > Caused by: com.cloud.utils.exception.CloudRuntimeException: Invalid cluster > session detected > Caused by: com.cloud.cluster.ClusterInvalidSessionException: runid > 1404814404734 is no longer valid -- This message was sent by Atlassian JIRA (v6.2#6252)