Commit Graph

777 Commits

Author SHA1 Message Date
alena c8cf17f6da Revert "fix NPE when listvolume if vm got destroyed"
This reverts commit 9bdaa9d967a6390cc1655ce7344d5af474890e4c.
2011-08-15 10:18:44 -07:00
Edison Su ec978f0716 fix NPE when listvolume if vm got destroyed 2011-08-15 10:18:10 -07:00
alena 25ddb22724 Revert "fix NPE when listvolume if vm got destroyed"
This reverts commit b6518399987a17c791f22b991dcea36d57866269.
2011-08-12 17:30:13 -07:00
Edison Su 2548269238 fix NPE when listvolume if vm got destroyed 2011-08-12 14:40:46 -07:00
alena 06d007337a bug 10561: intermidiate checkin for FirewallRuleFeature
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
alena 797263265e bug 10994: Fixed NPE in destroySystemVm api
status 10994: resolved fixed
2011-08-05 12:45:57 -07:00
alena 8d47c53735 Revert "bug 10435: removed vpn feature"
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	scripts/vm/hypervisor/xenserver/vmops
	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
frank b0b3f16dae Two things:
Load non-routing resource in ClusteredAgentManager includes External DHCP, PxeServer, ExternalFirewall, ExternalLoadBalancer

Bug 9887 - baremetal: support for image operation (create template from guest disk) (edit)

changes in line with UI
2011-07-29 11:28:09 -07:00
Nitin 65b0af0a9d bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type. 2011-07-22 19:30:14 +05:30
anthony 3881e13387 bug 10197:
The step to upgrade xenserver,

1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts

TODO,

1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:26:25 -07:00
Abhinandan Prateek 24510cd5fb bug 10731: adding optional paramter for cidr 2011-07-19 12:10:48 +05:30
Sheng Yang 44d4113ae6 bug 10429: backport redundant router
Part 2

commit 797839360c65cd348d2eb20630521177ab0919de
    bug 9154: redundant virtual router

commit 8ff7f230204d4d3a7a4adee75523a9a84f4276fe
    bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB

commit 230b99e9e0b152648f1dd2a5eab6f22315b8e7b4
    bug 9154: Add redundant state to DomainRouterResponse

commit ccefb5ff5e83d713798a347c99bce1a0d04b4317
    bug 9154: Add router fault state report

commit 7a3090378f9785caecf741b70554f6ea17c41764
    bug 9154: Send alert if found two virtual routers in master state

commit 66831056e4bf27665871bccd24e6159071564847
    bug 9154: Code clean up

commit bf3f58a85741fa7118bd848a42d8b21baa4478d4
    bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-07-18 18:30:02 -07:00
alena 0d84cde633 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-15 14:40:39 -07:00
anthony 093af8afdf bug 10639: if register iso for all zones, zoneId is -1,
fixed

status 10639: resolved fixed
2011-07-07 21:01:15 -07:00
alena 4727b1229e bug 10603: fixed NPE in listTemplates
status 10603: resolved fixed
2011-07-06 14:21:38 -07:00
frank 3c4671aac5 Bug 10560 - Baremetal template created 5 entries when added (edit)
resolved fixed
2011-07-05 17:22:46 -07:00
frank 4a8812af68 Bug 10559 - Couldn't add baremetal template/image throught the ui, zone id passed in was negative
resolved fixed
2011-07-05 16:41:51 -07:00
anthony 2bd3f6c74e handle register template/iso to all zones 2011-07-01 17:06:43 -07:00
anthony 9f8d515b2e bug 5873: Checking if scmbug works
status 5873: resolved fixed
2011-06-30 14:04:16 -07:00
Abhinandan Prateek 6cfc59b454 bug 10489: addign object type to response 2011-06-30 13:31:55 +05:30
Abhinandan Prateek c30225c2af bug 10489: self review updates 2011-06-30 11:07:37 +05:30
Abhinandan Prateek 6ba0b35295 bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5 2011-06-30 11:05:18 +05:30
anthony 446d08187b fixed several template issues
merge createtemplateresponse and createteisoresponse

