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
anthony
31ee0d3979
typo
2011-09-14 20:34:05 -07:00
anthony
16a97468c2
bug 9777: introduce Error status for snapshot, if snapshot creation fails, it will be in Error status
...
status 9777: resolved fixed
2011-09-14 18:12:44 -07:00
Edison Su
9ed43b1039
bug 11444: don't save vm state during reboot, which just messed up
...
status 11444: resolved fixed
2011-09-14 17:41:51 -07:00
Kelven Yang
d5cc708143
Let VmwareInvestigator return fake but meaningful investigation result
2011-09-14 17:03:39 -07:00
Kelven Yang
c0f472b768
bug 11286: ensure VM is powered off before we tear down devices
2011-09-14 16:14:32 -07:00
alena
8e47cb21c1
Fixed the problem in addDhcpEntry code when _dnsBasicZoneUpdates was never reset once set to false.
2011-09-14 16:08:12 -07:00
Sheng Yang
626abc02e3
bug 11233: Update switch's cache using ping
...
We would ping the gateway after transit to MASTER, this should speed up the
update of switch's cache.
2011-09-14 15:56:24 -07:00
Kelven Yang
8c56bfffbc
add VmwareInvestigator and VmwareFencer, use short worker VM name to avoid vCenter truncation
2011-09-14 15:14:36 -07:00
Sheng Yang
0ef051b4d2
bug 11307: Using latest query result rather than set bumpup to false
...
After the host is disconnected, we can't get latest result, but it's not safe to
think it's priority bump up flag changed.
2011-09-14 14:56:02 -07:00
Sheng Yang
be2d3c4c11
bug 11307: Copy missing scipt to the proper location
2011-09-14 14:55:59 -07:00
Sheng Yang
5ecf4e928d
Remove keepalived start up delay
2011-09-14 14:55:57 -07:00
Sheng Yang
d7a0841dec
Add rrouter lock for edithost.sh and ipassoc.sh
2011-09-14 14:55:55 -07:00
anthony
d6af51a402
bug 9777: only allow to delete snapshot in BackedUp status
...
status 9777: resolved fixed
2011-09-14 14:15:44 -07:00
David Nalley
4c2925ab01
restoring proper licensing notices originally committed in ad79436f2c304db27f5aee355527ffce18cf2590 but unintentionally reverted when trying to fix a few build issues
2011-09-14 16:45:43 -04:00
Jessica Wang
783575de29
bug 11441: cloudStack - host page - Edit Host - fix a bug that hosttags editing field didn't get refresh when clicking different hosts in middle menu.
2011-09-14 12:07:50 -07:00
frank
98badf8f8c
add usage back to spec file
...
now FOSS including all stuff
2011-09-14 11:59:32 -07:00
Jessica Wang
7599e842c0
bug 11433: cloudStack - Acquire IP Address dialog - get element ID by a different way.
2011-09-14 11:45:03 -07:00
David Nalley
60d8d81c3f
seeing if this fixes usage build
2011-09-14 14:09:59 -04:00
alena
428232da21
bug 10435: use "hostName" instead of "name" as a search filed in listSystemVms
...
status 10435: resolved fixed
2011-09-14 11:01:21 -07:00
prachi
2e4b39de33
Bug 11430 - add host > Host Tags field missing from DB + UI even when host tags specified in add host 2.2.y -> 2.2.12 KVM
...
Changes:
A KVM agent always connects to the management server itself, we dont have to do direct connect. This part of code was missing updating the DB host entry with hosttags.
Corrected the code to save the hosttags while adding a KVM host.
2011-09-14 10:45:03 -07:00
Edison Su
4999511a2d
bug 11239: bugy database contains a cluster whose hypervisor type is Null, then listhypervisorscmd return a None hypervisortype. Fixed in the API, don't return None
...
status 11239: resovled fixed
2011-09-14 10:43:47 -07:00
Murali Reddy
d73bf096c0
bug 11425: dont count direct IP in resource count while updating resource count through API
...
status 11425: resolved fixed
2011-09-14 23:09:59 +05:30
alena
97c4029700
bug 11434: don't execute destroy call when vm is already in Destroyed/Expunging state
...
status 11434: resolved fixed
2011-09-14 10:33:16 -07:00
Edison Su
79ca0bc66b
Revert "bug 11239: add check for hypervisor type when deploy vm, no way to deploy a vm with hypervisor type None"
...
This reverts commit f1e66738bb252c20a9ec1b8dffc2fd24521458dc.
2011-09-14 10:28:27 -07:00
Sheng Yang
2916270d8b
Add missing files for redundant router.
2011-09-14 09:40:19 -07:00
Nitin
22cca97894
bug 11190: My changes got reverted. Putting them back - Treating the max account limits with -1 values as infinite
2011-09-14 19:36:54 +05:30
Nitin
cc1c6347da
bug 10856: On account delete the snapshots were not getting deleted from secondary storage. This was happenning because we were passing incorrect folder path of the snapshot.
2011-09-14 18:58:15 +05:30
Naredula Janardhana Reddy
01ac82d9d6
bug 11372:
...
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
global - stats visible from public network.
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network(for xen and kvm).
disabled - stats disabled.
all - stats available on public,guest and link-local. (Newly added)
default - stats availble on the serving http port, this does need any specific http port.(Newly added)
Except default and disabled, all the rest of 4 need to configure the stats port.
2011-09-14 17:09:21 +05:30
Murali Reddy
17caf6ea25
bug 11023: recalcuate vmware template virtuali size while upgrate above 2.2.10
2011-09-14 15:39:41 +05:30
Sheng Yang
645976bd87
bug 11351: Add monitor process for keepalived
...
Then when the process dead, we can know it and prevent two MASTER case happened.
2011-09-14 03:06:08 -07:00
Sheng Yang
63b7debafc
bug 11351: move redundant router scripts to ramdisk
...
Then it can exempt from storage failure.
2011-09-14 03:06:05 -07:00
Sheng Yang
8e04426bd8
bug 11351: Add checkrouter.sh.templ
...
Also modify ipassoc.sh to use checkrouter.sh
2011-09-14 03:06:02 -07:00
Sheng Yang
002cff65ee
bug 11351: Add parameters for binary file/log file
2011-09-14 03:05:59 -07:00