Github user remibergsma commented on the pull request:
https://github.com/apache/cloudstack/pull/1369#issuecomment-175051270
Tested the upgrade to `4.9.0` and that works fine:
```
2016-01-26 14:39:09,544 INFO [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) DB version = 4.8.1 Code Version = 4.9.0-SNAPSHOT
2016-01-26 14:39:09,545 INFO [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Database upgrade must be performed from 4.8.1 to 4.9.0-SNAPSHOT
2016-01-26 14:39:09,545 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Running upgrade Upgrade481to490 to upgrade from 4.8.1-4.9.0 to 4.9.0
2016-01-26 14:39:09,549 DEBUG [c.c.u.s.Script] (main:null) (logid:) Looking
for db/schema-481to490.sql in the classpath
2016-01-26 14:39:09,549 DEBUG [c.c.u.s.Script] (main:null) (logid:) System
resource: null
2016-01-26 14:39:09,550 DEBUG [c.c.u.s.Script] (main:null) (logid:)
Classpath resource:
file:/data/git/cs2/cloudstack/client/target/utilities/scripts/db/db/schema-481to490.sql
2016-01-26 14:39:09,550 DEBUG [c.c.u.s.Script] (main:null) (logid:)
Absolute path =
/data/git/cs2/cloudstack/client/target/utilities/scripts/db/db/schema-481to490.sql
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- Licensed to the Apache Software Foundation (ASF) under one
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- or more contributor license agreements. See the NOTICE file
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- distributed with this work for additional information
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- regarding copyright ownership. The ASF licenses this file
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- to you under the Apache License, Version 2.0 (the
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- "License"); you may not use this file except in compliance
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- with the License. You may obtain a copy of the License at
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2016-01-26 14:39:09,551 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- http://www.apache.org/licenses/LICENSE-2.0
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- Unless required by applicable law or agreed to in writing,
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- software distributed under the License is distributed on an
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- KIND, either express or implied. See the License for the
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- specific language governing permissions and limitations
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- under the License.
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
--;
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- Schema upgrade from 4.8.1 to 4.9.0;
2016-01-26 14:39:09,552 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
--;
2016-01-26 14:39:09,562 INFO [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Cleaning upgrades because all management server are now at the same
version
2016-01-26 14:39:09,564 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Upgrading to version 4.9.0...
2016-01-26 14:39:09,564 INFO [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Cleanup upgrade Upgrade481to490 to upgrade from 4.8.1-4.9.0 to 4.9.0
2016-01-26 14:39:09,565 DEBUG [c.c.u.s.Script] (main:null) (logid:) Looking
for db/schema-481to490-cleanup.sql in the classpath
2016-01-26 14:39:09,565 DEBUG [c.c.u.s.Script] (main:null) (logid:) System
resource: null
2016-01-26 14:39:09,566 DEBUG [c.c.u.s.Script] (main:null) (logid:)
Classpath resource:
file:/data/git/cs2/cloudstack/client/target/utilities/scripts/db/db/schema-481to490-cleanup.sql
2016-01-26 14:39:09,566 DEBUG [c.c.u.s.Script] (main:null) (logid:)
Absolute path =
/data/git/cs2/cloudstack/client/target/utilities/scripts/db/db/schema-481to490-cleanup.sql
2016-01-26 14:39:09,566 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- Licensed to the Apache Software Foundation (ASF) under one
2016-01-26 14:39:09,566 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- or more contributor license agreements. See the NOTICE file
2016-01-26 14:39:09,566 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- distributed with this work for additional information
2016-01-26 14:39:09,566 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- regarding copyright ownership. The ASF licenses this file
2016-01-26 14:39:09,566 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- to you under the Apache License, Version 2.0 (the
2016-01-26 14:39:09,566 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- "License"); you may not use this file except in compliance
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- with the License. You may obtain a copy of the License at
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- http://www.apache.org/licenses/LICENSE-2.0
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:) --
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- Unless required by applicable law or agreed to in writing,
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- software distributed under the License is distributed on an
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- KIND, either express or implied. See the License for the
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- specific language governing permissions and limitations
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- under the License.
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
--;
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
-- Schema cleanup from 4.8.1 to 4.9.0;
2016-01-26 14:39:09,567 DEBUG [c.c.u.d.ScriptRunner] (main:null) (logid:)
--;
2016-01-26 14:39:09,567 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Cleanup script
/data/git/cs2/cloudstack/client/target/utilities/scripts/db/db/schema-481to490-cleanup.sql
is executed successfully
2016-01-26 14:39:09,581 DEBUG [c.c.u.DatabaseUpgradeChecker] (main:null)
(logid:) Upgrade completed for version 4.9.0
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---