Detail: CreateFirewallRuleCmd.java was returning 'null' for getTrafficType().
Recently, getTrafficType started being used by createIngressFirewallRule.
Changing getTrafficType() to return ingress per Jayapal Reddy.
BUG-ID: CLOUDSTACK-1168
Bugfix-for: master,4.1
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360170916 -0700
The EncryptionSecretKeyChecker is required to load db.properties with
encrypted passwords.
Make usre the integrity checkers are run before anything else during
start-up(cherry picked from commit 9d134f0f19)
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
The new policy is:
1. Generate a random IP.
2. Find the next available IP, start from the generated IP.
3. If we cannot find an available IP after certain times(10000 by default,
network.ipv6.search.retry.max) retry, give up.
The path to the keyfile was hardcoded, so added an alternative path for
compatibility with the packaging locations. Should ideally become a
setting in the config file.(cherry picked from commit cb6b96cda2)
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
Empty paths lead to unpleasant surpises later on
Use basename to find the pid file when stopping tomcat
(cherry picked from commit 0cc4636a2d)
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
Renamed a whole bunch of stuff from cloud to cloudstack
Fix startup of cloudstack-agent
(cherry picked from commit 5bf6771e60)
Conflicts:
packaging/centos63/cloud.spec
creation of networks when there is no default CIDR in the zone.(cherry picked from commit 27e5d1fc04)
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
Make the start method work again with jsvc
Move the usageApplicationContext to resources and add resources to the pom.xml
Remove the old components file
Add mysql-connector as a runtime dependency
Rename the usage package and the files to cloudstack
Change paths to the new proposed locations
(cherry picked from commit 7ce03b4f8e)
Signed-off-by: Hugo Trippaers <trippie@gmail.com>
Detail: Adds UI element for resizing a volume
BUG-ID: CLOUDSTACK-644
Reported-by: hongtu_zang@tcloudcomputing.com
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360091087 -0700
@since tag in API cmd /responses has been given an invalid ACS release
version. This fix removes these references.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Handle NPE while setting up data source in Transaction
- This occured as Transaction is called it would run the following which
assumed db.properties file, which may not be in one's classpath;
// Initialize with assumed db.properties file
initDataSource("db.properties");
- So, while this would be logged in logs, this is ignored for DatabaseCreator's
case. In DatabaseCreator we call initDataSource with full path anyway.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 7795cfd759)
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
- Get rid of boolean decode arg
- Method assumes that OTW params have been already decoded
- Remove redundant code that tries to decode again based on boolean arg
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 2b267c1ceb)
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>