You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rohit Yadav <ro...@shapeblue.com> on 2017/01/02 11:23:35 UTC

Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

All, the voting window is over now but we've not reached enough binding votes to graduate this candidate to a release. Voting will be now open until we've enough binding votes or any -1/blockers.


The PMC is requested for vote participation. Thanks.


Regards.

________________________________
From: Abhinandan Prateek <ab...@shapeblue.com>
Sent: 30 December 2016 06:55:14
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

+1

Tested around vm lifecycle.



-abhi

On 27/12/16, 1:13 PM, "Rohit Yadav" <bh...@apache.org> wrote:

>Hi All,
>
>I've created a 4.9.1.0 release, with the following artifacts up for a vote:
>
>Git Branch and Commit SH:
>https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.9.2.0-RC20161227T1309
>Commit: d410612dbc9623d3ff0e96e468cf0a72ef98a765
>
>Source release (checksums and signatures are available at the same
>location):
>https://dist.apache.org/repos/dist/dev/cloudstack/4.9.2.0/
>
>PGP release keys (signed using 0EE3D884):
>https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>
>Vote will be open for 72 hours. For reference,
>
>For sanity in tallying the vote, can PMC members please be sure to indicate
>"(binding)" with their vote?
>
>[ ] +1  approve
>[ ] +0  no opinion
>[ ] -1  disapprove (and reason why)
>
>Regards.

abhinandan.prateek@shapeblue.com
www.shapeblue.com<http://www.shapeblue.com>
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue




rohit.yadav@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Bruno,


Thanks for starting testing 4.9.2.0 (RC1).


You've found a valid bug. Since 4.9.1.0 was not announced, it's less likely for users to hit this but I'll fix this and start another RC today.

During the 4.9.1.0->4.9.2.0 upgrade path, it re-runs the 490to4910 upgrade path. The fix is simple:


--- a/engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
+++ b/engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
@@ -280,7 +280,7 @@ public class DatabaseUpgradeChecker implements SystemIntegrityChecker {

         _upgradeMap.put(CloudStackVersion.parse("4.9.0"), new DbUpgrade[] {new Upgrade490to4910(), new Upgrade4910to4920()});

-        _upgradeMap.put(CloudStackVersion.parse("4.9.1.0"), new DbUpgrade[] {new Upgrade490to4910(), new Upgrade4910to4920()});
+        _upgradeMap.put(CloudStackVersion.parse("4.9.1.0"), new DbUpgrade[] {new Upgrade4910to4920()});


After this fix, this is what looked like before upgrade in cloud.version:

| 18 | 4.9.0   | 2017-01-03 06:02:32 | Complete |
| 19 | 4.9.1.0 | 2017-01-03 06:02:32 | Complete |


After upgrade:


| 19 | 4.9.1.0 | 2017-01-03 06:02:32 | Complete |
| 21 | 4.9.2.0 | 2017-01-03 06:48:28 | Complete |


Regards.

________________________________
From: Milamber <mi...@apache.org>
Sent: 03 January 2017 03:16:20
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

Hello,

I try to upgrade from 4.9.1.0 to 4.9.2.0 RC1, and I've this error:

2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext]
(main:null) (logid:) Exception encountered during context initialization
- cancelling refresh attempt:
org.springframework.context.ApplicationContextException: Failed to start
bean 'cloudStackLifeCycle'; nested exception is
javax.persistence.EntityExistsException: Entity already exists:
=> no other line in log after this line




The full log below:

