Alena Prokharchyk
ba7fddac3b
VPC: implemented add/delete Private gateway
2012-06-22 15:06:58 -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
Vijayendra Bhamidipati
e03ed60540
Bug 13127: API error text refer to database ids instead of uuids
...
Bug CS-14448: Wrong error message on using the createVlanIpRange cmd
Cherry-picking from master for bug 14448 into 3.0.x. Resolved
conflicts encountered during cherry-picking.
Description:
Adding overloaded addProxyObject() function to CloudException
and RuntimeCloudException classes and using this function
to stuff exceptions with IDs, to reduce code footprint.
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
2012-06-18 12:55:44 -07:00
Vijayendra Bhamidipati
7860b78049
Bug 13127: API error text refer to database ids instead of uuids
...
Bug CS-14448: Wrong error message on using the createVlanIpRange cmd
Cherry-picking from master for bug 14448 into 3.0.x. Resolving
conflicts arising from the pick.
Description:
Modifying the API functions' exception handling to call
addProxyObject() wherever applicable, and removing some
wrong calls to addProxyObject() that were put in in an
earlier commit for this bug.
With this commit, we cover many API functions to use the
new exception handling code, but some pieces may still be
left out. These will be covered as work in progress, when
making changes to the CS API code.
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/resource/ResourceManagerImpl.java
2012-06-18 12:44:18 -07:00
Alena Prokharchyk
aaf0d24a83
Merge branch 'vpc-3.0.x' into 3.0.x
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/AssociateIPAddrCmd.java
api/src/com/cloud/api/commands/EnableStaticNatCmd.java
api/src/com/cloud/event/EventTypes.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/rules/RulesService.java
client/tomcatconf/commands.properties.in
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
scripts/vm/hypervisor/xenserver/xenserver56fp1/patch
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
server/src/com/cloud/upgrade/dao/Upgrade2214to30.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
server/test/com/cloud/vm/MockVirtualMachineManagerImpl.java
setup/db/create-schema.sql
wscript
2012-06-14 19:04:59 -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
79a7ddb970
CS-15082: changed search criteria for Running vms in Network. Ip4 Address for guest network can be null for nic in Basic zone when vm originally fails to start.
...
Reviewed-by: Frank
2012-05-25 10:19:18 -07:00
Nitin Mehta
feefa93cad
bug CS-14945: Throw an error message if the user is trying to attach the volume in local only storage zone.
...
Reviewed-by: Kishan
2012-05-25 18:40:16 +05:30
Alena Prokharchyk
aa0c0cb260
Added support for network shutdown in VPC guest networks
2012-05-24 15:33:52 -07:00
Alena Prokharchyk
4c83520dd1
CS-15082: don't allow to remove guest network in Basic zone when there are non-expunged CPVM/SSVMs using it.
2012-05-24 11:48:47 -07:00
Alena Prokharchyk
2014cb0feb
Plug nic support
2012-05-23 16:18:41 -07:00
Alena Prokharchyk
9fb9149c99
1) Added new element - VpcVirtualRouterElement. Extends VirtualRouter + has plug/unplug nics support
...
2) Added services api support for plugging/unplugging the nics to VpcElement
2012-05-22 16:53:27 -07:00
Alena Prokharchyk
e4458cf5b7
1) Added start logic to the VPC
...
2) VirtualRouterManagerImpl - refactored deployVirtualRouter method
3) Added vpcId to domain_router/user_ip_address tables and corresponding vo objects
2012-05-21 14:29:34 -07:00
Alena Prokharchyk
0e1b5901dc
Set networkId as a join parameter in DomainRouterDaoImpl as networkId was moved to the helper table
2012-05-18 18:26:44 -07:00
Alena Prokharchyk
492e41c462
Removed network_id reference from domain_router table as now VirtualRouter can be associated with multiple networks (VPC case). Code modifications were done accordingly to the places where this field was used.
...
Router->Networks (one to many) are held in router_network_ref table now
2012-05-18 17:25:04 -07:00
Alena Prokharchyk
978c2f414a
Initial checkin for VPC feature:
...
1) Added API frameworks for the feature. New commands:
* CreateVPCCmd
* ListVPCsCmd
* DeleteVPCCmd
* UpdateVPCCmd
* CreateVPCOfferingCmd
* UpdateVPCOfferingCmd
* DeleteVPCOfferingCmd
* ListVPCOfferingsCmd
2) New db tables:
* `cloud`.`vpc`
* `cloud`.`vpc_offerings`
* `cloud`.`vpc_offering_service_map`
and corresponding VO/Dao objects.
Added vpc_id field to `cloud.`networks` table - not null when network belongs to VPC
3) New Manager and Service interfaces- VpcManager/VpcService
4) Automatically create new VpcOffering (if doesn't exist) on system start
5) New Action events:
* VPC.CREATE
* VPC.UPDATE
* VPC.DELETE
* VPC.OFFERING.CREATE
* VPC.OFFERING.UPDATE
* VPC.OFFERING.DELETE
2012-05-17 18:08:03 -07:00
Edison Su
ba98c063ba
bug CS-14833: if iso is xen/vmware tools, attach it to vm; status CS-14833: resolved fixed
2012-05-15 13:04:10 -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
Nitin Mehta
548568558c
bug CS-14814: Do not allow attaching volume to a stopped vm for an uploaded volume. Make changes to accomodate volume attaching for a vm created in Stopped state.
2012-05-15 18:26:17 +05:30
Nitin Mehta
b2c38acb4e
bug CS-14785: Allow attaching the volume for Uploaded volume. Also have transition fo delete volume.
2012-05-14 16:41:56 +05:30
Nitin Mehta
cf23d2e63f
bug CS-14785: Improvements to volumes sync so that it can recover from any error. Introduced new state UploadOp which signifies that the volume os on secondary and the status would be picked up from volume host ref table.
2012-05-11 11:38:07 +05:30
prachi
948aa45050
CS-14753: When Vm is deployed with a Security Group , it also gets associated with the default security group.
...
Changes:
- StartVM needed to be changed to add default security group only when none is present.
- DeployVm: createAdvancedSecurityGroupVirtualMachine changed to follow the same rule - add default SG only if none is specified.
2012-05-08 15:51:06 -07:00
Nitin Mehta
56f4dec1e2
bug CS-14785: String equality should be through equals function....what was i thinking !!!.
2012-05-08 14:38:38 +05:30
Nitin Mehta
8ac10c5941
bug CS-14739: Check for the volume and vm hypervisor compatibility before attaching the volume to vm in case the volume is on secondary storage.
2012-05-04 16:30:08 +05:30
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
prachi
1fa596fcf5
DeployVMCmd: Do not place the instance in default security group if groupId is provided
2012-04-30 17:07:30 -07:00
Nitin Mehta
8196132f68
bug CS-10789: Preliminary upload and attach changes work .
2012-04-30 11:09:37 +05:30
Nitin Mehta
2d7471adb5
Bug 10808: More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-30 09:46:23 +05:30
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
Abhi
8f08898fb7
bug CS-14396: the VMs with current host id should be listed here, probably this fix did not make to this branch, is there is 2.2.14 branch
2012-04-09 12:24:49 +05:30
Alena Prokharchyk
52ebc73b65
Return password as a result of startVm command if the vm was originally deployed with startVm=false parameter
2012-04-06 13:45: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
Alena Prokharchyk
07778f8db3
Code cleanup for createVlanRange api
2012-04-04 15:02:51 -07:00
frank
72d284de7d
Switch to Apache license
2012-04-03 04:54:14 -07:00
Alena Prokharchyk
dcf299c26f
bug 14292: don't try to reboot vm as part of resetVmPassword if the vm is in Stopped state
...
status 14292: resolved fixed
2012-03-28 13:51:00 -07:00
Abhi
f3c499be3b
bug 14216: rightly initializing to avoid NPE
2012-03-21 14:57:09 +05:30
Alena Prokharchyk
caefc3087b
bug 14156: return instancename parameter in userVm response to ROOT admin only
2012-03-06 13:39:03 -08:00
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
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