nit
f88fb1e505
bug 8887 : Stats Calculation Improvement - Storage stats wont update DB anymore and would be kept "in memory" just like other stats. For the listCapacityCmd which consumes it (sec. storage used and primary storage used) this would be constructed using the in memory maps rather than DB which wont have sec storage and primary storage used in the DB anymore.
2011-03-14 18:45:00 -07:00
alena
bf1aae8413
bug 8730: perform permission check when listSshKeyPair
...
status 8730: resolved fixed
2011-03-14 16:03:25 -07:00
alena
1b880da804
bug 8728: deleteSshKey - make account permission check
...
status 8728: resolved fixed
2011-03-14 15:46:01 -07:00
alena
c32198838f
bug 8724: can create sshKeyPair in behalf of other users now
...
status 8724: resolved fixed
2011-03-14 15:37:50 -07:00
alena
aa8183e660
bug 8749: make account permission check in getVmPassword api
...
status 8749: resolved fixed
2011-03-14 15:27:04 -07:00
alena
1cf735c537
bug 8968: use search criteria when list security group by id
...
status 8968: resolved fixed
2011-03-14 13:45:11 -07:00
Kelven Yang
458998c609
bug 8960: add management.netaddr.cidr to CPVM and SSVM
2011-03-14 11:24:25 -07:00
alena
7b9b897459
Fixed the issue when admin can't deploy vm in behalf of another user. We were passing caller to deployVm always.
2011-03-14 11:08:59 -07:00
prachi
ed9a11c6b6
API changes for Bug 3316 - Manual live migration of Virtual Machines
...
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer will expose new API:
Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService will expose a new API: UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)
------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
Alex Huang
b6f4ff33ca
domr upgraded
2011-03-11 16:53:01 -08:00
alena
346ca43714
bug 6892: update resourceCount for snapshot after the DB record is created; if snapshot fails to create on the backend - reduce resource count
...
Also fixed couple of other issues:
* usage event generation - generate event only when snapshot is created on primary and backed up on secondary
* zoneId was always set to 0 for snapshot.delete event, fixed this.
* Fixed resource_count decrement for manual snapshot deletion
2011-03-10 18:03:06 -08:00
Alex Huang
09d5bcc59c
direct network and ip address are ready
2011-03-10 15:58:40 -08:00
Kelven Yang
14c0eb74a0
Use the correct one to find ManagementServerHostVO
2011-03-10 15:32:58 -08:00
alena
4423e4d174
bug 8867: cidr is required for Direct network creation; remove this limitation later after we allow Shared network to have multiple ip ranges having different Cidrs
...
status 8867: resolved fixed
2011-03-10 14:40:35 -08:00
alena
3448513465
bug 8666: perform RFC1918 check for cidr of Guest Virtual cidr when 1) Create/Update zone 2) Create guest virtual network
...
status 8666: resolved fixed
2011-03-10 14:06:43 -08:00
Alex Huang
7b3a1e129f
nics are retrieved from user vms
2011-03-10 13:46:33 -08:00
alena
dee3aefecf
bug 8508: assign source nat ip address only during network implementation.
...
status 8508: resolved fixed
2011-03-10 13:34:35 -08:00
alena
5a44e03764
bug 8844: default and Public disk offerings have NULL domainId (to be consistent with serviceOfferings)
...
status 8844: resolved fixed
2011-03-10 12:10:55 -08:00
alena
975344a3ff
bug 8688: Network created from the networkOffering with Availability="Required" is required during the vm deployment in Advanced nonSecurityGroupEnabled zone
...
status 8688: resolved fixed
2011-03-10 11:27:17 -08:00
alena
e89fc252f2
bug 8851: Guest Virtual Network can't be shared
...
status 8851: resolved fixed
2011-03-10 10:35:52 -08:00
Kelven Yang
6b8f073f99
Fix issues for management server ping support in cluster management
2011-03-10 10:32:17 -08:00
anthony
7d7dee791a
bug 7877: prevent two mgmt servers connecting to one same host
...
status 7877: resolved fixed
2011-03-09 18:29:42 -08:00
alena
37d9b5ab50
bug 8849: Don't allow create Guest Virtual and Direct shared networks in Security Group enabled zone
...
status 8849: resolved fixed
2011-03-09 18:17:01 -08:00
alena
df3704e360
bug 8861: introduced optional zoneId parameter to listNetworkOfferings command
...
status 8861: resolved fixed
2011-03-09 18:05:53 -08:00
Alex Huang
851c3344fc
database upgrade
2011-03-09 17:56:11 -08:00
Alex Huang
e81f02f9b5
more changes for direct networks
2011-03-09 17:56:11 -08:00
Alex Huang
f1d01d5b77
user ip address for virtual network is done migrated
2011-03-09 17:56:11 -08:00
Kelven Yang
6203ba6bfe
bug 8558: improve cluster management
2011-03-09 17:18:48 -08:00
alena
b6ae35728e
bug 8816: 1) return linkLocal instead of private ip/netmask/mac in listRouters 2) return linkLocal/private ip/netmask/mac in listSystemVms response
2011-03-09 16:47:46 -08:00
alena
b5a36df966
listPublicIpAddresses - when do search by keyword, apply keyword to account search
2011-03-09 16:24:28 -08:00
alena
4f4683ec93
bug 8937: throw an Exception when fail to reapply Firewall rules as a part of network Implement
...
status 8937: resolved fixed
2011-03-09 16:24:28 -08:00
prachi
b9646afd48
Adding log statement in allocator while skipping a storagepool if it crosses the storage.capacity.threshold
2011-03-09 15:34:53 -08:00
Edison Su
96bb6a7b7c
fix NPE that template was deleted
2011-03-09 15:27:06 -05:00
prachi
34836aaaa5
Merging 2.1.8 fix to master : Bug 8801 - reserve some space for snapshots
...
StoragePoolAllocators need to respect storage.capacity.threshold in allocations - this was broken after StatsCollector started maintaining the primary storage Stats separately
Fixed allocator to refer the correct in-memory stats map.
2011-03-09 13:46:25 -08:00
alena
0c04007e04
bug 8734: search by keyword in listPublicIpAddresses command
...
status 8734: resolved fixed
2011-03-09 13:32:36 -08:00
alena
5129df106b
bug 8847: createUser api - "account" parameter is required now
...
status 8847: resolved fixed
2011-03-09 10:21:50 -08:00
Edison Su
670afd2331
bug 8875: add new management cidr configuration for vmware: if there are multiple management servers, each of them may talk to domR, so that means domR needs to know the routing to all the mgt servers.
...
status 8875: resolved fixed
2011-03-09 10:20:05 -05:00
Edison Su
ccab6c21c4
fix bug when one of template was deleted, then delpoyvm, got NPE
2011-03-09 10:20:05 -05:00
prachi
3624fee85d
Changed the interface in StoragePoolAllocator to avoid a potential NPE in LocalStoragePoolAllocator. Allocators were taking in an instance of VM enclosed inside VirtualMachineProfile.
...
However in case of createVolume from Snapshot, there is no VM associated. So VM passed is null and this can cause a NPE.
Allocators hardly use the VM instance. LocalStoragePoolAllocator was mainly using it for checking if host has capacity. But it need not do this check, since that is done by HostAllocators anyway.
So removing the use of VM in StoragePoolAllocators.
2011-03-09 10:12:04 -08:00
alena
7668e1878a
bug 8898: allow service offering upgrade for Running vm
2011-03-09 10:03:26 -08:00
alena
e25fbe3a89
bug 8885: enableAccount - account/domainID are required parameters now
...
status 8885: resolved fixed
2011-03-09 09:31:39 -08:00
alena
a50950bbef
221 to 222 DB upgrade for InstanceGroup. Unit test is included
2011-03-09 08:34:08 -08:00
anthony
c013d0a6c6
fixed unit test
2011-03-08 20:04:28 -08:00
anthony
5781aafdcb
fixed upgrade unittest
2011-03-08 18:24:11 -08:00
Frank
469280866d
Bug 8208 - bare metal provisioning
...
able to add external DHCP server
2011-03-08 17:29:33 -08:00
anthony
b32e8f23a6
bug 8712: since we add multiple concurrent policy back in 2.2.3, we only support upgrade from 2.1.7 to 2.2.3, otherwise some policies will be removed silently
...
need test this upgarde
2011-03-08 17:10:27 -08:00
anthony
5b1a421e62
bug 8712: prepare from snapshot db migration
2011-03-08 17:10:27 -08:00
Kelven Yang
33b3333d65
Add JMX support to async job management, active job details will be checked in jConsole
2011-03-08 16:34:17 -08:00
nit
47882e9809
bug 7433: In case of multiple zones deleting a tempate from a zone doesn't prevent a user from selecting it to deploy the VM in the same zone. It was still visible in the listTemplates. Made change to check for template_zone_ref and template_host_ref removed and destroyed columns. During deployVM disallow a vm to be deployed from a template that has been removed in the zone.
2011-03-08 15:41:10 -08:00
alena
fe267c2cb2
Basic zone 221 to 222 DB upgrade. Unit test is included
2011-03-08 15:32:55 -08:00
Frank
6c819c1491
Merge branch 'bareMetal'
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/offering/ServiceOffering.java
api/src/com/cloud/vm/UserVmService.java
client/tomcatconf/components.xml.in
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/service/ServiceOfferingVO.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
2011-03-08 14:18:11 -08:00
Frank
20a7d95c06
Bug 8208 - bare metal provisioning
...
make an individual package and move to premium
2011-03-08 10:45:50 -08:00
Frank
5517046a66
Bug 8208 - bare metal provisioning
...
throw exception when pxe server is not per pod
2011-03-08 10:05:58 -08:00
alena
5842392ec1
bug 8146: Multiple network case (default network is Virtual) - for Direct networks dhcp servers set dns to the eth0 ip address of the domR belonging to virtualNetwork
...
bug 8146: resolved fixed
2011-03-07 19:56:25 -08:00
Kelven Yang
13c5a4ebcf
forget to add new files in
2011-03-07 19:43:37 -08:00
Kelven Yang
d0892a964d
Add JMX monitoring to cluster management
2011-03-07 18:40:33 -08:00
Alex Huang
35275c1615
added user ip address upgrade
2011-03-07 17:53:43 -08:00
alena
b20fafeaa4
bug 8874: rebootVm - don't try to implement already implemented network
...
status 8874: resolved fixed
2011-03-07 10:23:48 -08:00
alena
94fb0612f2
Fixed DB upgrade script - vm_type field can be NULL
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang
bda3264a77
networks are generated now from the domr
2011-03-04 18:07:26 -08:00
Alex Huang
f7ea6e17cd
break upgrade fix upgrade
2011-03-04 18:07:26 -08:00
Alex Huang
2d58d85a89
break upgrade fix upgrade
2011-03-04 18:07:26 -08:00
nit
7c127bf096
bug 8824: remove capacity entry when deleting secondary storage.
...
status 8824: resolved fixed
2011-03-04 17:40:43 -08:00
Kelven Yang
cbb5aa0e89
Allow to query management server node alive status
2011-03-04 17:39:26 -08:00
nit
f85ef91a8d
bug 8643: listCapacityCmd - Make the capacity calculation more optimal. Now the API wont recalculate the stats everytime its called. It would rely on the capacity checker thread running (configurable) every 5 mins to get the capacity. Change the initital delay of capacity check thread from 5 mins to 30 seconds so that we check capacity immediately as we log in.
...
status 8643: resolved fixed
2011-03-04 16:08:18 -08:00
Edison Su
6b6577d5e9
fix build on master
2011-03-04 15:22:30 -05:00
Edison Su
bec3f3c8a2
bug 8843: add vm into security group when vm is created
...
status 8843: resolved fixed
2011-03-04 13:04:44 -05:00
Alex Huang
263244c938
more logging
2011-03-04 11:37:35 -08:00
Alex Huang
40db230095
more changes for db upgrade
2011-03-04 11:09:24 -08:00
Edison Su
8eaa53f282
fix transaction rollback in security group listener, which cause state machine update failed
2011-03-04 10:58:24 -05:00
alena
e902e83d13
Fixed bug in xmlDocWriter: use "domain" parameter instead of "domainId" for "login" command
2011-03-04 10:31:58 -08:00
kishan
a61a92b0fe
bug 8675: Added action events for Domain commands
...
status 8675: resolved fixed
2011-03-04 16:59:19 +05:30
kishan
db7a0ddb75
bug 8672: Added action events for User commands
...
status 8672: resolved fixed
2011-03-04 16:45:49 +05:30
kishan
44ec214ad8
bug 8507: Generate usage event for empty snapshot
...
status 8507: resolved fixed
2011-03-04 16:01:58 +05:30
kishan
75def45063
bug 8536: Added delete volume usage event for Data volumes also when Vm goes to Error state
...
status 8536: resolved fixed
2011-03-04 15:38:07 +05:30
kishan
5df8e59132
bug 8098: Added destroy vm usage event when Vm goes to Error state
...
status 8098: resolved fixed
2011-03-04 15:30:06 +05:30
kishan
a560f59a2b
bug 8298: Avoid logging usage events for templates owned by system user
...
status 8298: resolved fixed
2011-03-04 14:36:57 +05:30
alena
715a929e91
Separate createVm methods for 1) vm in Basic zone 2) Vm with SecurityGroup in Advanced zone 3) Vm without SecurityGroup in AdvancedZone
2011-03-03 16:13:00 -08:00
Edison Su
9ad5139fda
fix delete security group rule
2011-03-03 13:44:48 -05:00
Alex Huang
4b09b69cb2
Basic network conversion
2011-03-03 11:06:49 -08:00
alena
f36ed9b51a
bug 8689: don't allow to reset Availability for default Direct network offering
...
status 8689: resolved fixed
2011-03-02 15:58:44 -08:00
alena
1025f16940
bug 8819: Don't allow upgrade system network offerings
...
status 8819: resolved fixed
2011-03-02 15:55:36 -08:00
alena
b3d27cbf17
bug 8689: default DirectNetworkOffering has availability=Optional
2011-03-02 14:26:28 -08:00
alena
b3ff533244
bug 8795: start domR after corresponding network is shutdown - implement network before starting the domR
...
status 8795: resolved fixed
Conflicts:
api/src/com/cloud/deploy/DeployDestination.java
2011-03-02 13:46:57 -08:00
abhishek
f0a74e6314
bug 8806: improvements to the flow; using group by to eliminate need for extra ds
2011-03-02 10:07:31 -08:00
abhishek
68aa8c4eb7
bug 8806: fixing list hypervisors
...
status 8806: resolved fixed
2011-03-02 08:45:26 -08:00
Alex Huang
f3b58a4b0a
removed a bunch of scripts that doesn't pass unittest
2011-03-02 00:16:54 -08:00
Alex Huang
d0a5816999
Added Premium upgrade
2011-03-01 23:47:36 -08:00
Frank
7fa053370e
Bug 8208 - bare metal provisioning
...
Add bare metal planner
2011-03-01 17:47:37 -08:00
Edison Su
53eb46dc2a
Add local storage support for kvm
2011-03-01 19:51:43 -05:00
alena
d764bf245b
Throw an error when fail to configure one of the nics for multiNic user Vm
2011-03-01 18:07:49 -08:00
Frank
ec7a6e6863
Bug 8208 - bare metal provisioning
...
Add LinMin username, password, apid fields in AddPxeServerCmd
2011-03-01 14:55:22 -08:00
Edison Su
c80335c9df
bug 8783: user vm fs is crashed, use O_DIRECT instead of O_DSYNC/O_SYNC in qemu, aka cache=none. Hope we can reduce the possibility of guest vm crashed.
...
status 8783: resolved fixed
2011-03-01 16:38:23 -05:00
abhishek
9345969543
bug 8796: adding another check in advanced zone with sec grp
2011-03-01 16:33:14 -08:00
abhishek
dbb03006b7
adding a migration step from 221 to 222 using alex's framework. this should only be used for alex's upgrade from 217 to 22, for 221 to 222 for 222 release, we still are providing the bash script for upgrade.
2011-03-01 16:00:14 -08:00
alena
a1e9f7d5c2
Return false when vm fails to stop
2011-03-01 14:45:39 -08:00
alena
a8e70cf9b4
bug 8763: Fixed account cleanup process - don't destroy networks when vm expunge failed
...
status 8763: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-03-01 14:25:09 -08:00
Chiradeep Vittal
8ee2e311f1
bug 8380: use instance name
2011-03-01 14:07:30 -08:00
Chiradeep Vittal
ae1dc136c0
bug 8380: use instance name
2011-03-01 14:07:30 -08:00
Chiradeep Vittal
697b4f60db
bug 8380: use instance name status 8380: resolved fixed
2011-03-01 14:07:30 -08:00
Frank
35b7c26689
Bug 8208 - bare metal provisioning
...
able to start, stop, reboot, destroy VM
2011-03-01 11:40:40 -08:00
alena
24b57c5373
Regular user can create guest virtual network only
2011-03-01 10:46:25 -08:00
alena
0e032c5301
Fixed NPE in createVlanIpRange
2011-03-01 10:18:15 -08:00
alena
858578993f
Set specify_vlan=1 for Direct Network offering.
2011-03-01 10:01:58 -08:00
alena
f395005e0a
bug 8781: set dhcp/dns/userData providers to be DhcpServer in Basic zone; all other providers have to be null
...
status 8781: resolved fixed
2011-03-01 09:00:47 -08:00
kishan
65eaf27c5c
bug 8670, 8672: Added action events for account/user actions
...
status 8670: resolved fixed
2011-03-01 21:19:34 +05:30
abhishek
0ef191bed7
adding storage pool upgrade proc
2011-02-28 18:17:40 -08:00
Alex Huang
e3438d2ff0
upgrade data center is done.
2011-02-28 17:59:02 -08:00
prachi
c1f0aef550
More changes for Bug 7845 - Productize DeploymentPlanner
...
- After applying the User concentrated Pod heuristic, order of clusters within a pod (based on capacity) should remain intact
- Only change should be clusters of which pod to be considered first
2011-02-28 17:25:52 -08:00
alena
dd282f01e1
Fixed api xml generator - used to truncate some chars during api diff generation
2011-02-28 16:28:54 -08:00
alena
be76a51dbe
Api xml doc generator: define if command is sync or async in the xml doc
2011-02-28 16:28:54 -08:00
alena
7c7710c204
Allow network restart only for the networks in Setup and Implemented states.
2011-02-28 16:28:54 -08:00
anthony
cd27202a26
bug 8216: create volume from snapshot can take a disk_offering_id, if disk_offering_id is not specified, use the one from original volume
...
status 8216: resolved fixed
2011-02-28 16:28:41 -08:00
Alex Huang
8571d04034
unit testing is working again
2011-02-28 16:21:19 -08:00
Kelven Yang
2f5bacf980
bug 8768: merge fix in 2.2.2 to master
2011-02-28 15:59:21 -08:00
prachi
95c071e179
Bug 7845 - Productize DeploymentPlanner
...
The user concentrated pod heuristic should consider VMs for the given account that are in 'Running' or 'Stopped' state only.
2011-02-28 15:44:01 -08:00
Alex Huang
a517653adb
made changes
2011-02-28 14:37:30 -08:00
Alex Huang
ab3c719389
run the scripts
2011-02-28 14:37:30 -08:00
prachi
6a67bb1edb
More logging changes for
...
Bug 7845 Productize DeploymentPlanner
Bug 8317 Add better resource allocation failure messages
2011-02-28 13:47:52 -08:00
prachi
889827b63a
Bug 7845 - Productize DeploymentPlanner
...
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages
Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
Edison Su
a7c6b9f28e
fix security group rules
2011-02-28 12:16:40 -05:00
Edison Su
0e90ede56a
don't break basic zone mode
2011-02-28 12:16:40 -05:00
Edison Su
8240ae7e8c
fix migration
2011-02-28 12:16:40 -05:00
Edison Su
b20808d223
minor fix
2011-02-28 12:16:40 -05:00
Edison Su
9b51886850
fix migration issue
2011-02-28 12:16:40 -05:00
Edison Su
2705adb3b1
security group is per bridge
2011-02-28 12:16:40 -05:00
alena
08a535ec87
bug 8772: implementNetwork - reapply all the network rules for corresponding network elements every time network is re-implemented
...
status 8772: resolved fixed
2011-02-28 11:27:02 -08:00
anthony
8658fbd1d4
fixed build
2011-02-28 10:32:52 -08:00
alena
62b3d548d6
bug 8753: never release public Ip address without ensuring that all corresponding resources (PF/StaticNat/Lb rules) are cleaned up.
...
Fixed couple of other problems along:
* when expunge PF/Static nat rules as a part of vmExpunge/IpRelease process, first mark all rules as Revoke, and then send commands to the backend. Group commands by Ip address.
Before we used to do Revoke/Send per rule basis.
* When release source nat rule, make sure that corresponding vpn (if exists) is being expunged.
2011-02-28 09:21:05 -08:00
alena
ec76406942
bug 8737: set entityOwnerId for all api commands including non-Async ones
...
status 8737: resolved fixed
2011-02-28 09:21:05 -08:00
anthony
1970161844
bug 8714: support paraleel recursive snapshot
...
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume
status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
Frank
cd676f481d
Bug 8208 - bare metal provisioning
...
Successfully add start entry into LinMin PXE server
2011-02-25 21:08:13 -08:00
Frank
a9728998ff
Bug 8208 - bare metal provisioning
...
Successfully add start entry into LinMin PXE server
2011-02-25 18:58:07 -08:00
Edison Su
ac8524da51
creating zone wide vlan is disabled if zone is security group enabled
2011-02-25 15:30:02 -05:00
Edison Su
1ccec531b7
list systemonly direct network if zone is security group enabled
2011-02-25 14:23:01 -05:00
abhishek
a84d34cc72
bug 8216: we do not need to create an event in createVolFromSnapshot(), as we do it in alloc vol
2011-02-25 12:00:27 -08:00
abhishek
bae62f844d
bug 8742,8216: reverting to use org vol's disk off id whilst creating vol from snapshot. Also changing event generation so that an event is generated @ data vol creation (as opposed to attaching to vm). we will correspondingly generate an event at data vol's deletion
2011-02-25 12:00:27 -08:00
Alex Huang
378a0da0df
more unittest support
2011-02-25 11:58:12 -08:00
alena
9cf48bbfbd
bug 8686: don't allow to create network from the network offering with Availability=Unavailable
...
status 8686: resolved fixed
2011-02-25 11:44:00 -08:00
alena
fdbdba7a78
bug 8704: listNetworks with account/domainId parameter - return account specific and shared networks
...
status 8704: resolved fixed
2011-02-25 11:29:02 -08:00
alena
1dbd012fdc
bug 8720: don't allow to create network with custom vlan when networkOffering's guest IP type is Virtual
...
status 8720: resolved fixed
2011-02-25 11:29:02 -08:00
Kelven Yang
fd27af5d8f
bug 8249 : save combined persistent and run-time id into worker to help worker VM GC
2011-02-25 11:23:32 -08:00
alena
65d22a7a15
Fixed exception logging in several places
2011-02-25 09:31:21 -08:00
kishan
0b9fa1cc8a
bug 5747: Added action events for system Vms commands
...
status 5747: resolved fixed
2011-02-25 16:29:16 +05:30
kishan
44d60576f9
bug 8606: changed network offering event names. Use Assign/remove instead of create/delete
...
status 8606: resolved fixed
2011-02-25 15:26:55 +05:30
kishan
0f47eac637
bug 7842: Add account_id to user_context during create network
2011-02-25 13:15:46 +05:30
Frank
5035778b1a
Bug 8208 - bare metal provisioning
...
StartCommand cloud reach to BareMetalResrouce
2011-02-24 19:22:34 -08:00
Edison Su
f383e5a37d
security group is per vm per nic
2011-02-24 19:58:19 -05:00
Edison Su
8a40371288
refactor security group in advanced network mode: use direct tagged network instead of public network
2011-02-24 19:58:18 -05:00
alena
970e0ab320
Removed unused imports
2011-02-24 19:47:25 -08:00
alena
66455c0767
bug 8702: return events for removed account when "account" parameter is specified in listEvents command
...
status 8702: resolved fixed
2011-02-24 19:15:36 -08:00
alena
f8993d9ec4
Fixed NPE in vm expunge process - when cleanup static nat rules after corresponding vm is expunged, make search for guest Nic including removed.
2011-02-24 18:27:55 -08:00
alena
9e622c6a6c
bug 8726: escape ", ', &, <, > special chars in xml response
...
status 8726: resolved fixed
2011-02-24 17:11:28 -08:00
alena
039b11b9ba
1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly.
...
2) Set traffic Type to be Guest for Direct/Virtual non-system default network offerings. Use this guestIpType during the network creation/implementation
2011-02-24 15:36:01 -08:00
Frank
f82dec999d
Bug 8208 - bare metal provisioning
...
complete createVirtualMachine method
2011-02-24 14:07:10 -08:00
Edison Su
cf6d430f66
return security group status per zone
2011-02-24 14:16:35 -05:00
Alex Huang
a6ac728761
cleanup script is also running now as well
2011-02-24 11:35:49 -08:00
alena
b0aabc1b20
bug 8682: implemented search by id in listPortForwardingRules
...
status 8682: resolved fixed
2011-02-24 09:55:03 -08:00
kishan
8eb665246e
bug 7935: Included hypervisor type to vm usage records
...
status 7935: resolved fixed
2011-02-24 20:08:12 +05:30
kishan
f138552f36
bug 8603: Included netwrok_id in network usage records
...
status 8603: resolved fixed
2011-02-24 15:31:59 +05:30
alena
57f6b16cdb
bug 8719: fixed NPE happening during HA process - get control nic infrormation in finalizeCommandsOnStart() method instead of setting it in caller methods
...
status 8719: resolved fixed
2011-02-23 19:35:22 -08:00
alena
54b3fff123
When network is removed, remove it from network GC list
2011-02-23 18:56:54 -08:00
alena
1f1e393b03
Release vnet during network shutdown for guest networks only
2011-02-23 18:50:23 -08:00
alena
6424042cac
bug 8659: deleteNetwork is async now
...
status 8659: resolved fixed
2011-02-23 18:01:33 -08:00
alena
63cff8de26
Regular user is allowed to create Guest networks only; throw an error when he tries to use networkOffering with trafficType Public
2011-02-23 18:01:33 -08:00
alena
6cecbdbee9
bug 8663: limit cidr size if network is being created by non Root admin
...
status 8663: resolved fixed
2011-02-23 18:01:33 -08:00
Frank
828f8c9493
Bug 8208 - bare metal provisioning
...
Able to add cluster and host
2011-02-23 17:20:43 -08:00
Kelven Yang
0cd0703c81
Bug 8717: Move VMwareGuru to premium
2011-02-23 16:10:21 -08:00
Edison Su
adbd20ca5a
bug 8655: add security group for direct tagged network
2011-02-23 15:53:14 -05:00
Edison Su
37cb0ae2c9
add security group for direct tagged vlan
2011-02-23 15:52:04 -05:00
kishan
0ce385ecf2
bug 8569: Changed default events purge delay to 15 days
...
status 8569: resolved fixed
2011-02-23 21:34:47 +05:30
Alex Huang
b6056bc0b1
missing files
2011-02-22 19:12:10 -08:00
Frank
b313b7c852
Add bare metal stuff to addHost command
...
add ipmi.py
2011-02-22 19:07:07 -08:00
Alex Huang
c22b37e402
latest work on db migration
2011-02-22 18:23:05 -08:00
Kelven Yang
1d8eab2a11
Let reset job description to be in API standard
2011-02-22 17:40:05 -08:00
anthony
94a9c86f46
try to send create command to the host where cpu&memory is allocated first
2011-02-22 16:44:58 -08:00
Kelven Yang
f443f7d409
Set default values for global variables that use programmatic constants (CPU speed/RAM size)
2011-02-22 16:28:31 -08:00
Kelven Yang
2f3a1ccd60
When secondary storage is not running inside SSVM, let FOSS SecondaryStorageDiscoverer be able to dynamically load premium version of the secondary storage resource
2011-02-22 15:39:22 -08:00
Frank
77fadf5c7f
Revert 61a414fb8f
...
don't dynamically inject premium stuff
2011-02-22 14:39:02 -08:00
abhishek
d73d12b905
bug 8641: removing the status field from the volume response
2011-02-22 14:07:26 -08:00
abhishek
1afc62e98f
bug 8216: creating a vol from a snapshot will take in a priv disk offering id, which is used only for the tags; size is still taken from the original vol which the snapshot is based off of
2011-02-22 12:06:00 -08:00
abhishek
25f27674ce
bug 8641: adding a volume state in addition to volume status
...
status 8641: resolved fixed
2011-02-22 09:55:08 -08:00
alena
e4765fb32b
bug 6969: return jobId/jobStatus for IpAddress and SecurityGroup as ids for these objects were introduced in 2.2.x
2011-02-22 09:09:55 -08:00
nit
2efdc9d62b
bug 8471: Check whether secondary storage URL is null when copying volumes across storage pools.
2011-02-22 17:49:56 +05:30
kishan
003787a69a
bug 8613: Added accountId to listUsageRecords API, use active account incase of multiple account with same name
...
status 8613: resolved fixed
2011-02-21 19:38:08 +05:30
kishan
60ecb564ea
bug 8613: Added accountId to listUsageRecords API, use active account incase of multiple account with same name
...
status 8613: resolved fixed
2011-02-21 19:07:41 +05:30
Frank
61a414fb8f
Inject permium stuff into systemvm.iso when managment server start
2011-02-20 16:13:30 -08:00
Kelven Yang
fa96deec28
Make secondary storage VM support premium version and opensource version
2011-02-18 17:10:20 -08:00
anthony
33b763d703
bug 8582: allow create snapshot policy with unattached volume
...
status 8582: resolved fixed
2011-02-18 14:52:15 -08:00
abhishek
7c32b2da62
bug 8584: enabling search by id for regular users and domain admins for service offerings
...
status 8584: resolved fixed
2011-02-18 14:09:39 -08:00
alena
15f59e6f58
bug 8637: throw ResourceAllocationException when resource limit is exceeded.
...
status 8637: resolved fixed
2011-02-18 12:26:58 -08:00
abhishek
13ceb54bba
bug 8653: filtering system vols from user's view
...
status 8653: resolved fixed
2011-02-18 12:03:51 -08:00
Kelven Yang
8695e7250c
Update template and storage manager to allow hypervisor based command delegation
2011-02-18 11:37:50 -08:00
abhishek
7aa18d4fe2
bug 8600: cleaning up remote access vpns and users as part of delete account
...
status 8600: resolved fixed
2011-02-18 11:11:43 -08:00
alena
cd90bc7166
bug 8412: allow to delete network when it has dhcp/domRs
...
status 8412: resolved fixed
1) Don't count domR/Dhcp nic in active nics.
2) Removed domR cleanup thread; Network shutdown thread would shutdown domR/dhcp when network has no active vms
2011-02-18 10:31:59 -08:00
alena
504ab73ae5
Sync on network instead of ipAddressId when do create PF/StaticNat/LB rules
2011-02-17 16:13:28 -08:00
alena
96ef94eb37
ShutdownNetwork - added reservationContext parameter (contains account/callerUserId)
2011-02-17 16:13:28 -08:00
abhishek
13fc3b0dd8
bug 8452: more delete domain specific changes
2011-02-17 15:29:13 -08:00
abhishek
2275d8d833
bug 8452: introducing a state for domain; blocking creation of accounts/users whilst domain is in an inactive state
2011-02-17 15:17:45 -08:00
anthony
6dcbd3bbfd
use returned VO
2011-02-17 15:11:38 -08:00
alena
8978839d96
bug 8617: Disable firewall/lb/vpn service for Direct network offering, so when user tries to create PF/LB rule for direct IP address, it fails.
...
status 8617: resolved fixed
2011-02-17 14:31:05 -08:00
abhishek
3d7c61bf8b
bug 8452: forcing vm stop whilst disabling account
...
status 8452: resolved fixed
2011-02-17 13:57:04 -08:00
anthony
c62d983c3f
classpath fix for server
2011-02-17 12:14:23 -08:00
Alex Huang
c6efb2b09d
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:59 -08:00
Alex Huang
6b0d4947ed
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:58 -08:00
anthony
21303ea1aa
bug 8567: use current time to schedule snapshot
...
status 8567: resolved fixed
2011-02-16 16:03:09 -08:00
alena
6913ed21c5
bug 8572: added more restrictions for network's domain name (see below)
...
status 8572: resolved fixed
1) As full domain name may not exceed a total length of 253 characters, and host name can be 63 chars long, so don't allow network domain length to exceed 190 chars.
2) Each label can have up to 63 chars
3) The characters allowed in a label are a subset of the ASCII character set, and includes the characters a through z, A through Z, digits 0 through 9, and the hyphen.Labels may not start or end with a hyphen.
2011-02-16 15:53:47 -08:00
alena
53adcc64a6
bug 8572: don't allow vm host name to start with digit. Also removed name uniqueness constraint as vm host name doesn't have to be unique even inside the same network
2011-02-16 15:53:47 -08:00
alena
1d031e64b8
bug 8334: throw an error when try to create a network with the settings belonging to existing network
...
status 8334: resolved fixed
2011-02-16 15:53:47 -08:00
anthony
569bbfe585
bug 8513: creating volume from snapshot depends on the original volume
...
status 8513: resolved fixed
2011-02-16 15:47:05 -08:00
anthony
893f8b5f73
bug 8525: we can't create template from snapshots belonging to one volume at the same time
...
status 8525: resolved fixed
2011-02-16 15:37:09 -08:00
Jessica Wang
eb7d531456
bug 8577: Make listAlerts API take in id parameter.
2011-02-16 15:35:34 -08:00
Jessica Wang
35397d7176
bug 8577: Make listEvents API take in id parameter.
2011-02-16 15:20:05 -08:00
Jessica Wang
c475aacc08
bug 8578: make listRouters API take in id parameter.
2011-02-16 15:06:11 -08:00
abhishek
de4b79bd6d
fixing pagination issues with listVolumes
2011-02-16 14:58:52 -08:00
anthony
80a328034c
bug 8609: when failed to start a VM in HA (due to domr is not migrated), a runtimeException is thrown out, caused HA for this VM is not resheduced.
...
status 8609: resolved fixed
2011-02-16 14:20:28 -08:00
alena
b0e4ecb3af
bug 7901: Prevent using the same cidr for POD and zone's virtual network
...
status 7901: resolved fixed
2011-02-16 11:17:20 -08:00
alena
8654aa3833
bug 6366: allow to extend pod private ip range even when there are allocated private ip addresses in the pod
...
status 6366: resolved fixed
2011-02-16 10:51:53 -08:00
alena
4ae5734ab0
createPod/editPod: don't allow gateway to overlap start-end ip range
2011-02-16 10:51:53 -08:00
alena
e573e66074
bug 8502: allow to edit pod name in all the cases; even when pod has resources allocated
...
status 8502: resolved fixed
2011-02-16 10:51:53 -08:00
Kelven Yang
d78cea1cea
fix merge conflicts
2011-02-15 17:08:01 -08:00
Kelven Yang
43c82d03d8
UTF-8 fix - make encoding work across GET/POST
2011-02-15 17:06:29 -08:00
alena
a05400604b
bug 8565: throw unsupported error code when non existing api command is sent
...
status 8565: resolved fixed
2011-02-15 16:01:09 -08:00
Chiradeep Vittal
db2bd762a8
bug 8604: ensure .ssh directory is created before trying to write keys there
2011-02-15 15:40:28 -08:00
alena
42ddf74bc5
bug 8284: don't allow to create static nat rules for 2 different ip addresses and the same vm.
...
status 8284: resolved fixed
2011-02-15 13:52:00 -08:00
alena
c11a9c18e2
bug 8381: disassociateIpAddress is async now
2011-02-15 12:24:18 -08:00
alena
9c2db92b63
Fixed the bug when port forwarding rules were not reset correctly on domR restart/start (multiple public ip addresses case)
2011-02-15 10:49:46 -08:00
alena
d9dfd37bd4
Reapply static nat rules when domR starts/reboots
2011-02-15 10:45:28 -08:00
alena
d80caf24fd
bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
...
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
Kelven Yang
a0c48d7fa1
1) Rename console-common to console so that Eclipse project name is the same as folder name
...
2) Fix UTF encoding issue at servlet response
2011-02-15 10:04:06 -08:00
abhishek
1aab49fd8f
bug 8547: some additions to the config vars to better indicate the units they use
...
status 8547: resolved fixed
2011-02-14 14:28:15 -08:00
alena
8cd7426dd0
bug 8455: for static nat port range don't allow start port to be bigger than end port
...
status 8455: resolved fixed
2011-02-11 17:43:56 -08:00
alena
0938509bc0
bug 7341: introduced search by id/vmId to listIpForwardingRules command
...
status 7341: resolved fixed
2011-02-11 17:14:34 -08:00
Alex Huang
7dd54f079b
started vms with these latest
2011-02-11 17:03:04 -08:00
Alex Huang
b0f0efa29b
more changes to make it work better in a cluster
2011-02-11 17:03:04 -08:00
Alex Huang
db7bc893b9
added cluster awareness to vm start/stop
2011-02-11 17:03:04 -08:00
alena
cb73c1e1fa
Fixed NPE in deleteAccount code - when shutdown the network, always set reservation context with account/userCaller information
2011-02-11 12:06:04 -08:00
Kelven Yang
3113ae4993
Add display name to user VM in console title
2011-02-11 11:43:00 -08:00
alena
829c865133
router.ram.size global config is hidden now as it's used by system only
2011-02-11 11:38:02 -08:00
abhishek
5d1d9ec387
bug 8263: allowing a private zone to be made public
2011-02-11 11:35:07 -08:00
nit
e901ccfe07
bug 8498: Make osTypeId optional. Introdue a new OS type None to be shown for non bootable ISOs. Add check that when the ISO is bootable a valid osTypeId gets passed
2011-02-11 18:44:26 +05:30
anthony
0db879d053
reduce lock granularity
2011-02-10 20:11:45 -08:00
alena
3328ec5d2d
Fixed the bug when dhcp server wasn't started for Direct netwok on JuniperSrx setup
2011-02-10 19:12:10 -08:00
anthony
6501bcd3c4
bug 8518: replytimeout is not set
...
replytimeout is set to 10 min for XenServer
status 8518: resolved fixed
2011-02-10 18:59:42 -08:00
Kelven Yang
737954bed8
1) prepare to seperate volume/snapshot logic to secondary storage VM
...
2) Add vmware.service.console configuration variable to allow customized VMware setup
2011-02-10 16:41:19 -08:00
alena
4054d7e2b5
Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables
2011-02-09 19:35:03 -08:00
alena
7e6570570d
bug 8515: Allow only positive non zero numbers for "max" parameter in createSnapshotPolicy
...
status 8515: resolved fixed
2011-02-09 19:35:03 -08:00
alena
7b13c89956
bug 8493: Don't allow to create a snapshot policy with max value exceeding domain/account snapshot limit
...
status 8493: resolved fixed
Also increase/reduce resource count when recurring snapshot is taken/removed
2011-02-09 19:35:03 -08:00
alena
74e878ea7f
Fixed xml doc writer
2011-02-09 19:35:03 -08:00
Kelven Yang
597ca9597b
Bug 8401: avoid race condition between expunge worker and api execution
2011-02-09 15:58:47 -08:00
Kelven Yang
091b5850b3
Explicitly specify CPU speed for all system VMs, speed of 0 no longer works for VMware
2011-02-09 15:08:06 -08:00
Edison Su
25a9236438
add shuffling back
2011-02-09 14:24:32 -05:00
anthony
b3256c6971
if it is empty snapshot, set setBackupSnapshotId to null, before remove it
2011-02-09 14:23:46 -08:00
anthony
b7b0501150
list recurring snapshot if volumeId and interval are specified
2011-02-09 13:57:46 -08:00
Edison Su
08285af33f
fix capacity caclulation issue after migration
2011-02-09 13:33:42 -05:00
anthony
4fb3beed76
return more meaningful error message for create snapshot/snapshot policy for volume which is not attached to a VM
2011-02-09 11:48:16 -08:00
nit
82506ff8d0
bug 8493: Check for resource limit for manual snapshots.
2011-02-09 19:01:39 +05:30
kishan
77719be46a
bug 8465: track network usage per router in user_statistics table
...
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
nit
67a92e3f1d
bug 8493: Check for resource limit for copy templates/ISO between zones.
2011-02-09 15:49:33 +05:30
nit
3bd3dacf9e
bug 8493: Check for resource limit for create template from volume/snapshot.
2011-02-09 15:49:32 +05:30
anthony
16366fb4e0
bug 8481: root cause is the old way to get vdi parent sometime doesn't work
...
status 8481: resolved fixed
2011-02-08 21:10:52 -08:00
alena
558e16c50e
Save vnet range in data_center table when do deploy from server-setup.xml in Dev environment
2011-02-08 19:18:52 -08:00
alena
ab6ea4d6ef
bug 8491: remove corresponding record from resource_limits table when limit is updated with -1 value
...
status 8491: resolved fixed
2011-02-08 19:08:35 -08:00
alena
1c7049ef26
Forgot to write login/logout commands to domainAdmin/regularUser api xml doc
2011-02-08 16:28:58 -08:00
abhishek
2d3b6cc310
changing the disk offering response object, to always return the disk size in gb
2011-02-08 15:43:52 -08:00
Alex Huang
c22d4948d0
Added context to ha work
2011-02-08 15:38:26 -08:00
Alex Huang
b92fc074aa
added forced paramter to stop apis
2011-02-08 15:38:26 -08:00
alena
0bdefe03ae
Added login/logout command generation to xml api doc generator
2011-02-08 15:25:55 -08:00
will
c89ad5ae7b
bug 8485: Merge from 2.2.x. Fixed ClassCastException with returning the login response in xml format
2011-02-08 15:22:40 -08:00
alena
f16cb1caf2
Logs statements cleanup
2011-02-08 14:14:52 -08:00
abhishek
f0f643dffe
adding exceptions so that we can use login and logout commands via 8080
2011-02-08 14:06:33 -08:00
alena
95f90fd986
Removed bad word from log4j config files.
2011-02-08 13:55:40 -08:00
Alex Huang
0abd36c96f
Change the wording in log
2011-02-08 13:39:50 -08:00
Edison Su
0bd6950bb8
fix wrong configuration for oss
2011-02-08 13:22:27 -05:00
abhishek
73eb597ba6
bug 8335: adding the security group objects to the list virtual machines response
2011-02-08 11:48:39 -08:00
alena
83209e53bc
bug 8479: remove direct account specific network as a part of account cleanup. Before public direct ip addresses weren't released as a part of nic cleanup - deallocate() method was missing in DirectNetworkGuru
...
status 8479: resolved fixed
2011-02-08 10:47:05 -08:00
Edison Su
169ac1ce57
bug 8464,8404: allocator is not move reserved resource to used resource, in some case
...
status 8464: resolved fixed
status 8404: resolved fixed
2011-02-08 10:32:14 -05:00
Edison Su
4fe6219754
bug 8474: fix attaching ISO to xenserver vm
...
status 8474: resolved fixed
2011-02-08 10:04:56 -05:00
alena
44607a8960
bug 8473: fixed NPE in listUserVms - do "includingRemoved" when search for vm's host.
...
status 9473: resolved fixed
2011-02-08 09:43:03 -08:00
kishan
75e596bb80
bug 7952, 8363: Fixed usage events for Vm destroy and recover
...
status 7952, 8363: resolved fixed
2011-02-08 16:57:46 +05:30
nit
a3b1609199
bug 8463: Decrease the resource_count if vm fails to Start and goes to ERROR state.
...
status 8463: resolved fixed
2011-02-08 16:52:09 +05:30
kishan
2a6bef2750
seperating service API call form internal calls for revoke port forwarding rule
2011-02-08 12:34:04 +05:30
anthony
213ea43f63
for the last host
2011-02-07 20:07:14 -08:00
abhishek
bc4357f7dd
bug 8456: fixing the upgrade issue
...
status 8456: resolved fixed
2011-02-07 18:34:37 -08:00
anthony
c85e13fbf9
bug 7635: stop vms if this host is the last one in cluster , when put this host into maintenance mode
...
status 7635: resolved fixed
2011-02-07 18:31:16 -08:00
anthony
88ff55849d
for detachISO command, iso for this VM is removed in DB even if the detachISO fails. Then after stop/start VM , the iso for this VM is gone
2011-02-07 17:50:02 -08:00
alena
9614a64636
bug 8445: listVms with keyword - don't do LIKE search for State field
...
status 8445: resolved fixed
2011-02-07 17:46:24 -08:00
alena
49392355b8
Don't allow to enable remote access vpn when domR is in Starting state
2011-02-07 17:46:24 -08:00
anthony
ed197ae971
bug 8458: check if attachISO is successful before update DB
...
status 8458: resolved fixed
2011-02-07 17:34:13 -08:00
Alex Huang
5d796c718b
bug 7612: fixed a bug where if start when through all retries, we throw an exception
2011-02-07 17:17:34 -08:00
abhishek
cb5b1e60f3
bug 8439: changes in service/disk offerings
...
status 8439: resolved fixed
2011-02-07 17:11:28 -08:00
alena
0082b8435a
Fixed account security checks for domain admins in following commands:
...
* listPortForwardingRules
* listIpForwardingRules
* listRemoteAccessVpns
* listVpnUsers
2011-02-07 16:24:34 -08:00
Alex Huang
b322fb072f
bug 8186: Changed the investigator to use the new networking
2011-02-07 16:04:23 -08:00
abhishek
3343aa890f
bug 8427: resolving the class cast exception
...
status 8427: resolved fixed
2011-02-07 13:30:12 -08:00
alena
5c2bbf48f0
Fixed NPE in listAsyncJob apis: don't include instanceId/instanceType in the response when these values are null
2011-02-07 13:02:05 -08:00
Alex Huang
c6fe6f2f45
Removed all the stats command/answer from debug logging
2011-02-07 12:50:22 -08:00
alena
a502b497f2
bug 8446: fixed creating volume from diskOffering with custom size
...
status 8446: resolved fixed
2011-02-07 12:42:46 -08:00
alena
807562da50
bug 8424: fixed NPE in vmExpunge thread - set accountId for UserContext to the vm's ownerId (this value is being read by UsageEvents generator)
...
status 8424: resolved fixed
2011-02-07 12:13:59 -08:00
Alex Huang
bee6953e09
ha done? needs testing
2011-02-07 10:58:25 -08:00
Alex Huang
f948926a2f
some minor adjustments before doing the big work
2011-02-07 10:58:25 -08:00