4753 Commits

Author SHA1 Message Date
prachi
6a7fd4d96c Bug 13248 - NPE: DeployVMCmd fired during 2.2.x regression test on Acton build
Changes:
- After deployment of Router failed, we did not throw out the error inorder to retry the start using another hypervisorType.
- But there is no other hypervisor to try, causing the failed and expunged router to be passed on further leading to an NPE later
- So in case there are no more hypervisors to retry the router start, we should throw out the original error.
2012-01-23 17:58:25 -08:00
prachi
f80ed99879 Bug 13035 - cleanup required for virtual router deployment log entry
- adding in null check
2012-01-23 15:27:12 -08:00
prachi
4329004cd3 Bug 13035 - cleanup required for virtual router deployment log entry
- logging only the datacenter since rest of the information in deploymest destiination is not applicable to the router being deployed
2012-01-23 15:27:11 -08:00
Alena Prokharchyk
c125496691 bug 13207: check providers/services combination before performing actual network offering upgrade
status 13207: resolved fixed
2012-01-23 14:52:07 -08:00
Alena Prokharchyk
665e8cb7c1 Allow LB rules creation for elasticIP 2012-01-23 11:41:00 -08:00
Alena Prokharchyk
a40b8b31d3 Remove elastic IP only when the last lb rule is being removed 2012-01-23 11:41:00 -08:00
Nitin Mehta
23cfbb6cab Bug 13059: Make zoneId in ListCapacity call optional. When no parameter is passed list capacity for all zones.
Reviewed-By: Kishan
2012-01-23 20:32:50 +05:30
prachi
03653b936e NAAS Changes: Before enabling a Zone, Check if the zone has:
- For Advance zone,  a physical Network with Public/Management trafficType
- For Basic zone,  a physical Network with Management trafficType
2012-01-20 17:21:53 -08:00
Edison Su
ecab972060 execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again 2012-01-20 17:04:27 -08:00
Alena Prokharchyk
79e9e292dd bug 12571: fixed error message in createSnapshotPolicy
status 12571: resolved fixed
2012-01-20 14:31:38 -08:00
Alena Prokharchyk
8bcf30da85 bug 12869: more changes to NAAS feature 2012-01-20 14:16:30 -08:00
Edison Su
bced9a6e48 advanced startup command 2012-01-20 11:54:32 -08:00
anthony
6297820981 bug 12830: propagate ISO to other zone on demand
status 12830: resolved fixed
2012-01-20 11:44:01 -08:00
Alena Prokharchyk
ba826ddc21 Fixed listing public IP addresses 2012-01-20 11:34:54 -08:00
Alena Prokharchyk
57ddf63676 Special permission check for networks 2012-01-20 11:01:38 -08:00
anthony
bf490210ed fixed a merge bug in checkin
cleanup snapshot in secondary storage in background
2012-01-19 20:52:18 -08:00
anthony
86aef08865 cleanup snapshot in secondary storage in background
Conflicts:

	core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java
	server/src/com/cloud/storage/StorageManager.java
	server/src/com/cloud/storage/StorageManagerImpl.java
2012-01-19 20:44:44 -08:00
prachi
be04ff861c Bug 13078 - Management Server does not respect selected OS Preference for any host within a single pod.
Changes:
- Once the HostAllocators have listed suitable hosts, planner should not reshuffle the list since that would lose the prioritization applied by the HostAllocators.
- E.g: HostAllocators chooses that host first which matches the guest OS category. If planner shuffles the list, that preferrence is lost.
2012-01-19 16:59:38 -08:00
frank
89b9c51d34 Bug 13189 - Exception logged while removing host
status 13189: resolved fixed
2012-01-19 16:50:36 -08:00
Sheng Yang
52ef2fca06 bug 12988: Fix typo
status 12988: resolved fixed
2012-01-20 08:03:49 +08:00
Alena Prokharchyk
03cce245cf Fail to create vm when corresponding elastic ip failed to apply on the backend 2012-01-19 14:13:49 -08:00
Murali reddy
d92c361efd bug 12826:enable NetScaler in basic zone for load balancing and static NAT
NetScaler element should not firewall service provider in basic zone
2012-01-19 14:05:12 -08:00
Murali reddy
40ac2f5cdf bug 12826: enable NetScaler in basic zone for load balancing and static NAT
status 12826: resolved fixed
2012-01-19 14:00:07 -08:00
Alena Prokharchyk
d4d345a587 Don't retry to re-create the vm when failed to allocate public ip 2012-01-19 14:00:07 -08:00
Alena Prokharchyk
a9e4af0866 Can't release/disable static nat for IP when the IP is elastic 2012-01-19 13:58:36 -08:00
Alena Prokharchyk
4f46c3b160 Mark ip as not elastic when disable static nat is called on it 2012-01-19 13:58:36 -08:00
Alena Prokharchyk
212c22b256 Added isElastic flag to ip address 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
1d0ffc4575 EnableStaticNat for newly allocated address - if eIp is enabled, and the target vm already assigned to the ip, reassign the vm to the new ip 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6325d21c50 Get new elasticIp when releaseIpAddress is called for elasticIP of the vm 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6deeb7ddc9 Firewall service is enabled in default elb/eip network offering
Also added more handling for error cases scenarios
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
0e8104cca1 Disassociate ip address - always allocate a new IP and enable static nat for it when elactic IP is enabled 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
359185f567 System is the owner of the first elastic ip address for the vm 2012-01-19 13:58:35 -08:00
Alena Prokharchyk
d5752eca61 Error deployVm when elasticIp/staticNat failed to assign to the vm 2012-01-19 13:58:34 -08:00
Alena Prokharchyk
0f6f231ee6 Elastic IP - when deployVm, get ip address and enable static nat on it. On vm destroy release the Ip 2012-01-19 13:58:34 -08:00
Alena Prokharchyk
630cbb2243 Added elb and eip capabilities to network offering response 2012-01-19 13:57:37 -08:00
Alena Prokharchyk
a8758d292e ElasticLB support in Basic zone.
When elb capability is enabled on the network offering, we:

