4718 Commits

Author SHA1 Message Date
prachi
eb43f780f7 Bug 13824 - VM deployment fails due to volume not being recreatable
Reviewed-By: Alex

Changes:
- Reuse the same storagepool where the Volume is ready on each retry of VM deployment until the cluster where the volume is has capacity
- After the cluster is out of capacity, we look in other clusters and find a new storagepool.
- At this point if the volume is recreatable on the new storagepool, depoyment will succeed provided everytyhing else goes through
- But if the volume is not recreatable and its cluster is out of capacity, we will still fail to deploy the VM
2012-02-16 17:04:25 -08:00
Edison Su
cdf10ccc2e bug 13771: Long.equals is not ==
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-16 17:02:55 -08:00
Alena Prokharchyk
ebe664cff2 bug 13041: in Basic zone just restart all exising domRs in the zone during the networkRestart, don't try to create a new one
status 13041: resolved fixed
reviewed-by: Sheng Yang
2012-02-16 14:58:16 -08:00
Alena Prokharchyk
13f4d92d2a bug 13813: fixed network offering search to use traffic type when locate physical network in the zone
status 13813: resolved fixed
Reviewed-by: Frank
2012-02-16 10:40:00 -08:00
Alena Prokharchyk
ee77167fae bug 13801: fixed broken check for extending vnet ranges during physical network update
status 13801: resolved fixed
Reviwed-by: Kelven Yang
2012-02-16 10:01:07 -08:00
Murali reddy
c544d85988 bug 13625: F5 - NullPointerException seen when trying to delete/restart a network that was failed to implement properly during implement network
Reviewed-By: Abhi
status 13625: resolved fixed

adding logic to gracefully exit shutdown operation, if earlier network failed to implement
2012-02-16 18:47:37 +05:30
Nitin Mehta
d5a7419b1f Bug 13692: Query was giving cluster id weven when it was pod level information.
Reviewed-By: Kishan
2012-02-16 14:47:15 +05:30
abhi
fac8091c9f bug 13673: stopping alien VMs during sync for Xenserver 2012-02-16 12:35:36 +05:30
Edison Su
20b9562432 bug 13781: reload host detail after host reconnect
status 13781: resolved fixed
Reviewed-by: frank
2012-02-15 18:54:50 -08:00
Alena Prokharchyk
2fb10fe9d7 bug 13700: delete projects as a part of domain cleanup
status 13700: resolved fixed
reviwed-by: Frank
2012-02-15 16:34:50 -08:00
Alena Prokharchyk
4d28fb16b9 bug 13742: check only for Pending invitations while inviting the same account to the project again
status 13742: resolved fixed
2012-02-15 11:02:33 -08:00
Murali reddy
4b728abedb bug 13722: When we try to create a network when there is no capacity in F5, we should not attempt to create the network
Reviewed-By:Jana
status 13722: resolved fixed

thorwing resource unavaiable exception when there is not enough capacity to implement network
2012-02-15 19:05:44 +05:30
Murali reddy
a338fe5003 bug 13664: F5 device can be added in "Dedicated" mode but Network offering allows for only "shared" LB isolation to be set.
Reviewed-By: nitin.mehta@citrix.com
status 13664: resolved fixed

added dedicated mode as capability to F5 load balancer element
2012-02-15 17:16:59 +05:30
abhi
eb105fb06b Bug 13471: disabling agent lb 2012-02-15 12:12:23 +05:30
Sheng Yang
3a37ab6772 bug 13715: Modify changeCidr parameter of updateNetwork API
We expect user to use following sequence when update virtual router provided
network offering to external firewall devices offering:
1. Shutdown all the user VMs.
2. Modify network to new offering.
3. Click "Allow CIDR change" in the pop-up dialog, which would pass
changeCidr=true to the updateNetwork API.

We would shutdown guest network before we update the network for new
offering(with changeCidr = true), in order to re-implement the network.

status 13715: resolved fixed

Reviewed-by: Alex
2012-02-14 19:34:23 -08:00
anthony
ae3c1966c1 bug 13712: do not download removed template
status 12712: resolved fixed

reviewed-by: edison
2012-02-14 18:32:28 -08:00
Alena Prokharchyk
d55850526c Don't change the domain state when the domain can't be removed (cleanup=false and there are resources referencing it)
Reviewed-by: Edison Su
2012-02-14 17:17:10 -08:00
frank
ede4c502f2 Bug 13662 - OVM host remain in Alert state, Unable to create deployment for OVM instance
Bug 13641 - OVM add host to OVM cluster results in host remaining in state: Alert
Bug 13652 - OVM add primary storage to OVM cluster FAIL

making Ovm work on Acton

status 13662: resolved fixed
status 13641: resolved fixed
status 13652: resolved fixed

reviewed-by: edison
2012-02-14 15:12:46 -08:00
Alena Prokharchyk
17349dfe12 bug 13695: deleteAccount - remove account from projects as a part of account cleanup process
status 13695: resolved fixed
Reviewed-by: Frank
2012-02-14 14:06:49 -08:00
Alena Prokharchyk
136d9e7295 bug 13699: use correct way of checking VM permission during the service offering upgrade
status 13699: resolved fixed
2012-02-14 13:05:59 -08:00
Alena Prokharchyk
5e9a15c07d bug 13708: make a search by traffic type when locate physical network in the zone
status 13708: resolved fixed
reviewed-by: Prachi Damle
2012-02-14 12:47:33 -08:00
prachi
63fd5d1f64 Bug 13703 - [External Service Providers] Unable to find a Discoverer to load the resource: 1 for hypervisor type : null
Changes:
- in case of external service providers, there is no discoverer that could load the resource.
- So we have to rely on agentMgr to load the resource as earlier.
2012-02-14 12:17:25 -08:00
Kelven Yang
a72d419f8c bug 13679: cosmetic fix to remove NPE warning message from log. Reviewed-By: anthony 2012-02-14 12:08:50 -08:00
Sheng Yang
03aa8d727c bug 13643: Fix assigned router gateway IP
The ExternalGuestNetworkGuru need to respect some of existed IP assignment,
especially router. Otherwise router can't get correct IP address(gateway IP).

