Vijayendra Bhamidipati
6dc833c771
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
Missed throwing exceptions at few places when making
changes previously. Commit includes whitespace corrections.
2012-08-03 13:24:18 -07:00
Vijayendra Bhamidipati
774e73dae3
Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
2012-07-27 15:38:56 -07:00
Sheng Yang
e8dbac17f6
CS-15719: Fix state change when stopping
2012-07-27 15:31:52 -07:00
Vijayendra Bhamidipati
62c11df4e9
CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
...
Description:
1) With this commit in the series for this bug,
removed all occurrances of db IDs being passed
when raising InvalidParameterValueException.
2) Renamed HyervisorTemplateAdapter.java to
HypervisorTemplateAdapter.java.
2012-07-27 15:08:48 -07:00
Sheng Yang
c971d3c2a6
CS-15697: Fix wrong class for finalizeStop()
2012-07-26 16:04:10 -07:00
Alena Prokharchyk
f6041de179
VPC: added vif info to ipassoc command
2012-07-25 13:03:40 -07:00
Vijay
21e13657b4
AutoScale.
...
All API commands with separate service layer for AutoScale.
Not tested.
2012-07-24 09:57:10 +05:30
Alena Prokharchyk
22826032b4
VPC: CS-15668 - IpAssoc: unplug the nics before pluggning new ones
2012-07-23 16:18:49 -07:00
Alena Prokharchyk
aa6ee7c506
VPC: one more fix for multiple public nic case for the VPC VR
2012-07-20 14:08:00 -07:00
Alena Prokharchyk
c0fb2fece9
VPC: CS-15638: Plug nic for the public ip address if the ip address from the diff vlan range than sourceNat ip
2012-07-20 13:25:09 -07:00
Edison Su
79bb22c942
CS-15544,fixed
2012-07-11 16:01:07 -07:00
Alena Prokharchyk
a3424cf8a0
VPC: add vm to network - no need to prepare nic when add vm in Stopped state to the network; the nic will be prepared once the vm starts up
2012-07-10 18:02:44 -07:00
Alena Prokharchyk
954b937a42
VPC: unplugNic - release the nic in the DB only after the command is executed succesfully on the backend
2012-07-10 18:02:44 -07:00
Alena Prokharchyk
1657486f41
VPC: added vpc_id to private_ip_address table to indicate which vpc the ip belongs to
2012-07-09 13:00:03 -07:00
Pranav Saxena
922d254b72
CS-13376- Vm is stuck in Stopping state when MS is rebooted after the stop command was issued, but answer wasn't recieved from the backend yet
2012-07-05 11:29:01 +05:30
Pranav Saxena
c6448d0e8e
CS-13376- Vm is stuck in Stopping state when MS is rebooted after the stop command was issued, but answer wasn't recieved from the backend yet
2012-07-05 11:24:24 +05:30
Pranav Saxena
a4740b314f
CS-13376: Vm is stuck in Stopping state when MS is rebooted after the stop command was issued, but answer wasn't recieved from the backend yet..removing trailing whitespaces in the code
2012-07-04 22:04:20 +05:30
Pranav Saxena
75026053bc
CS-13376: Vm is stuck in Stopping state when MS is rebooted after the stop command was issued, but answer wasn't recieved from the backend yet
2012-07-04 21:51:32 +05:30
kishan
077ca1489c
bug CS-15389: Added prepareStop to Virtualmachine manager and moved network usage collection into prepareStop of VR manager
2012-06-28 18:07:47 -07:00
Alena Prokharchyk
516628273f
VPC: apply firewall ACLs as a part of VPC router start/restart and VPC network implement
2012-06-21 15:10:15 -07:00
Alena Prokharchyk
b8f67f0249
Vpc: fixed the network shutdown happening as a part of GC thread for VPC networks
2012-06-19 14:30:50 -07:00
Alena Prokharchyk
9c01ca2785
VPC: ipAssoc consists of 3 parts: plug nic (if needed), associateIp, enableSourceNat(if ip is source nat ip)
2012-06-12 10:58:20 -07:00
Alena Prokharchyk
287ebd350d
More logging to plug nic code
2012-06-11 15:58:26 -07:00
Alena Prokharchyk
3b943d84dd
Fixed addDhcpEntry/userdata/password in VPC setup
2012-06-11 13:37:38 -07:00
Alena Prokharchyk
cf1882a2c8
1) Added VpcVirtualNetworkApplianceService interface
...
2) Pass dns1/dns2 to setupGuestNetworkCommand
3) Network implement - don't get source nat ip address for Vpc if it already has one
2012-06-10 12:31:47 -07:00
Alena Prokharchyk
7bdcb244a2
StartRouter: set only control nic during the initial router start; plug exising public and guest nics after the router is started with control nic
2012-06-06 16:56:38 -07:00
Alena Prokharchyk
d9758045d9
Added NicTO to setupGuestNetworkCommand constructor - we need this info for guest network configuraiton
2012-06-05 16:10:20 -07:00
Alena Prokharchyk
460bab4a7d
Support for adding private network
2012-06-05 10:57:29 -07:00
Alena Prokharchyk
aa0c0cb260
Added support for network shutdown in VPC guest networks
2012-05-24 15:33:52 -07:00
Alena Prokharchyk
2014cb0feb
Plug nic support
2012-05-23 16:18:41 -07:00
Alena Prokharchyk
05609b9074
CS-14904
...
Fixed the bug where vm_instance.ha_enabled wasn't updated during service offering upgrade
2012-05-15 12:35:48 -07:00
abhi
b5654a6fd1
bug 13673: stopping alien VMs during sync for Xenserver
2012-05-01 13:00:03 +01:00
Nitin Mehta
baf6b6eb82
Bug 13591: Remove unwarranted log messages that we are printing with every answer recieved from the agent.
...
Reviewed-By: Kishan
2012-05-01 11:02:22 +01:00
Salvatore Orlando
8c398654d3
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
Conflicts:
api/src/com/cloud/network/ovs/OvsCreateTunnelAnswer.java
2012-04-24 02:20:37 +01:00
Alena Prokharchyk
0527cad0b7
CS-14256: throw executionException when finalizeStart fails (no point to retry).
2012-04-23 15:56:10 -07:00
Alena Prokharchyk
c242a776a7
AdvanceStart: do cleanup() call with force=true when the start command wasn't sent to the backend yet
2012-04-13 17:18:48 -07:00
Alena Prokharchyk
d3bca8df8f
bug 14615: deployVm can work 2 diff ways now: 1) Default way - create and start the vm. 2) Create the vm without starting it. Note that vm's volumes stay in Allocated state -not created on the backend till the point where vm starts
...
status 14615: resolved fixed
2012-04-06 11:30:26 -07:00
frank
72d284de7d
Switch to Apache license
2012-04-03 04:54:14 -07:00
Abhi
f3c499be3b
bug 14216: rightly initializing to avoid NPE
2012-03-21 14:57:09 +05:30
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
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
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
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
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
abhi
59c7150af7
bug 13439: full sync at management server restart, disabling hourly sync
2012-02-06 15:01:44 +05:30
Alena Prokharchyk
d4d345a587
Don't retry to re-create the vm when failed to allocate public ip
2012-01-19 14:00:07 -08:00
Alena Prokharchyk
d5752eca61
Error deployVm when elasticIp/staticNat failed to assign to the vm
2012-01-19 13:58:34 -08:00
Abhinandan Prateek
a60d8cea86
bug 12530: moved the initial full sunc from the cron to host connect.
2012-01-02 13:40:33 +05:30
Abhinandan Prateek
9333acffb4
bug 12530: ignore VMs in starting state, as the first sync may happen after the managment server has already issued start for system VMs
2011-12-30 10:35:08 +05:30