1) on each createLB command:
* associate ip address to the LB rule owner
* create LB rule

2) on each deleteLb command:
* delete the rule
* disassociate ip address

The rule belongs to the owner, so proper usage events are generated
2012-01-19 13:57:37 -08:00
Alena Prokharchyk
9322482018 Netscaler can enable individual services (in some cases LB can be handled by Netscaler, and firewall by some other external provider) 2012-01-19 13:57:00 -08:00
Alena Prokharchyk
5adfc9953f Can enable/disable static nat and create IpForwarding/Firewall rules in Basic zone now.
Made Netscaler a StaticNat/Firewall provider. Murali will take care of actual implementation on the backend.
2012-01-19 13:56:59 -08:00
Alena Prokharchyk
ff1e8413f1 1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
frank
11b98e4389 validate conditions before adding/deleting storage network traffic type 2012-01-19 13:44:42 -08:00
Alena Prokharchyk
ad1076f21d bug 12983: resource limits for projects 2012-01-19 10:04:28 -08:00
prachi
aa3e8a05be Bug 12993 - NullPointer Exception thrown when listRouters() is called.
Changes:
- Adding null checks.
2012-01-18 17:21:30 -08:00
Alena Prokharchyk
c3e0f060ab bug 12986: return domain level networks when listAll is passed along with account/domainId
status 12986: resolved fixed
2012-01-18 14:45:19 -08:00
Alena Prokharchyk
d20e10edd3 bug 12919: pass all lb rules in transition (revoke/add) state to the backend when apply a single LB rule
status 12919: resolved fixed
2012-01-18 14:15:21 -08:00
prachi
1e675f45ba Bug 11593 - CIDR conflicts with zone when extending pod but not when creating it
Changes:
- Now we validate Pod's CIDR only against other Pod's CIDR. No need to validate against guest CIDR and
public vlan CIDR.
2012-01-18 11:33:49 -08:00
kishan
847b5bc983 Bug 12292: updated netapp_volume primary key for upgrades
Status 12292: resolved fixed
Reviewed-By: Nitin
2012-01-18 14:04:40 +05:30
Sheng Yang
ab667cbc16 bug 13041: Fix potential NPE
I haven't figure out why the code can NPE, and in my test the clean up of basic
zone is prevent from API as expected. Anyway, I add this check before cleanup to
ensure even API check failed, no NPE would be throwed.

status 13041: resolved fixed.
2012-01-17 21:34:26 -08:00
Alena Prokharchyk
56b3561033 bug 12856: network offerings with services w/o providers support
status 12856: resolved fixed
2012-01-17 16:17:09 -08:00
Kelven Yang
3612fc12c8 bug 11428: remove the constraint based on customer's feedback, we will allow creating volume from a snapshot that was originally taken from root volume. Customers should be aware that when the volume is attached as a data volume, some partitions that were originally created as a root volume may not be recognized by the guest OS 2012-01-17 16:10:20 -08:00
prachi
cf7469241f Bug 12822 - CreatePhysicalNetwork API shouldn't return success when zone is Enabled
Changes:
- Physical Network can be created pnly when the Zone is in disabled state
2012-01-17 14:56:22 -08:00