16768 Commits

Author SHA1 Message Date
Pradeep
c305e3c5a1 BUG-ID: CLOUDSTACK-1713, CLOUDSTACK-1719
Summary: EC2 REST API: AWS APIs are not getting translated on the CloudStack Management Server and AWS API Installation Problems.
This fixes the above two defects and other packaging related issues.

Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2013-03-22 15:15:36 +00:00
Jessica Tomechak
0be5ba4189 CLOUDSTACK-815. Docs. Syntax fixes to commands in Regions section. 2013-03-22 05:55:11 -07:00
Jessica Tomechak
a0257bc533 CLOUDSTACK-815. Docs. Add new documentation for Regions. This feature currently is available through the API only. 2013-03-22 05:49:04 -07:00
Edison Su
ff63854b4d CLOUDSTACK-1772: revert bc94948e0604e0e5931759be3c3d3155e84686f6, doesn't specify vnc listening port, make live migration work 2013-03-22 12:46:50 +00:00
Pradeep
01ea7232d9 CLOUDSTACK-1252: Failed to download default template in VMware
Proposing to modify package.sh script. Package as per OSS or NONOSS arguments.

Now package.sh will act based on the below usage i.e. with or without
arguments:

 ./package.sh -h

usage: ./package.sh [-p|--pack] [-h|--help] [ARGS]

oss|OSS         To package OSS specific
nonoss|NONOSS   To package NONOSS specific

Examples: ./package.sh -p|--pack oss|OSS
          ./package.sh -p|--pack nonoss|NONOSS
          ./package.sh (Default OSS)

Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2013-03-22 16:14:07 +05:30
Murali Reddy
1c845d42b7 CLOUDSTACK-1368: Shared network - Not able to delete network because of java.lang.NullPointerException
Missed network destroy state transistion while 'events framework' merge.
Before merge, network states were explicitly set. It was changed to go
through state machine. This fix, introduces  missing state transistions.

Tested life cycle of both isolated and shared network

Signed-off-by: Murali Reddy <murali.reddy@citrix.com>
2013-03-22 11:20:48 +05:30
Pranav Saxena
5a455a798a CLOUDSTACK-1512:Wrong message when trying to create zone with mulitple physical networks without providing the traffic label 2013-03-22 10:55:13 +05:30
Wei Zhou
0d604c636d CLOUDSTACK-1666: Fix NetworkUsage for VPC on KVM
The collection of network usage from VPC virtual router on KVM does not work,
because there is no corresponding procedure to deal with VPC virtual router
(cmd.isForVpc() = true).

Reviewed-by: Kishan Kavala <kishan@apache.org>
Reported-by: Wei Zhou <w.zhou@leaseweb.com>

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-22 10:51:27 +05:30
Kishan Kavala
00742e524c Added / to the end_point of default local region. UI expects / while switching to other regions using single sign-on 2013-03-22 10:34:01 +05:30
Jessica Tomechak
e68d156b41 CLOUDSTACK-865. Docs. Clarify handling of blank fields in JSON and XML responses to API calls. 2013-03-21 21:02:30 -07:00
Jessica Tomechak
b1e61cc94a CLOUDSTACK-1028. Doc. Re-add section Firewall Rules: this section is about ingress rules. Fix intro sentence to agree with new Egress Rules section. Egress traffic is now blocked by default. 2013-03-21 20:00:36 -07:00
Jessica Tomechak
976a5fa788 Docs. CLOUDSTACK-866. Add section on API request throttling. Included in Admin Guide and Developer's Guide. 2013-03-21 20:00:34 -07:00
Edison Su
33937c980e CLOUDSTACK-1744: It's due to db upgrade issue. On master, deploydb will upgrade db to 4.2, which will update vm_template's image_data_store_id, while deploydb-simulator adds a new column in vm_template table, which doesn't set image_data_store_id, thus causing NPE. 2013-03-21 18:25:02 -07:00
Alena Prokharchyk
37cdb5d74b CLOUDSTACK-766 - allow Vlan assignment to Isolated network. The network with Vlan assigned, gets created with Setup state, and will never get picked up by the GC thread meaning its vlan will never get released 2013-03-21 16:05:48 -07:00
Brian Federle
c9f4e51300 Regions UI: Add 'redirecting to region' text during login loading 2013-03-21 15:57:05 -07:00
Brian Federle
6ad7060b40 Support labels in loading overlay
Correctly style <span> if placed in a loading overlay, to be
positioned under loading icon
2013-03-21 15:56:34 -07:00
Brian Federle
0fbf1b91b0 Regions single-sign-on: Hide login form on redirect
If login URL is passed to management server on load, show loading
screen in place of login form.
2013-03-21 15:27:44 -07:00
Brian Federle
85ef511702 Instances UI: Better start instance notification
-Don't show dialog if no password enabled on start -- inhibits
 'Start instance' dialog from appearing for every VM.