on UI template
only show template corresponding hypervisor exists
2011-06-29 15:56:01 -07:00
anthony f85fb432ba fixed a template creation bug 2011-06-28 17:55:21 -07:00
anthony 461d256f74 bug 10410: show template per zone
status 10410: resolved fixed
2011-06-27 17:15:27 -07:00
alena 74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
root 8cdba6a7f5 Merge branch '2.2.8' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.8 2011-06-23 09:58:07 +05:30
alena d08abadc19 Keep "encode.api.response" parameter in ApiServer class; initialize it as a part of init() method 2011-06-21 11:07:31 -07:00
Abhinandan Prateek 098f68d18e bug 10340: added cidrs in response
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:57:36 +05:30
alena 2f5e51a382 bug 10193: modified description field for login api call in API docs
status 10193: resolved fixed
2011-06-20 16:23:04 -07:00
Abhinandan Prateek 976aab77bb bug 10305: for a systemvm only applicable system vm offering should be displayed
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:01:40 +05:30
Abhinandan Prateek cf15573d06 bug 10313: marking default system offering as default so that they should not be deleted
status 10313: resolved fixed
2011-06-19 12:30:07 +05:30
alena f0e7d5e7ce Use different method for getting component locator in EncodedStringTypeAdapter 2011-06-16 17:24:35 -07:00
alena c0bca3c24d bug 10088: Fixed apiXmlDoc generator to generate correct set of domain admin commands - got broken by checkin fff4112c0b2407e754318ea31f2f1bb7e92b8f12 "Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN"
status 10088: resolved fixed
2011-06-16 12:17:51 -07:00
Murali Reddy aa4f654929 bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-16 18:59:38 +05:30
alena ad9302dac6 ApiResponseSerializer - no need to use reflection to get the field value 2011-06-15 17:40:02 -07:00
Alex Huang 246c01b1ab bug 9651: added tags to network response for ui 2011-06-14 11:11:24 -07:00
alena 107910ae09 bug 10232: Introduced new gson builder - used for api reponse only
It fixed the problem when the queryAsyncJobResult response was encoded twice.

UI still has some problems - no decoding is done on "Instances" tab
2011-06-13 13:17:43 -07:00
alena cd7c74538b bug 9697: encode api response values
status 9697: resolved fixed

Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 17:45:15 -07:00
alena b888db2ac6 Revert "Temp fix to encode username, account name, and email before they are returned from the API"
This reverts commit e07221761a57b2c3df715bd939734f6661ebd976.
2011-06-10 17:45:15 -07:00
Edison Su 22d60ba621 bug 10195: if host is in Alert state, listvmcmd will mark the state of all the vms on the host as "Unknown"
status 10195: resolved, fixed
2011-06-10 14:15:50 -04:00
alena b9325a28dd bug 9579: allow domain name suffix update for existing networks.
Block update only in these cases:

* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)
2011-06-09 16:10:24 -07:00
Edison Su 36fa0fbf52 bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
status 10177: resolved, fixed
2011-06-08 11:14:59 -04:00
Alex Huang d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
will f9867a6475 Temp fix to encode username, account name, and email before they are returned from the API 2011-06-03 17:08:10 -07:00
nit c0ce175227 bug 8184 : listSystemVms - return gateway which is equal to the Gateway of Nic belonging to Network with trafficType=Public for Advanced zone, and trafficType=Guest in Basic zone.
status 8184: resolved fixed
2011-06-02 18:04:58 +05:30
Edison Su f7414b83aa fix listtempalte and listiso, if there are multiple secondary storage 2011-06-01 16:01:51 -04:00
Jessica Wang 8c4e831cfb bug 7553: cloudStack - server-side - make listRouters API return “serviceofferingname” and “serviceofferingid”. 2011-05-31 17:40:30 -07:00
Edison Su 59a6e2157a fix user data, and template sync 2011-05-27 19:44:26 -04:00
nit 714ab83fa1 bug 9596 : Make the iso extractable by default.
status 9596: resolved fixed
2011-05-27 16:19:26 +05:30