[jira] [Commented] (JCLOUDS-1175) Remove hardcoded limitation of content size in Openstack Nova CreateServerOptions API

2016-09-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15515775#comment-15515775
 ] 

ASF subversion and git services commented on JCLOUDS-1175:
--

Commit 34b54ad163a03dd108307b331b49a6268b8c0197 in jclouds's branch 
refs/heads/master from [~arvindn05]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=34b54ad ]

Remove hardcoded limitation of content size in Openstack Nova 
CreateServerOptions API

Fix issue JCLOUDS-1175 by removing hardcoded content sizes in Openstack
Nova API


> Remove hardcoded limitation of content size in Openstack Nova 
> CreateServerOptions API
> -
>
> Key: JCLOUDS-1175
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1175
> Project: jclouds
>  Issue Type: Bug
>  Components: jclouds-compute
>Affects Versions: 1.9.2, 2.0.0, 2.1.0
> Environment: Openstack Nova Liberty+
>Reporter: Arvind Nadendla
>  Labels: easyfix
>
> Openstack allow you to increase the bootstrap file size beyond 10K and the 
> also increase the number of files injected via the configuration drive.
> The Jcloud nova CreateServerOptions API is hardcoded to only allow default 
> size of 10K and 5 files when openstack allows you to change these values via 
> the project quotas.
> Remove following validations from the CreateServerOptions  should fix the 
> issue
>   checkState(personality.size() < 5, "maximum number of files allowed is 
> 5");
> checkArgument(contents.length < 10 * 1024,
>String.format("maximum size of the file is 10KB.  Contents 
> specified is %d bytes", contents.length));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JCLOUDS-1175) Remove hardcoded limitation of content size in Openstack Nova CreateServerOptions API

2016-09-22 Thread Arvind Nadendla (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15514538#comment-15514538
 ] 

Arvind Nadendla commented on JCLOUDS-1175:
--

Thanks Ignasi. I created the pull request.
https://github.com/jclouds/jclouds/pull/1012

I am making the changes in master but the changes should be easily backported 
to the older versions as well. Will leave that upto you guys.

> Remove hardcoded limitation of content size in Openstack Nova 
> CreateServerOptions API
> -
>
> Key: JCLOUDS-1175
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1175
> Project: jclouds
>  Issue Type: Bug
>  Components: jclouds-compute
>Affects Versions: 1.9.2, 2.0.0, 2.1.0
> Environment: Openstack Nova Liberty+
>Reporter: Arvind Nadendla
>  Labels: easyfix
>
> Openstack allow you to increase the bootstrap file size beyond 10K and the 
> also increase the number of files injected via the configuration drive.
> The Jcloud nova CreateServerOptions API is hardcoded to only allow default 
> size of 10K and 5 files when openstack allows you to change these values via 
> the project quotas.
> Remove following validations from the CreateServerOptions  should fix the 
> issue
>   checkState(personality.size() < 5, "maximum number of files allowed is 
> 5");
> checkArgument(contents.length < 10 * 1024,
>String.format("maximum size of the file is 10KB.  Contents 
> specified is %d bytes", contents.length));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (JCLOUDS-1175) Remove hardcoded limitation of content size in Openstack Nova CreateServerOptions API

2016-09-11 Thread Ignasi Barrera (JIRA)

[ 
https://issues.apache.org/jira/browse/JCLOUDS-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15482288#comment-15482288
 ] 

Ignasi Barrera commented on JCLOUDS-1175:
-

Thanks for reporting! Do you want to try opening a pull request with the patch? 
I would be happy to help!

> Remove hardcoded limitation of content size in Openstack Nova 
> CreateServerOptions API
> -
>
> Key: JCLOUDS-1175
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1175
> Project: jclouds
>  Issue Type: Bug
>  Components: jclouds-compute
>Affects Versions: 1.9.2, 2.0.0, 2.1.0
> Environment: Openstack Nova Liberty+
>Reporter: Arvind Nadendla
>  Labels: easyfix
>
> Openstack allow you to increase the bootstrap file size beyond 10K and the 
> also increase the number of files injected via the configuration drive.
> The Jcloud nova CreateServerOptions API is hardcoded to only allow default 
> size of 10K and 5 files when openstack allows you to change these values via 
> the project quotas.
> Remove following validations from the CreateServerOptions  should fix the 
> issue
>   checkState(personality.size() < 5, "maximum number of files allowed is 
> 5");
> checkArgument(contents.length < 10 * 1024,
>String.format("maximum size of the file is 10KB.  Contents 
> specified is %d bytes", contents.length));



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)