Commit Graph

606 Commits

Author SHA1 Message Date
alena cf6406695b bug 10080: update nic profile with DNS info for the nics with reservation_strategy=Create
status 10080: resolved fixed
2011-06-01 17:03:59 -07:00
alena afc9982f5f Don't allow to specify security groups when deployVm in Vmware setup.
Also fixed a couple of other problems:
* verify security group ids before vm creation
* don't create "default" security group (if missing) as a part of deployVm process when vm is deployed from vmWare template

Conflicts:

	server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-05-20 18:57:06 -07:00
alena 550a4cda66 bug 9873: always add default security group to the SG list when deploy vm in 1) Basic zone 2) Advance zone using SG enabled network
status 9873: resolved fixed

Following fixes were made as a part of the checkin:

* When deploy user vm and default SG doesn't exist in the DB, create it automatically.
* SecurityGroup enabled use vm start: if map to default group is not present in security_group_vm_map table, create one.
* Added "name" (securityGroupName) parameter back to deleteSecurityGroup/authorizeSecurityGroupIngress/deployVm. Mutually exclusive with security group id parameter.
2011-05-17 14:23:18 -07:00
alena 6bad58aa3e bug 9879: throw insufficient address capacity exception with pod information in it when fail to allocate public ip address in specific pod
status 9879: resolved fixed
2011-05-16 15:01:47 -07:00
keshav 1b2aa8cec9 Added a method to look up public IPs that are used for static NAT rules. 2011-05-10 15:47:46 -07:00
Alex Huang 5bc92ecf4f bug 9811: Brought over Prachi's fixes for the investigator and changed them to handle multiple nics 2011-05-10 05:32:11 -07:00
alena 3e529a3598 bug 9788: fixed listNetworks api command - search by id was broken for non-system networks
status 9788: resolved fixed
2011-05-09 11:01:02 -07:00
alena eff2f4254e bug 9761: fixed account permission checks in listSecurityGroup api command
status 9761: resolved fixed
2011-05-06 11:09:44 -07:00
alena 66d6e1259a bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
status 9740: resolved fixed
2011-05-05 09:28:15 -07:00
alena 8f198b69f8 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
2011-05-03 17:33:47 -07:00
Alex Huang 5acf721c80 bug 9615: Part of the HA cleanup 2011-05-03 16:34:24 -07:00
kishan 8c87c48486 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:37:07 +05:30
alena 99badfd54c Fixed NPE in listNetworks 2011-05-03 10:21:44 -07:00
alena e3ed681be6 listNetworks: allow seeing Guest system network in Basic zone 2011-05-03 10:21:44 -07:00
alena 3e6cabc31b Fixed the bug in listNetworks when isSystem parameter was ignored if it was specified along with account/domainId parameter 2011-05-03 10:21:44 -07:00
kishan 3daa9b0137 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:03:29 +05:30
Alex Huang 204370fa8b bug 9643: connect pool is only for shared access 2011-04-29 11:05:56 -07:00
alena a4645ac925 bug 9621: dbUpgrade - set reservation strategy to be Create for Guest Nics in Basic zone
status 9621: resolved fixed
2011-04-27 22:45:29 -07:00
alena 1bd0496bd0 Apply nic profile to nic: don't set reservationStrategy for DB object when it's value is NULL 2011-04-26 17:49:05 -07:00
alena bb0c0234bc bug 9578: when deploy dhcp in Basic zone, put pod information to deploymentPlan
status 9578: resolved fixed
2011-04-26 14:41:21 -07:00
alena 8b0b503861 bug 9556: set ip_type=ip4 for guestVm nics in Basic zone setup
status 9556: resolved fixed
2011-04-23 19:56:08 -07:00
alena a99f925de1 bug 9383: createStaticNat rule - allow opening the same port for tcp/udp traffic
status 9383: resolved fixed
2011-04-18 18:18:44 -07:00
alena c2455017e0 Fixed logging for remote access vpn code 2011-04-15 09:58:48 -07:00
alena 78aad72ffb bug 9407: lock network when do deployDomR/deployDhcp to avoid 2 network elements start for the same network
status 9407: resolved fixed
2011-04-14 13:19:04 -07:00
alena 5de4f05a1c bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
status 9391: resolved fixed
2011-04-11 17:33:38 -07:00
Kelven Yang 623792dfaf bug 9328: always add explict route to domR 2011-04-05 17:29:52 -07:00
alena 49cbcac29f bug 8959: fixed mac address generation for public ip addresses 2011-04-04 18:31:19 -07:00
alena 534623706d bug 9305: set Mode field for domR/CPVM/SSVM nics
status 9305: resolved fixed
2011-04-04 18:31:07 -07:00
alena f2921b7f15 bug 9272: fixed the race condition bug when we tried to remove vm from SG after it was expunged (expunge interval was really small, 60 sec).
status 9272: resolved fixed

