cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9807) 4.5->4.10 upgrade fails. db upgrade script looking for ssvm template-4.6 when having 4.10 already installed.
Date Wed, 08 Mar 2017 10:46:38 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-9807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15901064#comment-15901064
] 

ASF subversion and git services commented on CLOUDSTACK-9807:
-------------------------------------------------------------

Commit 40e49a626fd3266432b6cdaecd54f92ec540f4de in cloudstack's branch refs/heads/master from
[~rajanik]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=40e49a6 ]

Merge pull request #1982 from Accelerite/CLOUDSTACK-9807

CLOUDSTACK-9807/CLOUDSTACK-9808 - Added upgrade changes for 4.10 system vm templateRemoved
systemvm template upgrade code in 4.6 upgrade. Added 4.10 system vm template upgrade changes
with new urls and md5sum

Manual testing results:
Updated min req version:
mysql> select name, value from configuration where name = 'minreq.sysvmtemplate.version';
+------------------------------+----------+
| name                         | value    |
+------------------------------+----------+
| minreq.sysvmtemplate.version | 4.10.0.0 |
+------------------------------+----------+
1 row in set (0.00 sec)

Update template for KVM:
mysql> select * from vm_template where name = 'systemvm-kvm-4.10'\G
*************************** 1. row ***************************
                  id: 201
         unique_name: 201-2-badc363a-507d-3802-942f-205d35c3b575
                name: systemvm-kvm-4.10
                uuid: 3526258d-d9a4-4c3d-8f15-3137eb5d7ab8
              public: 0
            featured: 0
                type: SYSTEM
                 hvm: 1
                bits: 64
                 url: http://packages.shapeblue.com/systemvmtemplate/4.10/systemvm64template-4.10-kvm.qcow2.bz2
              format: QCOW2
             created: 2017-03-02 11:35:06
             removed: NULL
          account_id: 2
            checksum: NULL
        display_text: systemvm-kvm-4.10
     enable_password: 0
       enable_sshkey: 0
         guest_os_id: 184
            bootable: 1
         prepopulate: 0
         cross_zones: 1
         extractable: 0
     hypervisor_type: KVM
  source_template_id: NULL
        template_tag: NULL
            sort_key: 0
                size: 5242880
               state: Active
        update_count: 0
             updated: NULL
dynamically_scalable: 0
1 row in set (0.00 sec)

* pr/1982:
  Bug-ID: CLOUDSTACK-9807: 4.10.0.0 systemvm template upgrade.

Signed-off-by: Rajani Karuturi <rajani.karuturi@accelerite.com>


> 4.5->4.10 upgrade fails. db upgrade script looking for ssvm template-4.6 when having
4.10 already installed.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9807
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9807
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Upgrade
>    Affects Versions: 4.10.0.0
>            Reporter: Boris Stoyanov
>            Assignee: Kishan Kavala
>            Priority: Blocker
>
> Following the upgrade instructions from this page: http://docs.cloudstack.apache.org/projects/cloudstack-release-notes/en/4.10/upgrade/upgrade-4.5.html
> I’ve registered the template with the right naming: "systemvm-kvm-4.10”, waited until
it was in Ready status.
> Then following the upgrade procedure, upgraded the management and the cs-agent. 
> Upon starting the management the db.upgrade kicked in, but it failed with the following
error: 
> com.cloud.utils.exception.CloudRuntimeException: 4.6.0KVM SystemVm template not found.
Cannot upgrade system Vms
> It appears that the upgrade script is still looking for 4.6 ssvm template while a newer
version is installed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message