status 13643: resolved fixed

Reviewed-by: Alex
2012-02-13 17:10:10 -08:00
Alena Prokharchyk
d5532d7de0 Update apikey/secretkey in transaction 2012-02-13 11:11:56 -08:00
Nitin Mehta
8f869b6a18 Bug 13591: Remove unwarranted log messages that we are printing with every answer recieved from the agent.
Reviewed-By: Kishan
2012-02-13 16:33:52 +05:30
abhi
20968a408c bug 13549: cleanup stopped/starting VMs if present on host during MS startup
reveiewed-by: kishan
2012-02-13 07:25:01 +05:30
Alena Prokharchyk
294d3a2fda Code format fixes 2012-02-10 15:10:21 -08:00
Alena Prokharchyk
4f2e9a5195 Don't allow guest network creation when guestCidr is not configured in corresponding zone 2012-02-10 11:02:26 -08:00
Alena Prokharchyk
26d272021f Guest cidr is optional for Advance zone (zone can have just Shared networks) 2012-02-10 10:45:05 -08:00
Nitin Mehta
b2c7986ba3 Bug 13059: Remove topused flag.
Reviewed-By: Kishan
2012-02-10 17:07:21 +05:30
kishan
9a6e0abe8c Bug 13599: Used IdentityDao to map usage records to correct UUIDs
Status 13599: resolved fixed
Reviewed-By: Nitin
2012-02-10 16:34:02 +05:30
kishan
c7337f00be Bug 12802: Updated generate usage records API description
Status 12802: resolved fixed
Reviewed-By: Nitin
2012-02-10 12:00:14 +05:30
Nitin Mehta
680ab2f908 Bug 13059: Using Float instead of float for percentage.
Reviewed-By: Kishan
2012-02-10 11:11:47 +05:30
Alex Huang
a3b2f3d118 bug 13478: added exception printing. Reviewed-by: Anthony 2012-02-09 16:50:27 -08:00
Edison Su
5f897816ab bug 13579: set default timeout to -1
status 13579: resolved fixed
2012-02-09 16:49:50 -08:00
Alex Huang
166790ad70 propagate fix from 2.2.14 2012-02-09 16:44:55 -08:00
Edison Su
498d57fa3d fix upgrade 2012-02-09 14:56:41 -08:00
Edison Su
e6d6e3b90a bug 13470: check the correct old certificate
status 13470: resolved fixed
Reviewed-by: anthony
2012-02-09 14:56:41 -08:00
Edison Su
5b11e67a18 Agent disconnected due to so many Fencecommand send to agent, cause agent can't get pingaswer from mgt server, then agent thinks it's ping timeout, reconnect to mgt server. 2012-02-09 14:56:41 -08:00
Edison Su
a670c0e66e cleanup 2012-02-09 14:56:40 -08:00
Edison Su
1ab89dd436 add cert chain in db, and also open the api to upload a cert chain 2012-02-09 14:56:40 -08:00
Sheng Yang
14142363a1 Better error message for changeCidr 2012-02-09 14:40:18 -08:00
frank
aa9d250280 port copy template fix to acton 2012-02-09 14:19:08 -08:00
Nitin Mehta
faaa7593de Bug 13059: Used and total capacity were not showing in some cases becuae the constructor was not setting it.
Reviewed-By: Kishan
2012-02-09 20:55:51 +05:30
Nitin Mehta
d82fad81bf Bug 13564: Incorrect format was coming for kvm since there was a ohardcoding on the extension to be of size 3 Instead take the format from the ENUM.
Reviewed-By: Kishan
2012-02-09 20:14:13 +05:30
Naredula Janardhana Reddy
023d06124f Bug 12812:
Summary of changes:
   - applyLoadBalancerConfig(long lbRuleId) method applies only one rule if it is Netscalar otherwise applies all the rules in add/revoke state.
2012-02-09 12:05:29 +05:30
prachi
05af078358 Bug 8791 - user dispersing allocator
Changes:
To migrate systems using 'use.user.concentrated.pod.allocation' as true and 'vm.allocation.algorithm' as true, we need to
add following changes:

- There will be 5 values to 'vm.allocation.algorithm': 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'
- 'userconcentratedpod_random' means we apply user concentration to pods and clusters. To hosts and pools we use random ordering.
- 'userconcentratedpod_firstfit' means we apply user concentration to pods and clusters. To hosts and pools we use firstfit ordering.
2012-02-08 17:03:38 -08:00
Sheng Yang
5dcff263e1 Provide a better error message for changeCidr 2012-02-08 16:53:42 -08:00
Sheng Yang
fadec7afe7 Add "changecidr" parameter for updateNetwork API
CIDR may be different after update to a service offering contained external
network element, user is required to acknowledge this, otherwise the update
won't process
2012-02-08 15:57:50 -08:00