Commit Graph

34084 Commits

Author SHA1 Message Date
Jessica Wang 57b08cb76b CloudStack UI - Instance page - add "Security Group" tab. 2011-05-02 19:42:42 -07:00
alena 5d332f0f30 bug 9688: remove orphaned lb/vm mappings as a part of db upgrade (there was a bug in 2.1.x when the LB rule was removed, but mapping was left in the DB)
status 9688: resolved fixed

To verify that the rule was removed:
* make sure that there is no record with lb id in load_balancer table
* verify that lb.delete event was generated for this rule
2011-05-02 19:05:27 -07:00
Kelven Yang 824f0586f7 Add manager context to CleanupMaid to allow management service access in cleanup() method 2011-05-02 18:28:38 -07:00
Jessica Wang f57fc2beb7 CloudStack - Pod page - Network Device - implement Delete Network Device action. 2011-05-02 17:34:11 -07:00
Jessica Wang 07ed87b14f networkdevicetype parameter in listNetworkDevice API has been changed from required to optional. When networkdevicetype parameter is not specified, listNetworkDevice API returns network devices of all types. Thus, UI only needs to make 1 API call to get all network devices now. 2011-05-02 17:27:13 -07:00
prachi e365b0ac48 Bug 9505 - No indexes on op_dc_link_local_ip_address_alloc
Adding index to op_dc_link_local_ip_address_alloc.
Also added upgrade for 224 to 225
2011-05-02 17:11:34 -07:00
Jessica Wang 479c6ea313 bug 6873: Zone/Pod/Cluster page - add State grid row in details tab. 2011-05-02 17:04:22 -07:00
Jessica Wang 747ab40f48 fix a bug - adding a cluster of type XenServer returned an error. 2011-05-02 16:54:53 -07:00
alena 0d95cc8130 bug 9683: DB upgrade - generate usage_event for source nat ip addresses
status 9683: resolved fixed
2011-05-02 16:43:51 -07:00
alena 941392a470 bug 9675: Usage DB upgrade - set missing fields for snapshot.create/snapshot.delete events
status 9675: resolved fixed
2011-05-02 16:43:43 -07:00
alena 6253253388 bug 9674: Usage db upgrade - set resource_name for volume.create/volume.delete usage events
status 9674: resolved fixed
2011-05-02 16:43:35 -07:00
alena b5e0affee4 bug 9672: usage db upgrade - set resource_id for NET.IPASSIGN/RELEASE events
status 9672: resolved fixed
2011-05-02 16:43:26 -07:00
Jessica Wang 2f3bb28ca7 ListNetworkDeviceCmd - response object name has been changed. Here is related UI change. 2011-05-02 16:20:32 -07:00
Jessica Wang b8468eab08 CloudStack - pod page - network device tab - populate network devices to grid when this tab is clicked. 2011-05-02 16:07:18 -07:00
Jessica Wang 6fe9025c89 cloudStack - network device UI - chagne TFT Directory to TFTP Directory. 2011-05-02 15:30:34 -07:00
Jessica Wang 795688d99c CloudStack - pod page - Add Network Device - implement for type PxeServer. 2011-05-02 15:25:40 -07:00
prachi 1d4a59ce73 Bug 9666 - hostId and spoolId overlap in op_host_capacity table
Changes:
- When a host connects, we check if it has a CPU and RAM entry in capacity table. If the entry is found, the values are updated if possible. If the entry is not found a new one is inserted.
- The searchCriteria used to check if CPU entry is present was wrong. We were passing in a criteria which did not specify capacityType. So for hostId >= 200, the serach would return capacity entries of storage pools also since poolIDs start from 200 onwards.
- Since an entry was found (although the wrong one), we tried to update it. But update does not happen since the capacity ranges dont match.
And a new insert for CPU also does not happen since an entry is found.
- So as a result CPU entries are never inserted in the table for hostIds >=200

- As a fix, corrected the search criteria.
- During VM deployment, when the entry is not found, we get a NPE. Added a null check to avoid that.
2011-05-02 15:17:30 -07:00
Jessica Wang c6965f06cc CloudStack - pod page - Add Network Device - after addNetworkDevice API returns succeeds, show newly added network device in grid. 2011-05-02 14:56:36 -07:00
Alex Huang c6c3748b0a Propagate fixes to master 2011-05-02 14:48:26 -07:00
Alex Huang 8c8354a00e bug 8745: we decided on not implementing revert on the agent because it really requires business logic above. Stop if the checkSsh doesn't work 2011-05-02 14:47:49 -07:00
Jessica Wang 30463230b8 CloudStack - Pod page - addNetworkDevice API has been renamed. Here is related UI change. 2011-05-02 14:19:44 -07:00
alena e17d00a583 bug 9682: DB upgrade - create vm.destroy event in usage_events table
status 9682: resolved fixed
2011-05-02 13:50:26 -07:00
Edison Su 1139868af9 fix vm data permission issue, by ssh to domr, chmod to 644 2011-05-02 11:01:19 -04:00
Murali Reddy 4fbcb02573 Bug 9534 : implement CPU cap
Changes specific for Xen hypervisor, and DB upgrade. Changes for vmware chcked-in already in commit 1c310a0d2ae81108386f0dd5c2e899ff00fee9e9, e71112e2f587f5d6c9c6d5337cfeb1f239f29633. KVM will not support this feature.
2011-05-02 13:06:02 +05:30
Murali Reddy aae67e5d8d bug 9322: snapshot count has exceeded the keep limit set
fix to change hourly snapshots to be treated as recurring snapshot
2011-05-02 12:55:40 +05:30
Murali Reddy d95d831faa bug 9595 : Negative resource counts exception when destroying VM account
pushing 2.2.4 changes
2011-05-02 12:53:51 +05:30
alena 5469fc4c01 bug 9658: added missing indexes to 2.1.x-2.2.x upgrade files
status 9658: resolved fixed
2011-05-01 12:54:23 -07:00
alena fe2f186b00 bug 9654: db upgrade - set is_security_group_enabled to true for Direct Guest network in Basic zone
status 9654: resolved fixed

