Commit Graph

7590 Commits

Author SHA1 Message Date
Sheng Yang ac5fd72ded bug 11541: Change CheckRouterCommand timeout from default 10 minutes to 1 minute
Reviewed-by: Anthony Xu

status 11541: resolved fixed
2011-09-22 19:22:09 -07:00
frank d7e9dd87b1 Bug 11539 - SSVM stop script doesn't work
status 11539: resolved fixed
reviewed-by: edison
2011-09-22 17:50:52 -07:00
Kelven Yang 4e84804f1f bug 11531: forget to include newly added JUnit test along with the fix, here it is 2011-09-22 16:21:15 -07:00
Kelven Yang ad8f967503 bug 11531: while taking snapshot on volume, if volume is attached to a VM instance and under VMware, check if there are other ongoing snapshot tasks for the VM instance. 2011-09-22 16:19:40 -07:00
Jessica Wang 0b9a9fc57c bug 11525: cloudStack 2.2 UI - Domain Admin can only edit/delete/copy/download his own template just like a user. 2011-09-22 16:15:43 -07:00
Edison Su eb0e2c4c25 Fixed: only the first snapshot got backedup to secondary storage, if multple snapshot taken.
Reviewed-by: anthony
2011-09-22 15:03:53 -07:00
Edison Su 5b66200eea bug 11513: another customer hits the same issue by associate ip in the basic zone
Reviewed-by: alena@citrix.com
2011-09-22 15:03:37 -07:00
Edison Su c2b0b4be2f bug 11513: add more log in the cleanup network
Reviewed-by:alena@citrix.com
2011-09-22 15:03:23 -07:00
alena cdb80c76c1 bug 11537: revoke related FirewallRules when do vmExpunge and ipAddress release.
status 11537: resolved fixed

Reviwed-by: edison@cloud.com
2011-09-22 13:58:01 -07:00
frank eb01008519 change client/.project to client not vmopsClient 2011-09-22 13:37:52 -07:00
alena dd8b031159 bug 11468: create ROOT domain and admin user as a part of cloud-setup-databases, not during the management server startup to avoid multiple records insertion for the same domain
status 11468: resolved fixed

Reviewed-by: will@cloud.com
2011-09-22 10:55:43 -07:00
Sheng Yang 902458bfa0 bug 11513: Fix public IP release in advance network
We should only persist DomR's public ip, not console proxy and ssvm.

Reviewed-by: Edison
2011-09-21 19:16:29 -07:00
alena ad0c82cae7 bug 11513: always wrap marking IP address with Releasing state and actual IP deallocation in Transaction
Reviewed-by:edison@citrix.com
2011-09-21 18:41:47 -07:00
Edison Su d722766427 bug 11047: change the put storage pool into maintenance mode: 1. only look at the available storoge pool in its own dc to decide to start vms created on it. 2. if start vm failed, don't throw exception, as these vms are marked stopped already, admin can start these vm by himself.
status 11047: resolved fixed
Reviewed-by: frank
2011-09-21 16:20:09 -07:00
Sheng Yang f685b8825d bug 11518: Return "saved_password" for non-existed password entry in domR
To solve password file is destroyed along with restartNetwork command issue. If
the password is not set in fact, user can use "ResetPassword" to try again. But
it won't happen mostly, because it's only possible if the restartNetwork
happened between user start up VM and set the new password.

Reviewed-by: Keshav

status 11518: resolved fixed
2011-09-21 15:50:43 -07:00
Edison Su 6e01aea3ca bug 11503: create foler /var/log/cloud-management/ during cloud-setup-management
Reviewed-by: frank@citrix.com
2011-09-21 12:00:39 -07:00
alena 6ea66248dd bug 11515: reapply all firewall rules for the IP address when VPN related rules are being revoked
status 11515: resolved fixed

