You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2016/09/23 08:22:20 UTC

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

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

Ignasi Barrera updated JCLOUDS-1175:
------------------------------------
    Labels: easyfix openstack-nova  (was: easyfix)

> 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-nova
>             Fix For: 2.0.0
>
>
> 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)