Conflicts:

	setup/db/db/schema-222to224.sql
2011-05-01 12:54:10 -07:00
anthony 93eb893c22 misuse instanceName and name, which causes vm sync behavior weirdly 2011-04-29 19:01:46 -07:00
Frank d23658022b Template Adapter:
Return correct adapter by hypervisor type
2011-04-29 18:21:37 -07:00
Alex Huang 2daa318009 Removed a potentially dangerous 2011-04-29 17:56:17 -07:00
Alex Huang 6ce656220f bug 9643: propagate fix from 2.2.4 2011-04-29 17:51:42 -07:00
Alex Huang 44263a161c bug 9649: fixed up the instance names to be the same 2011-04-29 17:41:21 -07:00
alena b7e4ec1749 bug 9564: 1) For all list commands set pageSize() to default.page.size if not specified 2) When pageSize is specified in the request, and it's more than default.page.size - throw an exception
status 9564: resolved fixed
2011-04-29 16:57:38 -07:00
Jessica Wang 666055239a CloudStack - Add Primary Storage dialog - when protocol is PreSetup, Server field will be set to "127.0.0.1" and non-editable. 2011-04-29 16:17:54 -07:00
prachi b2b01bfcd2 Bug 8830 - Return parent template ID from templates created off of a snapshot
Changes:
- Added a new column `source_template_id` to vm_template table to carry the parent/source template ID from which the tempalte was created
- Added the column in db upgrade 224 to 225
- Changed code to save the source_template_id if there is one associated to the volume/ volume from which the snapshot was taken
- API response returns the sourcetemplateid field, if set, in all template usecases.
2011-04-29 15:40:59 -07:00
Kelven Yang b6364627a3 Decode the url content sent from UI first as URL has encoded url as a whole 2011-04-29 14:17:43 -07:00
anthony d2e68c2dab bug 9525: empty known_hosts at reconnect
status 9525: resolved fixed
2011-04-29 14:13:25 -07:00
anthony 7c105681b2 cluster guid is set up when old host reconnect happens after upgrade, prohibit adding host to the cluster before guid is etup 2011-04-29 14:13:25 -07:00
anthony bb13fa07f7 bug 9617: fixed snapshot upgrade from 223 to 224
status 9617: resolved fixed
2011-04-29 14:13:25 -07:00
anthony 2ebc943712 bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
status 9618: resolved fixed
2011-04-29 14:13:25 -07:00
anthony bbc470ed4f bug 9619: handle two types of domr name
status 9619: resolved fixed
2011-04-29 14:13:25 -07:00
alena 671ec62358 bug 9623: set ha_enable to false for consoleProxy vms and service_offering.
status 9623: resolved fixed

Also set ram_size to 1024 for console proxy offering during the upgrade

Conflicts:

	core/src/com/cloud/vm/SecondaryStorageVmVO.java
	server/src/com/cloud/agent/manager/allocator/impl/UserConcentratedAllocator.java
	server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
	server/src/com/cloud/storage/allocator/LocalStoragePoolAllocator.java
	server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
2011-04-29 11:53:07 -07:00
Jessica Wang 9621adad9d CloudStack - Pod page - Add Network Device dialog - hide success/fail message container when Add button is hit. Show it after action completes (succeed or fail). 2011-04-29 11:25:16 -07:00
Jessica Wang ecc56d535d Add Network Device - correct typo of parameter name. 2011-04-29 10:28:57 -07:00
alena b9a2b72047 Fixed a bug in XmlApiDocReader 2011-04-29 10:19:06 -07:00
Alex Huang 99bc15f64a changed getName to getHostname 2011-04-29 08:34:10 -07:00
nit f5cc308e77 bug 7140: Add MAC address in response list of LlistVirtualMachines API.
status 7140: resolved fixed
2011-04-29 18:41:46 +05:30
prachi 25fd7cd999 Merging changes from zonesfeature branch: Adding dhcp_provider parameter to UpdateZoneCmd 2011-04-28 23:28:14 -07:00
prachi 86b386e8c0 Merging changes from zonesfeature branch for Bug 8026 - discern proper cluster/pod/zone for added host (and refactor AgentManagerImpl)
- CreateZone API creates a zoneToken, inserts in DB and returns it in the
response

- UpdateZone API takes in 'details' map that is loaded to data_center_details
2011-04-28 23:08:58 -07:00