When do search for vm, do includingRemoved search.
2011-04-04 15:43:04 -07:00
alena 6d7f3da46a For VirtualRouter apply networkThrottling rate of the GuestNetworkOffering to both Guest and Public networks. 2011-03-30 14:53:04 -07:00
alena 65a083b1db bug 8831: no need for "isdedicatedtodomain" and "dedicateddomainid" parameters. If 1) network is private, return account/domainId 2)If network is shared for specific domain, return domainId only 3) If network is shared in zone, don't return account/domainId
status 8831: resolved fixed
2011-03-28 16:54:09 -07:00
alena 5dec433529 bug 9188: remove all lb-vm DB mapping that are set with Revoke status after the LB rule is set on the backend
status 9188: resolved fixed
2011-03-28 15:48:11 -07:00
alena 5d195b35c2 bug 9186: removeFromLoadBalancer - set firewall rule state to Add when the last Vm-LB mapping is removed
status 9186: resolved fixed
2011-03-28 13:20:05 -07:00
alena 1932652125 bug 5912: Added events and logging for securityGroup create/delete
status 5912: resolved fixed
2011-03-25 15:23:18 -07:00
alena 237c57e74f bug 9146: createNetwork via 8096 - assume that network is domain specific when domainId is not null and isShared = true.
status 9146: resolved fixed
2011-03-24 16:04:12 -07:00
alena a2619b902f AssociateIPAddress - first IP associated with the network should always be a source nat 2011-03-24 14:25:20 -07:00
alena dee2e59fb3 bug 8798: delete zone is fixed
status 8798: resolved fixed
2011-03-24 13:32:31 -07:00
alena cced97c5fb ipAssoc - verify that ip owner is the same as the owner of the network we are assigning ip to 2011-03-24 13:32:31 -07:00
prachi 50244b79ab Zone check in createNetwork for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts) 2011-03-23 22:20:53 -07:00
prachi 923f562aa8 Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List  commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
alena 404b288af4 Throw an exception when can't find network offering during zone creation 2011-03-22 14:06:14 -07:00
alena 718386a2b6 bug 8862: added updateNetwork api command. Can update name/displayText only 2011-03-22 11:26:56 -07:00
alena e9a10c53dc bug 8831: added 2 new parameters to create/listNetworks api: "isdedicatedtodomain" and "dedicateddomainid" 2011-03-22 10:17:08 -07:00
alena 7c1a6e4884 bug 8831: API/Management server part is done for "Dedicate Network to domain". UI part is left 2011-03-21 18:17:59 -07:00
anthony d0320896f3 fixed set_dhcp_entry issue, don't need to lock an router entry, start function will handle concurrent starting domr 2011-03-21 15:19:09 -07:00
alena abb2e2b2ff bug 8831: partial checkin for Domain specific Networks (includes DB changes) 2011-03-21 15:05:07 -07:00
anthony 8e741fb80d bug 9024:
two issues here:
1. in some case, two sequent commands are sent out at the same time.
2. before starting a user VM , make sure domr is up

status 9024: resolved fixed
2011-03-17 17:30:19 -07:00
alena 95faeb620e bug 8863: generate usage event when PF/LB/StaticNat rule is set with Revoke status, not when it's actually removed on the backend.
status 8863: resolved fixed
2011-03-16 09:41:50 -07:00
alena 82f25426e7 domR start: program vm metadata even when userData is NULL 2011-03-15 17:29:23 -07:00
alena d2f92f1c76 bug 8973: Create Virtual Guest network as a part of deployVm if corresponding networkOffering has availability=Required and no networkIds are specified
status 8973: resolved fixed
2011-03-15 15:06:52 -07:00