Commit Graph

15975 Commits

Author SHA1 Message Date
anthony 951cba92bb Merge branch 'sg-in-advanced-zone'
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2013-02-07 15:19:41 -08:00
Chiradeep Vittal 3dea9a7be5 Summary: Remove superfluous chroot and change to use standard jre
Detail: Since the script executes inside the running vm, the chroot is not necessary. Also the standard jre is used instead of sun jre.

BUG-ID: CLOUDSTACK-1066
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> 1360277071 -0800
2013-02-07 14:48:18 -08:00
Wido den Hollander a5f0be186f agent: Rename startDomain to startVM
The other methods are called stopVM and rebootVM, so it makes
sence to use startVM.
2013-02-07 23:07:10 +01:00
Wido den Hollander 5dfcd309f1 agent: Do not define domains persistent in libvirt
We used to define domains persistent in libvirt, which caused XML definitions
to stay there after a reboot of the hypervisor.

We however don't do anything with those already defined domains, actually, we wipe
all defined domains when starting the agent.

Some users however reported that libvirt started these domains after a reboot
before the CloudStack agent was started.

By starting domains from the XML description and not defining them we prevent
them from ever being stored in libvirt.
2013-02-07 23:07:05 +01:00
Wido den Hollander f6c4b22139 agent: Remove the main() method from LibvirtComputingResource
Seems like very ancient code which is not needed.
2013-02-07 23:06:44 +01:00
Hugo Trippaers 2f44ed0820 Include the compiled python module, so it will be removed as well when the package is removed 2013-02-07 22:43:50 +01:00
Jessica Wang cc24bebcb6 CLOUDSTACK-537: cloudstack UI - Advanced sg-enabled zone - VM Wizard - step 5 - select network screen - populate only sg networks (i.e. not show non-sg networks). 2013-02-07 13:19:55 -08:00
Jessica Wang a02c66594f CLOUDSTACK-537: cloudstack UI - Infrastructure menu - create network dialog - Advanced sg-enabled zone - (1) account-specific network doesn't work at backend. Therefore, remove "account" option from scope dropdown. (2) zone-wide network: list only sg network offerings. 2013-02-07 13:17:45 -08:00
Wido den Hollander 5ce1f3b128 CLOUDSTACK-1193 / docs: Fix typo in libvirt tcp_listen port
The correct port is 16509, but this is clearly a typo.

This fixes: CLOUDSTACK-1193
2013-02-07 17:04:30 +01:00
Sebastien Goasguen c9dd19097f Docs: Adding documentation and translation chapter in dev guide 2013-02-07 15:35:51 +01:00
Rohit Yadav 9b691fc443 CLOUDSTACK-1175: Fix NPE by making _store a static variable shared by objects
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 18:23:49 +05:30
Pradeep Soundararajan a9955f155a Summary: changed the path from cloud to cloudstack.
The change in package script allowed us to create proper tar under rpmbuild/SOURCES directory

The change in the path enabled us to launch the management server properly.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-07 13:45:30 +01:00
Hugo Trippaers db3b0d3256 Summary: Fix path so the right files are removed from the install dir 2013-02-07 13:45:30 +01:00
Rohit Yadav 04d51c9e4d CLOUDSTACK-1066: Fix only one postinstall script, install packages etc.
- Remove different scripts, just use postinstall.sh that runs after basic appliance
  is built using veewee
- Port package installation method from old script
- Time the installation/build process

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 17:42:35 +05:30
Rohit Yadav 1fd0563137 CLOUDSTACK-1037: Implement fuzzy parameter completion
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 16:01:05 +05:30
Pranav Saxena bf1b40eca4 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-02-07 14:06:03 +05:30
Pranav Saxena d72e5ffc0f CLOUDSTACK-1184 Localization - Add Korean label to all locales 2013-02-07 14:05:36 +05:30
Murali Reddy a71fb83c77 CLOUDSTACK-1178:DB Commit warning logged for every Deploy VM request
removing the regression that introduced premature transaction commit
2013-02-07 13:12:37 +05:30
Radhika PC eea74f5ddd CLOUDSTACK-1050:Documentation for adding load balancer rule 2013-02-07 11:44:33 +05:30
Rohit Yadav 5fe1ef47dd CLOUDSTACK-520: Autorename vmware and manageontap jars
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 11:33:54 +05:30
Mice Xia 13a4c0670e CLOUDSTACK-1176 1) remove 'final' modifier from id attribute in SnapshotVO 2) make state setter method comply with convention 2013-02-07 13:41:49 +08:00
Rohit Yadav 7c003611d0 CLOUDSTACK-1181: Fix NPE, ignore if default path is not readable, we're passing props file anyway
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 11:09:56 +05:30
Pranav Saxena d44d4b76e7 Enabling Korean Translation on the CloudStack UI 2013-02-07 10:41:51 +05:30
Channy Yun bdb904c125 Localization:Korean Translation 2013-02-07 10:34:18 +05:30
Sheng Yang 06acd9f0ea IPv6: One network can have more than one vlan 2013-02-06 20:07:07 -08:00
Sheng Yang 3d1989c103 IPv6: CLOUDSTACK-1141: Fix reboot router with IPv6 assigned VM 2013-02-06 13:59:53 -08:00
Hugo Trippaers 5af6d16c5d Summary: fixup spec file
Remove duplicate entries in the config dir

