Problem witch start systemvm
cloudstack 4.7, CentOS Linux release 7.2.1511 (managemet server and kvm), libvirt 1.2.17-13.el7_2.2 vm state: Starting Management server log: 2016-01-24 11:01:16,201 WARN [o.a.c.f.j.i.AsyncJobMonitor] (Timer-1:ctx-e0047508) (logid:8efcba58) Task (job-319) has been pending for 329 seconds KVM hist log: 2016-01-24 10:57:56,735 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-4:null) (logid:5506e1b3) Could not connect to 169.254.2.228 2016-01-24 10:57:57,887 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) (logid:48c87877) Could not connect to 169.254.3.17 2016-01-24 10:57:58,028 DEBUG [cloud.agent.Agent] (agentRequest-Handler-1:null) (logid:4edfd77c) Processing command: com.cloud.agent.api.GetHostStatsCommand 2016-01-24 10:58:01,736 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-4:null) (logid:5506e1b3) Trying to connect to 169.254.2.228 2016-01-24 10:58:02,888 DEBUG [resource.virtualnetwork.VirtualRoutingResource] (agentRequest-Handler-2:null) (logid:48c87877) Trying to connect to 169.254.3.17 2016-01-24 10:58:35,635 DEBUG [kvm.resource.LibvirtConnection] (UgentTask-5:null) (logid:) Looking for libvirtd connection at: qemu:///system 2016-01-24 10:58:35,642 DEBUG [cloud.agent.Agent] (UgentTask-5:null) (logid:) Sending ping: Seq 4-7: { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"com.cloud.agent.api.PingRoutingWithNwGroupsCommand":{"newGroupStates":{},"_hostVmStateReport":{"v-15-VM":{"state":"PowerOn","host":" srv-kvm01.cloud.bstelecom.ru"},"s-16-VM":{"state":"PowerOn","host":" srv-kvm01.cloud.bstelecom.ru"}},"_gatewayAccessible":true,"_vnetAccessible":true,"hostType":"Routing","hostId":4,"wait":0}}] } 2016-01-24 10:58:35,801 DEBUG [cloud.agent.Agent] (Agent-Handler-5:null) (logid:) Received response: Seq 4-7: { Ans: , MgmtId: 90212275930085, via: 4, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.PingAnswer":{"_command":{"hostType":"Routing","hostId":4,"wait":0},"result":true,"wait":0}}] } [root@srv-kvm01 ~]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:etp ACCEPT tcp -- anywhere anywhere tcp dpts:49152:49216 ACCEPT tcp -- anywhere anywhere tcp dpts:rfb:synchronet-db ACCEPT tcp -- anywhere anywhere tcp dpt:16509 ACCEPT tcp -- anywhere anywhere tcp dpt:ssh Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination [root@srv-kvm01 ~]# virsh list IdName State 2 v-13-VMrunning 3 s-14-VMrunning [root@srv-kvm01 ~]# ovs-vsctl ovs-vsctl: missing command name (use --help for help) [root@srv-kvm01 ~]# ovs-vsctl show 78f8df0f-88df-4283-8215-58fcb067c476 Bridge "cloud0" Port "cloud0" Interface "cloud0" type: internal Port "vnet0" Interface "vnet0" Port "vnet3" Interface "vnet3" Bridge "cloudbr0" Port "vnet4" tag: 1804 Interface "vnet4" Port "stor0" tag: 1806 Interface "stor0" type: internal Port "bond0" Interface "enp6s0f0" Interface "enp6s0f1" Port "vnet5" tag: 1500 Interface "vnet5" Port "vnet2" tag: 1500 Interface "vnet2" Port "mgm0" tag: 1804 Interface "mgm0" type: internal Port "vnet1" tag: 1804 Interface "vnet1" Port "cloudbr0" Interface "cloudbr0" type: internal Port "vnet6" tag: 1806 Interface "vnet6" ovs_version: "2.4.0" [root@srv-kvm01 ~]# virsh dumpxml v-15-VM v-15-VM 229beb34-e68f-4611-81b3-d4df38d00568 Debian GNU/Linux 5.0 (64-bit) 1048576 1048576 1 500 /machine Apache Software Foundation CloudStack KVM Hypervisor 229beb34-e68f-4611-81b3-d4df38d00568 hvm destroy restart destroy /usr/libexec/qemu-kvm 1da1e68e0e9045d98454
Re: Swift storage
BUG: My nfs server: centos 7.2, nfs-utils 1:1.3.0-0.21.el7 cloudstack error: 2016-01-20 09:35:47,951 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource] (pool-56-thread-1:ctx-c962141a) (logid:e48a8f70) Faild to get url: http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2, due to java.io.IOException: access denied NFS error: Jan 20 16:07:07 rgw-lb01 nfsdcltrack[32306]: sqlite_insert_client: insert statement prepare failed: table clients has 2 columns but 3 values were supplied Jan 20 16:13:43 rgw-lb01 nfsdcltrack[32528]: sqlite_insert_client: insert statement prepare failed: table clients has 2 columns but 3 values were supplied Jan 20 16:22:49 rgw-lb01 nfsdcltrack[393]: sqlite_insert_client: insert statement prepare failed: table clients has 2 columns but 3 values were supplied https://bugzilla.redhat.com//show_bug.cgi?id=1285097 2016-01-20 10:47 GMT+03:00 Юрий Карпель <yu...@karpel.su>: > Test stend: cloudstack 4.7, kvm, ceph (centos7) > > > > Deploying two rgw civetweb + server nfs: > > > > [client.rgw.srv-rgw01] > > rgw print continue = false > > host = srv-rgw01 > > rgw frontends = civetweb port=8080 > > rgw_socket_path = /tmp/radosgw.sock > > > > [client.rgw.srv-rgw02] > > rgw print continue = false > > host = srv-rgw01 > > rgw frontends = civetweb port=8080 > > rgw_socket_path = /tmp/radosgw.sock > > > > swift test: > > [ceph@ceph-adm ~]$ swift -A http://ceph-rgw.test.bst.ru:8080/auth/v1.0/ -U > cloudstack:swift -K 'KBDbLt3DJ9hhMCVuPDfX1TwtLVywa2NVtO6ODBnu' list > > images > > [ceph@ceph-adm ~]$ > > [ceph@ceph-adm ~]$ swift upload images ceph.log > > ceph.log > > [ceph@ceph-adm ~]$ swift stat images > > Account: v1 > > Container: images > > Objects: 1 > > Bytes: 96355 > > Read ACL: > > Write ACL: > > Sync To: > > Sync Key: > > Accept-Ranges: bytes > > X-Storage-Policy: default-placement > > X-Container-Bytes-Used-Actual: 98304 > > X-Timestamp: 1453193667.0 > >X-Trans-Id: > tx00208-00569f2d4c-4395-default > > Content-Type: text/plain; charset=utf-8 > > [ceph@ceph-adm ~]$ > > > > > > Add to cloudstack: > > Name: Images > > Provider: Swift > > URL: http://ceph-rgw.test.bst.ru:8080/auth/v1.0/ > > Account:cloudstack > > Username: swift > > > > Log: > > > > 2016-01-20 09:35:37,688 DEBUG [c.c.a.ApiServlet] > (catalina-exec-20:ctx-72c3e20f ctx-320404d7) (logid:9e2762af) ===END=== > 192.168.7.29 -- GET > > command=addImageStore=json=Images=Swift=http%3A%2F% > 2Fceph-rgw.test.bst.ru <http://2fceph-rgw.test.bst.ru/> > %3A8080%2Fauth%2Fv1.0%2F%5B0%5D.key=account%5B0%5D.value=cloudstack%5B1%5D.key=username%5B1%5D.value=swift%5B2%5D.key=key%5B2%5D.value=KBDbLt3DJ9hhMCVuPDfX1TwtLVywa2NVtO6ODBnu&_=1453271737545 > > 2016-01-20 09:35:43,684 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-96868b17) (logid:73617e92) Resetting hosts suitable for reconnect > > 2016-01-20 09:35:43,689 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-96868b17) (logid:73617e92) Completed resetting hosts suitable for > reconnect > > 2016-01-20 09:35:43,689 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-96868b17) (logid:73617e92) Acquiring hosts for clusters already > owned by this management server > > 2016-01-20 09:35:43,690 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-96868b17) (logid:73617e92) Completed acquiring hosts for clusters > already owned by this management server > > 2016-01-20 09:35:43,690 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-96868b17) (logid:73617e92) Acquiring hosts for clusters not owned > by any management server > > 2016-01-20 09:35:43,692 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager > Timer:ctx-96868b17) (logid:73617e92) Completed acquiring hosts for clusters > not owned by any management server > > 2016-01-20 09:35:47,073 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > (AsyncJobMgr-Heartbeat-1:ctx-2c2a88d4) (logid:053e95d5) Begin cleanup > expired async-jobs > > 2016-01-20 09:35:47,100 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > (AsyncJobMgr-Heartbeat-1:ctx-2c2a88d4) (logid:053e95d5) End cleanup expired > async-jobs > > 2016-01-20 09:35:47,906 INFO [o.a.c.s.r.NfsSecondaryStorageResource] > (pool-56-thread-1:ctx-c962141a) (logid:e48a8f70) Determined host > rgw-lb01.test.bst.ru <http://rgw-lb01.
Re: Swift storage
is no secondary storage VM for secondary storage host Images Error: (logid:e48a8f70) Faild to get url: http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2, due to java.io.IOException: access denied Management server It has access to the file http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2 [root@srv-mgm01 ~]# wget http://cloudstack.apt-get.eu/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2 Resolving cloudstack.apt-get.eu (cloudstack.apt-get.eu)... 185.27.175.74, 2a00:f10:121:400:4b8:8ff:fe00:496 Connecting to cloudstack.apt-get.eu (cloudstack.apt-get.eu)|185.27.175.74|:80... connected. HTTP request sent, awaiting response... 200 OK 2016-01-19 21:27 GMT+03:00 ilya <ilya.mailing.li...@gmail.com>: > Юрий, вчем проблема? > > > On 1/19/16 8:04 AM, Юрий Карпель wrote: > > Cloudstack 4.7, kvm, centos7 > > > > Test cases: > > > > Swift (rados-gw): > > [ceph@ceph-adm ~]$ swift -A http://10.30.15.15:8080/auth/v1.0/ -U > > cloudstack:swift -K 'PiBNP6C4zRVNDGdM761APVMZm8Vozd20RE2tBm6d' list > > images > > [ceph@ceph-adm ~]$ > > > > > > Add to cloudstack: > > > > 2016-01-19 19:01:06,146 INFO [o.a.c.s.d.l.SwiftImageStoreLifeCycleImpl] > > (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Trying to > add > > a swift store at http://10.30.15.15:8080/auth/v1.0/ in data center null > > 2016-01-19 19:01:06,271 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > > (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) template 3 > is > > already in store:82, type:Image > > 2016-01-19 19:01:06,365 INFO [o.a.c.s.i.d.TemplateDataStoreDaoImpl] > > (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Duplicate 0 > > template cache store records to region store > > 2016-01-19 19:01:06,367 INFO [o.a.c.s.i.d.SnapshotDataStoreDaoImpl] > > (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Duplicate 0 > > snapshot cache store records to region store > > 2016-01-19 19:01:06,378 INFO [o.a.c.s.i.d.VolumeDataStoreDaoImpl] > > (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Duplicate 0 > > volume cache store records to region store > > 2016-01-19 19:01:06,383 DEBUG [c.c.a.ApiServlet] > > (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) ===END=== > > 192.168.7.29 -- GET > > > command=addImageStore=json=Images=Swift=http%3A%2F%2F10.30.15.15%3A8080%2Fauth%2Fv1.0%2F%5B0%5D.key=account%5B0%5D.value=cloudstack%3Aswift%5B1%5D.key=username%5B1%5D.value=cloudstack%3Aswift%5B2%5D.key=key%5B2%5D.value=PiBNP6C4zRVNDGdM761APVMZm8Vozd20RE2tBm6d&_=1453219265296 > > 2016-01-19 19:01:07,077 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > (AsyncJobMgr-Heartbeat-1:ctx-2dfb716a) (logid:44c21614) Begin cleanup > > expired async-jobs > > 2016-01-19 19:01:07,102 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > (AsyncJobMgr-Heartbeat-1:ctx-2dfb716a) (logid:44c21614) End cleanup > expired > > async-jobs > > 2016-01-19 19:01:07,153 DEBUG > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:ctx-aec40e3d) (logid:b3518114) Found 0 routers to > > update status. > > 2016-01-19 19:01:07,159 DEBUG > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:ctx-aec40e3d) (logid:b3518114) Found 0 VPC > networks > > to update Redundant State. > > 2016-01-19 19:01:07,165 DEBUG > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:ctx-aec40e3d) (logid:b3518114) Found 0 networks to > > update RvR status. > > 2016-01-19 19:01:07,290 DEBUG > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:ctx-dbe5f52c) (logid:86f8be40) Found 0 routers to > > update status. > > 2016-01-19 19:01:07,296 DEBUG > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:ctx-dbe5f52c) (logid:86f8be40) Found 0 VPC > networks > > to update Redundant State. > > 2016-01-19 19:01:07,301 DEBUG > [c.c.n.r.VirtualNetworkApplianceManagerImpl] > > (RouterStatusMonitor-1:ctx-dbe5f52c) (logid:86f8be40) Found 0 networks to > > update RvR status. > > 2016-01-19 19:01:08,921 DEBUG [c.c.a.m.AgentManagerImpl] > > (AgentManager-Handler-12:null) (logid:) Ping from 31( > > srv-kvm01.cloud.bstelecom.ru) > > 2016-01-19 19:01:08,921 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] > > (AgentManager-Handler-12:null) (logid:) Process host VM state report from > > ping process. host: 31 > > 2016-01-19 19:01:08,921 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] > > (AgentManager-Handler-12:null) (logid:) Process VM state report. host: > 31, > > number of records
S3, rados-gw error
CentOS7 + KVM + Ceph (RadosGW + RBD ) Endpoint: rgw-lb01.test..** 2016-01-19 16:56:11,099 INFO [c.a.h.AmazonHttpClient] (s3-transfer-manager-worker-5:null) (logid:18c0d81c) Unable to execute HTTP request: images.rgw-lb01.test..**: unknown error java.net.UnknownHostException: images.rgw-lb01.cloud.bstelecom.ru: unknown error at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) at java.net.InetAddress.getAllByName0(InetAddress.java:1276) at java.net.InetAddress.getAllByName(InetAddress.java:1192) at java.net.InetAddress.getAllByName(InetAddress.java:1126) at com.amazonaws.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:27) at com.amazonaws.http.DelegatingDnsResolver.resolve(DelegatingDnsResolver.java:38) at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:769) at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:506) at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:318) at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3595) at com.amazonaws.services.s3.AmazonS3Client.initiateMultipartUpload(AmazonS3Client.java:2588) at com.amazonaws.services.s3.transfer.internal.UploadCallable.initiateMultipartUpload(UploadCallable.java:350) at com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInParts(UploadCallable.java:178) at com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:121) at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:139) at com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:47) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745 Run s3test.py: import boto import boto.s3.connection access_key = 'X08R0Z0O7WJWE18W95GB' secret_key = 'bsc0wwH9nD5LEuiEi2EERQaGlTgUECD70cZQTlpA' conn = boto.connect_s3( aws_access_key_id = access_key, aws_secret_access_key = secret_key, host = 'rgw-lb01', is_secure=False, calling_format = boto.s3.connection.OrdinaryCallingFormat(), ) buckets = conn.get_all_buckets() for bucket in buckets: print "{name}\t{created}".format( name=bucket.name, created=bucket.creation_date, ) for key in bucket.list(): print "{name}\t{size}\t{modified}".format( name=(key.name).encode('utf8'), size=key.size, modified=key.last_modified, [ceph@ceph-adm ~]$ python s3test.py images 2016-01-19T08:54:27.000Z ps: swift (radosgw) work in cloudstack?
Re: S3, rados-gw error
the ip if you want to) > > -- > Erik > > On Tue, Jan 19, 2016 at 2:57 PM, Юрий Карпель <yu...@karpel.su> wrote: > > > CentOS7 + KVM + Ceph (RadosGW + RBD ) > > Endpoint: rgw-lb01.test..** > > > > 2016-01-19 16:56:11,099 INFO [c.a.h.AmazonHttpClient] > > (s3-transfer-manager-worker-5:null) (logid:18c0d81c) Unable to execute > HTTP > > request: images.rgw-lb01.test..**: unknown error > > java.net.UnknownHostException: images.rgw-lb01.cloud.bstelecom.ru: > unknown > > error > > at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) > > at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) > > at > > java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) > > at java.net.InetAddress.getAllByName0(InetAddress.java:1276) > > at java.net.InetAddress.getAllByName(InetAddress.java:1192) > > at java.net.InetAddress.getAllByName(InetAddress.java:1126) > > at > > > > > com.amazonaws.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:27) > > at > > > > > com.amazonaws.http.DelegatingDnsResolver.resolve(DelegatingDnsResolver.java:38) > > at > > > > > org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:259) > > at > > > > > org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:159) > > at > > > > > org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) > > at > > > > > org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) > > at > > > > > org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) > > at > > > > > org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) > > at > > > > > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) > > at > > > > > org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) > > at > > > > > com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:769) > > at > > > > > com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:506) > > at > > com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:318) > > at > > com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3595) > > at > > > > > com.amazonaws.services.s3.AmazonS3Client.initiateMultipartUpload(AmazonS3Client.java:2588) > > at > > > > > com.amazonaws.services.s3.transfer.internal.UploadCallable.initiateMultipartUpload(UploadCallable.java:350) > > at > > > > > com.amazonaws.services.s3.transfer.internal.UploadCallable.uploadInParts(UploadCallable.java:178) > > at > > > > > com.amazonaws.services.s3.transfer.internal.UploadCallable.call(UploadCallable.java:121) > > at > > > > > com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:139) > > at > > > > > com.amazonaws.services.s3.transfer.internal.UploadMonitor.call(UploadMonitor.java:47) > > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > > at > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > > at > > > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > > at java.lang.Thread.run(Thread.java:745 > > > > Run s3test.py: > > import boto > > import boto.s3.connection > > access_key = 'X08R0Z0O7WJWE18W95GB' > > secret_key = 'bsc0wwH9nD5LEuiEi2EERQaGlTgUECD70cZQTlpA' > > conn = boto.connect_s3( > > aws_access_key_id = access_key, > > aws_secret_access_key = secret_key, > > host = 'rgw-lb01', > > is_secure=False, > > calling_format = boto.s3.connection.OrdinaryCallingFormat(), > > > > ) > > > > buckets = conn.get_all_buckets() > > for bucket in buckets: > > print "{name}\t{created}".format( > > name=bucket.name, > > created=bucket.creation_date, > > ) > > for key in bucket.list(): > > print "{name}\t{size}\t{modified}".format( > > name=(key.name).encode('utf8'), > > size=key.size, > > modified=key.last_modified, > > > > > > [ceph@ceph-adm ~]$ python s3test.py > > images 2016-01-19T08:54:27.000Z > > > > > > ps: swift (radosgw) work in cloudstack? > > >
Swift storage
Cloudstack 4.7, kvm, centos7 Test cases: Swift (rados-gw): [ceph@ceph-adm ~]$ swift -A http://10.30.15.15:8080/auth/v1.0/ -U cloudstack:swift -K 'PiBNP6C4zRVNDGdM761APVMZm8Vozd20RE2tBm6d' list images [ceph@ceph-adm ~]$ Add to cloudstack: 2016-01-19 19:01:06,146 INFO [o.a.c.s.d.l.SwiftImageStoreLifeCycleImpl] (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Trying to add a swift store at http://10.30.15.15:8080/auth/v1.0/ in data center null 2016-01-19 19:01:06,271 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) template 3 is already in store:82, type:Image 2016-01-19 19:01:06,365 INFO [o.a.c.s.i.d.TemplateDataStoreDaoImpl] (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Duplicate 0 template cache store records to region store 2016-01-19 19:01:06,367 INFO [o.a.c.s.i.d.SnapshotDataStoreDaoImpl] (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Duplicate 0 snapshot cache store records to region store 2016-01-19 19:01:06,378 INFO [o.a.c.s.i.d.VolumeDataStoreDaoImpl] (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) Duplicate 0 volume cache store records to region store 2016-01-19 19:01:06,383 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-44d59d94 ctx-0289da0c) (logid:fdf404d5) ===END=== 192.168.7.29 -- GET command=addImageStore=json=Images=Swift=http%3A%2F%2F10.30.15.15%3A8080%2Fauth%2Fv1.0%2F%5B0%5D.key=account%5B0%5D.value=cloudstack%3Aswift%5B1%5D.key=username%5B1%5D.value=cloudstack%3Aswift%5B2%5D.key=key%5B2%5D.value=PiBNP6C4zRVNDGdM761APVMZm8Vozd20RE2tBm6d&_=1453219265296 2016-01-19 19:01:07,077 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-2dfb716a) (logid:44c21614) Begin cleanup expired async-jobs 2016-01-19 19:01:07,102 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] (AsyncJobMgr-Heartbeat-1:ctx-2dfb716a) (logid:44c21614) End cleanup expired async-jobs 2016-01-19 19:01:07,153 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-aec40e3d) (logid:b3518114) Found 0 routers to update status. 2016-01-19 19:01:07,159 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-aec40e3d) (logid:b3518114) Found 0 VPC networks to update Redundant State. 2016-01-19 19:01:07,165 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-aec40e3d) (logid:b3518114) Found 0 networks to update RvR status. 2016-01-19 19:01:07,290 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-dbe5f52c) (logid:86f8be40) Found 0 routers to update status. 2016-01-19 19:01:07,296 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-dbe5f52c) (logid:86f8be40) Found 0 VPC networks to update Redundant State. 2016-01-19 19:01:07,301 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-dbe5f52c) (logid:86f8be40) Found 0 networks to update RvR status. 2016-01-19 19:01:08,921 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-12:null) (logid:) Ping from 31( srv-kvm01.cloud.bstelecom.ru) 2016-01-19 19:01:08,921 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-12:null) (logid:) Process host VM state report from ping process. host: 31 2016-01-19 19:01:08,921 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-12:null) (logid:) Process VM state report. host: 31, number of records in report: 0 2016-01-19 19:01:08,930 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-12:null) (logid:) Done with process of VM state report. host: 31 2016-01-19 19:01:13,569 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-d77aa20b) (logid:efb2a365) Resetting hosts suitable for reconnect 2016-01-19 19:01:13,575 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-d77aa20b) (logid:efb2a365) Completed resetting hosts suitable for reconnect 2016-01-19 19:01:13,575 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-d77aa20b) (logid:efb2a365) Acquiring hosts for clusters already owned by this management server 2016-01-19 19:01:13,576 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-d77aa20b) (logid:efb2a365) Completed acquiring hosts for clusters already owned by this management server 2016-01-19 19:01:13,576 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-d77aa20b) (logid:efb2a365) Acquiring hosts for clusters not owned by any management server 2016-01-19 19:01:13,578 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-d77aa20b) (logid:efb2a365) Completed acquiring hosts for clusters not owned by any management server 2016-01-19 19:01:16,584 INFO [o.a.c.s.r.NfsSecondaryStorageResource] (pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Determined host 10.30.15.2 corresponds to IP 10.30.15.2 2016-01-19 19:01:16,584 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource] (pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Mounting device with nfs-style path of 10.30.15.2:/nfs 2016-01-19
Cloudstack UI Customization
Hi, Stupid question:) How to disable\reset tomcat cache for editing cloudstack3.css? Cloudstack 4.5.2, Centos 6
Remove nic error
Cloudstack 4.4.4, VMware DC I have one Windows instance to which I had added Shared guest network NIC. Then I added isolated guest network nic to it. Made isolated guest network NIC as default and tried to remove Shared guest network NIC, but its failing with null exception. I have attached logs. 2015-07-27 17:41:02,316 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-17:ctx-14e934eb job-7165) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd java.lang.RuntimeException: Job failed due to exception null at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:114) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:502) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:459) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 2015-07-27 17:41:02,316 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-17:ctx-14e934eb job-7165) Complete async job-7165, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{uuidList:[],errorcode:530,errortext:Job failed due to exception null}
Error upgrade 4.4.3 to 4.5.1
Upgrade 4.4.3 to 4.5.1 (VMware hypervisor). How to fix bugs? ERROR [c.c.u.d.ScriptRunner] (main:null) Error executing: CREATE TABLE `cloud`.`external_brocade_vcs_devices` ( `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT 'id', `uuid` varchar(255) UNIQUE, `physical_network_id` bigint unsigned NOT NULL COMMENT 'id of the physical network in to which brocade vcs switch is added', `provider_name` varchar(255) NOT NULL COMMENT 'Service Provider name corresponding to this brocade vcs switch', `device_name` varchar(255) NOT NULL COMMENT 'name of the brocade vcs switch', `host_id` bigint unsigned NOT NULL COMMENT 'host id coresponding to the external brocade vcs switch', PRIMARY KEY (`id`), CONSTRAINT `fk_external_brocade_vcs_devices__host_id` FOREIGN KEY (`host_id`) REFERENCES `host`(`id`) ON DELETE CASCADE, CONSTRAINT `fk_external_brocade_vcs_devices__physical_network_id` FOREIGN KEY (`physical_network_id`) REFERENCES `physical_network`(`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 2015-07-15 10:40:11,485 ERROR [c.c.u.d.ScriptRunner] (main:null) com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'external_brocade_vcs_devices' already exists 2015-07-15 10:40:11,487 ERROR [c.c.u.DatabaseUpgradeChecker] (main:null) Unable to execute upgrade script: /usr/share/cloudstack-management/setup/db/schema-442to450.sql com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'external_brocade_vcs_devices' already exists at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185) at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87) at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:265) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:331) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:458) at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.checkIntegrity(CloudStackExtendedLifeCycle.java:65) at org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:55) at org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:167) at org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) at org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:339) at org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:143) at org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:108) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:945) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117) at org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79) at org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37) at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:70) at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:57) at org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:61) at org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
Upgrade 4.2.1 -- 4.3. After the upgrade does not work console VM
I am currently using cloudstack 4.3 with Citrix XenServer 6.2 After the upgrade 4.2.1 to 4.3, does not restart console VM : cloudstack-sysvmadm -a Stopping and starting 1 secondary storage vm(s)... Done stopping and starting secondary storage vm(s) Stopping and starting 1 console proxy vm(s)... ERROR: Failed to start console proxy vm with id 2 Done stopping and starting console proxy vm(s) . ConsoleVM is running but the console does not work: 2014-04-21 09:50:02,915 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-d7c1c131) Zone 1 is ready to launch console proxy 2014-04-21 09:50:05,038 DEBUG [c.c.a.t.Request] (DirectAgent-357:ctx-eec0d179) Seq 2-973078659: Processing: { Ans: , MgmtId: 51443468558854, via: 2, Ver: v1, Flags: 10, [{com.cloud.agent.api.GetVncPortAnswer:{address:consoleurl= https://10.30.10.42/console?uuid=20a5363d-6f83-254c-d801-e60a6bb09070sessionref=OpaqueRef:4771b76c-ad13-e7cf-27ba-dc28c2d25af4,port:-1,result:true,wait:0}}] } 2014-04-21 09:50:05,038 DEBUG [c.c.a.t.Request] (http-6443-exec-14:null) Seq 2-973078659: Received: { Ans: , MgmtId: 51443468558854, via: 2, Ver: v1, Flags: 10, { GetVncPortAnswer } } 2014-04-21 09:50:05,038 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) Port info consoleurl= https://10.30.10.42/console?uuid=20a5363d-6f83-254c-d801-e60a6bb09070sessionref=OpaqueRef:4771b76c-ad13-e7cf-27ba-dc28c2d25af4 2014-04-21 09:50:05,038 INFO [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) Parse host info returned from executing GetVNCPortCommand. host info: consoleurl= https://10.30.10.42/console?uuid=20a5363d-6f83-254c-d801-e60a6bb09070sessionref=OpaqueRef:4771b76c-ad13-e7cf-27ba-dc28c2d25af4 2014-04-21 09:50:05,043 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) Compose console url: https://***-174-***-140.*. realhostip.com/ajax?token=3pWQchuSmjavikwTa3pUXkmGpgfDywM1KGgjRjiiotEw7Cpg2s7o_dkIEmaoxGlv12dcgmESDqiuGT9pXVJaulXgWwR6oPr7Suzadj85C8skUiSgOUwRffBiQ2uWGAKpgirAOUOyZwqdNh19kK73fu3WeZOiSZN3aMXwKUggne3Zf4sP4K-SXfq52p0L-WigHpxpBSXVeTNpMgJJaDiqIqXX7cdOMj15wsWsR_yLmVtYLRpRjRrgy5YHuLnw4AKcSyZERA6zE9kwbVWT8xYvXpRshzQG2ZItlrPdSBYAIKgzqJVifIxXgIXfZ7DJRG9zM6q1-ddz_oJR-QXM37ZukRuZF-LLaEri4zSeVxbVEvBs-x3ztn5HyeV9Qgun4OquEyYhGyD55Azlf1aSU6GNwBBfmNACEj78BDnr65RJlaAZTN-kgt1AYnLntq1X9MciSZQcG_fCWG9fFHjKmjkJveKXKnjJVwKd75V3Au9Ljqo 2014-04-21 09:50:05,043 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) the console url is :: htmltitlevm-test/titleframesetframe src=https://**-174-***-140.*. realhostip.com/ajax?token=3pWQchuSmjavikwTa3pUXkmGpgfDywM1KGgjRjiiotEw7Cpg2s7o_dkIEmaoxGlv12dcgmESDqiuGT9pXVJaulXgWwR6oPr7Suzadj85C8skUiSgOUwRffBiQ2uWGAKpgirAOUOyZwqdNh19kK73fu3WeZOiSZN3aMXwKUggne3Zf4sP4K-SXfq52p0L-WigHpxpBSXVeTNpMgJJaDiqIqXX7cdOMj15wsWsR_yLmVtYLRpRjRrgy5YHuLnw4AKcSyZERA6zE9kwbVWT8xYvXpRshzQG2ZItlrPdSBYAIKgzqJVifIxXgIXfZ7DJRG9zM6q1-ddz_oJR-QXM37ZukRuZF-LLaEri4zSeVxbVEvBs-x3ztn5HyeV9Qgun4OquEyYhGyD55Azlf1aSU6GNwBBfmNACEj78BDnr65RJlaAZTN-kgt1AYnLntq1X9MciSZQcG_fCWG9fFHjKmjkJveKXKnjJVwKd75V3Au9Ljqo /frame/frameset/html
Re: Upgrade 4.2.1 -- 4.3. After the upgrade does not work console VM
Put options: consoleproxy.url.domain to empty and secstorage.encrypt.copy to false and management-server restart. SVM and CPVM stop/start: ERROR: Failed to start console proxy vm with id 58 014-04-21 11:19:59,787 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-3:null) the console url is :: htmltitleSRV-CL-Bacup01(SRV-CL-Backup01)/titleframesetframe src= http://93. ***.***.140/ajax?token=3pWQchuSmjavikwTa3pUXkmGpgfDywM1KGgjRjiiotHzNSEcT7h5FOEOtNo6iGArc7vVWQDzdmSDWxp13HuO_AzKBYGzVKJToDWu4SaQgMa8LNCk4dTQ1-EsgQCu8qcNXM5yBG8VjbVvkHKex25sVH_kq_pXe1nkWztg9Mn7UW-P8P0VLtFRdzWXfxqJ-trHDmUmmd5e8VfRfbL_EA9zbRxWojlEFxOEwa7aXFbXh9Zz0C4AEYna0vC0Zr-LpdS_cibvDEWFwKFM9CVNC2PtLKDV8k_NYV13W7C6Jk2VL1dc06EQEo9a00L4Gpc30a7Lg0lufdJRzk9f3H8w_wFJQZkgDuI7eKnbrNhFFCemgaKgPnXOH6kavK5yQxmcZ3ipmQXX6buodnWVM1xkdu83fbXuSeOmwskXCFWN_HOfzcqyxwNuAfKTXwFkqH8Wo8jIUlyz0XN-BjMu_UD5siPmxQcgSwy9txZ74xHe0bwnWxIguest=windows/frame/frameset/html 2014-04-21 11:09 GMT+04:00 Shanker Balan shanker.ba...@shapeblue.com: Hi Yuriy, Comments inline. On 21-Apr-2014, at 12:09 pm, Юрий Карпель yu...@karpel.su wrote: I am currently using cloudstack 4.3 with Citrix XenServer 6.2 After the upgrade 4.2.1 to 4.3, does not restart console VM : cloudstack-sysvmadm -a Stopping and starting 1 secondary storage vm(s)... Done stopping and starting secondary storage vm(s) Stopping and starting 1 console proxy vm(s)... ERROR: Failed to start console proxy vm with id 2 Done stopping and starting console proxy vm(s) . ConsoleVM is running but the console does not work: I ran into the same issue. In ACS 4.3+, the way console proxy sessions works has changed. This is fixed by setting consoleproxy.url.domain to empty and secstorage.encrypt.copy to false followed by a SSVM and CPVM stop/start cycle and a management-server restart. Plea see http://shankerbalan.net/blog/apache-cloudstack-4-3-0-released/ and http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201404.mbox/%3ccf71bb25.f2fd%25amogh.vase...@citrix.com%3efor the earlier discussion on the same. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training http://shapeblue.com/cloudstack-training/ 28th-29th May 2014, Bangalore. Classromm http://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 15th-20th September 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 22nd-27th September 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 1st-6th December 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 8th-12th December 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: Upgrade 4.2.1 -- 4.3. After the upgrade does not work console VM
Thank you all. Fixed: consoleproxy.url.domain from *.realhostip.com to realhostip.com and secstorage.encrypt.copy to true 2014-04-21 11:26 GMT+04:00 Юрий Карпель yu...@karpel.su: Put options: consoleproxy.url.domain to empty and secstorage.encrypt.copy to false and management-server restart. SVM and CPVM stop/start: ERROR: Failed to start console proxy vm with id 58 014-04-21 11:19:59,787 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-3:null) the console url is :: htmltitleSRV-CL-Bacup01(SRV-CL-Backup01)/titleframesetframe src= http://93. ***.***.140/ajax?token=3pWQchuSmjavikwTa3pUXkmGpgfDywM1KGgjRjiiotHzNSEcT7h5FOEOtNo6iGArc7vVWQDzdmSDWxp13HuO_AzKBYGzVKJToDWu4SaQgMa8LNCk4dTQ1-EsgQCu8qcNXM5yBG8VjbVvkHKex25sVH_kq_pXe1nkWztg9Mn7UW-P8P0VLtFRdzWXfxqJ-trHDmUmmd5e8VfRfbL_EA9zbRxWojlEFxOEwa7aXFbXh9Zz0C4AEYna0vC0Zr-LpdS_cibvDEWFwKFM9CVNC2PtLKDV8k_NYV13W7C6Jk2VL1dc06EQEo9a00L4Gpc30a7Lg0lufdJRzk9f3H8w_wFJQZkgDuI7eKnbrNhFFCemgaKgPnXOH6kavK5yQxmcZ3ipmQXX6buodnWVM1xkdu83fbXuSeOmwskXCFWN_HOfzcqyxwNuAfKTXwFkqH8Wo8jIUlyz0XN-BjMu_UD5siPmxQcgSwy9txZ74xHe0bwnWxIguest=windows/frame/frameset/html 2014-04-21 11:09 GMT+04:00 Shanker Balan shanker.ba...@shapeblue.com: Hi Yuriy, Comments inline. On 21-Apr-2014, at 12:09 pm, Юрий Карпель yu...@karpel.su wrote: I am currently using cloudstack 4.3 with Citrix XenServer 6.2 After the upgrade 4.2.1 to 4.3, does not restart console VM : cloudstack-sysvmadm -a Stopping and starting 1 secondary storage vm(s)... Done stopping and starting secondary storage vm(s) Stopping and starting 1 console proxy vm(s)... ERROR: Failed to start console proxy vm with id 2 Done stopping and starting console proxy vm(s) . ConsoleVM is running but the console does not work: I ran into the same issue. In ACS 4.3+, the way console proxy sessions works has changed. This is fixed by setting consoleproxy.url.domain to empty and secstorage.encrypt.copy to false followed by a SSVM and CPVM stop/start cycle and a management-server restart. Plea see http://shankerbalan.net/blog/apache-cloudstack-4-3-0-released/ and http://mail-archives.apache.org/mod_mbox/cloudstack-dev/201404.mbox/%3ccf71bb25.f2fd%25amogh.vase...@citrix.com%3efor the earlier discussion on the same. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Need Enterprise Grade Support for Apache CloudStack? Our CloudStack Infrastructure Support http://shapeblue.com/cloudstack-infrastructure-support/ offers the best 24/7 SLA for CloudStack Environments. Apache CloudStack Bootcamp training courses **NEW!** CloudStack 4.2.1 training http://shapeblue.com/cloudstack-training/ 28th-29th May 2014, Bangalore. Classromm http://shapeblue.com/cloudstack-training/ 16th-20th June 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 23rd-27th June 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 15th-20th September 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 22nd-27th September 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 1st-6th December 2014, Region A. Instructor led, On-line http://shapeblue.com/cloudstack-training/ 8th-12th December 2014, Region B. Instructor led, On-line http://shapeblue.com/cloudstack-training/ This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Upgrade 4.2.1 -- 4.3. After the upgrade does not work console VM
I am currently using cloudstack 4.3 with Citrix XenServer 6.2 After the upgrade 4.2.1 to 4.3, does not work console VM is running but the console does not work: cloudstack-sysvmadm -a Stopping and starting 1 secondary storage vm(s)... Done stopping and starting secondary storage vm(s) Stopping and starting 1 console proxy vm(s)... ERROR: Failed to start console proxy vm with id 2 Done stopping and starting console proxy vm(s) . 2014-04-21 09:50:02,915 DEBUG [c.c.c.ConsoleProxyManagerImpl] (consoleproxy-1:ctx-d7c1c131) Zone 1 is ready to launch console proxy 2014-04-21 09:50:04,857 DEBUG [c.c.u.AccountManagerImpl] (http-6443-exec-14:null) Access to VM[User|vm-test] granted to Acct[2ce2bc5e-5aea-4555-88ff-539bc5adde20-yk] by DomainChecker 2014-04-21 09:50:04,904 DEBUG [c.c.a.t.Request] (http-6443-exec-14:null) Seq 2-973078659: Sending { Cmd , MgmtId: 51443468558854, via: 2( srv-xs3.cloud.bstelecom.ru), Ver: v1, Flags: 100011, [{com.cloud.agent.api.GetVncPortCommand:{id:57,name:i-14-57-VM,wait:0}}] } 2014-04-21 09:50:04,904 DEBUG [c.c.a.t.Request] (http-6443-exec-14:null) Seq 2-973078659: Executing: { Cmd , MgmtId: 51443468558854, via: 2( srv-xs3.cloud.bstelecom.ru), Ver: v1, Flags: 100011, [{com.cloud.agent.api.GetVncPortCommand:{id:57,name:i-14-57-VM,wait:0}}] } 2014-04-21 09:50:04,904 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-357:ctx-eec0d179) Seq 2-973078659: Executing request 2014-04-21 09:50:05,037 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-357:ctx-eec0d179) Seq 2-973078659: Response Received: 2014-04-21 09:50:05,038 DEBUG [c.c.a.t.Request] (DirectAgent-357:ctx-eec0d179) Seq 2-973078659: Processing: { Ans: , MgmtId: 51443468558854, via: 2, Ver: v1, Flags: 10, [{com.cloud.agent.api.GetVncPortAnswer:{address:consoleurl= https://10.30.10.42/console?uuid=20a5363d-6f83-254c-d801-e60a6bb09070sessionref=OpaqueRef:4771b76c-ad13-e7cf-27ba-dc28c2d25af4,port:-1,result:true,wait:0}}] } 2014-04-21 09:50:05,038 DEBUG [c.c.a.t.Request] (http-6443-exec-14:null) Seq 2-973078659: Received: { Ans: , MgmtId: 51443468558854, via: 2, Ver: v1, Flags: 10, { GetVncPortAnswer } } 2014-04-21 09:50:05,038 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) Port info consoleurl= https://10.30.10.42/console?uuid=20a5363d-6f83-254c-d801-e60a6bb09070sessionref=OpaqueRef:4771b76c-ad13-e7cf-27ba-dc28c2d25af4 2014-04-21 09:50:05,038 INFO [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) Parse host info returned from executing GetVNCPortCommand. host info: consoleurl= https://10.30.10.42/console?uuid=20a5363d-6f83-254c-d801-e60a6bb09070sessionref=OpaqueRef:4771b76c-ad13-e7cf-27ba-dc28c2d25af4 2014-04-21 09:50:05,043 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) Compose console url: https://***-174-***-140.*. realhostip.com/ajax?token=3pWQchuSmjavikwTa3pUXkmGpgfDywM1KGgjRjiiotEw7Cpg2s7o_dkIEmaoxGlv12dcgmESDqiuGT9pXVJaulXgWwR6oPr7Suzadj85C8skUiSgOUwRffBiQ2uWGAKpgirAOUOyZwqdNh19kK73fu3WeZOiSZN3aMXwKUggne3Zf4sP4K-SXfq52p0L-WigHpxpBSXVeTNpMgJJaDiqIqXX7cdOMj15wsWsR_yLmVtYLRpRjRrgy5YHuLnw4AKcSyZERA6zE9kwbVWT8xYvXpRshzQG2ZItlrPdSBYAIKgzqJVifIxXgIXfZ7DJRG9zM6q1-ddz_oJR-QXM37ZukRuZF-LLaEri4zSeVxbVEvBs-x3ztn5HyeV9Qgun4OquEyYhGyD55Azlf1aSU6GNwBBfmNACEj78BDnr65RJlaAZTN-kgt1AYnLntq1X9MciSZQcG_fCWG9fFHjKmjkJveKXKnjJVwKd75V3Au9Ljqo 2014-04-21 09:50:05,043 DEBUG [c.c.s.ConsoleProxyServlet] (http-6443-exec-14:null) the console url is :: htmltitlevm-test/titleframesetframe src=https://**-174-***-140.*. realhostip.com/ajax?token=3pWQchuSmjavikwTa3pUXkmGpgfDywM1KGgjRjiiotEw7Cpg2s7o_dkIEmaoxGlv12dcgmESDqiuGT9pXVJaulXgWwR6oPr7Suzadj85C8skUiSgOUwRffBiQ2uWGAKpgirAOUOyZwqdNh19kK73fu3WeZOiSZN3aMXwKUggne3Zf4sP4K-SXfq52p0L-WigHpxpBSXVeTNpMgJJaDiqIqXX7cdOMj15wsWsR_yLmVtYLRpRjRrgy5YHuLnw4AKcSyZERA6zE9kwbVWT8xYvXpRshzQG2ZItlrPdSBYAIKgzqJVifIxXgIXfZ7DJRG9zM6q1-ddz_oJR-QXM37ZukRuZF-LLaEri4zSeVxbVEvBs-x3ztn5HyeV9Qgun4OquEyYhGyD55Azlf1aSU6GNwBBfmNACEj78BDnr65RJlaAZTN-kgt1AYnLntq1X9MciSZQcG_fCWG9fFHjKmjkJveKXKnjJVwKd75V3Au9Ljqo /frame/frameset/html
change own password and personal info
Cloudstack 4.2 fresh install Created account test with Role User, and a user newtest. When I log in as a user created along with this Account I've checked Accounts-test-View Users -newtest and in the Detail tab there was no buttons, so I couldn't: 1. change my own password 2. change my personal info PS: for the admin account is also not possible to change the password What could be wrong?