2017-01-02 21:28:27,284 INFO  [c.c.u.d.T.Transaction] (main:null)
(logid:) Is Data Base High Availiability enabled? Ans : false
2017-01-02 21:28:27,526 DEBUG [c.c.u.d.DriverLoader] (main:null)
(logid:) Successfully loaded DB driver com.mysql.jdbc.Driver
2017-01-02 21:28:27,544 DEBUG [c.c.u.d.DriverLoader] (main:null)
(logid:) DB driver com.mysql.jdbc.Driver was already loaded.
2017-01-02 21:28:27,545 DEBUG [c.c.u.d.DriverLoader] (main:null)
(logid:) DB driver com.mysql.jdbc.Driver was already loaded.
2017-01-02 21:28:27,892 DEBUG [c.c.u.d.ConnectionConcierge] (main:null)
(logid:) Registering a database connection for LockMaster1
2017-01-02 21:28:27,892 INFO  [c.c.u.d.Merovingian2] (main:null)
(logid:) Cleaning up locks for 2200278139079
2017-01-02 21:28:27,898 INFO  [c.c.u.d.Merovingian2] (main:null)
(logid:) Released 0 locks for 2200278139079
2017-01-02 21:28:27,945 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle]
(main:null) (logid:) Running system integrity checker
com.cloud.upgrade.DatabaseUpgradeChecker@15e9c283
2017-01-02 21:28:27,946 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Grabbing lock to check for database upgrade.
2017-01-02 21:28:27,991 DEBUG [c.c.u.d.VersionDaoImpl] (main:null)
(logid:) Checking to see if the database is at a version before it was
the version table is created
2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) DB version = 4.9.1.0 Code Version = 4.9.2.0
2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Database upgrade must be performed from 4.9.1.0 to 4.9.2.0
2017-01-02 21:28:28,024 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Running upgrade Upgrade490to4910 to upgrade from 4.9.0-4.9.1.0
to 4.9.1.0
2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:)
Looking for db/schema-490to4910.sql in the classpath
2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:)
System resource:
file:/usr/share/cloudstack-management/setup/db/schema-490to4910.sql
2017-01-02 21:28:28,038 DEBUG [c.c.u.s.Script] (main:null) (logid:)
Absolute path =
/usr/share/cloudstack-management/setup/db/schema-490to4910.sql
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Licensed to the Apache Software Foundation (ASF) under one
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- or more contributor license agreements.  See the NOTICE file
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- distributed with this work for additional information
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- regarding copyright ownership.  The ASF licenses this file
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- to you under the Apache License, Version 2.0 (the
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- "License"); you may not use this file except in compliance
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- with the License.  You may obtain a copy of the License at
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) --   http://www.apache.org/licenses/LICENSE-2.0
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Unless required by applicable law or agreed to in writing,
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- software distributed under the License is distributed on an
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- KIND, either express or implied.  See the License for the
2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- specific language governing permissions and limitations
2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- under the License.
2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) --;
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Schema upgrade from 4.9.0 to 4.9.1;
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) --;
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Fix default user role description
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) UPDATE `cloud`.`roles` SET `description`='Default user role'
WHERE `id`=4 AND `role_type`='User' AND `description`='Default Root
Admin role'
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Fix mysql engine to innodb
2017-01-02 21:28:28,042 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) ALTER TABLE cloud.load_balancer_cert_map ENGINE=INNODB
2017-01-02 21:28:28,090 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) ALTER TABLE cloud.monitoring_services ENGINE=INNODB
2017-01-02 21:28:28,106 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) ALTER TABLE cloud.nic_ip_alias ENGINE=INNODB
2017-01-02 21:28:28,120 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) ALTER TABLE cloud.sslcerts ENGINE=INNODB
2017-01-02 21:28:28,138 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) ALTER TABLE cloud.op_lock ENGINE=INNODB
2017-01-02 21:28:28,157 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) ALTER TABLE cloud.op_nwgrp_work ENGINE=INNODB
2017-01-02 21:28:28,364 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) ALTER TABLE cloud_usage.quota_account ENGINE=INNODB
2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Add Ubuntu 16.04 LTS as support guest os
2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id,
display_name, created) VALUES (255, UUID(), 10, 'Ubuntu 16.04 (32-bit)',
utc_timestamp())
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id,
display_name, created) VALUES (256, UUID(), 10, 'Ubuntu 16.04 (64-bit)',
utc_timestamp())
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Ubuntu 16.04 VMware guest os mapping
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '5.0', 'ubuntuGuest',
255, utc_timestamp(), 0)
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '5.1', 'ubuntuGuest',
255, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 'ubuntuGuest',
255, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '5.0',
'ubuntu64Guest', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '5.1',
'ubuntu64Guest', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '5.5',
'ubuntu64Guest', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Ubuntu 16.04 KVM guest os mapping
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu
16.04', 255, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu
16.04', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Ubuntu 16.04 LXC guest os mapping
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu
16.04', 255, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu
16.04', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Ubuntu 16.04 XenServer guest os mapping
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) 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.5.0', 'Ubuntu
Trusty Tahr 14.04', 255, utc_timestamp(), 0)
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) 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.5.0', 'Ubuntu
Trusty Tahr 14.04', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Ensure correct guest_os_name for guest OS type 'Windows
Server 2008 R2 64-bit' for VMware
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) UPDATE IGNORE `cloud`.`guest_os_hypervisor` SET guest_os_name =
'windows7Server64Guest' WHERE guest_os
_id IN (SELECT id FROM guest_os WHERE display_name LIKE
'windows%2008%r2%64%') AND hypervisor_type = 'VMware' AND
hypervisor_version != 'default'
2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) -- Adding hypervisor mappings for SUSE Linux guest OS variants
on VMware 6.0
2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'slesGuest',
40, utc_timestamp(), 0)
2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
41, utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles10_64Guest', 42 , utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
43, utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles10_64Guest', 44, utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles10_64Guest', 45, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
46, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles11_64Guest', 47, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
151, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles10_64Guest', 152 , utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
153, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles11_64Guest', 154, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
155, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles11_64Guest', 185, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
186, utc_timestamp(), 0)
2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles11_64Guest', 187, utc_timestamp(), 0)
2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
188, utc_timestamp(), 0)
2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null)
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
'sles12_64Guest', 244, utc_timestamp(), 0)
2017-01-02 21:28:28,418 DEBUG [c.c.u.d.T.Transaction] (main:null)
(logid:) Rolling back the transaction: Time = 394 Name =  Upgrade;
called by
-TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-TransactionLegacy.close:656-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:204-$Proxy18.persist:-1-DatabaseUpgradeChecker.upgrade:446-DatabaseUpgradeChecker.check:552-CloudStackExtendedLifeCycle.checkIntegrity:65
2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext]
(main:null) (logid:) Exception encountered during context initialization
- cancelling refresh attempt:
org.springframework.context.ApplicationContextException: Failed to start
bean 'cloudStackLifeCycle'; nested exception is
javax.persistence.EntityExistsException: Entity already exists:





