cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Юрий Карпель <yu...@karpel.su>
Subject Swift storage
Date Tue, 19 Jan 2016 16:04:27 GMT
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&response=json&name=Images&provider=Swift&url=http%3A%2F%2F10.30.15.15%3A8080%2Fauth%2Fv1.0%2F&details%5B0%5D.key=account&details%5B0%5D.value=cloudstack%3Aswift&details%5B1%5D.key=username&details%5B1%5D.value=cloudstack%3Aswift&details%5B2%5D.key=key&details%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 19:01:16,584 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) making available
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84 on
nfs://10.30.15.2/nfs
2016-01-19 19:01:16,585 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) local folder for mount
will be /var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84
2016-01-19 19:01:16,585 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Executing: sudo mount
2016-01-19 19:01:16,617 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Execution is successful.
2016-01-19 19:01:16,619 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Make cmdline call to mount
10.30.15.2:/nfs at
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84 based
on uri nfs://10.30.15.2/nfs
2016-01-19 19:01:16,620 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Executing: sudo mount -t
nfs 10.30.15.2:/nfs
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84
2016-01-19 19:01:16,686 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Execution is successful.
2016-01-19 19:01:16,689 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Successfully mounted
10.30.15.2:/nfs at
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84
2016-01-19 19:01:16,689 DEBUG [o.a.c.s.r.LocalNfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Executing: sudo chmod 777
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84
2016-01-19 19:01:16,708 DEBUG [o.a.c.s.r.LocalNfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Execution is successful.
2016-01-19 19:01:16,711 DEBUG [o.a.c.s.r.LocalNfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Successfully set 777
permission for
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84
2016-01-19 19:01:16,714 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) snapshots already exists
on secondary storage, and is mounted at
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84
2016-01-19 19:01:16,714 INFO  [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) snapshots directory
created/exists on Secondary Storage.
2016-01-19 19:01:16,715 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) volumes already exists on
secondary storage, and is mounted at
/var/cloudstack/mnt/secStorage/c6c692a0-265d-3109-93d4-f0f65f524d84
2016-01-19 19:01:16,715 INFO  [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) volumes directory
created/exists on Secondary Storage.
2016-01-19 19:01:16,720 DEBUG [o.a.c.s.r.NfsSecondaryStorageResource]
(pool-38-thread-1:ctx-b93abb9c) (logid:a42cd353) Faild to get url:
http://cloudstack.apt-*get.eu/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2
<http://get.eu/systemvm/4.6/systemvm64template-4.6.0-kvm.qcow2.bz2>, due to
java.io.IOException: access denied*
2016-01-19 19:01:17,076 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-9e72fbdd) (logid:6667a472) Begin cleanup
expired async-jobs
2016-01-19 19:01:17,100 INFO  [o.a.c.f.j.i.AsyncJobManagerImpl]
(AsyncJobMgr-Heartbeat-1:ctx-9e72fbdd) (logid:6667a472) End cleanup expired
async-jobs

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