-Use standard dialog (not alert) for VM password notification
2013-03-21 13:26:03 -07:00
Brian Federle
62fd9115c2 UI Dialog: Don't show dialog with empty message 2013-03-21 13:24:22 -07:00
Vijay venkatachalam
61d8dde033 CLOUDSTACK-1537. Fixing Network Restart case for AutoScale 2013-03-21 16:59:15 +00:00
Jessica Tomechak
0d1cd121c2 Docs. Remove "new" from a feature description. The feature has been in the software awhile. 2013-03-20 22:42:33 -07:00
Edison Su
3ed6200ef8 move default primary storage plugin into its own pom 2013-03-20 17:21:40 -07:00
Jessica Wang
9270b4335c CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - remove region field from Add Account dialog since createAccount API does not take in regionid parameter. 2013-03-20 16:47:52 -07:00
Jessica Wang
5a9ccce0f3 LOUDSTACK-1065: cloudstack UI - AWS Style Regions - handle the case that document.location.href includes bookmark # that doesn't match region's end point completely. 2013-03-20 16:41:26 -07:00
Jessica Wang
6cb1486f29 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - implement Edit Region action, ID field shouldn't be editable since ID is the base when searching for an entry in the database. 2013-03-20 15:39:30 -07:00
Jessica Wang
75a6e009b9 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - remove region action - removing the region that you are currently in is not allowed. 2013-03-20 15:19:36 -07:00
Jessica Wang
ae7e5b025e CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - set current region (whose end point matches current URL) to region button and region dropdown on top menu. 2013-03-20 14:34:37 -07:00
Jessica Wang
918a7c7481 CLOUDSTACK-1065: cloudstack UI - AWS Style Regions - implement region switching action triggered by region dropdown on top menu. 2013-03-20 11:58:57 -07:00
Sateesh Chodapuneedi
dbfd31663c CLOUDSTACK-664 Health monitoring for NetScaler load balanced instances
Fixing class names added to command list.

Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
2013-03-20 13:52:00 +05:30
Nitin Mehta
3e68dd810e CLOUDSTACK-1738 :
Adding code for StatsCollector initialization using spring framework. This was not initialized and hence stats were not colleced on vm, host and storage in CS.
2013-03-20 16:44:44 +05:30
Prasanna Santhanam
873ec27135 simulator: by default don't start the simulator discoverers
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-20 14:52:32 +05:30
Rohit Yadav
0d62549d61 cli: Run onecmd if any arg is passed
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-20 13:14:09 +05:30
Rohit Yadav
4ad5d1a4f5 cli: Fix nonetype issue with cachemaker and exit after printing version
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-20 12:42:29 +05:30
Prasanna Santhanam
d7f9aa637e remove dependence on dsl iso
No need to download the 50MB iso for every test. It is sufficient to use
a dummy iso. This dummy iso was generated using mkisofs for test
purposes.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-20 11:09:06 +05:30
Prasanna Santhanam
de1ac4b7cd jvmArgs is invalid here
jvmArgs are unaffected in the jetty:run configuration. Use MAVEN_OPTS
for this instead.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-20 11:07:49 +05:30
Prasanna Santhanam
323c3211c8 run the test lifecycle only when config is specified 2013-03-20 11:07:49 +05:30
radhikap
7e91c47541 CLOUDSTACK-1308 and CLOUDSTACK-807 2013-03-20 11:01:18 +05:30
Prasanna Santhanam
02b3cd7de9 marvin logging: write to tmp to adjust for mac-osx
/var/log is not available on OSX. This breaks the simulator run.
2013-03-20 10:47:15 +05:30
Prasanna Santhanam
792db8b5cc simulator: removing cyclic dependency from simulator
The database creator caused a cyclic dependecny in the simulator which
is removed with this commit. Additionally the simulator profile is now
merged with developer profile and a test for server health is included

Steps to run:
$ mvn -Pdeveloper clean install
$ mvn -Pdeveloper -pl developer -Ddeploydb
$ mvn -Pdeveloper -pl developer -Ddeploydb-simulator
$ mvn -pl client jetty:run

To deploy an adv. zone and test the server health:
$ mvn -Pdeveloper,marvin -Dmarvin.config=`find . -name simulator.cfg` -pl :cloud-marvin test

Conflicts:
	pom.xml

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-03-20 10:36:43 +05:30
Kelven Yang
4faad73d6c CLOUDSTACK-1729: a partical resolution for user authenticators to unblock developers who are currently working on, for non-oss version 2013-03-19 18:54:16 -07:00
Min Chen
6bc12fa66d CLOUDSTACK-1511 and CLOUDSTACK-1446 2013-03-20 00:45:47 +00:00
Wei Zhou
86a2a75046 CLOUDSTACK-1668: Fix IP conflict in VPC tier
Currently, allPossibleIps return the Ip lists which include the gateway,
so we need to remove gateway ip from this list.

Now, for non-VPC network it works, because NetUtils.getAllIpsFromCidr
return the Ip lists which do not include the first IP of the network
(like 192.168.0.1).
We need too add the first IP into the returned Ip list, because it can
be used for VM if it is not the gateway IP (for example, VPC networks).

The corresponding patch for 4.0.1 has been posted on
https://reviews.apache.org/r/9923/

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-03-20 00:31:52 +00:00
Kelven Yang
2bebb124cc CLOUDSTACK-1729: a partical resolution for user authenticators to unblock developers who are currently working on and relying on the fix 2013-03-19 15:47:22 -07:00
Edison Su
1ea5d6c169 CLOUDSTACK-1641: fix NPE during migrate volume 2013-03-19 15:34:31 -07:00
Edison Su
ba249c0e66 CLOUDSTACK-1608: enable attach a volume created on zone wide storage to a vm created on cluster or host wide storage 2013-03-19 14:45:17 -07:00
Edison Su
c60ef79321 CLOUDSTACK-1608: don't support attach volume between different storage scopes 2013-03-19 14:36:37 -07:00
Jessica Wang
b1a25cf917 CLOUDSTACK-1065: cloudstack UI - regions menu - implement create region action. 2013-03-19 13:15:04 -07:00
hongtu_zang
13691048fb fix bug vmware create volume from snapshot will missing data 2013-03-19 12:53:53 -04:00
Gavin Lee
ba69ce0c89 CLOUDSTACK-1599:Convert "Best Practices" section to XML and add to
Install Guide
2013-03-19 22:23:09 +08:00
radhikap
7acdb17228 IPv6 support doc 2013-03-19 19:41:21 +05:30