Commit Graph

4783 Commits

Author SHA1 Message Date
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