1589 Commits

Author SHA1 Message Date
alena
77e89b72ca bug 8187: retreive DNS information from DataCenter instead of resetting it for the network. After the DNS is reset, all networks in the zone have to be restarted. Console proxy and secondary vm should be restarted too.
status 8187: resolved fixed
2011-01-26 19:08:56 -08:00
Kelven Yang
244d8c198b Cleanup UserContext after execution for better security 2011-01-26 17:06:14 -08:00
abhishek
aafdf07efb minor typo 2011-01-26 15:18:21 -08:00
abhishek
b226005982 bug 8130: destroying all vols associated with a vm in error state, during the vm creation flow
status 8130: resolved fixed
2011-01-26 15:14:49 -08:00
alena
402506e8a0 Disable static nat for the IP address when corresponding vm gets expunged 2011-01-26 14:17:08 -08:00
abhishek
6aae1adc1b bug 8215: better formed exception body 2011-01-26 13:29:21 -08:00
abhishek
b5d2ff71fc bug 8215: blocking snapshot creation for volumes attached to vms which are in destroyed or expunging state
status 8215: resolved fixed
2011-01-26 13:26:25 -08:00
Kelven Yang
34178bec61 1) add destroySystemVm command to allow destroying of system VMs
2) add consoleproxy.launch.max to allow specifying a configured max number of console proxy VM that can be launched within a zone(if not specified, default is 10), this is to prevent possible DoS attacks or uncontrolled usage of system resources
3) Remove some unused code.
2011-01-26 12:08:35 -08:00
alena
46e1f6279a Return vm information in listPublicIpAddress api response for the static nat ips 2011-01-26 12:03:30 -08:00
alena
a4c5bef188 disableOneToOneNat: generate usage events for all rules (port ranges) that are being removed 2011-01-26 10:31:27 -08:00
alena
731e78937f Added 2 new api commands for 1-1 nat feauture: enable/disableOneToOneNat. Here is the 1-1 nat api summary:
* to enable 1-1 nat for ip/vm use enalbeOneToOneNat api
* to open port range (or multiple port ranges) use createIpForwardingRule api.
* to delete one port range use deleteIpForwardingRule api.
* to disable 1-1 nat use disableOneToOneNat api.
2011-01-26 09:35:32 -08:00
Edison Su
fc97034000 refactor vmstatelistener 2011-01-26 11:01:43 -05:00
abhishek
5be450ff47 bug 7376: removing the limit on iso/template names
status 7376: resolved fixed
2011-01-25 17:37:05 -08:00
Kelven Yang
83dd811221 Deal with the situation while volume was left over in Creating state 2011-01-25 17:20:08 -08:00
Kelven Yang
a56e5ace88 Bug 8102: CheckSshAnswer could be null 2011-01-25 16:42:05 -08:00
Kelven Yang
2b646f3ee0 1) Refactor ConsoleProxyManager to new networking and VirtualMachineManager interface
2) Don't destroy/re-create console proxy because of starting failure to take advantage of storage recreation in 2.2
3) Remove the race-condition in starting new instance of console proxy to avoid multiple ones being started for standby capacity reservation
4) Add a global configuration variable - system.vm.auto.reserve.capacity, set it to false to prevent automatical console proxy launching, the change of the variable value can take effect without the need of restarting management server
2011-01-25 16:04:02 -08:00
abhishek
9b43e27706 bug 7707: resolving the snapshots listing issue
status 7707: resolved fixed
2011-01-25 15:54:53 -08:00
alena
4fdbb00060 Allow to add 1-1 Nat with the same public IP address and different port ranges 2011-01-25 15:31:48 -08:00
alena
a96f8f9575 Refactored 1-1 NAT feature:
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
abhishek
b2a9b3061d bug 8099: returning systemvms for direct networking
status 8099: resolved fixed
2011-01-25 14:34:41 -08:00
Kelven Yang
8f138d9330 Remove unused code in ConsoleProxyManager 2011-01-25 11:36:07 -08:00
abhishek
fc5ec096f5 bug 8188: removing service and disk offerings associated with a domain, when we delete a domain
status 8188: resolved fixed
2011-01-25 11:23:51 -08:00
Kelven Yang
28bbba3cea Reset pending-only jobs upon management server startup 2011-01-25 11:19:35 -08:00
Edison Su
e4d9216222 Revert "fix for the Bug 7836 - Add secondary storage- MS fails to check invalid path specified"
This reverts commit 53b2ba278d597cd653774e0f89273ddfc9cfdedb.
2011-01-26 04:07:56 -05:00
alena
e256285b05 Generate alerts_types.xml document along with other xml docs. 2011-01-25 10:37:00 -08:00
alena
240a4b84be Fixed logging for vm expunge process 2011-01-25 09:47:54 -08:00
alena
825042fbd7 bug 8156: fixed update for xen.heartbeat.config.interval parameter
status 8156: resolved fixed
2011-01-25 09:35:39 -08:00
kishan
16c8111add bug 8122: cover port forwarding rules for usage
status 8122: resolved fixed
2011-01-25 19:14:55 +05:30
kishan
e5b2b396ec bug 8124: log VM.STOP usage event for user Vms only
status 8124: resolved fixed
2011-01-25 16:54:58 +05:30
kishan
00ebbbed6d bug 8098, 8126: Added vm destroy event during expunge
status 8098,8126: resolved fixed
2011-01-25 15:51:20 +05:30
kishan
2e13c9c477 use destroy state instead of boolean falg for volumes 2011-01-25 15:49:11 +05:30
root
5411e6d91f Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2011-01-25 12:06:47 -05:00
root
53b2ba278d fix for the Bug 7836 - Add secondary storage- MS fails to check invalid path specified
mounting the path to validate the NFS URl
2011-01-25 11:58:33 -05:00
alena
3a008ee699 Changed restartNetwork command flow:
* API requires network id to be passed in (it was optional before)
* restartNetwork calls restart() method of all network elements in the system, and it's up to the element to decide which actions to take on the restart (for example, for Virtual Router it's IPAssoc/applyPF/applyLBRules).
2011-01-24 18:37:57 -08:00
Alex Huang
463835e7d7 removed unused domain in system vms 2011-01-24 17:50:32 -08:00
Alex Huang
68464d6f66 removed unused dns 2011-01-24 17:50:32 -08:00
Alex Huang
c59e576a51 removed unused dns 2011-01-24 17:50:32 -08:00
Alex Huang
65034995a3 removed unused guest ip fields from system vm 2011-01-24 17:50:32 -08:00
Alex Huang
1a7617bb95 removed unused vlan fields from system vm 2011-01-24 17:50:32 -08:00
alena
851d7c2bd2 Use correct searchBuilder in NicDao 2011-01-24 17:29:54 -08:00
abhishek
b714f1170c bug 8097: introducing an optional zoneId param whilst listing hypervisors
status 8097: resolved fixed
2011-01-24 17:24:31 -08:00
alena
0e4196448a bug 7811: Start domR/Dhcp if it's not running when do userVmReboot
status 7811: resolved fixed

Other fixes:
* vmExpunge: cleanup LB/PF rules after vm was marked as Expunging in the DB to avoid the situation when user recovers a vm in the middle of expunge job.
2011-01-24 17:04:23 -08:00
Alex Huang
2466589e2f removed unused domain_router_id from uservm 2011-01-24 16:56:00 -08:00
Alex Huang
20891ae6f9 removed unused guest ip fields from uservm 2011-01-24 16:55:59 -08:00
Alex Huang
a55d395b86 removed unused vnet field 2011-01-24 16:55:59 -08:00
Alex Huang
fc33ef2be2 Removed several unused fields after the refactoring 2011-01-24 16:18:40 -08:00
Frank
38ab26bcb0 ovs tunnel network -- add lock entry in ovs_tunnel_account 2011-01-24 13:47:34 -08:00
abhishek
334c41a7e8 using the accessor method instead of the obj directly 2011-01-24 13:43:11 -08:00
abhishek
ab87e10ad1 bug 7970: some more improvements to the storage maintenance with 2 pools
status 7970: resolved fixed
2011-01-24 11:27:52 -08:00
Frank
639ddbb45c ovs managers: handle execption along with Alex's convention 2011-01-24 10:06:07 -08:00