frank
41ef2a436f
move fake.sql to proper folder
2012-03-19 13:09:51 -07:00
frank
c79a75a060
use fake.sql for db upgrade test
2012-03-19 13:05:41 -07:00
frank
d35a9dde95
Bug 14189 - multiple physical nw - SSVM fail to download guest templates from storage server which is in isolated network only accessible by host's bridge
...
if storage network is present, don't set route through private ip when adding internal download site
status 14189: resovled fixed
2012-03-16 14:48:56 -07:00
frank
125a156485
fix copying template
...
Conflicts:
console-proxy/scripts/ipfirewall.sh
2012-03-15 14:42:25 -07:00
Alena Prokharchyk
31eef1d183
bug 14271: return only domainId in error message when caller is not authorized to operate within the domain
...
status 14271: resolved fixed
2012-03-14 13:30:03 -07:00
Alena Prokharchyk
d5e95fa407
bug 14295: allow regular user to create network with the custom cidr
...
status 14295: resolved fixed
2012-03-14 10:47:08 -07:00
Likitha Shetty
4f2a924ecf
Bug 13842 Check for snapshots in BackedUp state during the deletion of secondary storage
...
behalf of: pranav
reviewed by: kishan
2012-03-14 17:51:51 +05:30
abhi
48a2a5cfd2
bug 14151,14153: configuration variables are now hidden; added ldapRemove command
2012-03-13 11:28:47 +05:30
Sheng Yang
d3142c2977
Refactor VirtualRouterNetworkManagerImpl
...
Refactor applyDhcpEntry and applyUserData to use applyRules framework.
2012-03-12 16:10:16 -07:00
Alena Prokharchyk
9e9ff4f363
bug 14239: limit number of Isolated account specific networks per account
...
status 14239: resolved fixed
2012-03-12 15:50:49 -07:00
Sheng Yang
9022ab5bc9
bug 14074: Specify networkId for list public ip
...
status 14074: resolved fixed
2012-03-12 12:07:57 -07:00
Alena Prokharchyk
4ee7094f80
bug 14247: implemented search by storage id in listSystemVms
...
status 14247: resolved fixed
2012-03-12 10:23:29 -07:00
Sheng Yang
21fedec0ef
Refactor VirtualNetworkApplianceManagerImpl
...
Add separate create command for dhcp, userdata and password.
2012-03-09 19:00:35 -08:00
Sheng Yang
4956177dd1
Refactor rules appling in the VirtualNetworkApplianceManagerImpl
2012-03-09 18:00:26 -08:00
Alena Prokharchyk
69ed7b7ace
Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
...
Temporarely reverting checkin that broke the build
This reverts commit c9552df956d4f25aa71d5a1aad27d0919f7631e8.
2012-03-09 11:07:23 -08:00
abhi
b8d3f9dfc4
bug 14224: adding 6.0.2
2012-03-09 18:38:40 +05:30
abhi
c46a4d943a
bug 14224: allowing Xenserver 6.0.2, with the assumption that the same patches and guest os type will work as with 6.0
2012-03-09 17:34:27 +05:30
abhi
44d0211cda
bug 14151,14153: configuration variables are now hidden; added ldapRemove command
2012-03-09 16:58:51 +05:30
Sheng Yang
666a7aa974
Fix several wrong ResourceUnavailableException scopes
2012-03-08 11:54:43 -08:00
Alena Prokharchyk
3df2bd98fc
bug 14170: issues #1-#3 are fixed
2012-03-07 13:35:26 -08:00
Alena Prokharchyk
82841438d1
bug 14173: add eip/elb network offering (if missing) during the management server start
...
status 14173: resolved fixed
2012-03-07 10:01:40 -08:00
Alena Prokharchyk
caefc3087b
bug 14156: return instancename parameter in userVm response to ROOT admin only
2012-03-06 13:39:03 -08:00
prachi
7a73fcd83c
Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
...
Changes:
- Added hostid to StartVMCmd. Only root admin can use it.
2012-03-05 17:46:22 -08:00
prachi
4cd55d4dfc
Bug 13999 - Non-admin user should not be able to take snapshots
...
Changes:
If Zone is disabled, deny permission to regular user while creating snapshots
2012-03-05 16:50:03 -08:00
prachi
989e88e03f
Bug 14000 - Neither Admin or regular user can create a VM when the Pod is disabled
...
Bug 14006 - Admin could not create a VM when the cluster is Disabled
Changes:
- For Root admin, planner will not filter out the disabled pods or clusters from the resource list
2012-03-05 16:49:51 -08:00
Alena Prokharchyk
1a318e81ed
bug 14103: mark account for cleanup only in cleanupAccount and disableAccount method, not in the callers methods
...
status 14103: resolved fixed
2012-03-05 16:19:07 -08:00
frank
32104636ca
allow more commands when resource state in maintenance mode
2012-03-05 14:38:47 -08:00
frank
95b68d6ea6
allow SetupCommand when resource is in maintenance mode.
...
Since maintenance is resource state not agent status right now
2012-03-05 14:25:59 -08:00
frank
6f68edfe83
Bug 14068 - Db upgrade: resource_state is incorrect for the host in UP state after the db upgrade from 2.2.x to 3.0
...
Bug 14099 - Db upgrade for storage network
status 14068: resovled fixed
status 14099: resovled fixed
2012-03-05 13:35:06 -08:00
Sheng Yang
bd7d4a407a
bug 14110: Fix error message
...
status 14110: resolved fixed
2012-03-05 11:10:17 -08:00
kishan
63704eb758
Bug 13952: Changed category of Usage configs
...
Status 13952: resolved fixed
Reviewed-By: Abhi
2012-03-05 18:57:10 +05:30
kishan
bcd35cc01b
Bug 14081: Added 3.0.0 templtae upgrade support. Added unit test case and DB dump
...
Status 14081: resolved fixed
Reviewed-By: Abhi
2012-03-05 17:27:31 +05:30
kishan
06ab0ee3cc
Added systemVm template upgrade queries for XenServer
2012-03-05 17:27:31 +05:30
Alena Prokharchyk
7f67ed9730
Db upgrade for security group provider
2012-03-02 16:07:03 -08:00
Sheng Yang
ad954ff5f3
Fix element_id upgrade with network_id=0
2012-03-02 11:14:29 -08:00
Alena Prokharchyk
70ea01d0c6
More fixes to 2.2.x - 3.0 db upgrade
2012-03-01 18:31:35 -08:00
Alena Prokharchyk
576dce4ed5
bug 14080: do EQ instead of LIKE search when search for duplicated users during the user update
...
status 14080: resolved fixed
2012-03-01 15:11:31 -08:00
Sheng Yang
178bd35143
bug 14076: Fix the exception scope
...
status 14076: resolved fixed
2012-03-01 14:59:08 -08:00
kishan
cdc41749c0
Bug 14039: Changed SSO key category Secure
...
Status 14039: resolved fixed
Reviewed-By: Abhi
2012-03-01 20:59:52 +05:30
Alena Prokharchyk
d9054490dc
More fixes to the db upgrade
2012-02-29 16:27:22 -08:00
Alena Prokharchyk
2797c45ce5
bug 14033: root/domain admin limits are always Unlimited. Return it as Unlimited in listResourceLimit response
...
status 14033: resolved fixed
2012-02-29 15:09:41 -08:00
Alena Prokharchyk
ceec11f84c
bug 14017: 1) Don't allow NULL value for Boolean type of config 2) Added a null check when compare config values
...
status 14017: resolved fixed
2012-02-29 13:09:24 -08:00
Sheng Yang
46d2b49edf
Add element_id for 3.0 upgrade
2012-02-29 11:09:27 -08:00
Alena Prokharchyk
bbb3314dd1
Fixed unittest and some issues with 2.2.14-3.0 upgrade
...
Conflicts:
setup/db/db/schema-2214to30.sql
2012-02-29 11:06:17 -08:00
Alena Prokharchyk
8972e0826e
Wrap deletePhysicalNetwork in transaction
2012-02-29 11:02:35 -08:00
Kelven Yang
90177c18e3
bug 13860: add sanity check to ApiResponseSerializer when serializing XML response. Reviewed-By: Anthony
2012-02-27 16:06:13 -08:00
Kelven Yang
d6271aab9b
bug 13989: get domr control IP from NIC table, the old private ip in domain_router table is no longer valid under basic zone configuration. Reviewed-By: Anthony
2012-02-27 15:59:14 -08:00
Alena Prokharchyk
11b92465b8
Fixed XML api writer
...
Reviewed-by: Alena
2012-02-27 12:40:30 -08:00
Alena Prokharchyk
1b16ad0f93
Clone services map when do provider/service verification during network offering addition.
...
Reviewed-by: Prachi Damle
2012-02-24 15:33:28 -08:00
Kelven Yang
f41b0f4d0b
bug 13989: GetDomRVersion command context is not correctly set for VMware under Basic zone configuration. Reviewed-By: Anthony
2012-02-24 10:00:21 -08:00
Alena Prokharchyk
8934c06ade
bug 13971: return only offerings with matching tags when zoneId is passed in and corresponding zone has more than 1 physical network
...
status 13971: resolved fixed
Reviewed-by: Prachi Damle
2012-02-23 16:51:39 -08:00
Alena Prokharchyk
8175e429af
bug 13966: cleanup the vm (stop it on the backend) when work step is Release. Also never retry when finalizeStart failed
...
status 13966: resolved fixed
reviewed-by: Alex Huang
2012-02-23 15:13:01 -08:00
frank
d575609133
Bug 13962 - CloudRuntimeException: Failed to update keypairs on disk: cannot create key file null/.ssh/id_rsa
...
Changes for Script.java:
1. Even the script is non-timeout one, set default timeout to one hour. This avoid a wrongn script forever hang
2. When InterruptedException happens, check if timeout is really reached, if not, continue
status 13962: resolved fixed
reviewed-by: Alex, Edison
2012-02-23 13:42:06 -08:00
Alena Prokharchyk
27705a129c
bug 13961: always return NetworkUsageAnswer from the networkUsageCommand
...
status 13961: resolved fixed
Reviewed-by: Alex Huang
2012-02-23 11:15:24 -08:00
Sheng Yang
2619df56a5
Fix debug messages in RulesManagerImpl
...
Reviewed-by: Edison
2012-02-23 10:57:57 -08:00
Alena Prokharchyk
8e9ccd1048
bug 13924: default Firewall provider to Juniper when Juniper is a provider for Pf/StaticNat or source nat service
...
status 13924: resolved fixed
Reviewed-by: Will Chan
2012-02-22 18:47:03 -08:00
Alena Prokharchyk
8048a55802
bug 13944: when delete the account, expunge detached volumes on the backend
...
status 13944: resolved fixed
Reviewed-by: Frank Zhang
2012-02-22 17:58:52 -08:00
Edison Su
dba58fece9
bug 13771: don't send pre snapshot if it's migrated
...
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-22 17:20:40 -08:00
prachi
b93c77b7a7
Bug 13850 - VM stuck in starting state if it is started during the HA-Work of the corresponding router
...
Reviewed-By: Kelven
Changes:
- Update the pending work Item to be DONE if we are changing the VM state during fullSync.
2012-02-22 17:04:15 -08:00
prachi
37e4edd186
Bug 13766 - VMs are still running after disabling the zone
...
Reviewed-by: Sheng Yang
Changes:
- Do not check if allocation_state is 'Enabled' in planner if the caller is Root Admin.
- This should let Root Admin create a VM in a disabled Zone.
2012-02-22 16:31:01 -08:00
Alena Prokharchyk
07ad0be09c
Added isTagged parameter to listNetworkOfferings api. When set to true, it will return offerings with not null tag values
...
Reviewed-by: Jessica Wang
2012-02-22 16:09:45 -08:00
Alena Prokharchyk
6ffaa6cf24
bug 13763: fixed api doc for logout command
...
status 13763: resolved fixed
Reviewed-by: Jessica Tomechak
2012-02-22 15:16:34 -08:00
Alena Prokharchyk
e896abca58
bug 13925: don't allow to delete the network when there are vms in Error state (these vms has to be cleaned up by expunge process first)
...
status 13925: resolved fixed
Reviewed-by: Sheng Yang
2012-02-22 11:54:58 -08:00
abhi
7fc9a287c0
bug 13884: fixing spell vm.destroy.forcestop
...
reviewed-by: kishan
2012-02-22 08:41:34 +05:30
Murali reddy
6b03e9ca58
bug 13855: F5 - Hold time paramS for sticky policies are not getting programmed in F5
...
Reviewed-by:Sam
status 13855: resolved fixed
- configuring unique persistence profile for each LB rule with sticky method applied
- removing source based sticky method for source based LB method which is not supported by F5
2012-02-22 08:18:57 +05:30
Alena Prokharchyk
9bdf7fe645
bug 13919: do includingRemoved Nic search when remove firewall rules during the vm expunge
...
status 13919: resolved fixed
Reviewed-by: Sheng Yang
2012-02-21 18:02:54 -08:00
prachi
420cf350fe
Bug 13224 - Network Usage - Netscaler - External device is being queried multiple times (up to 8 times) whenever the Network Usage task is run.
...
Reviewed-by: Kishan
Changes:
- Separated out the External Network Usage task from the ExternalLBDeviceMgr because ExternalLbDeviceMgrImpl :: start() was getting multiple times during management server satrtup. The reason for this is that this is the baseclass for F5 and NetScalarElement.
- This caused us to schedule the ExternalNetworkUsageTask multiple times
- Also we have LBRulesMgr calling this ExternalLbDeviceMgrImpl by creating an instance of this class which is declared abstract
- Hence having a separate implementation to manage the network usage stats should solve this.
2012-02-21 16:49:32 -08:00
Edison Su
aa284d03f2
bug 13910: release cpu/memory after expunged
...
status 13910: resolved fixed
Reviewed-by: prachi
2012-02-21 16:20:55 -08:00
Alena Prokharchyk
12aade4dc7
Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
...
Reviewed-by: Chiradeep
2012-02-21 15:38:31 -08:00
Alena Prokharchyk
d841839b05
bug 13903: return vm's hostName as a displayName when displayName is null in bunch of api responses
...
status 13903: resolved fixed
Reviewed-by: Kelven Yang
2012-02-21 15:36:40 -08:00
Sheng Yang
aa4f9b58dd
bug 13915: Fix VirtualRouter get gateway IP when others used as SourceNatServiceProvider
...
status 13915: resolved fixed
Reviewed-by: Edison
2012-02-21 15:24:34 -08:00
kishan
1d1caa8af5
Bug 13823: Throw network conflict expection when LB rules conflict
...
Status 13823: resolved fixed
Reviewed-By: Nitin
2012-02-22 01:14:15 +05:30
kishan
04341c0839
Bug 13619: Throw exception when not traffic sentinel host is not available. Update last_collection timestamp when atleast 1 IP has nonzero bytes
...
Status 13619: resolved fixed
Reviewed-By: Nitin
2012-02-21 23:39:51 +05:30
Alena Prokharchyk
53bf8742f8
bug 13871: use perzone and peraccount (no spaces in values) when compare source nat capabilities
...
status 13871: resolved fixed
Reviewed-by: Chiradeep Vittal
2012-02-21 10:06:42 -08:00
frank
e7a445d268
Bug 13568 - secondary storage VM's static route for nfs server breaks things!
...
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:19:38 -08:00
Alena Prokharchyk
6a769b81c4
bug 13864: for elastic IP address return the purpose (staticNat or Lb) in listPublicIpAddresses api response
...
Reviewed-by: Frank
2012-02-17 15:43:12 -08:00
Sheng Yang
eaeac8809e
bug 13867: Pass hostId instead of external firewall device Id
...
status 13867: resolved fixed
Reviewed-by: Anthony
2012-02-17 15:33:15 -08:00
Alena Prokharchyk
f67af1d1a2
bug 13866: return publicIp info in listVms api response when vm is linked to public ip via static nat
...
Reviewed-by: Frank
2012-02-17 15:30:57 -08:00
Sheng Yang
1eb71689df
bug 13829: Add default capacity for SRX
...
And per Alex's request, add default value directly into the database, rather
than using it at last minute of implemention.
status 13829: resolved fixed
Reviewed-by: Alex
2012-02-17 15:25:09 -08:00
Sheng Yang
59bdf2dd83
bug 13829: Fix NPE in ExternalFirewallDeviceManagerImpl
...
Reviewed-by: Edison
2012-02-17 15:25:09 -08:00
Alena Prokharchyk
2b312931a8
Return hostName as displayName in the listvms api resonse, just the way it was before 41df47cc6873b4d8acd0503b16535051a3cbde14)
...
Reviewed-by: Kelven Yang
2012-02-17 14:51:12 -08:00
Edison Su
f8048163f1
bug 13845: as you can't add physical devices name from UI when you create zone, use kvm.{guest|public|private}.devices in the global configuration.
...
status 13845: resolved fixed
Reviewed-by: frank
2012-02-17 13:20:00 -08:00
Edison Su
ac9bb81a93
bug 13789: don't shutdown host if it's a forward agent
...
status 13789: resolved fixed
Reviewed-by: frank
2012-02-17 13:03:32 -08:00
Alena Prokharchyk
6ed5fc08fc
bug 13854: don't allow to remove network offerings if its in use by existing networks
...
status 13854: resolved fixed
Reviewed-by: Alex Huang
2012-02-17 12:58:35 -08:00
kishan
aec1204eb2
Bug 13741: Added new Config category Secure. Any config in secure category will encrypted along with the Hidden category configs
...
Status 13741: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
kishan
eee03d4426
Bug 13794: When snapshot backup fails, snapshot.delete event is not required. Snapshot.create is logged only afetr successfull backup.
...
Status 13794: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
kishan
dcf96fe0c8
Bug 13802: Log VPN user remove usage event when user fails to get applied
...
Status 13802: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
kishan
e8bee34179
Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
...
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
Nitin Mehta
26e4de22fe
Bug 13836: NPE fix. If snapshot is already removed say so-do not try and delete it again.
...
Reviewed-By: Kishan
2012-02-17 16:34:17 +05:30
Nitin Mehta
fc8f6c4c18
Bug 13059: cast the long to float else the fraction would be 0 - java basics :).
...
Reviewed-By: Kishan
2012-02-17 15:06:56 +05:30
Edison Su
31fdd976d7
bug 13771: Long.equals is not ==
...
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-16 17:02:17 -08:00
prachi
f5fec78980
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 16:53:40 -08:00
Alena Prokharchyk
037432506e
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:51 -08:00
Alena Prokharchyk
995586495f
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:39:43 -08:00
Alena Prokharchyk
de2ae87859
bug 13801: fixed broken check for extending vnet ranges during physical network update
...
status 13801: resolved fixed
Reviewed-by: Kelven Yang
2012-02-16 10:01:52 -08:00
Murali reddy
060da55233
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:52:22 +05:30
Nitin Mehta
2e92688b00
Bug 13692: Query was giving cluster id weven when it was pod level information.
...
Reviewed-By: Kishan
2012-02-16 14:48:28 +05:30
Edison Su
b7c84009bf
bug 13781: reload host detail after host reconnect
...
status 13781: resolved fixed
Reviewed-by: frank
2012-02-15 18:54:12 -08:00
Alena Prokharchyk
5aaf15f0a7
bug 13700: delete projects as a part of domain cleanup
...
status 13700: resolved fixed
Reviewed-by: Frank
2012-02-15 16:37:38 -08:00
Alena Prokharchyk
3d9790c319
bug 13742: check only for Pending invitations while inviting the same account to the project again
...
status 13742: resolved fixed
Reviewed-by: Frank
2012-02-15 11:03:05 -08:00
Murali reddy
e86425b717
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:08:45 +05:30
Murali reddy
563cdf3a9c
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:34:36 +05:30
abhi
b149d1cb4b
Bug 13471: disabling agent lb
...
reviewed-by: kishan
2012-02-15 12:20:34 +05:30
Sheng Yang
3386b902df
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:09 -08:00
anthony
b6bc39bea8
bug 13712: do not download removed template
...
status 12712: resolved fixed
reviewed-by: edison
2012-02-14 18:38:29 -08:00
Alena Prokharchyk
46d209a3fb
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:15:50 -08:00
prachi
5c7424fb0e
Bug 13703 - [External Service Providers] Unable to find a Discoverer to load the resource: 1 for hypervisor type : null
...
Reviewed-By: Kelven
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 15:48:07 -08:00
frank
cd40f61a29
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:11:50 -08:00
Alena Prokharchyk
28aff83163
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:05:15 -08:00
Alena Prokharchyk
060014a260
bug 13699: use correct way of checking VM permission during the service offering upgrade
...
status 13699: resolved fixed
reviewed-by: Frank
2012-02-14 13:08:21 -08:00
Alena Prokharchyk
18e74a2790
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:46:24 -08:00
Kelven Yang
26dc3db21c
bug 13679: cosmetic fix to remove NPE warning message from log. Reviewed-By: anthony
2012-02-14 12:08:04 -08:00
Sheng Yang
e687054e0c
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 16:58:02 -08:00
abhi
f4b075bc79
bug 13549: cleanup stopped/starting VMs if present on host during MS startup
...
Reviewed-by: kishan
2012-02-13 16:42:15 +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
Sheng Yang
9317eb6bc3
Revert dynamic cidr change
2012-02-08 15:54:22 -08:00
Sheng Yang
18ec438793
Revert zone guest cidr setting
2012-02-08 15:54:16 -08:00
Sheng Yang
99b7b73d7f
bug 12747: release ip when no static nat rule existed
...
status 12747: resolved fixed
2012-02-08 15:54:03 -08:00
Sheng Yang
58fe40715f
bug 13540: Fix release ip fail to clean up iptables rules
...
The rule cleanup must be done before ip disassociated.
status 13540: resolved fixed
2012-02-08 15:53:56 -08:00
Alena Prokharchyk
fad3c7eab4
bug 13522: mark network for GC when domR starts with startRouter command, not as a part of user vm start/deploy
...
status 13522: resolved fixed
2012-02-08 13:33:06 -08:00
Nitin Mehta
78e79856af
Bug 13059: Removed the code which was deleting capacity entries on every MS restart.
...
Reviewed-By: Kishan
2012-02-08 20:44:57 +05:30
kishan
17659d1500
Bug 12972: Added VPN_USER_REMOVE usage events when VPN is disabled. VPN_USER_ADD events added when VPN is enabled again. VPN usage will be generated only when VPN is enabled.
...
Status 12972: resolved fixed
Reviewed-By: Nitin
2012-02-08 19:57:08 +05:30
kishan
278833eb29
Bug 13420: Send alert of type 18 when sending alert for SSVM
...
Status 13420: resolved fixed
Reviewed-By: Nitin
2012-02-08 18:50:42 +05:30
Nitin Mehta
e6beb08f1b
Bug 13059: Keeping the param name more intuitive Also adding the ciode for listing used and total capacity as well.
...
Reviewed-By: Kishan
2012-02-08 18:03:22 +05:30
Murali reddy
35ea4b7df1
using proper transaction semantics while adding netscaler device
2012-02-08 17:40:47 +05:30
Nitin Mehta
cbc47b9021
Bug 13059: For listing top consumed resources only uyse enabled zone for sec storage Also improve the transaction logic.
...
Reviewed-By: Kishan
2012-02-08 15:34:56 +05:30
kishan
034b5890e6
Bug 13454: Drop both foreign keys, indexes of ssh_keypairs and add again
...
Status 13454: resolved fixed
Reviewed-By: Nitin
2012-02-08 15:26:21 +05:30
Naredula Janardhana Reddy
31fe8bd815
Summary of HAProxy stickines param changes:
...
- converted all mandatory params to optional, and internally fill with default value before sending to haproxy. default value is available through description.
- accept holdtime without units.
2012-02-08 14:56:41 +05:30
abhi
44c172bdc2
bug 12980: added trust store for ssl
2012-02-08 13:07:19 +05:30
Nitin Mehta
1fc0afe3f2
Bug 13059: Remove the listTipConsumedResources api and introduced a sortbyusage flag in the listCapacity call.
...
Reviewed-By: Kishan
2012-02-08 11:50:55 +05:30
prachi
d0e63bc377
Bug 13099 - table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- DB upgrade changes
-- make the global setting hidden.
-- During upgrade set network labels from global config
2012-02-07 18:41:29 -08:00
prachi
dbe2305352
Bug 13099 table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- We do not need these global setting anymore. These will be hidden since 3.0
- The default traffic label will be picked from the global setting which is null by default. When traffic label is null it means the resource uses tag on the default gateway
- Changes to invoke discoverer to reload the resource object on host connection
- Since a zone can have many physical networks, there can be multiple guest, public networks. Only the zone wide storage and management traffic label will be stored in host_details henceforth.
- If traffic labels are updated, discoverer should update the host_details
2012-02-07 18:41:23 -08:00
Alena Prokharchyk
bd765999ba
Fixed listTopConsumedResources to work w/o specifying page/pageSize
2012-02-07 14:38:23 -08:00
Alena Prokharchyk
c17e9344a7
bug 13508: fixed inconsistencies in key names during db upgrade
...
status 13508: resolved fixed
Reviewed-by: Will Chan
Conflicts:
setup/db/db/schema-2213to2214.sql
2012-02-07 13:40:53 -08:00
Alena Prokharchyk
cad392cd68
bug 13335: fixed listProjectInvitations by projectId
...
status 13335: resolved fixed
2012-02-07 13:16:27 -08:00
anthony
22bbd8e766
bug 13478: check null
...
status 13478: resolved fixed
reviewed-by: edison
2012-02-07 10:56:24 -08:00
frank
02075c3a2d
Bug 13476 - Public IP's are not shown in the UI for the System VMs
...
status 13476: resolved fixed
2012-02-07 10:58:11 -08:00
Nitin Mehta
ce26703e5c
Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
...
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Murali reddy
8fbdd2919e
bug 12488: Netscaler - Invalid error message presented to the user when deployVm fails to implement network becasue of insuffucient capacity in Netscaler.
...
status 12488: resolved fixed
2012-02-07 19:15:36 +05:30
Murali reddy
a665f9bf50
bug 13180: Netscaler - SDX - Capacity field is not respected by the VPX instances that are created by SDX
...
status 13180: resolved fixed
2012-02-07 18:21:34 +05:30
Murali reddy
5f8936eb2f
bug 13179: Netscaler - Admin is allowed to delete the SDX instance when there are existing vpx instances that was created
...
status 13179: resolved fixed
2012-02-07 14:18:43 +05:30
Alena Prokharchyk
207f0db318
bug 13474: fixed 3)
...
status 13474: resolved fixed
reviewed-by: Will Chan
2012-02-06 19:57:17 -08:00
Alena Prokharchyk
d7b290cb9c
bug 13474: fixed 1) 2) and 4)
...
reviewed-by: Frank
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
setup/db/db/schema-2213to2214.sql
2012-02-06 18:35:51 -08:00
Alena Prokharchyk
c4d9a4c82b
Agent LB: never get a part of the hosts from the xen cluster; skip the cluster if it has more hosts than we need
...
Reviewed-by: Alex Huang
2012-02-06 16:42:58 -08:00
Alena Prokharchyk
950429e582
bug 12361: db upgrade for Direct account specific networks
2012-02-06 14:58:40 -08:00
Alena Prokharchyk
c4b15a0eeb
Fixed code formatting in 2214-30 upgrade
2012-02-06 14:58:40 -08:00
frank
b59c3c595e
return netmask in listStorageNetworkIpRangeCmd
2012-02-06 14:37:56 -08:00
Nitin Mehta
93b8178f19
Bug 13059: Introduce a new api to list top consumed resources in cloudstack.
...
Reviewed-By: Kishan
2012-02-06 20:32:40 +05:30
Naredula Janardhana Reddy
ce22712293
Bug 12812:
...
Summary of changes: Database changes will be rollbacked while applying the LB rule to the Netscaler device.
- Database changes will be rollbacked to previous state during the following Lb API's:
1) assignVM to LB rule
2) remove VM from LB rule
3) updateLb rule
4) deleteLb rule
5) create/attach sticky policy to Lb rule
6) delete sticky policy from Lb rule
- Database changes of the Lb rule will be not be rolledback during:
1) Removing IP
2) removing VM
2012-02-06 19:16:34 +05:30
abhi
74f1a821a4
bug 13134: added encryption for ldap password
2012-02-06 16:31:58 +05:30
abhi
e8f4b2d83b
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-06 15:03:09 +05:30
abhi
59c7150af7
bug 13439: full sync at management server restart, disabling hourly sync
2012-02-06 15:01:44 +05:30
kishan
b5d465f74a
Bug 12649: Added ROOT to domain path and removed trailing slash
...
Status 12649: resolved fixed
Reviewed-By: Abhi
2012-02-06 14:27:55 +05:30
kishan
b0aaf75c3b
Bug 13454: Remove foriegn keys in ssh_keypairs table and again with correct constraint name
...
Status 13454: resolved fixed
Reviewed-By: Nitin
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
2012-02-06 14:04:56 +05:30
frank
074d33d9f3
DB upgrade for Bug 6849 - Randomize systemvm passwords
2012-02-03 17:40:07 -08:00
frank
890bfffe2f
Bug 6849 - Randomize systemvm passwords (edit)
...
status 6849: resolved fixed
2012-02-03 17:28:58 -08:00
anthony
a70ea7f745
bug 13241: before update cluste guid, check if this guid is used,
...
status 13241: resolved fixed
2012-02-03 17:01:04 -08:00
Alena Prokharchyk
1490e45a1c
Fixed format style in a bunch of files (replaced tabs with spaces as a part of it)
2012-02-03 13:49:11 -08:00
Murali reddy
1f0ea28cc4
bug 12568: load balancer/firewall device capacity when admin does not specify a value
2012-02-03 23:48:26 +05:30
kishan
b15e5d6730
Bug 13326: Include isElastic flag in IPAddress usage response
...
Reviewed-By: Nitin
2012-02-03 18:03:04 +05:30
kishan
1c95ed5012
Bug 13433: Updated removed index for async_job table
...
Reviewed-By: Nitin
2012-02-03 18:03:04 +05:30
kishan
a388ed792f
Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
...
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Nitin Mehta
deadf815ca
Bug 13423: Drop i_op_vm_ruleset_log__instance_id, u_op_vm_ruleset_log__instance_id key (if exists) and re-add u_op_vm_ruleset_log__instance_id again.
...
Reviewed-By: Kishan
2012-02-03 15:54:48 +05:30
prachi
65b7a27407
Bug 13229 - Network Usage - Netscaler - NetworkUsage not being called when Lb rules are deleted and when releasing the Ip adress that has Lb rules.
...
Reviewed-by: Kishan
Changes:
- When an LB rule is deleted or the IP address having an LB rule configured is released, ExternalNetworkUsageCommand is fired to gather the usage
accumulated on that IP after the last run of the ExternalNetworkUsage job.
2012-02-02 17:23:51 -08:00
Alena Prokharchyk
a8476ac0de
bug 12361: 2214-3.0 db upgrade for redundant routers
2012-02-02 14:43:37 -08:00
Kelven Yang
8060918805
bug 13428: upgrade newly issued realhostip certificate. Reviewed by: Anthony
2012-02-02 11:49:20 -08:00
frank
de7a763ff9
avoid both PodBaseNetworkGuru and StorageNetworkGuru reply to storage network
...
design call
2012-02-02 11:31:43 -08:00
frank
e30ca89c7c
Bug 13185 - CloudStack UI shows incorrect info for SSVM public IP
...
status 13185: resolved fixed
2012-02-02 10:52:18 -08:00
Alena Prokharchyk
504af05df4
bug 13335: fixed name/displayText network update
...
status 13335: resolved fixed
2012-02-02 10:34:06 -08:00
kishan
f1a30a21aa
Bug 13133: Added snapshot delete event when a recurring snapshot deletes oldest snap
...
Status 13133: resolved fixed
Reviewed-By: Nitin
2012-02-02 18:56:07 +05:30
Alena Prokharchyk
78f6fc9e43
bug 12361: Inermediate checkin to 2.2.14-3.0 db upgrade
2012-02-01 16:46:56 -08:00
Jessica Wang
46c0024a34
bug 13362: fix error message in StorageManagerImpl.java
2012-02-01 15:49:21 -08:00
Alena Prokharchyk
2f17d465dc
Fixed 2.2.14-3.0 db upgrade for usage
...
Added unittest as well
2012-02-01 13:33:53 -08:00
Alena Prokharchyk
edd4c84ca1
Add domain name info for private zones in listZones api response
2012-02-01 11:26:00 -08:00
Alena Prokharchyk
879ab9a5cc
More logging to domain checker
2012-02-01 11:07:13 -08:00
Alena Prokharchyk
cfea031b28
Fixed deploy vm for Project in private zone
2012-02-01 11:03:12 -08:00
abhi
ae609f6801
bug 13408: added more loggin to assignVM
2012-02-01 18:45:25 +05:30
abhi
b6e5419370
bug 12899: checking if static nat rule is in place, throw error if there. Let the caller clear it first before assigning VM to another account
2012-02-01 18:08:32 +05:30