Reviewed-by: will@cloud.com
2011-09-21 09:50:21 -07:00
kishan bdd5b9c3d3 bug 11514: VM transition form Stopped to Error state should be considered as VM.DESTROY
status 11514: resolved fixed
Reviewed-by: Nitin
2011-09-21 20:50:22 +05:30
Sheng Yang 8064b229ff bug 11504: Fix source nat ip's NIC strategy from upgrading
We've added "Strategy.Managed" for source nat ip address, to prevent it from
releasing when we try to execute restartNetwork command. But we didn't update
the existed nics when mgmt upgraded. This would result in restartNetwork command
fail(NPE) when try to restart an existed network.

status 11504: resolved fixed

Reviewed-by: Alena
2011-09-20 17:49:23 -07:00
frank 635cdcadc6 remove bad named installation guide under doc/
reviewed-by:jessica
2011-09-20 13:21:30 -07:00
frank 7a04286411 Bug 11472 - 2.2.12 beta ubuntu builds fails on install usage
add usage to debian build
reviewed-by: edison
2011-09-20 13:21:24 -07:00
alena a4fb8e7d28 bug 11487: catch all exceptions in cleanupAccount, and mark the account for cleanup when the exception is caught.
status 11487: resolved fixed

Reviewed-by: will@cloud.com
2011-09-20 10:31:17 -07:00
alena a5a7103df6 bug 11462: 1) when delete PF rule, revoke corresponding firewall first (if exists) 2) never remove PF rule from the table when corresponding firewall rule wasn't removed yet
status 11462: resolved fixed

Reviewed-by: edison@cloud.com
2011-09-20 10:31:08 -07:00
alena 36344a3395 bug 11493: no need to do cross domain checks for the templates as domain level templates are not supported. We support only public (everybody can see and use) and private (only owner can see and use unless changed with updateTemplatePermissions call)
status 11493: resolved fixed

Reviewed-by: will@cloud.com
2011-09-20 10:31:01 -07:00
Prasanna Santhanam ed18018473 bulk destroy tests for zucchini 2011-09-20 11:12:36 +05:30
Prasanna Santhanam 1c0cae8ad6 listVM improvement and time measurement 2011-09-20 11:12:36 +05:30
Prasanna Santhanam e722ed8ede additional tests for resource limit issues 2011-09-20 11:12:36 +05:30
Prasanna Santhanam 8ec058d0a2 reducing the size of the setup 2011-09-20 11:12:36 +05:30
Edison Su 2632594a70 bug 11495: set bootable as user selected for iso/templates
status 11495: resolved fixed
Reviewed-by:alena@citrix.com
2011-09-19 17:47:01 -07:00
alena 28b26f755a bug 11480: verify account/user state when do single signon verification
status 11480: resolved fixed

Reviewed-by: kelven@cloud.com
2011-09-19 10:57:05 -07:00
alena 41871d5687 bug 11470: 1) fixed listResourceLimits 2) Fixed -1 to be treated as unlimited for all the resources
status 11470: resolved fixed
2011-09-19 09:46:11 -07:00
Prasanna Santhanam 7e29780e3c bug 11490: simulator marks VMs as Stopped and not Expunging when they are Destroyed
status 11490: resolved fixed
reviewed-by: Kishan.Kavala@citrix.com

The simulator should mark the VM as Expunging when the root volume is destroyed
or VM sync will think the VM is still only Stopped and not expunged
2011-09-19 17:34:43 +05:30
Prasanna Santhanam 9d4238213d bug 11489: simulator is not updating type field in mockvm table
status 11489: resolved fixed
reviewed-by: Kishan.Kavala@citrix.com

Added necessary VO methods to update the type field of the MockVM table.
2011-09-19 17:34:31 +05:30
Prasanna Santhanam fb0410e5d3 bug 11463: userVms and routers being stopped by the simulator
status 11463: resolved fixed
reviewed-by: Kishan.Kavala@citrix.com

