5728 Commits

Author SHA1 Message Date
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
alena
11ef6bbbe2 bug 9638: fixed bunch of DB upgrade bugs
status 9638: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	utils/src/com/cloud/utils/net/NetUtils.java
2011-04-28 18:30:40 -07:00
alena
c6d5682579 Modify keys for security groups in java code instead of sql file (need to check if the key exists before dropping it)
Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-04-28 18:23:38 -07:00
will
4a96e4cb0f bug 8816: Changed private ip address to link local address when displaying virtual routers. 2011-04-28 18:15:53 -07:00
Kelven Yang
9b86ef7942 bug 9022: turn off HA for SSVM and Console Proxy VM 2011-04-28 18:03:11 -07:00
Sheng Yang
cf114fc7af Enable SSL for mgmt servers and agents
The port remains 8250.

The keystore saved at /etc/cloud/management/cloud.keystore. We also include one
fail-safe keystore/certificate for fallback if we are unable to generate
certificate and keystore. If we use fail-safe keystore, a warning and calltrace would be show.

Notice you need to upgrade agent, as well as systemVM's images.
2011-04-28 17:41:29 -07:00
Kelven Yang
025642801a Bug 9519: add index to avoid full table scan when usage server tries to copy event records over 2011-04-28 17:34:58 -07:00