Commit Graph

3609 Commits

Author SHA1 Message Date
Ragnar B. Johannsson ee923e5797 Added HTTP Header 'X-Description' to API error responses.
For easy access to API error descriptions in the CloudBridge.
2011-01-11 18:27:03 +00:00
Ragnar B. Johannsson a013640180 Bugfix: Do not URL-decode API parameters twice.
There's no need to call ApiServer's handleRequest with decode=true
since Tomcat has already url-decoded the parameters. URL-decoding
twice breaks all Base64 encoded data such as userData in deployVM,
since %2b decodes to ' ', not '+' as it should.
2011-01-06 14:25:59 +00:00
Ragnar B. Johannsson 32c68e1583 API cmds for SSH-keys manipulation and VM passwds retrieval.
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
Jessica Wang 49e2e6776e bug 7713: Add Zone Wizard - Add IP Range to advanced zone - fix a bug that domain field and account field is not hidden when scope is account-specific and VLAN is changed from tagged to untagged. 2011-01-05 19:30:36 -08:00
anthony ad305ff6ac reuse session passed to plugin 2011-01-05 19:30:25 -08:00
Jessica Wang 0ecff8b5a2 bug 7713: Add Zone Wizard - Add IP Range to public network for advanced zone - when failed, show error message "Failed to create public IP range" on result screen. 2011-01-05 19:18:32 -08:00
anthony 791e14bb5f add more output for cloud-setup-bonding.sh 2011-01-05 19:12:39 -08:00
Jessica Wang 94b07a55d4 bug 7713: Add Zone Wizard - Add IP Range to public network for advanced zone - fix a bug that domain dropdown was not populated. 2011-01-05 19:03:55 -08:00
anthony b4dad6e9cc make the output more readable 2011-01-05 19:02:49 -08:00
will f038431ce1 Listing network offerings by guest traffic type now. 2011-01-05 18:27:14 -08:00
Kelven Yang a0d821ca79 VMware local storage support 2011-01-05 06:14:43 -08:00
will 033d2d993d bug 5482: if there are no json object returned, just continue instead of erroring out on the javascript. 2011-01-05 18:16:16 -08:00
will 68d5c0919a bug 5482: Fixed malformed JSON when an error is returned by the API call. Also fixed the UI to make use of the new JSON object. 2011-01-05 18:06:59 -08:00
Jessica Wang 3992d122ff Primary Storage page - fix a bug that clicking next middle menu item didn't clear previously selected middle menu item. 2011-01-05 18:03:04 -08:00
abhishek 20ec0beae5 bug 7829: fixed the keyword search for storage pools
status 7829: resolved fixed
2011-01-05 17:34:03 -08:00
Jessica Wang e4674ac127 bug 7713: Add Zone Wizard - add one more step (step 4: Add an IP range to public network in zone) for advanced zone. 2011-01-05 17:21:26 -08:00
Kelven Yang 8a263f34ba Fix jUnit reference issue in test project for Eclipse 2011-01-05 03:58:47 -08:00
Kelven Yang ea88089fd2 Bug 7409: Implement forcely-cancelling mechenism for jobs that have been staying in queue for too long
1) introduced a global configuration variable job.cancel.threshold.minutes
2) Default value for the job.cancel.threshold.minutes is 60 minutes, if a job has been staying in processing state for over 60 minutes, system will forcely remove it from the queue to allow others to run
2011-01-05 15:44:10 -08:00
abhishek 6cade1aa1d adding missing code for programming default network rules for user vm on each of its nics, for the direct networking case 2011-01-05 15:22:12 -08:00
NIKITA 7c05b39a51 Step 4 added for Add zone 2011-01-05 15:11:08 -08:00
prachi b46a53579f DB schema changes that will be needed for the host tags feature. This commit does not include any code changes for the feature. 2011-01-05 14:03:44 -08:00
abhishek 1d25a33be1 bug 5915: removing the check to see if there are other hosts in maintenance, whilst enabling host maintenance
status 5915: resolved fixed
2011-01-05 13:47:39 -08:00
abhishek f3e91de0bd bug 7824: implementing search for pools by id
status 7824: resolved fixed
2011-01-05 12:00:20 -08:00
Kelven Yang cb7b6867c6 Bug 7370: Give domain admin permission to view user VM under its domain scope 2011-01-04 23:42:49 -08:00
NIKITA 6cbf70983b Minor padding issue in Advance Search box 2011-01-05 10:55:07 -08:00
Jessica Wang b6c65e5bf2 bug 7854: VM Wizard - list all disk offerings (without specifying domainId). 2011-01-05 10:43:37 -08:00
Kelven Yang 496bbeba88 Bug 7860: protected from NPE whhile console proxy public address is not set during startup process 2011-01-04 22:31:44 -08:00
Jessica Wang e488c53c0d Network Group API has been renamed as Security Group API. Here is related change for old UI. 2011-01-05 10:14:48 -08:00
Kelven Yang 4be13ee8a4 Add sanity check to allow only adding the right hypervisor hosts to the matched cluster 2011-01-04 22:10:55 -08:00
Jessica Wang 8ec1a329bf bug 7841: Network page - public network - IP Allocation tab - add gateway, netmask row. 2011-01-04 18:55:41 -08:00
alena c74fd529be bug 7611: get directPodBased default network when deploy vm with no networkId specified
status 7611: resolved fixed
2011-01-04 18:43:03 -08:00
frank 6cc00a2f8a fix Bug 6715
clean up cache in /var/cache/cloud/
2011-01-04 18:07:01 -08:00
anthony 67928262f0 add Utuntu 10.24 for xenServer 2011-01-04 17:56:39 -08:00
anthony 1352e5b8a6 use new VM state 2011-01-04 17:51:57 -08:00
Jessica Wang 7a6bf6036b bug 7267: Zone page - hide Guest CIDR for basic-mode. And of course, Guest CIDR is not allowed to edit for basic zone. 2011-01-04 17:51:43 -08:00
will a92dd2a81e bug 7611: VM wizard will no longer pass in any network ids if the zone only support basic network type 2011-01-04 17:46:34 -08:00
anthony 57ee66a22d XenServer can tell if the VM is shutdowned from inside,
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
abhishek 3aa1726009 bug 7822: fixing the storage maintenance failures centered around domr stop/start
status 7822: resolved fixed
2011-01-04 17:37:50 -08:00
alena edfbc5a782 bug 7267: create/updateZone - guestNetworkCidr parameter is accepted only for zone of type Adanced.
status 7267: resolved fixed