Fix directory permisisons of some directories

Remove the scripts from the webapp as they are packaged inside the cloudstack-common package
2013-02-06 22:44:56 +01:00
Wido den Hollander a996e43bbd Summary: Document the procedure for TCP listening of libvirt on Ubuntu 12.04
Detail: This is now controlled by a variable in /etc/default/libvirt-bin

BUG-ID: CLOUDSTACK-1150
Bugfix-for:
Reviewed-by: Wido den Hollander <wido@widodh.nl>
Reported-by: Logan McNaughton <logan@bacoosta.com>
Signed-off-by: Wido den Hollander <wido@widodh.nl> 1360178633 +0100
2013-02-06 20:23:53 +01:00
Jessica Wang 01d7fa4bed CLOUDSTACK-1166: cloudstack UI - dashboard - sanitize content before setting it to a HTML element. 2013-02-06 10:42:35 -08:00
Marcus Sorensen 7330deeb2f Summary: Add default newline after summary in prepare-commit-msg
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360171397 -0700
2013-02-06 10:23:17 -07:00
Marcus Sorensen ec6fdc7471 Summary: Fix NPE when calling createFirewallRule
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
2013-02-06 10:15:16 -07:00
Marcus Sorensen dc7578c72c Summary: Make prepare-commit-msg hook more compatible with operating systems
Detail: Was using sed -i, which breaks on Mac

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360170672 -0700
2013-02-06 10:11:12 -07:00
Hugo Trippaers b28f3addfc If encryption is already initialized we don't need to do it again. 2013-02-06 16:49:12 +01:00
Hugo Trippaers b1d70f7fe3 Before any database calls are made we need to make sure that encryption
is properly initialized if we have an encrypted db.properties.
2013-02-06 15:55:13 +01:00
Marcus Sorensen c5185c09ef Summary: Add missing ResizeVolumeCommand in VmwareResource.java
Submitted-by: hongtu_zang <hongtu_zang@tcloudcomputing.com>
Signed-off-by: Marcus Sorensen <marcus@betterservers.com>
2013-02-06 07:52:37 -07:00
Pranav Saxena 6e4aeeadf4 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2013-02-06 20:18:15 +05:30
Radhika PC 944f7b0465 CLOUDSTACK-722 - Documentation:Changing the SSL proxy console certificate 2013-02-06 20:16:01 +05:30
Rohit Yadav 44316f7398 ApiDiscovery: Fix tests and make constructor light weight, let spring run init()
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 20:07:27 +05:30
Hugo Trippaers d296a8fa65 Revert "ApiDiscovery: Discovery apis provided by PluggableServices as well"
This reverts commit 1b9e5c3006.

Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-02-06 14:17:22 +01:00
Rohit Yadav 1b9e5c3006 ApiDiscovery: Discovery apis provided by PluggableServices as well
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:54:46 +05:30
Rohit Yadav dfcd9b05a0 ApiServer: Ask pluggable services to return list of apis to ApiServer
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:54:46 +05:30
Rohit Yadav 8c5cd42b56 ManagementServerImpl: Fix NPE, PluggableService should not return null list
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:54:46 +05:30
Rohit Yadav d99f836d5d cli: Fix attribute error and fix helpdoc
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-06 16:54:46 +05:30
Kishan Kavala 2a0c2be136 CLOUDSTACK-1175: PlainTextAuthenticator was being loaded due @Component annotation. Removed the annotation so that MD5 authenticator will be used 2013-02-06 15:27:03 +05:30
Mice Xia d65bfc56cd CLOUDSTACK-1174 rename field status-> state to comply with javabean convetion 2013-02-06 15:54:15 +08:00
Min Chen 5a2cd68fa8 Fix bug CLOUDSTACK-1171 due to spring injection. 2013-02-05 21:55:11 -08:00
Sheng Yang fda8ec3c59 IPv6: CLOUDSTACK-1153: Fix integer overflow on IPv6 address calcuation
Use BigInteger, which is 128 bits long.
2013-02-05 17:41:37 -08:00
radhikap e81389a23e CLOUDPLATFORM-390
Signed-off-by: radhikap <radhika.puthiyetath@citrix.com>
2013-02-05 18:43:21 -06:00
anthony db71d3da36 CLOUDSTACK-1167
remove arptables rules after VM is stopped
2013-02-05 15:07:29 -08:00
Hugo Trippaers 9d134f0f19 Summary: We need the integrity checkers to run
The EncryptionSecretKeyChecker is required to load db.properties with
encrypted passwords.

Make usre the integrity checkers are run before anything else during
start-up
2013-02-05 23:50:01 +01:00