On 02/01/2017 11:23, Rohit Yadav wrote:
> All, the voting window is over now but we've not reached enough binding votes to graduate this candidate to a release. Voting will be now open until we've enough binding votes or any -1/blockers.
>
>
> The PMC is requested for vote participation. Thanks.
>
>
> Regards.
>
> ________________________________
> From: Abhinandan Prateek <ab...@shapeblue.com>
> Sent: 30 December 2016 06:55:14
> To: dev@cloudstack.apache.org
> Subject: Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)
>
> +1
>
> Tested around vm lifecycle.
>
>
>
> -abhi
>
> On 27/12/16, 1:13 PM, "Rohit Yadav" <bh...@apache.org> wrote:
>
>> Hi All,
>>
>> I've created a 4.9.1.0 release, with the following artifacts up for a vote:
>>
>> Git Branch and Commit SH:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.9.2.0-RC20161227T1309
>> Commit: d410612dbc9623d3ff0e96e468cf0a72ef98a765
>>
>> Source release (checksums and signatures are available at the same
>> location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/4.9.2.0/
>>
>> PGP release keys (signed using 0EE3D884):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>
>> Vote will be open for 72 hours. For reference,
>>
>> For sanity in tallying the vote, can PMC members please be sure to indicate
>> "(binding)" with their vote?
>>
>> [ ] +1  approve
>> [ ] +0  no opinion
>> [ ] -1  disapprove (and reason why)
>>
>> Regards.
> abhinandan.prateek@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>
> rohit.yadav@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


rohit.yadav@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

Posted by Rohit Yadav <ro...@shapeblue.com>.
All,


An upgrade issue was found, I'm closing this voting round for RC1. I'll start another voting round shortly.


Regards.

________________________________
From: Sergey Levitskiy <Se...@autodesk.com>
Sent: 03 January 2017 10:47:50
To: dev@cloudstack.apache.org
Subject: Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

@milamber Looks like it is an execution of a wrong upgrade path. The last entries before the exception is coming from schema-490to4910.sql which is not supposed to run during 4.9.1 to 4.9.2 upgrade.
Did you get the code from 4.9.2.0 RC2 branch?



On 1/2/17, 1:46 PM, "Milamber" <mi...@apache.org> wrote:

    Hello,

    I try to upgrade from 4.9.1.0 to 4.9.2.0 RC1, and I've this error:

    2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext]
    (main:null) (logid:) Exception encountered during context initialization
    - cancelling refresh attempt:
    org.springframework.context.ApplicationContextException: Failed to start
    bean 'cloudStackLifeCycle'; nested exception is
    javax.persistence.EntityExistsException: Entity already exists:
    => no other line in log after this line




    The full log below:

    2017-01-02 21:28:27,284 INFO  [c.c.u.d.T.Transaction] (main:null)
    (logid:) Is Data Base High Availiability enabled? Ans : false
    2017-01-02 21:28:27,526 DEBUG [c.c.u.d.DriverLoader] (main:null)
    (logid:) Successfully loaded DB driver com.mysql.jdbc.Driver
    2017-01-02 21:28:27,544 DEBUG [c.c.u.d.DriverLoader] (main:null)
    (logid:) DB driver com.mysql.jdbc.Driver was already loaded.
    2017-01-02 21:28:27,545 DEBUG [c.c.u.d.DriverLoader] (main:null)
    (logid:) DB driver com.mysql.jdbc.Driver was already loaded.
    2017-01-02 21:28:27,892 DEBUG [c.c.u.d.ConnectionConcierge] (main:null)
    (logid:) Registering a database connection for LockMaster1
    2017-01-02 21:28:27,892 INFO  [c.c.u.d.Merovingian2] (main:null)
    (logid:) Cleaning up locks for 2200278139079
    2017-01-02 21:28:27,898 INFO  [c.c.u.d.Merovingian2] (main:null)
    (logid:) Released 0 locks for 2200278139079
    2017-01-02 21:28:27,945 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle]
    (main:null) (logid:) Running system integrity checker
    com.cloud.upgrade.DatabaseUpgradeChecker@15e9c283
    2017-01-02 21:28:27,946 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
    (logid:) Grabbing lock to check for database upgrade.
    2017-01-02 21:28:27,991 DEBUG [c.c.u.d.VersionDaoImpl] (main:null)
    (logid:) Checking to see if the database is at a version before it was
    the version table is created
    2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
    (logid:) DB version = 4.9.1.0 Code Version = 4.9.2.0
    2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null)
    (logid:) Database upgrade must be performed from 4.9.1.0 to 4.9.2.0
    2017-01-02 21:28:28,024 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
    (logid:) Running upgrade Upgrade490to4910 to upgrade from 4.9.0-4.9.1.0
    to 4.9.1.0
    2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:)
    Looking for db/schema-490to4910.sql in the classpath
    2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:)
    System resource:
    file:/usr/share/cloudstack-management/setup/db/schema-490to4910.sql
    2017-01-02 21:28:28,038 DEBUG [c.c.u.s.Script] (main:null) (logid:)
    Absolute path =
    /usr/share/cloudstack-management/setup/db/schema-490to4910.sql
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Licensed to the Apache Software Foundation (ASF) under one
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- or more contributor license agreements.  See the NOTICE file
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- distributed with this work for additional information
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- regarding copyright ownership.  The ASF licenses this file
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- to you under the Apache License, Version 2.0 (the
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- "License"); you may not use this file except in compliance
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- with the License.  You may obtain a copy of the License at
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) --   http://www.apache.org/licenses/LICENSE-2.0
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Unless required by applicable law or agreed to in writing,
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- software distributed under the License is distributed on an
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- KIND, either express or implied.  See the License for the
    2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- specific language governing permissions and limitations
    2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- under the License.
    2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) --;
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Schema upgrade from 4.9.0 to 4.9.1;
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) --;
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Fix default user role description
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) UPDATE `cloud`.`roles` SET `description`='Default user role'
    WHERE `id`=4 AND `role_type`='User' AND `description`='Default Root
    Admin role'
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Fix mysql engine to innodb
    2017-01-02 21:28:28,042 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) ALTER TABLE cloud.load_balancer_cert_map ENGINE=INNODB
    2017-01-02 21:28:28,090 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) ALTER TABLE cloud.monitoring_services ENGINE=INNODB
    2017-01-02 21:28:28,106 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) ALTER TABLE cloud.nic_ip_alias ENGINE=INNODB
    2017-01-02 21:28:28,120 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) ALTER TABLE cloud.sslcerts ENGINE=INNODB
    2017-01-02 21:28:28,138 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) ALTER TABLE cloud.op_lock ENGINE=INNODB
    2017-01-02 21:28:28,157 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) ALTER TABLE cloud.op_nwgrp_work ENGINE=INNODB
    2017-01-02 21:28:28,364 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) ALTER TABLE cloud_usage.quota_account ENGINE=INNODB
    2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Add Ubuntu 16.04 LTS as support guest os
    2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id,
    display_name, created) VALUES (255, UUID(), 10, 'Ubuntu 16.04 (32-bit)',
    utc_timestamp())
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id,
    display_name, created) VALUES (256, UUID(), 10, 'Ubuntu 16.04 (64-bit)',
    utc_timestamp())
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Ubuntu 16.04 VMware guest os mapping
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '5.0', 'ubuntuGuest',
    255, utc_timestamp(), 0)
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '5.1', 'ubuntuGuest',
    255, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 'ubuntuGuest',
    255, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '5.0',
    'ubuntu64Guest', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '5.1',
    'ubuntu64Guest', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '5.5',
    'ubuntu64Guest', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Ubuntu 16.04 KVM guest os mapping
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu
    16.04', 255, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu
    16.04', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Ubuntu 16.04 LXC guest os mapping
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu
    16.04', 255, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu
    16.04', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Ubuntu 16.04 XenServer guest os mapping
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) 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.5.0', 'Ubuntu
    Trusty Tahr 14.04', 255, utc_timestamp(), 0)
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) 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.5.0', 'Ubuntu
    Trusty Tahr 14.04', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Ensure correct guest_os_name for guest OS type 'Windows
    Server 2008 R2 64-bit' for VMware
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) UPDATE IGNORE `cloud`.`guest_os_hypervisor` SET guest_os_name =
    'windows7Server64Guest' WHERE guest_os
    _id IN (SELECT id FROM guest_os WHERE display_name LIKE
    'windows%2008%r2%64%') AND hypervisor_type = 'VMware' AND
    hypervisor_version != 'default'
    2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) -- Adding hypervisor mappings for SUSE Linux guest OS variants
    on VMware 6.0
    2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'slesGuest',
    40, utc_timestamp(), 0)
    2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
    41, utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles10_64Guest', 42 , utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
    43, utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles10_64Guest', 44, utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles10_64Guest', 45, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
    46, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles11_64Guest', 47, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
    151, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles10_64Guest', 152 , utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest',
    153, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles11_64Guest', 154, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
    155, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles11_64Guest', 185, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
    186, utc_timestamp(), 0)
    2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles11_64Guest', 187, utc_timestamp(), 0)
    2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest',
    188, utc_timestamp(), 0)
    2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null)
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor`
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id,
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0',
    'sles12_64Guest', 244, utc_timestamp(), 0)
    2017-01-02 21:28:28,418 DEBUG [c.c.u.d.T.Transaction] (main:null)
    (logid:) Rolling back the transaction: Time = 394 Name =  Upgrade;
    called by
    -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-TransactionLegacy.close:656-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:204-$Proxy18.persist:-1-DatabaseUpgradeChecker.upgrade:446-DatabaseUpgradeChecker.check:552-CloudStackExtendedLifeCycle.checkIntegrity:65
    2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext]
    (main:null) (logid:) Exception encountered during context initialization
    - cancelling refresh attempt:
    org.springframework.context.ApplicationContextException: Failed to start
    bean 'cloudStackLifeCycle'; nested exception is
    javax.persistence.EntityExistsException: Entity already exists:





    On 02/01/2017 11:23, Rohit Yadav wrote:
    > All, the voting window is over now but we've not reached enough binding votes to graduate this candidate to a release. Voting will be now open until we've enough binding votes or any -1/blockers.
    >
    >
    > The PMC is requested for vote participation. Thanks.
    >
    >
    > Regards.
    >
    > ________________________________
    > From: Abhinandan Prateek <ab...@shapeblue.com>
    > Sent: 30 December 2016 06:55:14
    > To: dev@cloudstack.apache.org
    > Subject: Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)
    >
    > +1
    >
    > Tested around vm lifecycle.
    >
    >
    >
    > -abhi
    >
    > On 27/12/16, 1:13 PM, "Rohit Yadav" <bh...@apache.org> wrote:
    >
    >> Hi All,
    >>
    >> I've created a 4.9.1.0 release, with the following artifacts up for a vote:
    >>
    >> Git Branch and Commit SH:
    >> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.9.2.0-RC20161227T1309
    >> Commit: d410612dbc9623d3ff0e96e468cf0a72ef98a765
    >>
    >> Source release (checksums and signatures are available at the same
    >> location):
    >> https://dist.apache.org/repos/dist/dev/cloudstack/4.9.2.0/
    >>
    >> PGP release keys (signed using 0EE3D884):
    >> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
    >>
    >> Vote will be open for 72 hours. For reference,
    >>
    >> For sanity in tallying the vote, can PMC members please be sure to indicate
    >> "(binding)" with their vote?
    >>
    >> [ ] +1  approve
    >> [ ] +0  no opinion
    >> [ ] -1  disapprove (and reason why)
    >>
    >> Regards.
    > abhinandan.prateek@shapeblue.com
    > www.shapeblue.com<http://www.shapeblue.com>
    > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
    > @shapeblue
    >
    >
    >
    >
    > rohit.yadav@shapeblue.com
    > www.shapeblue.com<http://www.shapeblue.com>
    > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
    > @shapeblue
    >
    >
    >
    >




rohit.yadav@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

Posted by Sergey Levitskiy <Se...@autodesk.com>.
@milamber Looks like it is an execution of a wrong upgrade path. The last entries before the exception is coming from schema-490to4910.sql which is not supposed to run during 4.9.1 to 4.9.2 upgrade. 
Did you get the code from 4.9.2.0 RC2 branch?



On 1/2/17, 1:46 PM, "Milamber" <mi...@apache.org> wrote:

    Hello,
    
    I try to upgrade from 4.9.1.0 to 4.9.2.0 RC1, and I've this error:
    
    2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext] 
    (main:null) (logid:) Exception encountered during context initialization 
    - cancelling refresh attempt: 
    org.springframework.context.ApplicationContextException: Failed to start 
    bean 'cloudStackLifeCycle'; nested exception is 
    javax.persistence.EntityExistsException: Entity already exists:
    => no other line in log after this line
    
    
    
    
    The full log below:
    
    2017-01-02 21:28:27,284 INFO  [c.c.u.d.T.Transaction] (main:null) 
    (logid:) Is Data Base High Availiability enabled? Ans : false
    2017-01-02 21:28:27,526 DEBUG [c.c.u.d.DriverLoader] (main:null) 
    (logid:) Successfully loaded DB driver com.mysql.jdbc.Driver
    2017-01-02 21:28:27,544 DEBUG [c.c.u.d.DriverLoader] (main:null) 
    (logid:) DB driver com.mysql.jdbc.Driver was already loaded.
    2017-01-02 21:28:27,545 DEBUG [c.c.u.d.DriverLoader] (main:null) 
    (logid:) DB driver com.mysql.jdbc.Driver was already loaded.
    2017-01-02 21:28:27,892 DEBUG [c.c.u.d.ConnectionConcierge] (main:null) 
    (logid:) Registering a database connection for LockMaster1
    2017-01-02 21:28:27,892 INFO  [c.c.u.d.Merovingian2] (main:null) 
    (logid:) Cleaning up locks for 2200278139079
    2017-01-02 21:28:27,898 INFO  [c.c.u.d.Merovingian2] (main:null) 
    (logid:) Released 0 locks for 2200278139079
    2017-01-02 21:28:27,945 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] 
    (main:null) (logid:) Running system integrity checker 
    com.cloud.upgrade.DatabaseUpgradeChecker@15e9c283
    2017-01-02 21:28:27,946 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) 
    (logid:) Grabbing lock to check for database upgrade.
    2017-01-02 21:28:27,991 DEBUG [c.c.u.d.VersionDaoImpl] (main:null) 
    (logid:) Checking to see if the database is at a version before it was 
    the version table is created
    2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) 
    (logid:) DB version = 4.9.1.0 Code Version = 4.9.2.0
    2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) 
    (logid:) Database upgrade must be performed from 4.9.1.0 to 4.9.2.0
    2017-01-02 21:28:28,024 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null) 
    (logid:) Running upgrade Upgrade490to4910 to upgrade from 4.9.0-4.9.1.0 
    to 4.9.1.0
    2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:) 
    Looking for db/schema-490to4910.sql in the classpath
    2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:) 
    System resource: 
    file:/usr/share/cloudstack-management/setup/db/schema-490to4910.sql
    2017-01-02 21:28:28,038 DEBUG [c.c.u.s.Script] (main:null) (logid:) 
    Absolute path = 
    /usr/share/cloudstack-management/setup/db/schema-490to4910.sql
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Licensed to the Apache Software Foundation (ASF) under one
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- or more contributor license agreements.  See the NOTICE file
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- distributed with this work for additional information
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- regarding copyright ownership.  The ASF licenses this file
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- to you under the Apache License, Version 2.0 (the
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- "License"); you may not use this file except in compliance
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- with the License.  You may obtain a copy of the License at
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) --   http://www.apache.org/licenses/LICENSE-2.0
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Unless required by applicable law or agreed to in writing,
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- software distributed under the License is distributed on an
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- KIND, either express or implied.  See the License for the
    2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- specific language governing permissions and limitations
    2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- under the License.
    2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) --;
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Schema upgrade from 4.9.0 to 4.9.1;
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) --;
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Fix default user role description
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) UPDATE `cloud`.`roles` SET `description`='Default user role' 
    WHERE `id`=4 AND `role_type`='User' AND `description`='Default Root 
    Admin role'
    2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Fix mysql engine to innodb
    2017-01-02 21:28:28,042 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) ALTER TABLE cloud.load_balancer_cert_map ENGINE=INNODB
    2017-01-02 21:28:28,090 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) ALTER TABLE cloud.monitoring_services ENGINE=INNODB
    2017-01-02 21:28:28,106 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) ALTER TABLE cloud.nic_ip_alias ENGINE=INNODB
    2017-01-02 21:28:28,120 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) ALTER TABLE cloud.sslcerts ENGINE=INNODB
    2017-01-02 21:28:28,138 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) ALTER TABLE cloud.op_lock ENGINE=INNODB
    2017-01-02 21:28:28,157 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) ALTER TABLE cloud.op_nwgrp_work ENGINE=INNODB
    2017-01-02 21:28:28,364 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) ALTER TABLE cloud_usage.quota_account ENGINE=INNODB
    2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Add Ubuntu 16.04 LTS as support guest os
    2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id, 
    display_name, created) VALUES (255, UUID(), 10, 'Ubuntu 16.04 (32-bit)', 
    utc_timestamp())
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id, 
    display_name, created) VALUES (256, UUID(), 10, 'Ubuntu 16.04 (64-bit)', 
    utc_timestamp())
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Ubuntu 16.04 VMware guest os mapping
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '5.0', 'ubuntuGuest', 
    255, utc_timestamp(), 0)
    2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '5.1', 'ubuntuGuest', 
    255, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 'ubuntuGuest', 
    255, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '5.0', 
    'ubuntu64Guest', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '5.1', 
    'ubuntu64Guest', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 
    'ubuntu64Guest', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Ubuntu 16.04 KVM guest os mapping
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu 
    16.04', 255, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu 
    16.04', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Ubuntu 16.04 LXC guest os mapping
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu 
    16.04', 255, utc_timestamp(), 0)
    2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu 
    16.04', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Ubuntu 16.04 XenServer guest os mapping
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) 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.5.0', 'Ubuntu 
    Trusty Tahr 14.04', 255, utc_timestamp(), 0)
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) 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.5.0', 'Ubuntu 
    Trusty Tahr 14.04', 256, utc_timestamp(), 0)
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Ensure correct guest_os_name for guest OS type 'Windows 
    Server 2008 R2 64-bit' for VMware
    2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) UPDATE IGNORE `cloud`.`guest_os_hypervisor` SET guest_os_name = 
    'windows7Server64Guest' WHERE guest_os
    _id IN (SELECT id FROM guest_os WHERE display_name LIKE 
    'windows%2008%r2%64%') AND hypervisor_type = 'VMware' AND 
    hypervisor_version != 'default'
    2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) -- Adding hypervisor mappings for SUSE Linux guest OS variants 
    on VMware 6.0
    2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'slesGuest', 
    40, utc_timestamp(), 0)
    2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
    41, utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles10_64Guest', 42 , utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
    43, utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles10_64Guest', 44, utc_timestamp(), 0)
    2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles10_64Guest', 45, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
    46, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles11_64Guest', 47, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
    151, utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles10_64Guest', 152 , utc_timestamp(), 0)
    2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
    153, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles11_64Guest', 154, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
    155, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles11_64Guest', 185, utc_timestamp(), 0)
    2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
    186, utc_timestamp(), 0)
    2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles11_64Guest', 187, utc_timestamp(), 0)
    2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
    188, utc_timestamp(), 0)
    2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
    (logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
    (uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
    created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
    'sles12_64Guest', 244, utc_timestamp(), 0)
    2017-01-02 21:28:28,418 DEBUG [c.c.u.d.T.Transaction] (main:null) 
    (logid:) Rolling back the transaction: Time = 394 Name =  Upgrade; 
    called by 
    -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-TransactionLegacy.close:656-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:204-$Proxy18.persist:-1-DatabaseUpgradeChecker.upgrade:446-DatabaseUpgradeChecker.check:552-CloudStackExtendedLifeCycle.checkIntegrity:65
    2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext] 
    (main:null) (logid:) Exception encountered during context initialization 
    - cancelling refresh attempt: 
    org.springframework.context.ApplicationContextException: Failed to start 
    bean 'cloudStackLifeCycle'; nested exception is 
    javax.persistence.EntityExistsException: Entity already exists:
    
    
    
    
    
    On 02/01/2017 11:23, Rohit Yadav wrote:
    > All, the voting window is over now but we've not reached enough binding votes to graduate this candidate to a release. Voting will be now open until we've enough binding votes or any -1/blockers.
    >
    >
    > The PMC is requested for vote participation. Thanks.
    >
    >
    > Regards.
    >
    > ________________________________
    > From: Abhinandan Prateek <ab...@shapeblue.com>
    > Sent: 30 December 2016 06:55:14
    > To: dev@cloudstack.apache.org
    > Subject: Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)
    >
    > +1
    >
    > Tested around vm lifecycle.
    >
    >
    >
    > -abhi
    >
    > On 27/12/16, 1:13 PM, "Rohit Yadav" <bh...@apache.org> wrote:
    >
    >> Hi All,
    >>
    >> I've created a 4.9.1.0 release, with the following artifacts up for a vote:
    >>
    >> Git Branch and Commit SH:
    >> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.9.2.0-RC20161227T1309
    >> Commit: d410612dbc9623d3ff0e96e468cf0a72ef98a765
    >>
    >> Source release (checksums and signatures are available at the same
    >> location):
    >> https://dist.apache.org/repos/dist/dev/cloudstack/4.9.2.0/
    >>
    >> PGP release keys (signed using 0EE3D884):
    >> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
    >>
    >> Vote will be open for 72 hours. For reference,
    >>
    >> For sanity in tallying the vote, can PMC members please be sure to indicate
    >> "(binding)" with their vote?
    >>
    >> [ ] +1  approve
    >> [ ] +0  no opinion
    >> [ ] -1  disapprove (and reason why)
    >>
    >> Regards.
    > abhinandan.prateek@shapeblue.com
    > www.shapeblue.com<http://www.shapeblue.com>
    > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
    > @shapeblue
    >
    >
    >
    >
    > rohit.yadav@shapeblue.com
    > www.shapeblue.com
    > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
    > @shapeblue
    >    
    >   
    >
    >
    
    


Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)

Posted by Milamber <mi...@apache.org>.
Hello,

I try to upgrade from 4.9.1.0 to 4.9.2.0 RC1, and I've this error:

2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext] 
(main:null) (logid:) Exception encountered during context initialization 
- cancelling refresh attempt: 
org.springframework.context.ApplicationContextException: Failed to start 
bean 'cloudStackLifeCycle'; nested exception is 
javax.persistence.EntityExistsException: Entity already exists:
=> no other line in log after this line




The full log below:

2017-01-02 21:28:27,284 INFO  [c.c.u.d.T.Transaction] (main:null) 
(logid:) Is Data Base High Availiability enabled? Ans : false
2017-01-02 21:28:27,526 DEBUG [c.c.u.d.DriverLoader] (main:null) 
(logid:) Successfully loaded DB driver com.mysql.jdbc.Driver
2017-01-02 21:28:27,544 DEBUG [c.c.u.d.DriverLoader] (main:null) 
(logid:) DB driver com.mysql.jdbc.Driver was already loaded.
2017-01-02 21:28:27,545 DEBUG [c.c.u.d.DriverLoader] (main:null) 
(logid:) DB driver com.mysql.jdbc.Driver was already loaded.
2017-01-02 21:28:27,892 DEBUG [c.c.u.d.ConnectionConcierge] (main:null) 
(logid:) Registering a database connection for LockMaster1
2017-01-02 21:28:27,892 INFO  [c.c.u.d.Merovingian2] (main:null) 
(logid:) Cleaning up locks for 2200278139079
2017-01-02 21:28:27,898 INFO  [c.c.u.d.Merovingian2] (main:null) 
(logid:) Released 0 locks for 2200278139079
2017-01-02 21:28:27,945 INFO [o.a.c.s.l.CloudStackExtendedLifeCycle] 
(main:null) (logid:) Running system integrity checker 
com.cloud.upgrade.DatabaseUpgradeChecker@15e9c283
2017-01-02 21:28:27,946 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) 
(logid:) Grabbing lock to check for database upgrade.
2017-01-02 21:28:27,991 DEBUG [c.c.u.d.VersionDaoImpl] (main:null) 
(logid:) Checking to see if the database is at a version before it was 
the version table is created
2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) 
(logid:) DB version = 4.9.1.0 Code Version = 4.9.2.0
2017-01-02 21:28:28,024 INFO  [c.c.u.DatabaseUpgradeChecker] (main:null) 
(logid:) Database upgrade must be performed from 4.9.1.0 to 4.9.2.0
2017-01-02 21:28:28,024 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null) 
(logid:) Running upgrade Upgrade490to4910 to upgrade from 4.9.0-4.9.1.0 
to 4.9.1.0
2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:) 
Looking for db/schema-490to4910.sql in the classpath
2017-01-02 21:28:28,037 DEBUG [c.c.u.s.Script] (main:null) (logid:) 
System resource: 
file:/usr/share/cloudstack-management/setup/db/schema-490to4910.sql
2017-01-02 21:28:28,038 DEBUG [c.c.u.s.Script] (main:null) (logid:) 
Absolute path = 
/usr/share/cloudstack-management/setup/db/schema-490to4910.sql
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Licensed to the Apache Software Foundation (ASF) under one
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- or more contributor license agreements.  See the NOTICE file
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- distributed with this work for additional information
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- regarding copyright ownership.  The ASF licenses this file
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- to you under the Apache License, Version 2.0 (the
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- "License"); you may not use this file except in compliance
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- with the License.  You may obtain a copy of the License at
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) --   http://www.apache.org/licenses/LICENSE-2.0
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Unless required by applicable law or agreed to in writing,
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- software distributed under the License is distributed on an
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2017-01-02 21:28:28,039 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- KIND, either express or implied.  See the License for the
2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- specific language governing permissions and limitations
2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- under the License.
2017-01-02 21:28:28,040 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) --;
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Schema upgrade from 4.9.0 to 4.9.1;
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) --;
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Fix default user role description
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) UPDATE `cloud`.`roles` SET `description`='Default user role' 
WHERE `id`=4 AND `role_type`='User' AND `description`='Default Root 
Admin role'
2017-01-02 21:28:28,041 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Fix mysql engine to innodb
2017-01-02 21:28:28,042 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) ALTER TABLE cloud.load_balancer_cert_map ENGINE=INNODB
2017-01-02 21:28:28,090 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) ALTER TABLE cloud.monitoring_services ENGINE=INNODB
2017-01-02 21:28:28,106 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) ALTER TABLE cloud.nic_ip_alias ENGINE=INNODB
2017-01-02 21:28:28,120 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) ALTER TABLE cloud.sslcerts ENGINE=INNODB
2017-01-02 21:28:28,138 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) ALTER TABLE cloud.op_lock ENGINE=INNODB
2017-01-02 21:28:28,157 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) ALTER TABLE cloud.op_nwgrp_work ENGINE=INNODB
2017-01-02 21:28:28,364 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) ALTER TABLE cloud_usage.quota_account ENGINE=INNODB
2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Add Ubuntu 16.04 LTS as support guest os
2017-01-02 21:28:28,395 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id, 
display_name, created) VALUES (255, UUID(), 10, 'Ubuntu 16.04 (32-bit)', 
utc_timestamp())
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os` (id, uuid, category_id, 
display_name, created) VALUES (256, UUID(), 10, 'Ubuntu 16.04 (64-bit)', 
utc_timestamp())
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Ubuntu 16.04 VMware guest os mapping
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '5.0', 'ubuntuGuest', 
255, utc_timestamp(), 0)
2017-01-02 21:28:28,396 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '5.1', 'ubuntuGuest', 
255, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 'ubuntuGuest', 
255, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '5.0', 
'ubuntu64Guest', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '5.1', 
'ubuntu64Guest', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,397 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '5.5', 
'ubuntu64Guest', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Ubuntu 16.04 KVM guest os mapping
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu 
16.04', 255, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'KVM', 'default', 'Ubuntu 
16.04', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Ubuntu 16.04 LXC guest os mapping
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu 
16.04', 255, utc_timestamp(), 0)
2017-01-02 21:28:28,398 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'LXC', 'default', 'Ubuntu 
16.04', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Ubuntu 16.04 XenServer guest os mapping
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) 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.5.0', 'Ubuntu 
Trusty Tahr 14.04', 255, utc_timestamp(), 0)
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) 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.5.0', 'Ubuntu 
Trusty Tahr 14.04', 256, utc_timestamp(), 0)
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Ensure correct guest_os_name for guest OS type 'Windows 
Server 2008 R2 64-bit' for VMware
2017-01-02 21:28:28,399 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) UPDATE IGNORE `cloud`.`guest_os_hypervisor` SET guest_os_name = 
'windows7Server64Guest' WHERE guest_os
_id IN (SELECT id FROM guest_os WHERE display_name LIKE 
'windows%2008%r2%64%') AND hypervisor_type = 'VMware' AND 
hypervisor_version != 'default'
2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) -- Adding hypervisor mappings for SUSE Linux guest OS variants 
on VMware 6.0
2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'slesGuest', 
40, utc_timestamp(), 0)
2017-01-02 21:28:28,402 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
41, utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles10_64Guest', 42 , utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
43, utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles10_64Guest', 44, utc_timestamp(), 0)
2017-01-02 21:28:28,403 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles10_64Guest', 45, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
46, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles11_64Guest', 47, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
151, utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles10_64Guest', 152 , utc_timestamp(), 0)
2017-01-02 21:28:28,404 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles10Guest', 
153, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles11_64Guest', 154, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
155, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles11_64Guest', 185, utc_timestamp(), 0)
2017-01-02 21:28:28,405 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
186, utc_timestamp(), 0)
2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles11_64Guest', 187, utc_timestamp(), 0)
2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 'sles11Guest', 
188, utc_timestamp(), 0)
2017-01-02 21:28:28,406 DEBUG [c.c.u.d.ScriptRunner] (main:null) 
(logid:) INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` 
(uuid,hypervisor_type, hypervisor_version, guest_os_name, guest_os_id, 
created, is_user_defined) VALUES (UUID(),'VMware', '6.0', 
'sles12_64Guest', 244, utc_timestamp(), 0)
2017-01-02 21:28:28,418 DEBUG [c.c.u.d.T.Transaction] (main:null) 
(logid:) Rolling back the transaction: Time = 394 Name =  Upgrade; 
called by 
-TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-TransactionLegacy.close:656-TransactionContextInterceptor.invoke:36-ReflectiveMethodInvocation.proceed:161-ExposeInvocationInterceptor.invoke:91-ReflectiveMethodInvocation.proceed:172-JdkDynamicAopProxy.invoke:204-$Proxy18.persist:-1-DatabaseUpgradeChecker.upgrade:446-DatabaseUpgradeChecker.check:552-CloudStackExtendedLifeCycle.checkIntegrity:65
2017-01-02 21:28:28,424 WARN [o.a.c.s.m.c.ResourceApplicationContext] 
(main:null) (logid:) Exception encountered during context initialization 
- cancelling refresh attempt: 
org.springframework.context.ApplicationContextException: Failed to start 
bean 'cloudStackLifeCycle'; nested exception is 
javax.persistence.EntityExistsException: Entity already exists:





On 02/01/2017 11:23, Rohit Yadav wrote:
> All, the voting window is over now but we've not reached enough binding votes to graduate this candidate to a release. Voting will be now open until we've enough binding votes or any -1/blockers.
>
>
> The PMC is requested for vote participation. Thanks.
>
>
> Regards.
>
> ________________________________
> From: Abhinandan Prateek <ab...@shapeblue.com>
> Sent: 30 December 2016 06:55:14
> To: dev@cloudstack.apache.org
> Subject: Re: [VOTE] Apache Cloudstack 4.9.2.0 (RC1)
>
> +1
>
> Tested around vm lifecycle.
>
>
>
> -abhi
>
> On 27/12/16, 1:13 PM, "Rohit Yadav" <bh...@apache.org> wrote:
>
>> Hi All,
>>
>> I've created a 4.9.1.0 release, with the following artifacts up for a vote:
>>
>> Git Branch and Commit SH:
>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/4.9.2.0-RC20161227T1309
>> Commit: d410612dbc9623d3ff0e96e468cf0a72ef98a765
>>
>> Source release (checksums and signatures are available at the same
>> location):
>> https://dist.apache.org/repos/dist/dev/cloudstack/4.9.2.0/
>>
>> PGP release keys (signed using 0EE3D884):
>> https://dist.apache.org/repos/dist/release/cloudstack/KEYS
>>
>> Vote will be open for 72 hours. For reference,
>>
>> For sanity in tallying the vote, can PMC members please be sure to indicate
>> "(binding)" with their vote?
>>
>> [ ] +1  approve
>> [ ] +0  no opinion
>> [ ] -1  disapprove (and reason why)
>>
>> Regards.
> abhinandan.prateek@shapeblue.com
> www.shapeblue.com<http://www.shapeblue.com>
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>
> rohit.yadav@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>    
>   
>
>