Devs and testers,

I am going to apply a fix by Hugo that deals with an encrypted value that
is to large for the configuration.value field. If you wish to keep running
with your data make sure take appropriate action on this.

On Wed, Sep 24, 2014 at 5:25 PM, <h...@apache.org> wrote:

> Repository: cloudstack
> Updated Branches:
>   refs/heads/hotfix/4.4/CLOUDSTACK-7624 [created] 9eb86560c
>
>
> CLOUDSTACK-7624 The value field of the configuration table is not big
> enough for some values
>
>
> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
> Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9eb86560
> Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9eb86560
> Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9eb86560
>
> Branch: refs/heads/hotfix/4.4/CLOUDSTACK-7624
> Commit: 9eb86560c9b83456be9ee32e8b713b213baed7bb
> Parents: 7d11381
> Author: Hugo Trippaers <htrippa...@schubergphilis.com>
> Authored: Wed Sep 24 17:24:23 2014 +0200
> Committer: Hugo Trippaers <htrippa...@schubergphilis.com>
> Committed: Wed Sep 24 17:24:23 2014 +0200
>
> ----------------------------------------------------------------------
>  .../apache/cloudstack/framework/config/impl/ConfigurationVO.java | 4 ++--
>  setup/db/db/schema-440to441.sql                                  | 3 +++
>  2 files changed, 5 insertions(+), 2 deletions(-)
> ----------------------------------------------------------------------
>
>
>
> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9eb86560/framework/config/src/org/apache/cloudstack/framework/config/impl/ConfigurationVO.java
> ----------------------------------------------------------------------
> diff --git
> a/framework/config/src/org/apache/cloudstack/framework/config/impl/ConfigurationVO.java
> b/framework/config/src/org/apache/cloudstack/framework/config/impl/ConfigurationVO.java
> index d7edfe0..cda96c9 100644
> ---
> a/framework/config/src/org/apache/cloudstack/framework/config/impl/ConfigurationVO.java
> +++
> b/framework/config/src/org/apache/cloudstack/framework/config/impl/ConfigurationVO.java
> @@ -43,10 +43,10 @@ public class ConfigurationVO implements Configuration {
>      @Column(name = "name")
>      private String name;
>
> -    @Column(name = "value", length = 4095)
> +    @Column(name = "value", length = 8191)
>      private String value;
>
> -    @Column(name = "default_value", length = 4095)
> +    @Column(name = "default_value", length = 8191)
>      private String defaultValue;
>
>      @Column(name = "description", length = 1024)
>
>
> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9eb86560/setup/db/db/schema-440to441.sql
> ----------------------------------------------------------------------
> diff --git a/setup/db/db/schema-440to441.sql
> b/setup/db/db/schema-440to441.sql
> index d1ea8d3..337d575 100644
> --- a/setup/db/db/schema-440to441.sql
> +++ b/setup/db/db/schema-440to441.sql
> @@ -178,3 +178,6 @@ INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
> (uuid,hypervisor_type, hypervis
>  INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type,
> hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined)
> VALUES (UUID(),'Xenserver', '6.2.5', 'CentOS 6 (64-bit)', 228, now(), 0);
>  INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type,
> hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined)
> VALUES (UUID(),'Xenserver', '6.2.5', 'Windows 8 (64-bit)', 229, now(), 0);
>  INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type,
> hypervisor_version, guest_os_name, guest_os_id, created, is_user_defined)
> VALUES (UUID(),'Xenserver', '6.2.5', 'Windows Server 2012 (64-bit)', 168,
> now(), 0);
> +
> +-- Fix CLOUDSTACK-7624
> +ALTER TABLE `cloud`.`configuration` MODIFY default_value varchar(8191),
> MODIFY value varchar(8191);
>
>


-- 
Daan

Reply via email to