RE: Unable to upload volumes 4.11.0

2018-07-13 Thread Paul Angus
Hi Adam,

That error is coming from:

if (httpClient.executeMethod(httphead) != HttpStatus.SC_OK) {
throw new IllegalArgumentException("Invalid URL: " + url);

have you tried checking that you can reach the download from the management 
server and the SSVM?

Also does the hostname resolve to an IP which is within the cloudstack 
management networks? If so you need to add the IP(s) to 
secstorage.allowed.internal.sites




paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: Adam Witwicki  
Sent: 13 July 2018 09:21
To: users@cloudstack.apache.org
Subject: Unable to upload volumes 4.11.0

Hello

I cant seem to upload (add) a qcow2 volume via a URL, any ideas or other 
methods? we really need to import other systems disks.

I get this in the logs

2018-07-13 09:08:18,435 DEBUG [c.c.s.VolumeApiServiceImpl] 
(API-Job-Executor-42:ctx-a1afd9f2 job-6668 ctx-7da8ec40) (logid:d97e88ec) 
Checking url: 
http://ingestion.xxx.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
2018-07-13 09:08:18,509 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd
java.lang.IllegalArgumentException: Invalid URL: 
http://ingestion.xx.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
at com.cloud.utils.UriUtils.checkUrlExistence(UriUtils.java:395)
at 
com.cloud.storage.VolumeApiServiceImpl.validateVolume(VolumeApiServiceImpl.java:415)
at 
com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:296)
at 
com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy201.uploadVolume(Unknown Source)
at 
org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:145)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:581)
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:529)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-07-13 09:08:18,511 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec) Complete async 
job-6668, jobStatus: FAILED, resultCode: 530,

RE: 4.10 upgrade 4.11 cannot create Network Offering

2018-07-13 Thread Paul Angus
Commands.properties was deprecated a while ago, there may be a number of APIs 
that aren't included in it.
Your best bet is to read the section in the documentation on dynamic roles 
which explains how to migrate and recreate the default APIs

http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.11/accounts.html#using-dynamic-roles

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: li li  
Sent: 14 July 2018 01:38
To: users@cloudstack.apache.org
Subject: 答复: 4.10 upgrade 4.11 cannot create Network Offering

Thanks Rafael Weingärtner,

I used commands.properties. I just found that listRegisteredServicePackages is 
not in the configuration list. I added it and restarted cloudstack-management.




发件人: Rafael Weingärtner 
发送时间: Saturday, July 14, 2018 12:23:46 AM
收件人: users
主题: Re: 4.10 upgrade 4.11 cannot create Network Offering

Are you using commands.properties or RBAC?

It seems that there is an API method " listRegisteredServicePackages " that is 
not properly configured.

On Fri, Jul 13, 2018 at 1:03 PM, li li  wrote:

> Hello All
>my cloudstack was upgraded from 4.10 to 4.11, I was unable to 
> create Network Offerings, and after clicking "Network Offerings" I was 
> prompted for "Session Expired"; Management log tips are as follows
>
> 2018-07-13 23:50:57,802 DEBUG [c.c.a.ApiServlet]
> (qtp510113906-17:ctx-455ad1a0) (logid:e7d8b32b) ===START===  
> 10.225.0.29 -- GET  command=listRegisteredServicePackages&response=xml
> 2018-07-13 23:50:57,806 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) CIDRs 
> from which account 'Acct[d73b4eb6-51d4-11e8-8819-0a9181906790-admin]' 
> is allowed to perform API calls: 0.0.0.0/0,::/0
> 2018-07-13 23:50:57,807 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) The given 
> command 'listRegisteredServicePackages' either does not exist, is not 
> available for user, or not available from ip address '/10.225.0.29'.
>



--
Rafael Weingärtner


答复: 4.10 upgrade 4.11 cannot create Network Offering

2018-07-13 Thread li li
Thanks Rafael Weingärtner,

I used commands.properties. I just found that listRegisteredServicePackages is 
not in the configuration list. I added it and restarted cloudstack-management.




发件人: Rafael Weingärtner 
发送时间: Saturday, July 14, 2018 12:23:46 AM
收件人: users
主题: Re: 4.10 upgrade 4.11 cannot create Network Offering

Are you using commands.properties or RBAC?

It seems that there is an API method " listRegisteredServicePackages " that
is not properly configured.

On Fri, Jul 13, 2018 at 1:03 PM, li li  wrote:

> Hello All
>my cloudstack was upgraded from 4.10 to 4.11, I was unable to
> create Network Offerings, and after clicking "Network Offerings" I was
> prompted for "Session Expired";
> Management log tips are as follows
>
> 2018-07-13 23:50:57,802 DEBUG [c.c.a.ApiServlet]
> (qtp510113906-17:ctx-455ad1a0) (logid:e7d8b32b) ===START===  10.225.0.29 --
> GET  command=listRegisteredServicePackages&response=xml
> 2018-07-13 23:50:57,806 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) CIDRs from
> which account 'Acct[d73b4eb6-51d4-11e8-8819-0a9181906790-admin]' is
> allowed to perform API calls: 0.0.0.0/0,::/0
> 2018-07-13 23:50:57,807 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) The given
> command 'listRegisteredServicePackages' either does not exist, is not
> available for user, or not available from ip address '/10.225.0.29'.
>



