Commit Graph

2402 Commits

Author SHA1 Message Date
Kelven Yang 7c2bcefe71 bug 9371: serve client request only with running proxy VMs, serialize proxy VM launch 2011-05-05 14:59:20 -07:00
anthony 10c4c14ad5 swift integration checkin 2011-05-05 13:55:29 -07:00
alena 5bd9fc5f35 bug 9745: Fixed security issue in listAccounts api call
status 9745: resolved fixed
2011-05-05 11:20:27 -07:00
alena 275bab0d91 bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
status 9740: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-05-05 11:20:27 -07:00
alena d2e6e912c9 DB upgrade: Reverting partial commit 2011-05-05 11:20:27 -07:00
alena 41f04ffbc5 Removed unused logging 2011-05-05 11:20:27 -07:00
alena 8377580725 bug 9738: DB upgrade - fixed NPE happening during events migration
status 9738: resolved fixed
2011-05-05 11:20:27 -07:00
alena fbdb663970 Fixed bunch of DB upgrade bugs related with the fact that DB was manually upated in 2.1.x setup (some records were deleted from the DB) 2011-05-05 11:20:27 -07:00
alena b1c3c8c1d9 bug 9734: update op_ha_work table in mysql file instead of java code
status 9734: resolved fixed
2011-05-05 11:20:27 -07:00
Edison Su 592807c036 fix NPE 2011-05-05 11:19:59 -04:00
prachi b66b3f1c45 Bug 9584 - Delete pod - Failed - there are storage volumes for this pod
Changes:
- For 'volumes' and 'vm_instance' table, query needed to filter out the records with non-null 'removed' values
2011-05-05 11:05:48 -07:00
Edison Su fd08ebfb57 there are more than one secondary storage in one zone 2011-05-04 15:52:52 -04:00
Jessica Wang 48765a8ae9 bug 9534: CloudStack API - extend listServiceOfferings API to return limitCpuUse. 2011-05-04 15:27:07 -07:00
prachi 9aba817256 Bug 9652: Need to provide a way to specify deployment plan during VM start
Changes:
- Added a new parameter to pass in deployment plan during vm start
- If a hostId is passed in to the DeployVMCmd (only allowed for a root admin to test a host), a plan is passed in to start the vm in that host's datacenter, pod and cluster and on that host
- If a plan is passed in during start, but if the VM's root volume is READY, then plan of the root volume takes precedence. In that case the plan passed in is not used.
2011-05-04 15:02:52 -07:00
alena 040bdab1f1 bug 9734: remove records having non-existing hostId from op_ha_work table
status 9734: resolved fixed
2011-05-04 13:49:06 -07:00
alena b60abeccfb DB upgrade: respect domain hierarchy when update resource_count for domain during the upgrade 2011-05-04 13:49:06 -07:00
Murali Reddy d6b892e053 bug 9720: 2.1.x to 2.2.x upgrade: need to create Domain level records in resource_count table
pushing 2.2.4 changes
2011-05-04 19:54:01 +05:30
alena 2e0bba7926 bug 9722: db upgrade - when upgrade user_statistics, skip ExternalFirewall/ExternalLb records
status 9722: resolved fixed
2011-05-03 18:57:03 -07:00
alena 33b3cb2c1a bug 9693: generate usage event when release Direct ip address.
status 9693: resolved fixed

2 more fixes with this commit:

* bug 9692 is fixed - we don't increment resource count when Direct ip address is allocated.
* as a part of 2.2.2->2.2.4 upgrade resource_count for public_ip records is recalculated - count only Virtual Ip addresses

Conflicts:

	server/src/com/cloud/network/NetworkManager.java
2011-05-03 18:56:52 -07:00
Alex Huang fba1c95512 bug 9615: Part of the HA cleanup 2011-05-03 16:34:53 -07:00
kishan 77e48b8683 bug 9678: update user statistics in cloud_usage. Send network usage command to routers of virtual network only
status 9678: resolved fixed
2011-05-04 02:38:25 +05:30
Chiradeep Vittal 87867c8f39 for mycloud: if no system vm required do not start it 2011-05-03 11:40:44 -07:00
alena 9ef6f9ff54 bug 9663: do account permission check against the volume when create snapshot
status 9663: resolved fixed

Conflicts:

	api/src/com/cloud/storage/snapshot/SnapshotService.java
2011-05-03 11:38:01 -07:00
Chiradeep Vittal 948df86f5d accidental commit 2011-05-03 10:46:13 -07:00
Chiradeep Vittal 8609e72e89 Already merged into master 2011-05-03 10:41:32 -07:00
Chiradeep Vittal 35066e235c merge from zonesfeature -- float overprovisioning factor 2011-05-03 10:41:31 -07:00
Chiradeep Vittal 936893e70a zonesfeature merge: no idea where this system.out came from 2011-05-03 10:41:31 -07:00
Chiradeep Vittal 7a29f8dc48 more fixes prior to pushing the merge 2011-05-03 10:41:31 -07:00
Chiradeep Vittal a32c39cccd Merge from zonesfeature 2011-05-03 10:41:31 -07:00
Chiradeep Vittal b42ebf4872 Build fixes after first pass at merge 2011-05-03 10:41:31 -07:00
Chiradeep Vittal 303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
kishan 76a30cc76f bug 9686,9676,9677: Create usage events for existing resources for port forwarding, load balancer and network offering usage
status 9686,9676,9677: resolved fixed
2011-05-03 20:01:28 +05:30
Murali Reddy 8a90f3665f Bug 8391: remove guest.ip.network global config param
removing unused global config parameters  guest.ip.network and guest.netmask
status 8391: resolved fixed
2011-05-03 13:14:00 +05:30
nit 2f9efc6424 bug 9664: username parameter for API listuser should search for exact string
status 9664: resolved fixed
2011-05-03 12:33:56 +05:30
Abhinandan Prateek db916401a0 bug 6451: XenServer username/password should be changable through API
status 6451: resolved fixed
2011-05-03 09:45:49 +05:30
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 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
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
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
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
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
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