Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.4.0
-
None
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
-
Mac OS X 10.8.3
Description
Having checked out branch 4.4, I followed along with the developer setup documentation found here. http://docs.cloudstack.apache.org/en/master/developer_guide.html
However, the deploydb failed with the error message:
```
Caused by: com.cloud.utils.exception.CloudRuntimeException: The end upgrade version is actually at 4.4.1 but our management server code version is at 4.4.2-SNAPSHOT
at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:278)
at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:438)
at com.cloud.upgrade.DatabaseCreator.main(DatabaseCreator.java:217)
```
The relevant code is here:
```
if (Version.compare(trimmedCurrentVersion, upgrades[upgrades.length - 1].getUpgradedVersion()) != 0)
```
The problem seems to be that there's no Upgrade441to442 object with appropriate settings.