Is there a preferred way to configure the SSVM? I just tried editing /etc/network/interfaces and the change didn't survive a reboot...

Also, it looks like I might have a disk full...  Investigating more...

Ron


On 12/15/2013 3:09 PM, Erik Weber wrote:
As far as i know it is preferred to have one nic directly in the Storage
network. Not sure if it is a requirement or if proper routing is enough.

Verify on the ssvm that sec storage is mounted and accessible.

Regards,
Erik Weber
15. des. 2013 21:05 skrev "Ron Gage" <r...@rongage.org> følgende:

On 12/15/2013 2:53 PM, Erik Weber wrote:

Your ssvm / system template doesn't look healthy.
2013-12-15 14:42:39,392 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
System
vm template is not ready at data center 1, wait until it is ready to
launch
secondary storage vm
2013-12-15 14:42:39,393 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
1
is not ready to launch secondary storage VM yet
2013-12-15 14:42:39,539 DEBUG

If You do have a ssvm launched, log into IT and check cloud.log in
/usr/local/cloud/ssvm or something like that.

Should the SSVM have a direct connection into the storage network (
10.0.0.0/24 in my case)?  The SSVM has 3 interfaces all on my primary
virtual machine network (192.168.0.0/24) and 1 interface that is
currently getting an APIPA address (169.254.0.0/16 unroutable).  The SSVM
has a static route to the storage network that isn't valid (the storage
network is not routable currently).

Ron


Regards,
Erik Weber
   15. des. 2013 20:48 skrev "Ron Gage" <r...@rongage.org> følgende:

   From the management server logs:
2013-12-15 14:42:33,559 DEBUG [cloud.api.ApiServlet]
(catalina-exec-6:null) ===START===  192.168.0.6 -- GET
command=registerIso&response=json&sessionkey=z1zjs8y%
2BAAKYMLbdRbqbmZjP7DI%3D&name=w2k8&displayText=w2k8&url=
http%3A%2F%2F10.0.0.10%2Fw2k8.iso&zoneid=-1&isextractable=
false&bootable=true&osTypeId=2a72d4ba-62b9-11e3-a95c-
003018123456&ispublic=true&isfeatured=true&_=1387136553560
2013-12-15 14:42:33,821 DEBUG [storage.image.TemplateDataFactoryImpl]
(catalina-exec-6:null) template 215 is not in store:1, type:Image
2013-12-15 14:42:33,931 DEBUG [storage.image.TemplateDataFactoryImpl]
(catalina-exec-6:null) template 215 is already in store:1, type:Image
2013-12-15 14:42:34,037 DEBUG [storage.image.BaseImageStoreDriverImpl]
(catalina-exec-6:null) Downloading template to data store 1
2013-12-15 14:42:34,050 DEBUG [storage.image.BaseImageStoreDriverImpl]
(catalina-exec-6:null) Performing image store createTemplate async
callback
2013-12-15 14:42:34,307 DEBUG [cloudstack.storage.RemoteHostEndPoint]
(catalina-exec-6:null) Sending command org.apache.cloudstack.storage.
command.DownloadCommand
to host: 5
2013-12-15 14:42:34,309 DEBUG [agent.transport.Request]
(catalina-exec-6:null) Seq 5-289996805: Sending  { Cmd , MgmtId:
17780357784, via: 5, Ver: v1, Flags: 100011, [{"org.apache.cloudstack.
storage.command.DownloadCommand":{"hvm":true,"description":"w2k8","
maxDownloadSizeInBytes":53687091200,"id":215,"resourceType":"TEMPLATE","
installPath":"template/tmpl/2/215","_store":{"com.cloud.
agent.api.to.NfsTO":{"_url":"nfs://10.0.0.10/export0/secondary
","_role":"Image"}},"url":"http://10.0.0.10/w2k8.iso","format":"ISO",";
accountId":2,"name":"215-2-da1e52c8-2c0f-3105-8eb5-
7bec54ea8bf8","secUrl":"nfs://10.0.0.10/export0/secondary","wait":0}}] }
2013-12-15 14:42:34,513 DEBUG [cloud.api.ApiServlet]
(catalina-exec-6:null) ===END===  192.168.0.6 -- GET
command=registerIso&response=json&sessionkey=z1zjs8y%
2BAAKYMLbdRbqbmZjP7DI%3D&name=w2k8&displayText=w2k8&url=
http%3A%2F%2F10.0.0.10%2Fw2k8.iso&zoneid=-1&isextractable=
false&bootable=true&osTypeId=2a72d4ba-62b9-11e3-a95c-
003018123456&ispublic=true&isfeatured=true&_=1387136553560
2013-12-15 14:42:36,910 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 2-1906: Processing Seq 2-1906: { Cmd ,
MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.
ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n
\"connections\": []\n}","wait":0}}] }
2013-12-15 14:42:37,041 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-5:null) SeqA 2-1906: Sending Seq 2-1906:  { Ans: ,
MgmtId: 17780357784, via: 2, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.
AgentControlAnswer":{"result":true,"wait":0}}] }
2013-12-15 14:42:39,392 DEBUG [storage.secondary.
SecondaryStorageManagerImpl]
(secstorage-1:null) System vm template is not ready at data center 1,
wait
until it is ready to launch secondary storage vm
2013-12-15 14:42:39,393 DEBUG [storage.secondary.
SecondaryStorageManagerImpl]
(secstorage-1:null) Zone 1 is not ready to launch secondary storage VM
yet
2013-12-15 14:42:39,539 DEBUG [cloud.consoleproxy.
ConsoleProxyManagerImpl]
(consoleproxy-1:null) System vm template is not ready at data center 1,
wait until it is ready to launch console proxy vm
2013-12-15 14:42:39,539 DEBUG [cloud.consoleproxy.
ConsoleProxyManagerImpl]
(consoleproxy-1:null) Zone 1 is not ready to launch console proxy yet
2013-12-15 14:42:41,539 DEBUG [cloud.network.
ExternalDeviceUsageManagerImpl] (ExternalNetworkMonitor-1:null) External
devices stats collector is running...
2013-12-15 14:42:41,640 DEBUG [network.router.
VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) Found 0
running routers.
2013-12-15 14:42:41,642 DEBUG [network.router.
VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0
routers to update status.
2013-12-15 14:42:41,644 DEBUG [network.router.
VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0
networks to update RvR status.
2013-12-15 14:42:41,709 DEBUG [network.router.
VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) Found 0
running routers.
2013-12-15 14:42:41,710 DEBUG [network.router.
VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0
routers to update status.
2013-12-15 14:42:41,712 DEBUG [network.router.
VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0
networks to update RvR status.
2013-12-15 14:42:41,784 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Snapshot scheduler.poll is being called at
2013-12-15 19:42:41 GMT
2013-12-15 14:42:41,785 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-12-15
19:42:41 GMT



On 12/15/2013 2:33 PM, Erik Weber wrote:

  What does your management server log say? Or the ssvm log if the ms log
is
clean?

Regards,
Erik Weber
15. des. 2013 20:29 skrev "Ron Gage" <r...@rongage.org> følgende:

   I have added a CIDR list of "10.0.0.0/8,192.168.0.0/24" to the

secstorage.allowed.internal.sites parameter and restarted the
management
server.  I can wget from the storage server to the management server
(management server is 10.0.0.10 and 192.168.0.190, secondary NAS is
192.168.0.220).  I have tried to pull the ISO from the secondary
storage
into Cloudstack and from the management server itself (installed httpd
on
the management server just for this).  It all works independently but
not
in unison.  The "register ISO" screen goes through the motions all
right,
but then silently fails.

Ron


On 12/15/2013 1:04 PM, Ahmad Emneina wrote:

   I'd try to do a simple wget from, say, your management server box. if

that
succeeds, you'll need to modify a global setting on your management
server
to allow for downloading from a private address space
(secstorage.allowed.internal.sites).


On Sun, Dec 15, 2013 at 9:59 AM, Ron Gage <r...@rongage.org> wrote:

    Hi!

  I am trying to add an ISO image to my test environment and it appears
to
not be going too well.

I went through the "Register ISO" process in the templates section
under
the ISO view.  No errors came back, the notification came through at
the
top, and the ISO I registered showed up in the list of ISOs.  When I
refreshed the ISO page view, the just-registered ISO disappeared.

Looking at my secondary storage does not show anything getting copied
over
to it at all (the free disk space is staying constant). The ISO
location
is
a secondary NFS server where I have WebDAV enabled and no credentials
required for access.

Any idea what I could be doing wrong?

Ron






Reply via email to