When the management server restarts and does a full vmSync we need to send back
the state of the simulator VMs in the StartCommand for management server to
restore the states. Or HA will mark them as stopped.
2011-09-19 17:33:35 +05:30
Edison Su 2615848b80 bug 11455: add vpn support in kvm
Reviewed-by:Murali.Reddy@citrix.com
2011-09-16 11:16:11 -07:00
keshav 0569b51764 Added inline load balancer nic map table to 2.2.11 -> 2.2.12 upgrade script. 2011-09-16 10:19:16 -07:00
kishan 43810508e4 bug 11344: Added constarints on usage helper tables. Added corresponding alter queries in upgrade script
status 11344: resolved fixed
Reviewed-by: Nitin
2011-09-16 18:22:23 +05:30
Naredula Janardhana Reddy 44c67476b9 bug 11455: adding firewall rule chain to the main chain in the case when vpn chain is not present.
Reviewed-by: Murali.Reddy@citrix.com
2011-09-16 17:51:45 +05:30
prachi 97bdb58b6d Bug 11404 - VM was in Running state, had null for a pod_id, basically didnt allow creation of subsequent vm's
Reviewed-by: Alex

Changes:
- When management server starts, it goes through all the pending work items from op_it_work table and schedules HA work for each. It used to mark each item as done. Instead we should keep the item as pending and let it get marked as Done after the HA work is done.
- Changes in VirtualMachineMgr::advanceStop() :
a) if we find a VM with null hostId, we stop the VM only if it is forced stopped.
b) if VM state transition to Stopping fails,for state Starting and Migrating we try to find the pending work item and then do cleanup the VM. In case state is Stopping we can cleanup directly.
c) We proceed releasing all resources only if state transitioned to 'Stopping'.
- Changes in HA:
a) Depend on VirtualMachineMgr::advanceStop() in case host is not found to do VM cleanup
- When Vm state between mgmt server and agent syncs from starting -> running, mark any pending work item as done.
2011-09-15 18:47:05 -07:00
alena f4e22094e0 Do agent disconnect when agent rebalance fails
Reviewed-by: Alex Huang
2011-09-15 18:36:22 -07:00
prachi c5199dd328 Bug 11457 - NullPointerException while synching VM state from Starting -> Running between management server and agent
Reviewed-by: Kelven and Alex

Changes:
- Added log statements about the podId during deploying a VM.
2011-09-15 16:11:51 -07:00
prachi 0aec7560bb Bug 11457 - NullPointerException while synching VM state from Starting -> Running between management server and agent
reviewed-by: Alex/Kelven

Changes:
1.	UserVmManagerImpl :: finalizeStart()
Added null check for the cmds.getAnswers() object. Return ‘true’ if null.

2.	VirtualMachineManagerImpl :: advanceStart()
Move the line to set PodId to the vm being started above the state transition where hostId gets set, so that podId is not null in case management server goes down when vm starts on the agent. On restart, podId is not updated during fullsync. So this will prevent podId remaining null.

vm.setPodId(dest.getPod().getId());
2011-09-15 16:11:50 -07:00
Edison Su 122eb66592 Simulator: qa needs the logs correctly when programming security rules
Reviewed-by:Sangeetha.Hariharan@citrix.com
2011-09-15 16:10:17 -07:00
keshav d27810afa2 In inline SRX/F5 mode, collect outbound usage for LB rules from the SRX. 2011-09-15 14:42:49 -07:00
Edison Su b3cde8bb41 bug 11458: stop cgconfig before start libvirtd, "service cgconfig status" returns "Running" instead of "running", then cloud-setup-agent doesn't stop it
status 11458: resolved fixed
2011-09-15 14:37:47 -07:00
Edison Su 5379b4e704 bug 11448: simulator: move vm state into memory
status 11448: resolved fixed
2011-09-15 14:03:50 -07:00
Jessica Wang ad20cd679a bug 11446: cloudStack 2.2.y - authorizeSecurityGroupIngress API response has changed. Here is corresponding UI change. 2011-09-15 10:23:11 -07:00
Edison Su 81f9d8da92 fix simulator too slow when programming security rule: by don't write the rule into memory instead of database. Later on, I can choose a new db source for simulator, instead of share the same db with mgt server 2011-09-15 10:11:32 -07:00
alena 9bb95e915e bug 11447: don't do security group check if both groups belong to the same domain
status 11447: resolved fixed
2011-09-15 10:02:32 -07:00
Chiradeep Vittal 450ace1051 bug 11420: reduce duration of disruption 2011-09-14 21:57:32 -07:00