--
Rafael Weingärtner


RE: Advanced Zone with Security Groups

2018-07-13 Thread Paul Angus
Hi Adrian,

An advanced zone with security groups is similar to a basic network in that it 
doesn’t really have the concept of multiple networks for any given VM.  The 
security groups themselves create pseudo networks.

You can create either a shared network on the vlan that you want to access - 
where CloudStack allocates IPs and sets the gateway or an L2 network with a 3rd 
party DHCP in place.

There is also the option of using the private gateway feature of VPCs.

paul.an...@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-Original Message-
From: S. Reddit  
Sent: 11 July 2018 08:37
To: users@cloudstack.apache.org
Subject: Advanced Zone with Security Groups

Hi Group

I am testing with an advanced zone and security group enabled networks (KVM 
based). So far it works fine, but for the following features:

- attach 2nd network to instance:
=> security group(s) do not get programmed on secondary vnetXY interfaces, 
hence no communication over additional network is possible

As the zone prevents me from adding a network without security group feature, 
it seems such a setup is not supported, correct? Does anyone see a way to give 
instances access to a private network? Could L2-network from
4.11 be a solution? I am still running 4.9...

Cheers,
Adrian


Re: 4.10 upgrade 4.11 cannot create Network Offering

2018-07-13 Thread Rafael Weingärtner
Are you using commands.properties or RBAC?

It seems that there is an API method " listRegisteredServicePackages " that
is not properly configured.

On Fri, Jul 13, 2018 at 1:03 PM, li li  wrote:

> Hello All
>my cloudstack was upgraded from 4.10 to 4.11, I was unable to
> create Network Offerings, and after clicking "Network Offerings" I was
> prompted for "Session Expired";
> Management log tips are as follows
>
> 2018-07-13 23:50:57,802 DEBUG [c.c.a.ApiServlet]
> (qtp510113906-17:ctx-455ad1a0) (logid:e7d8b32b) ===START===  10.225.0.29 --
> GET  command=listRegisteredServicePackages&response=xml
> 2018-07-13 23:50:57,806 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) CIDRs from
> which account 'Acct[d73b4eb6-51d4-11e8-8819-0a9181906790-admin]' is
> allowed to perform API calls: 0.0.0.0/0,::/0
> 2018-07-13 23:50:57,807 DEBUG [c.c.a.ApiServer]
> (qtp510113906-17:ctx-455ad1a0 ctx-d26f33cb) (logid:e7d8b32b) The given
> command 'listRegisteredServicePackages' either does not exist, is not
> available for user, or not available from ip address '/10.225.0.29'.
>



-- 
Rafael Weingärtner


4.10 upgrade 4.11 cannot create Network Offering

2018-07-13 Thread li li
Hello All
   my cloudstack was upgraded from 4.10 to 4.11, I was unable to create 
Network Offerings, and after clicking "Network Offerings" I was prompted for 
"Session Expired";
Management log tips are as follows

2018-07-13 23:50:57,802 DEBUG [c.c.a.ApiServlet] (qtp510113906-17:ctx-455ad1a0) 
(logid:e7d8b32b) ===START===  10.225.0.29 -- GET  
command=listRegisteredServicePackages&response=xml
2018-07-13 23:50:57,806 DEBUG [c.c.a.ApiServer] (qtp510113906-17:ctx-455ad1a0 
ctx-d26f33cb) (logid:e7d8b32b) CIDRs from which account 
'Acct[d73b4eb6-51d4-11e8-8819-0a9181906790-admin]' is allowed to perform API 
calls: 0.0.0.0/0,::/0
2018-07-13 23:50:57,807 DEBUG [c.c.a.ApiServer] (qtp510113906-17:ctx-455ad1a0 
ctx-d26f33cb) (logid:e7d8b32b) The given command 
'listRegisteredServicePackages' either does not exist, is not available for 
user, or not available from ip address '/10.225.0.29'.


RE: Unable to upload volumes 4.11.0

2018-07-13 Thread Adam Witwicki
Hi Andrija

I also tried http://ingestion.xxx.com/Flowmon/1.qcow2

Thanks

Adam

-Original Message-
From: Andrija Panic 
Sent: 13 July 2018 09:34
To: users 
Subject: Re: Unable to upload volumes 4.11.0

** This mail originated from OUTSIDE the Oakford corporate network. Treat 
hyperlinks and attachments in this email with caution. **

Hi Adam,

can you try volume name without underscores ?

Andrija

On Fri, 13 Jul 2018 at 10:21, Adam Witwicki  wrote:

> Hello
>
> I cant seem to upload (add) a qcow2 volume via a URL, any ideas or
> other methods? we really need to import other systems disks.
>
> I get this in the logs
>
> 2018-07-13 09:08:18,435 DEBUG [c.c.s.VolumeApiServiceImpl]
> (API-Job-Executor-42:ctx-a1afd9f2 job-6668 ctx-7da8ec40)
> (logid:d97e88ec) Checking url:
> http://ingestion.xxx.com/Flowmon/Flowmon_Collector_Virtual_All_Plu
> gins-disk-1.qcow2
> 2018-07-13
>  ugins-disk-1.qcow22018-07-13>
> 09:08:18,509 ERROR [c.c.a.ApiAsyncJobDispatcher]
> (API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec)
> Unexpected exception while executing
> org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd
> java.lang.IllegalArgumentException: Invalid URL:
> http://ingestion.xx.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
> at com.cloud.utils.UriUtils.checkUrlExistence(UriUtils.java:395)
> at
> com.cloud.storage.VolumeApiServiceImpl.validateVolume(VolumeApiServiceImpl.java:415)
> at
> com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:296)
> at
> com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at
> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> at
> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
> at com.sun.proxy.$Proxy201.uploadVolume(Unknown Source)
> at
> org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:145)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
> at
> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
> at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:581)
> 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:529)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> 2018-07-13 09:08:18,511 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec) Complete
> async job-6668, jobStatus: FAILED, resultCode: 530, result:
> org.a

Re: Unable to upload volumes 4.11.0

2018-07-13 Thread Andrija Panic
Hi Adam,

can you try volume name without underscores ?

Andrija

On Fri, 13 Jul 2018 at 10:21, Adam Witwicki  wrote:

> Hello
>
> I cant seem to upload (add) a qcow2 volume via a URL, any ideas or other
> methods? we really need to import other systems disks.
>
> I get this in the logs
>
> 2018-07-13 09:08:18,435 DEBUG [c.c.s.VolumeApiServiceImpl]
> (API-Job-Executor-42:ctx-a1afd9f2 job-6668 ctx-7da8ec40) (logid:d97e88ec)
> Checking url:
> http://ingestion.xxx.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
> 2018-07-13
> 
> 09:08:18,509 ERROR [c.c.a.ApiAsyncJobDispatcher]
> (API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd
> java.lang.IllegalArgumentException: Invalid URL:
> http://ingestion.xx.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
> at com.cloud.utils.UriUtils.checkUrlExistence(UriUtils.java:395)
> at
> com.cloud.storage.VolumeApiServiceImpl.validateVolume(VolumeApiServiceImpl.java:415)
> at
> com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:296)
> at
> com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
> at
> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> at
> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
> at
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
> at com.sun.proxy.$Proxy201.uploadVolume(Unknown Source)
> at
> org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:145)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
> at
> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
> at
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:581)
> 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:529)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> 2018-07-13 09:08:18,511 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec) Complete async
> job-6668, jobStatus: FAILED, resultCode: 530, result:
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Invalid
> URL:
> http://ingestion.x.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
> "}
>
>
>
> Disclaimer Notice:
> This email has been sent by Oakford Technology Limited, while we have
> checked this e-mail and any attachments for virus

Unable to upload volumes 4.11.0

2018-07-13 Thread Adam Witwicki
Hello

I cant seem to upload (add) a qcow2 volume via a URL, any ideas or other 
methods? we really need to import other systems disks.

I get this in the logs

2018-07-13 09:08:18,435 DEBUG [c.c.s.VolumeApiServiceImpl] 
(API-Job-Executor-42:ctx-a1afd9f2 job-6668 ctx-7da8ec40) (logid:d97e88ec) 
Checking url: 
http://ingestion.xxx.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
2018-07-13 09:08:18,509 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd
java.lang.IllegalArgumentException: Invalid URL: 
http://ingestion.xx.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2
at com.cloud.utils.UriUtils.checkUrlExistence(UriUtils.java:395)
at 
com.cloud.storage.VolumeApiServiceImpl.validateVolume(VolumeApiServiceImpl.java:415)
at 
com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:296)
at 
com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:338)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:197)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at 
org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:107)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at 
com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at 
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
at com.sun.proxy.$Proxy201.uploadVolume(Unknown Source)
at 
org.apache.cloudstack.api.command.user.volume.UploadVolumeCmd.execute(UploadVolumeCmd.java:145)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
at 
com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
at 
org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:581)
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:529)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2018-07-13 09:08:18,511 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-42:ctx-a1afd9f2 job-6668) (logid:d97e88ec) Complete async 
job-6668, jobStatus: FAILED, resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Invalid
 URL: 
http://ingestion.x.com/Flowmon/Flowmon_Collector_Virtual_All_Plugins-disk-1.qcow2"}



Disclaimer Notice:
This email has been sent by Oakford Technology Limited, while we have checked 
this e-mail and any attachments for viruses, we can not guarantee that they are 
virus-free. You must therefore take full responsibility for virus checking.
This message and any attachments are confidential and should only be read by 
those to whom they are addressed. If you are not the intended recipient, please 
contact us, delete the message from your computer and destroy any copies. Any 
distr