As a part of the fix added cidr format validation to updateZone command.
2011-01-04 16:59:39 -08:00
Jessica Wang ef66993779 Pod page - cluster dropdown field - no need to specify 1st entry selected. 1st entry is always selected if no entry is set to be selected. 2011-01-04 16:48:37 -08:00
Jessica Wang 46a7741763 Cluser page, Host page - add host dialog - correct element ID of cluster dropdown error message area. 2011-01-04 16:38:11 -08:00
Kelven Yang 6ebdafd4c3 Add vmware cluster will automatically bring in all hosts under the cluster 2011-01-04 04:12:47 -08:00
Jessica Wang 215d894414 Pod page - add host dialog, add primary storage dialog - validate cluster dropdown (cluster value is required). 2011-01-04 16:09:16 -08:00
Jessica Wang 143b344b44 zone page - add host dialog, add primary storage dialog - validate cluster dropdown (cluster value is required). 2011-01-04 15:55:48 -08:00
abhishek 58f2f37fc9 adding more range checks in the createZone functionality 2011-01-04 15:22:34 -08:00
abhishek e28ed752fc bug 7835: fixing the vnet range issues for add zone and edit zone
status 7835: resolved fixed
2011-01-04 15:14:55 -08:00
alena 5743db87e1 bug 5482: build Error api response based on responseType(xml, json) specified in the request instead of using default HttpServlet error response format
status 5482: resolved fixed
2011-01-04 15:08:12 -08:00
NIKITA 20f750f31a Error select for the lightbox 2011-01-04 15:06:29 -08:00
Alex Huang 61dd3b3bf9 bug 7865: Changed ip allocation for guest network to happen during allocation and not reserve time so ip address won't keep changing 2011-01-04 15:01:34 -08:00
Alex Huang 4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00