Alena Prokharchyk
51eeb62f9f
CS-14894: listTemplates - return hypervisor type to everybody
2012-05-18 12:47:06 -07:00
Nitin Mehta
07cbec95fa
bug CS-14957: Return hypervisor type for uploaded volume
2012-05-17 19:22:19 +05:30
anthony
a32f675875
CS-14237 GC commands only sent to UP host
...
resolved fixed
2012-05-16 17:21:36 -07:00
Kelven Yang
e8a5d51da7
Support console access through rebooting with XAPI session re-negotiation
2012-05-16 17:02:22 -07:00
Edison Su
26e78bd0b7
send ssh key to kvm host, even if it's developer env
2012-05-16 14:51:04 -07:00
frank
d2b3ec84e9
CS-13853 secstorage.allowed.internal.sites is not allowed to be 0.0.0.0
...
resolved fixed
2012-05-16 11:57:36 -07:00
Nitin Mehta
2153ce96f7
bug CS-14321: Correcting listVolumes API call to return valid value for isExtractable for ISO derived disk and DATA disk.
2012-05-16 21:47:45 +05:30
Edison Su
bafc3f2a5a
CS-14521
...
Remove CLVM, due to license issue
2012-05-15 15:13:15 -07:00
Edison Su
9fa63cfe61
CS-14609
...
turn on debug log, if zone is not ready to start ssvm/cpvm.
"Zone host is ready, but console proxy template" means system vm template is not in "Downloaded" state on secondary storage
"Primary storage is not ready" means the template is not been downloaded to primary storage, possible reasons: haven't add primary storage, or primary storage download is not finished/failed.
2012-05-15 14:44:48 -07:00
Edison Su
403addc59d
bug CS-14833: if iso is xen/vmware tools, attach it to vm; status CS-14833: resolved fixed
2012-05-15 14:04:16 -07:00
Alena Prokharchyk
d11dceaccc
CS-14904
...
Fixed the bug where vm_instance.ha_enabled wasn't updated during service offering upgrade
Conflicts:
server/src/com/cloud/server/ManagementServerImpl.java
2012-05-15 12:36:40 -07:00
Nitin Mehta
c01d03e53f
bug CS-14249: cluster.localStorage.capacity.notificationthreshold text is incorrect
2012-05-15 19:58:30 +05:30
Nitin Mehta
7e0863555b
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:28:12 +05:30
Murali reddy
3b1aca19b3
bug CS-14291: support EIP with multiple NetScalers in basic zone
...
This fix will enable support for multiple NetScaler devices providing EIP service in same zone.
- Introduced global setting "eip.use.multiple.netscalers" to turn multiple netscaler support
- Enhanced configureNetscalerLoadBalancer API to take the PBR setup between the POD's subnet
and NetScaler device
- logic to pick a NetScaler (based on the guest IP and corresponding pod) while configuring INAT rule
2012-05-15 14:00:32 +05:30
frank
910ae7446b
don't call _secMgr.generateSetupCommand each time copying template
...
it will reboot httpd making in processing copy fail
2012-05-14 14:15:30 -07:00
Pranav Saxena
28aaab4031
CS-14873 : Authentication errors
2012-05-14 11:13:39 -07:00
Alena Prokharchyk
2daf7998c8
CS-14692: don't allow to remove account specific ip range when it has sourceNat ip address, and associated with non-removed Guest network
2012-05-14 10:13:44 -07:00
Nitin Mehta
acd55bac90
bug CS-14785: Allow attaching the volume for Uploaded volume. Also have transition fo delete volume.
2012-05-14 16:46:49 +05:30
Alena Prokharchyk
4f12a5191a
CS-14783
...
Fixed limit check when acquire public ip range for the account.
2012-05-11 15:40:17 -07:00
Alena Prokharchyk
e6c764f149
CS-14685: Added customdiskofferingmaxsize to the listCapabilities response
2012-05-11 13:45:31 -07:00
Nitin Mehta
838d01754b
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:42:42 +05:30
Nitin Mehta
189ac88a11
bug CS-14785: String equality should be through equals function....what was i thinking !!!.
2012-05-08 16:07:52 +05:30
Naredula Janardhana Reddy
d0a09732d2
Bug 14120: Enabling SNAT for all the public NICs.
...
Summary of changes:
- snat flag is set to true if it is first ip of the NIC.
reviewed-by: Abhi
2012-05-07 10:08:51 +05:30
Nitin Mehta
0d2422720b
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 17:29:22 +05:30
kishan
9fbc81e405
bug CS-14763: Added missing 301 to 302 path for 2.2.10 upgrade
...
status CS-14763: resolved fixed
reviewed-by: Abhi
Conflicts:
server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
2012-05-04 16:08:01 +05:30
Nitin Mehta
c65d3bdace
bug CS-10789: Some more code to make the Uploav volume more robust.
2012-05-03 10:50:12 +05:30
Nitin Mehta
9097b53eab
bug CS-10789: Put zone id in the volumehost ref table. make list volume to show the percent uploaded.
2012-05-03 10:46:02 +05:30
Salvatore Orlando
a794e49545
CS-14724 : Making the default network label configurable, improving exception management
...
Please also see notes added to wiki.cloudstack.org/display/QA/Open+vSwitch+Tunnel+Manager
2012-05-02 15:16:10 +01:00
kishan
1ac0ac956b
bug CS-14695: Encrypt VNC password during 3.0.0 upgrade
...
status CS-14695: resolved fixed
reviewed-by: Abhi
2012-05-01 11:10:59 +05:30
Alena Prokharchyk
2feafb18a0
bug 14694: when select valid clusters, exclude the removed ones
...
status 14694: resolved fixed
2012-04-30 13:10:57 -07:00
Abhi
03b23d3645
adding a plaintext authenticator
2012-04-30 16:43:40 +05:30
Abhi
13b927fb25
bug CS-14663: accepting encoded password for MD5
2012-04-28 12:36:48 +05:30
Salvatore Orlando
469ed78a58
CS-14606: Restoring config parameter which was accidentally removed
2012-04-27 17:17:49 +01:00
Salvatore Orlando
8080bc2d26
CS-14606: Change name for config parameter
2012-04-27 17:17:34 +01:00
Alena Prokharchyk
5da0fdaecb
CS-14637: db upgrade - fixed inconsistencies in category/component fields for a bunch of global config variables
2012-04-26 10:10:05 -07:00
Alena Prokharchyk
c7cbae4c48
Set ha host to false when no ha tag is enabled
2012-04-25 11:04:35 -07:00
Salvatore Orlando
2bf0c7f7ff
CS-14605: OVS cleanup
...
Fix syntax errors in ConfigurationManager and Resource Manager test
2012-04-25 10:53:41 +01:00
Salvatore Orlando
6e0a86862a
CS-14605: OVS Tunnel Manager Clean-up
...
1) Remove old VLAN-in-overlay manager
2) Remove unused DAO objects
3) Fix code using removed object (all stale lines)
2012-04-25 10:50:17 +01:00
Alena Prokharchyk
afb97f128b
Account specific vlan ranges - fixed deleteVlanRange
...
Conflicts:
api/src/com/cloud/api/commands/DeleteVlanIpRangeCmd.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2012-04-24 17:18:27 -07:00
Alena Prokharchyk
eaf9d3d820
Catch all exceptions when change engine and row_format - can fail when table is full. Just skip as its not a critical fix
2012-04-24 15:49:28 -07:00
Salvatore Orlando
8ccb4b6680
CS-14270: return VLAN id only if the broadcast URI starts with 'vlan'
2012-04-24 21:27:26 +01:00
Alena Prokharchyk
a678988f33
CS-14622: fixed adding vlan range per account - associate it with the Guest network, not public
...
Conflicts:
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-04-24 11:44:00 -07:00
Salvatore Orlando
026ed52f1d
CS-14437: Final changes to ensure proper tunnel creation (rebase problems)
2012-04-24 15:53:10 +01:00
Alena Prokharchyk
5021274232
CS-14256: throw executionException when finalizeStart fails (no point to retry).
2012-04-23 15:56:23 -07:00
Salvatore Orlando
eb36cd5aba
Removing basic connectivity provider and OVS network offering as not
...
needed for Bonita
2012-04-23 22:35:15 +01:00
Salvatore Orlando
ccbdee899c
Now finding the IP address also for the remote endpoint
2012-04-23 22:33:19 +01:00
root
59e93d9f29
Minor changes to string format command
2012-04-23 22:33:19 +01:00
Salvatore Orlando
ec472fcaaa
Forgot to add new dao into component library!
2012-04-23 22:33:19 +01:00
Salvatore Orlando
b980993864
Adding DB support for interfaces OVS tunnel manager will use as GRE endpoints
2012-04-23 22:33:19 +01:00
root
3513551ae3
Hacking for demo
2012-04-23 22:33:19 +01:00
Salvatore Orlando
02cd1484b7
Removing superfluous log statements
2012-04-23 22:33:18 +01:00
Salvatore Orlando
2340ebced3
Now using vnets instead of network id for creating networks
...
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements
Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:33:18 +01:00
Salvatore Orlando
e2cc2c1f6e
Fixing remaining issues with per-VIF flow script and removing version-specific scripts.
...
Now generating XSnetwork names using gre keys
Plus other minor corrections
2012-04-23 22:32:52 +01:00
Salvatore Orlando
8987499cda
Now using vnets instead of network id for creating networks
...
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements
Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:32:52 +01:00
unknown
ac052ed4f0
Now allocating vnets for GRE keys
2012-04-23 22:32:51 +01:00
Alena Prokharchyk
3b4690424d
bug 14295: allow regular user to create network with the custom cidr
...
status 14295: resolved fixed
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2012-04-23 22:32:16 +01:00
Salvatore Orlando
8268635846
Adding Missing file to source control
2012-04-23 22:32:16 +01:00
Salvatore Orlando
9f321ffeac
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
anthony
352f3d95ed
add CentOS 6.0, CentOS 5.7, RHEL 5.7 support for XenServer 6.0.2
2012-04-23 13:57:59 -07:00
Abhi
6857750566
bug CS-14593, CS-14541: fixed encryption issue
2012-04-23 15:29:38 +05:30
Nitin Mehta
d6e185a5f4
bug CS-10789: Decrement and increment the resource count on volume correctly.
2012-04-23 13:45:09 +05:30
Nitin Mehta
4434aa0d2d
bug CS-10789: More changes for the imageformat, introdueced new column in db for the format, created scripts for doffernt hypervisors ...and the list goes on.
2012-04-23 13:44:34 +05:30
Nitin Mehta
f0911817ed
bug CS-10789: Make the custome disk offering as system so that its not availble to the regular user.
...
Reviewed By: Kishan
2012-04-23 13:43:46 +05:30
Nitin Mehta
14adf23700
bug CS-10789: Adding more code changes for usage, delete volume .
2012-04-23 13:42:53 +05:30
Nitin Mehta
ac2175bdbc
bug CS-10789: Adding volume sync and delete functionality.
2012-04-23 12:29:38 +05:30
Nitin Mehta
54956280e6
Preliminary upload and attach changes work ..
2012-04-23 12:28:36 +05:30
Nitin Mehta
564cef8ddf
More changes for uploadVolume. Create framework for upload volume progress communication between MS and SSVM.
2012-04-23 12:14:35 +05:30
kishan
2e80fba2b6
bug CS-14587: Process 500 rows at a time to encrypt vnc_password in vm_instance table. Added addtional logging.
...
status CS-14587: resolved fixed
reviewed-by: Alena
2012-04-22 22:33:37 +05:30
Alena Prokharchyk
3b4fb0b55e
Fixed db upgrade bug: do vnc password encryption only for non-removed vms
2012-04-21 22:30:21 -07:00
Alena Prokharchyk
7990e15f09
More logging to the db upgrade
2012-04-21 22:29:51 -07:00
anthony
bbd0259ad2
bug 14582: fix one big in upgrade from 2.1.4 to 3.0.2
...
status 14582: resolved
2012-04-20 17:02:57 -07:00
Alena Prokharchyk
e4e0fff2eb
Fixed db upgrade for 2.1-3.0
2012-04-20 12:00:37 -07:00
Kelven Yang
102bc1f39f
Don't use dynamic quiried key size as it varies on different JVM implementation and security providers
2012-04-20 11:43:06 -07:00
kishan
316267f684
bug CS-14576: Fail 2.2.14 to 3.0.0 upgrade if encryption is not enabled
...
status CS-14576: resolved fixed
reviewed-by: Nitin
2012-04-20 16:12:03 +05:30
Nitin Mehta
44f4a5219a
bug CS-14530: Whwnever creating an agent of type Routing update the capacity state as there is a transition in the resource state of the host.
...
Reviewed By: Kishan
2012-04-20 10:34:15 +05:30
Sheng Yang
329b06087e
CS-14542: Fix wrong traffic label for KVM agent
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
2012-04-19 18:29:36 -07:00
prachi
f76ad76775
Bug 14158 - 2.2.x - 3.0 db upgrade for multiple physical networks
...
-Create multiple physical networks if there are distinct tags found in network_tags table.
-One physical network per tag.
-Currently all tags flow to xenserver traffic type label.
2012-04-19 15:29:09 -07:00
Kelven Yang
c5083787c2
Hardening console proxy AJAX protocol to address security concerns
2012-04-19 12:10:33 -07:00
kishan
e5571480d4
bug CS-14566: set up physical networks before encrypting config values
...
status CS-14566: resolved fixed
reviewed-by: Nitin
2012-04-19 21:59:51 +05:30
Rajesh Battala
327049b5c5
CS-14546: Fixed bug Unable to view console in System and Guest VMs and Added Upgrade script
2012-04-19 21:15:45 +05:30
Nitin Mehta
0b18117db9
bug CS-14530: Whwnever creating an agent for the host put in enabled and disabled according to the hierarchy.
...
Reviewed By: Kishan
2012-04-19 19:00:53 +05:30
Nitin Mehta
e04822eb70
bug CS-14530: Whenver adding a new capacity check the state of the resource - if its disabled/enabled.
...
Reviewed By: Kishan
2012-04-19 14:24:12 +05:30
Alena Prokharchyk
d7f4d5d4ec
CS-14553: db upgrade - for default network offerings:
...
1) Change display text to match fresh 3.0.2
2) Delete lb service for the offerings using VR as a provider and not having source nat service
2012-04-18 17:10:52 -07:00
kishan
7be811905f
bug CS-14532: during 2211-2212 upgrade, do not add resource count entries for resourceTypes that were added in later releases
...
status CS-14532: resolved fixed
reviewed-by: Nitin
2012-04-18 15:39:21 +05:30
Alena Prokharchyk
03ccb7f313
CS-14512: fixed deployVm with ipToNetworkList when uuid is used for networkIds
...
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2012-04-16 15:43:56 -07:00
Vijayendra Bhamidipati
1543c01e8d
Bug CS-14448: Wrong error message on using the createVlanIpRange cmd
...
Description:
Fixing two other scenarios apart from the reported one
where we were not passing in database IDs for translation
into uuids, in the exception.
2012-04-16 15:27:52 -07:00
Alena Prokharchyk
662a234916
CS-14297: added "forced" option to deleteStoragePool command. If forced=true, all destroyed volumes are marked as Expunged even when we can't reach primary storage at the moment of deletion.
...
Conflicts:
api/src/com/cloud/api/commands/StopVMCmd.java
2012-04-16 13:22:46 -07:00
Alena Prokharchyk
9b089f2eb7
AdvanceStart: do cleanup() call with force=true when the start command wasn't sent to the backend yet
2012-04-13 17:19:02 -07:00
Sheng Yang
f6383f844d
bug 14470: Return true for applyRules unless specified
...
Only DHCP entry need to know if no one apply the entries(when VM is starting
up), other rules should be safe when return true anyway.
status 14470: resolved fixed
2012-04-13 14:51:25 -07:00
Alena Prokharchyk
76c7c22b34
Bug CS-14447: set crossZones attribute for the template before persisting it to the db
2012-04-13 14:16:18 -07:00
Abhi
a8ab24be96
bug CS-14466: removing blank statement
2012-04-13 13:49:09 +05:30
frank
cc4e4e69d8
CS-14341 Order of Compute offerings does not stick
...
resolved fixed
2012-04-12 17:26:09 -07:00
Alena Prokharchyk
676a28177b
Added one more parameter - haHost(boolean) - to listHosts api command. The parameter identifies if the host is dedicated for ha only
...
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2012-04-12 11:50:36 -07:00
Alex Huang
7c6932ef80
some reformatting and a new way to get vos into the system
2012-04-12 11:04:38 -07:00
Abhi
2c3c0f06ca
bug CS-13303: updating resource state on upgrade
2012-04-12 17:46:18 +05:30
frank
9684ea7397
CS-14429 Cloud db schema differences between fresh installed 3.0.2 & upgraded 3.0.2
...
do check befor droping index i_host__allocation_state`(`allocation_state`)
2012-04-11 17:25:35 -07:00
prachi
4f116fb24f
Bug 14646 - Enabling Host into maintenance mode is stopping the VMs instead of live migrating them to other hosts in the cluster.
...
Changes:
- While listing UP hosts in the cluster of the host, the query has changed and now also considers the Host 'resourceState' field and picks only those hosts that have value 'enabled'.
This query result does not include the host being put in maintainance; unlike the earlier query that used to include it.
- But the logic to find out if this is the last host in the Cluster is not updated and has a bug when it compares the list size.
- Fixed this.
2012-04-11 16:24:31 -07:00
Alena Prokharchyk
8084318e5e
Remove obsolete network_tags table as a part of db upgrade cleanup
2012-04-11 16:23:51 -07:00
Kelven Yang
8b8973f941
Complete XenServer Secure Console proxy implementation
2012-04-10 15:57:52 -07:00
Alena Prokharchyk
52539e798d
bug 14449: added logging to createVlanIpRange
...
status 14449: resolved fixed
2012-04-10 11:24:36 -07:00
Rajesh Battala
3cbb8bc198
Xenserver Secure Console Proxy Phase I
2012-04-10 18:01:56 +05:30
Alena Prokharchyk
85b35978de
Db upgrade path for 3.0.2 to 3.0.3
2012-04-09 15:50:10 -07:00
Alena Prokharchyk
98fd5cf959
bug 14622: introduced ha tagging for host
...
status 14622: resolved fixed
Conflicts:
server/src/com/cloud/host/dao/HostDao.java
2012-04-09 15:18:01 -07:00
Abhi
d6e9f49c09
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:27:18 +05:30
David Nalley
59436be4ee
fixing line endings in server
2012-04-07 20:13:10 -04:00
Alena Prokharchyk
6ff3dc3951
Return password as a result of startVm command if the vm was originally deployed with startVm=false parameter
2012-04-06 13:46:49 -07:00
Alena Prokharchyk
2d1a6b0b35
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:48 -07:00
Kelven Yang
c112088fc5
bug 14618: Protect servlet container from shutting down on unexpected runtime exceptions
...
Reviewed-By: Kelven
2012-04-05 15:06:39 -07:00
Kelven Yang
93a5b7c0bc
Bug 14301: Perform socket-level only management server pings
...
Reviewed-By: kelven
2012-04-05 15:06:25 -07:00
Alena Prokharchyk
1dc99a17eb
Fixed unittest
2012-04-04 16:13:51 -07:00
Alena Prokharchyk
c0130a5c41
Code cleanup for createVlanRange api
2012-04-04 15:03:04 -07:00
Alena Prokharchyk
25e85e177e
bug 14589: don't accept empty username/firstname/lastname in update/createUser apis
2012-04-04 12:55:02 -07:00
Alena Prokharchyk
b14bac0977
bug 14539: 1) introduced 2 new config parameters defining default offerings for ssvm and cpvm - consoleproxy.service.offering and secstorage.service.offering
...
2) Added new api - changeServiceForSystemVm - to support service offering upgrade for system vms
3) Removed global config parameters that are not in use anymore: consoleproxy.ram.size, consoleproxy.cpu.mhz, secstorage.vm.ram.size, secstorage.vm.cpu.mhz
2012-04-03 10:52:32 -07:00
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
Alena Prokharchyk
def05c9da5
bug 14567: put db entry insertion in try/catch block and fail gracefully when the insertion fails (can happen when 2 MS try to insert the same entry)
...
status 14567: resolved fixed
2012-04-02 14:21:29 -07:00
Kelven Yang
74754f0a56
bug 14564: Upon management server startup, for detected inactive management server (based on timestamp), perform ping-test before we really mark it as down
...
Reviewed-By: kelven
2012-03-30 16:46:13 -07:00
Alena Prokharchyk
a4e8133b78
bug 14559: podId is required parameter in addCluster api
...
status 14559: resolved fixed
2012-03-30 10:37:14 -07:00
Kelven Yang
c12b00099b
Bug 14551: add top-level catch clause to protect task/thread from stalling
...
Reviewed-By: Kelven
2012-03-29 18:25:53 -07:00
prachi
1b6e38f3d5
Bug 14536 - DB exception while trying to delete physical network
...
Reviewed-By: Sheng Yang
Changes:
Added proper cleanup for virtual router elements.
2012-03-29 12:40:06 -07:00
prachi
23915b7481
Bug 14536 - DB exception while trying to delete physical network
...
Reviewed-By: Sheng Yang
Changes:
Added 'removed' column to physical_network_service_providers to avoid the Foreign Key constraint error.
Conflicts:
setup/db/db/schema-30to301.sql
2012-03-29 10:15:30 -07:00
frank
f53dc35d9f
change a comment in ApiResponseGsonHelper.java
...
reviewed-by: edison
2012-03-28 16:18:42 -07:00
Kelven Yang
16ab819502
bug 14301: suppress expected exceptions from showing annoying stack dump, the message will be logged at TRACE level.
...
Reviewed-By: Kelven
2012-03-28 15:47:00 -07:00
Alena Prokharchyk
d6cf594ef7
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:14 -07:00
Alena Prokharchyk
dc1af9e5f4
bug 14444: specifyVlan should always be false for the network offering of type Isolated supporting sourceNat service
...
status 14444: resolved fixed
2012-03-28 11:24:09 -07:00
Alena Prokharchyk
e4d16551fc
bug 14465: throw exception when try to send email invitation while smtp session wasn't configured
...
status 14465: resolved fixed
2012-03-28 10:05:54 -07:00
Kelven Yang
5602f3b550
bug 14301:
...
1) Support HTTP keep-alive in clustering communication channel
2) Increase concurrency level for clustering message delivery
Reviewed-By: Kelven (with unit test)
2012-03-27 16:37:22 -07:00
Kelven Yang
7d87f48ef4
bug 14301:
...
1) Drop synchronized call semantic for ClusterManagerImpl.broadcast()
2) Have no choice now but to use an unbound thread pool to notify upper layer. This is to prevent thread starvation when we have cross-management server waitings.
Reviewed-By: Kelven(with unit test)
2012-03-27 16:09:55 -07:00
Kelven Yang
880188466c
bug 14301: fix regressions caused by new clustering transport. Correct usage of HttpClient to avoid socket staying in CLOSE_WAIT state for too long. Reviewed-By: Kelven
2012-03-27 16:08:57 -07:00
Kelven Yang
b0e8f08a3e
bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven
2012-03-27 16:05:52 -07:00
Kelven Yang
0f34744c9e
bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven
2012-03-27 16:01:54 -07:00
kishan
bed3f7f7e2
bug 14512: Create user_stats entry for router while persisting routerVO
...
status 14512: resolved fixed
reviewed-by: Nitin
2012-03-27 19:04:34 +05:30
kishan
57f935ca03
Added since version to API response docs
2012-03-27 11:12:59 +05:30
prachi
c2570b9e7d
Bug 14482 - When user tries to delete an acquired Ip address ,right after this is successful, UI calls listRemoteAccessVpns() which results in java.lang.NullPointerException.User is presented with "Internal error executing command" error
...
Reviewed-By: Sheng
Changes:
- Added the null check for account object.
2012-03-26 14:43:49 -07:00
Sheng Yang
b409615a32
bug 14484: Apply existed firewall rules when associating IP
...
It's not a elegant fix. The status for firewall rules should remain unchanged
before/after ip association/disassociation. But the related change is tricky
than this fix, may not get enough test for 3.0.1. So we would apply existed
firewall rules again, which would work, just result in some unnecessary
commands.
status 14484: resolved fixed
Reviewed-by: Edison Su
2012-03-26 13:55:43 -07:00
frank
c504e8aa35
Bug 14492 - Stop and start of SSVM in Zone1 fails if Zone2 is configured with Storage network
...
status 14492: resolved fixed
reviewed-by: edison
2012-03-26 11:58:12 -07:00
Alena Prokharchyk
ce8e9a9f51
bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
...
status 14500: resolved fixed
reviwed-by: Frank Zhang
Conflicts:
server/test/com/cloud/network/MockNetworkManagerImpl.java
setup/db/db/schema-30to301.sql
2012-03-26 10:27:15 -07:00
Nitin Mehta
a78537398c
Bug 14490: Fix NPE in ListCapacity
2012-03-24 16:24:51 +05:30
Nitin Mehta
a5a7be4c7e
Bug 10808: Add Upload Volume api and do validation.
2012-03-24 13:59:59 +05:30
Edison Su
1e4893b69c
bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng
2012-03-23 18:23:10 -07:00
Alena Prokharchyk
4060be1842
bug 14445: automatically enable firewall service for VR when VR is a provider for PF/StaticNat services
...
status 14445: resolved fixed
reviewed-by: Sheng Yang
2012-03-22 14:17:15 -07:00
Alena Prokharchyk
15019d1e5c
bug 14439: added search by name/description to listGuestOS and listGuestOSCategories apis
...
status 14439: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 11:33:22 -07:00
Alena Prokharchyk
c42fceab27
bug 14446: removed elasticLBVm from components.xml
...
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:26:48 -07:00
Abhi
90da4d1c92
bug 12947: support for 1.5 beta; reviewed-by: nitin
2012-03-22 17:30:56 +05:30
Nitin Mehta
2a837c3ebd
Bug 14345: DB discrepecy for capacity.check.period, cluster.memory.allocated.capacity.disablethreshold, pool.storage.allocated.capacity.disablethreshold, pool.storage.capacity.disablethreshold.
...
Reviewed-By: Kishan
2012-03-22 10:01:49 +05:30
prachi
45c7ad63bf
Bug 14299 - Fix adding public ip range per account
...
Changes:
Fixed as described in the bug.
* CreateVlanIpRangeCmd still accept account/domainId info
* if account owns:
- one Isolated network with source nat service enabled, use this network
- more than one Isolated network with source nat service enabled - error out
- none Isolated networks with source nat service enabled, create it only in
case when there is an Isolated network offering with Availability=Required and
source nat service enabled.
2012-03-21 16:52:32 -07:00
Kelven Yang
9c55b7b695
bug 14313: add map type adapter to ApiGsonBuilder as some API response classes are using Map<String, String>
2012-03-21 15:16:47 -07:00
Kelven Yang
7c327ec658
bug 14188: always make sure to inject SSH keys before copying systemvm ISO to secondary storage
2012-03-21 14:24:52 -07:00
Sheng Yang
1ca493e4fa
bug 14042: Don't set dhcp:router option on DHCP server for non-default network on CentOS/RHEL
...
The routing table with two nics may be messed up, due to we sent same
router(gateway) information from different DHCP server, in order to specify
default gateway. E.g.
Network A: 192.168.1.0/24, gw 192.168.1.1
Network B: 192.168.2.0/24, gw 192.168.2.1
User VM: Nic 1 connect to network A, get ip 192.168.1.10; nic 2 connect to
network B, get ip 192.168.2.10.
Set network A as the default network of user VM.
Currently we would send this information to user VM through DHCP offer:
In network A: dhcp-option:router 192.168.1.1
In network B: dhcp-option:router 192.168.1.1
So both NIC in the guest VM would receive 192.168.1.1 as router(gateway).
But, in CentOS 5.6, dhclient-scripts try to tell if the gateway is reachable
for current subnet.
So when we try to enable nic 2(eth1) of user VM, dhclient would receive:
IP: 192.168.2.10
Mask: 255.255.255.0
Router: 192.168.1.1
Then it would found that the specified gateway(router) is not within its own
subnet(192.168.2.0/24). But since we send out this ip(192.168.1.1) as the
gateway for it, dhclient thought that it should got someway to access the
network through this IP. So it would execute:
ip route add 192.168.1.1 dev eth1
ip route replace default via 192.168.1.1 dev eth1
But it can never reach 192.168.1.1(which is in the eth0's subnet and the
gateway of eth0) by go through eth1 interface. So it is messed up.
We've tested Windows 2008 R2, CentOS 5.3, CentOS 5.6 and Ubuntu 10.04. Windows
and Ubuntu are fine with above policy.
To solve this, we send different dhcp:router option according to the guest OS
type now.
We may need expand this list later, but for now we only know that CentOS and
RHEL would behavior in this way.
status 14042: resolved fixed
2012-03-21 10:38:18 -07:00
Sheng Yang
319dbccabf
Fix not sending DNS in DHCP command
2012-03-21 10:38:12 -07:00
Murali reddy
99e1ca123f
bug 13899: CloudStack (Advanced Mode) should not allow "NetScaler" as provider for StaticNAT service
...
status 13899: resolved fixed
2012-03-21 16:54:44 +05:30
Abhi
d3673506cf
bug 14216: rightly initializing to avoid NPE
2012-03-21 15:33:05 +05:30
Abhi
d354897780
bug 12947: enabling XCP 1.5
2012-03-21 10:23:04 +05:30
prachi
e43914ab58
Bug 14336 - Login API does not return UUID's
...
Changes done:
- Provide UUID for userid and domainid only while constructing the login response. Session will hold the DB id's as before, to ensure other parts keep working.
- This reverts commit de28aa3ddde5b601f2f234f2eccef871fbaf1a06.
2012-03-20 16:59:04 -07:00
prachi
a5d7cd3d51
Bug 14336 - Login API does not return UUID's
...
Changes:
- login API now returns back UUID for user and domain
2012-03-20 16:59:02 -07:00
prachi
280d533a6f
Bug 14047 - login API fails when UUID is used for domain_id
...
Changes:
- API should accept UUID for domain and convert to id when needed
2012-03-20 16:59:00 -07:00
Vijayendra Bhamidipati
24e57e283e
Bug 14071: queryAsyncJobResult in xml format gives incorrect UUIDs back
...
Description:
Incorrectly removed part of the XML serializer that serialized
the IdentityProxy object in normal responses, when putting in
support for serialization of lists of IdentityProxy objects in
exception responses as part of the code changes put in for bug
13217, resulting in this bug. Putting it back in place.
2012-03-20 16:22:43 -07:00
Alena Prokharchyk
29c61e6341
bug 14369: remove host entry when destroy CPVM/SSVM instances
...
status 14369: resolved fixed
2012-03-20 14:10:18 -07:00
Alena Prokharchyk
5599713268
bug 14401: return juniper srx as a firewall provider along with the Virtual router
...
status 14401: resolved fixed
2012-03-20 11:51:48 -07:00
Alena Prokharchyk
59a05660ab
bug 14420: listNetworkOfferings by networkId - respect specifyVlan flag of the original offering
...
status 14420: resolved fixed
2012-03-20 11:31:13 -07:00
Alena Prokharchyk
81d7f9bdbf
bug 14407: update network count for account/domain as a part of 3.0 to 3.0.1 upgrade
...
status 14407: resolved fixed
2012-03-20 10:40:32 -07:00
Alena Prokharchyk
e53cfeceb6
bug 14379: don't enable 8096 port by default (set global config variable to null by default, and don't create a listener on this port unless its set to valid integer)
2012-03-19 16:19:38 -07:00
frank
4303e30ae0
add missing cleanup.sql
2012-03-19 15:27:43 -07:00
Alena Prokharchyk
fec3a87d09
bug 14388: don't return console proxy / ssvm service offerings
...
status 14388: resolved fixed
2012-03-19 14:50:09 -07:00
frank
3773b52b2f
add cleanup.sql to DB upgrade test
2012-03-19 14:36:57 -07:00
Alena Prokharchyk
c01ed2f754
Added upgrade path from 3.0.x to 3.0.1
2012-03-19 13:38:38 -07:00
frank
26c77e62ce
move fake.sql to proper folder
2012-03-19 13:10:41 -07:00
frank
ea007f833f
use fake.sql for db upgrade test
2012-03-19 13:06:43 -07:00
Salvatore Orlando
0c4191bb75
Bug 14370 - addSecondaryStorage always fails: "Can't find pod with specificied podId null"
...
status 14370: resolved fixed
2012-03-19 17:14:03 +00:00
frank
a6a54a2f87
Bug 14189 - multiple physical nw - SSVM fail to download guest templates from storage server which is in isolated network only accessible by host's bridge
...
if storage network is present, don't set route through private ip when adding internal download site
status 14189: resovled fixed
2012-03-16 14:49:30 -07:00
Vijayendra Bhamidipati
005ba5e2b5
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Adding overloaded addProxyObject() function to CloudException
and RuntimeCloudException classes and using this function
to stuff exceptions with IDs, to reduce code footprint.
2012-03-15 16:27:52 -07:00
frank
7f8cf5a9ff
fix copying template
...
Conflicts:
console-proxy/scripts/ipfirewall.sh
2012-03-15 14:43:03 -07:00
Alena Prokharchyk
e73a23e8c0
bug 14271: return only domainId in error message when caller is not authorized to operate within the domain
...
status 14271: resolved fixed
2012-03-14 13:31:43 -07:00
Alena Prokharchyk
1b4954d63a
bug 14295: allow regular user to create network with the custom cidr
...
status 14295: resolved fixed
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2012-03-14 10:50:15 -07:00
Likitha Shetty
59262d67a3
Bug 13842 Check for snapshots in BackedUp state during the deletion of secondary storage
...
behalf of: pranav
reviewed by: kishan
2012-03-14 17:59:38 +05:30
Vijayendra Bhamidipati
b1bb0afad4
Bug 13127: API error text refer to database ids instead of uuids
...
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.
2012-03-12 18:05:45 -07:00
Sheng Yang
ec5a225a78
Refactor VirtualRouterNetworkManagerImpl
...
Refactor applyDhcpEntry and applyUserData to use applyRules framework.
2012-03-12 16:10:48 -07:00
Alena Prokharchyk
ad1192e264
bug 14239: limit number of Isolated account specific networks per account
...
status 14239: resolved fixed
Conflicts:
api/src/com/cloud/api/commands/CreateNetworkCmd.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-03-12 15:53:30 -07:00
Sheng Yang
21fe5e1087
bug 14074: Specify networkId for list public ip
...
status 14074: resolved fixed
2012-03-12 12:00:31 -07:00
Alena Prokharchyk
251af27a7a
bug 14247: implemented search by storage id in listSystemVms
...
status 14247: resolved fixed
2012-03-12 10:24:48 -07:00
abhi
ecad50c801
bug 14151,14153: configuration variables are now hidden; added ldapRemove command
2012-03-12 16:50:00 +05:30
abhi
64eb2dfcb1
bug 14224: allowing Xenserver 6.0.2, with the assumption that the same patches and guest os type will work as with 6.0
2012-03-12 16:39:22 +05:30
abhi
87a32a4866
bug 14224: adding 6.0.2
2012-03-12 16:39:22 +05:30
Sheng Yang
476c671374
Refactor VirtualNetworkApplianceManagerImpl
...
Add separate create command for dhcp, userdata and password.
2012-03-09 19:02:47 -08:00
Sheng Yang
d62d3b5a01
Refactor rules appling in the VirtualNetworkApplianceManagerImpl
2012-03-09 18:00:06 -08:00
Alena Prokharchyk
6910740582
Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
...
Reverting the commit in order to fix the build
This reverts commit 0ab0fcfa5c3b8825b8a92e3c2d2dee8e8ca6152b.
2012-03-09 09:53:56 -08:00
abhi
b7b751fdf6
bug 14151,14153: configuration variables are now hidden; added ldapRemove command
2012-03-09 16:56:01 +05:30
Vijayendra Bhamidipati
df51744979
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Removed some wrong invocations to addProxyObject() when
throwing exceptions in NetworkManagerImpl.java.
Replaced db ids with uuids in various points in the code
of NetworkManagerImpl.java, where exceptions are thrown.
2012-03-09 01:13:36 -08:00
Vijayendra Bhamidipati
a70f8a9b3d
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Replacing placement of db ids in exception messages to uuids
in the file ManagementServerImpl.java.
Since there are a large number of files that throw exceptions
with db ids in them and they need to be changed, we will make
the changes in multiple commits.
2012-03-08 23:25:50 -08:00
Vijayendra Bhamidipati
6ac79c4be2
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Adding a new class AnnotationHelper, that provides routines
to read annotations from a VO class.
Cloudstack does the mapping between cloudstack java VO objects
and the database tables using cglib. cglib creates proxy objects
as the maps between VO objects and the database. A VO (value
object) class is populated after querying from the MYSQL database.
Ideally, a getAnnotation() issued on a cglib proxy object should
get a list of all the annotations in all classes in the inheritence
chain. However, this functionality seems to be currently broken
in cglib. Hence, when querying for annotations given the object
of a VO class, we need to get to the corresponding VO class of that
cglib proxy class and issue a getAnnotation() on that class. To get
the VO class, we simply need to get the super class of the proxy
object. Also, we need to recurse to the root VO class in case the
VO class extends another VO class.
Note that the cache used by CS is ehcache.
2012-03-08 17:34:28 -08:00
Sheng Yang
e152e64ac0
Fix several wrong ResourceUnavailableException scopes
2012-03-08 11:55:31 -08:00
Alena Prokharchyk
4f741c833c
bug 14170: issues #1-#3 are fixed
2012-03-07 13:37:16 -08:00
Alena Prokharchyk
65e160b7e6
bug 14173: add eip/elb network offering (if missing) during the management server start
...
status 14173: resolved fixed
2012-03-07 10:02:24 -08:00
Alena Prokharchyk
f3935d667f
bug 14156: return instancename parameter in userVm response to ROOT admin only
2012-03-06 13:39:13 -08:00
prachi
5148145d18
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:50:23 -08:00
Vijayendra Bhamidipati
57c54e23d6
Bug 14060: Include a CloudStack error code in an Exception Response
...
Bug 13127: API error text refer to database ids instead of uuids
Code-Reviewers: Ewan Mellor, Kelven Yang
Description:
1. A new class CSExceptionErrorCode has been added to utils.
It contains a list of error codes for each type of
Exception class. Use fully qualified package paths for
Exceptions in CSExceptionErrorCode. We log any exception
name not found in the list of error codes for exceptions.
2. Whenever we throw an exception exobj anywhere in the
CS code, the CSErrorCode is set in the base class
constructor.
3. We add a new field csErrorCode in classes CloudException,
RuntimeCloudException, ExecutionException and
ExceptionResponse.
4. Two places in ApiServer.java were wrongly modified when
putting in changes for bug 13127 to not throw an exception.
This has been corrected in this commit.
2012-03-05 17:39:09 -08:00
prachi
996110c928
Bug 14000 - Neither Admin or regular user can create a VM when the Pod is disabled
...
Bug 14006 - Admin could not create a VM when the cluster is Disabled
Changes:
- For Root admin, planner will not filter out the disabled pods or clusters from the resource list
2012-03-05 17:04:22 -08:00
prachi
d2ecd8c89a
Bug 13999 - Non-admin user should not be able to take snapshots
...
Changes:
If Zone is disabled, deny permission to regular user while creating snapshots
2012-03-05 17:04:13 -08:00
Alena Prokharchyk
96cdc408d4
bug 14103: mark account for cleanup only in cleanupAccount and disableAccount method, not in the callers methods
...
status 14103: resolved fixed
2012-03-05 16:19:12 -08:00
frank
d7fb9177d1
allow more commands when resource state in maintenance mode
2012-03-05 15:38:06 -08:00
frank
b55997d39b
allow SetupCommand when resource is in maintenance mode.
...
Since maintenance is resource state not agent status right now
2012-03-05 15:38:00 -08:00
frank
77ba5d0f8e
Bug 14068 - Db upgrade: resource_state is incorrect for the host in UP state after the db upgrade from 2.2.x to 3.0
...
Bug 14099 - Db upgrade for storage network
status 14068: resovled fixed
status 14099: resovled fixed
2012-03-05 15:37:46 -08:00
Sheng Yang
1cd4ef5f07
bug 14110: Fix error message
...
status 14110: resolved fixed
2012-03-05 11:02:19 -08:00
kishan
de997c1e45
Bug 13952: Changed category of Usage configs
...
Status 13952: resolved fixed
Reviewed-By: Abhi
2012-03-05 18:58:49 +05:30
kishan
637b228130
Bug 14081: Added 3.0.0 templtae upgrade support. Added unit test case and DB dump
...
Status 14081: resolved fixed
Reviewed-By: Abhi
2012-03-05 17:25:38 +05:30
Likitha Shetty
9e716e6de3
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-03-05 10:33:12 +05:30
Alena Prokharchyk
66e7e64915
Db upgrade for security group provider
2012-03-02 16:07:42 -08:00
Sheng Yang
d58f0a976d
Fix element_id upgrade with network_id=0
2012-03-02 11:15:56 -08:00
kishan
d74260e197
Added systemVm template upgrade queries for XenServer
2012-03-02 20:33:26 +05:30
Alena Prokharchyk
6a1d7e309d
More fixes to 2.2.x - 3.0 db upgrade
2012-03-01 18:31:50 -08:00
Alena Prokharchyk
fa0e25d146
bug 14080: do EQ instead of LIKE search when search for duplicated users during the user update
...
status 14080: resolved fixed
2012-03-01 15:11:46 -08:00
Sheng Yang
887256ad12
bug 14076: Fix the exception scope
...
status 14076: resolved fixed
2012-03-01 14:58:40 -08:00
kishan
93b859970f
Bug 14039: Changed SSO key category Secure
...
Status 14039: resolved fixed
Reviewed-By: Abhi
2012-03-01 21:00:48 +05:30
Likitha Shetty
25db257a9a
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-03-01 14:39:43 +05:30
Alena Prokharchyk
152dfe4fd2
More fixes to the db upgrade
2012-02-29 16:26:44 -08:00
Alena Prokharchyk
e992a25e1a
bug 14033: root/domain admin limits are always Unlimited. Return it as Unlimited in listResourceLimit response
...
status 14033: resolved fixed
2012-02-29 15:15:36 -08:00
Alena Prokharchyk
25676aa3c6
bug 14017: 1) Don't allow NULL value for Boolean type of config 2) Added a null check when compare config values
...
status 14017: resolved fixed
2012-02-29 13:09:47 -08:00
Alena Prokharchyk
ce433f9df2
Wrap deletePhysicalNetwork in transaction
2012-02-29 11:02:57 -08:00
Likitha Shetty
6915bd7e6a
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-29 18:48:48 +05:30
Kelven Yang
5aade501dc
fix merge conflicts
2012-02-28 17:06:23 -08:00
Kelven Yang
52ebf15e7c
Console proxy refactoring incremental check-in - new VNC protocol implementation
2012-02-28 17:03:38 -08:00
Sheng Yang
0d2693c1c4
Add element_id for 3.0 upgrade
2012-02-28 16:19:38 -08:00
Alena Prokharchyk
2eaefc4aa8
Fixed unittest and some issues with 2.2.14-3.0 upgrade
2012-02-28 15:17:14 -08:00
Likitha Shetty
62610f9207
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-28 15:03:01 +05:30
Vijayendra Bhamidipati
83101a752f
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Modified the IdentityTypeAdapter's custom serializer to
identify whether this is an exception response that is being
serialized, by checking if the idFieldName is set. If so,
serialize both uuid and the uuidProperty (for eg, zoneId and
"zoneId" (string)) and pass back the json representation of that.
Modified XML serializer also to build a list of uuids+fieldnames.
Introduced a new field "cserrorcode" in ExceptionResponse. This
refers to an error code that can be according to the specific
Exception being thrown. This will be serialized as usual. There
shouldn't be any need to do a db lookup for conversion for these
error codes.
2012-02-27 17:55:06 -08:00
Vijayendra Bhamidipati
59631452b9
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Modify Exception handling to enable addition of multiple
uuids in a single exception thrown by API functions. Both
XML and JSON outputs will store all uuids and Fieldnames.
This will make it easier to provide more information when
an exception occurs - for example, a zone id, a cluster id,
host id, and then a specific property id.
2012-02-27 17:55:03 -08:00
Vijayendra Bhamidipati
bfe1122bc6
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
Added a field name for the db id in the IdentityProxy class, and
modified setProxyObject() to take an additional id name parameter.
This will let us know the name of the uuid that we are returning.
E.g.- domainId, zoneId, etc. The client can view this field in
the json/xml output. Modified the JSON/XML serialization routines
to append this new parameter to the serialized output for Exception
Responses.
2012-02-27 17:55:01 -08:00
Vijayendra Bhamidipati
e5b4cf5cf1
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Put in an IdentityProxy object in the ExceptionResponse class.
This allows us to copy over the IdentityProxy object contained
in the exception caught by handlerequest() when thrown by the
command's execute() method, into the Response object that is
prepared to return an exception response to the calling API
invocation.
2) Modified the GSON serialization method to conver the entire
exception object into JSON format and not just the error text.
3) Modify the updateDomain API to populate the exception it throws
upon detecting a duplicate domain to include the tablename and
domain db id in the exception's IdentityProxy object.
NOTE:
1) We can modify the base exception classes and the ExceptionResponse
class to contain a list of IdentityProxy objects rather than a
single one.
2) We will need to modify all commands such that wherever applicable
(wherever a db id is involved), they populate the IdentityProxy
object(s) before throwing an exception.
2012-02-27 17:54:58 -08:00
Vijayendra Bhamidipati
c3fbe29cf8
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Added a setProxyObject() method to CloudException and RuntimeCloudException
2) Modified a bunch of throw exceptions in NetworkManagerImpl.java to call setProxyObject() before throwing an exception.
3) Changed scope of ProxyIdentity attribute to protected.
4) Added routines to ServerApiException to get/set IdentityProxy object, and
routine in RuntimeCloudException to get the Idproxy object.
5) Modified the exception handling around the dispatcher and handlerequest()
to copy over the IdentityProxy information before rethrowing an exception
eventually back to handle().
6) Removed duplicate IdentityProxy object in ServerApiException.
It was extending RuntimeCloudException which already had an
IdentityProxy object.
2012-02-27 17:54:56 -08:00
Vijayendra Bhamidipati
768d7a2a26
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Moved RuntimeCloudException from api/ to utils/.
Added simple constructor to RuntimeCloudException.
Modified all classes that extended RuntimeException
to extend RuntimeCloudException. These classes
are listed below:
ServerApiException
CloudAuthenticationException
CloudExecutionException
AsyncCommandQueued
HypervisorVersionChangedException
RuntimeCloudException
2) Added overloaded constructed to CloudException.
Modified all classes that extend Exception to extend CloudException instead.
These classes are listed below:
ConcurrentOperationException
ConflictingNetworkSettingsException
ConnectionException
DiscoveryException
InsufficientCapacityException
ManagementServerException
ResourceUnavailableException
VirtualMachineMigrationException
AgentControlChannelException
OperationTimedoutException.java
UnsupportedVersionException.java
UsageServerException.java
UnableDeleteHostException.java
AgentAuthnException.java
HttpCallException.java
ActiveFencingException.java
ClusterInvalidSessionException.java
GreTunnelException.java
OvsVlanExhaustedException.java
2012-02-27 17:54:53 -08:00
U-CITRITE\vijayendra1
698c1ebe12
Bug 13127: API error text refer to database ids instead of uuids
...
Description:
1) Adding two new classes, CloudException and RunTimeCloudException.
The former extends Exception and the latter RunTimeException.
These will be used by classes that formerly directly extended
Exception and RuntimeException. These two classes have an attribute
of type IdentityProxy to enable exceptions fill in db ids in separate
attribute fields rather than in a string. Doing so will allow the
serialization module (GSON for JSON and other for XML) to kick in
and convert this db id to a uuid in ApiServer.java just before the
JSON/XML responses are sent out.
2) Moving IdentityProxy.java from api/ to utils/ since
both CloudException and RuntimeCloudException refer to it.
3) Changing references to IdentityProxy class from api/ to utils/.
4) While rebasing to master, a new file was added, merging
api/src/com/cloud/api/response/IsoVmResponse.java to this diff.
2012-02-27 17:54:50 -08:00
Kelven Yang
7eded374b7
bug 13860: add sanity check to ApiResponseSerializer when serializing XML response. Reviewed-By: Anthony
2012-02-27 16:07:39 -08:00
Kelven Yang
2d9a949ff8
bug 13989: get domr control IP from NIC table, the old private ip in domain_router table is no longer valid under basic zone configuration. Reviewed-By: Anthony
2012-02-27 15:05:18 -08:00
Alena Prokharchyk
50b2c26d3e
Fixed XML api writer
...
Reviewed-by: Alena
2012-02-27 12:38:30 -08:00
Likitha Shetty
61ec79da44
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-27 14:43:50 +05:30
Alena Prokharchyk
8f988b97cb
Clone services map when do provider/service verification during network offering addition.
...
Reviwed-by: Prachi Damle
2012-02-24 15:32:01 -08:00
Kelven Yang
b597362e50
bug 13989: GetDomRVersion command context is not correctly set for VMware under Basic zone configuration. Reviewed-By: Anthony
2012-02-24 10:01:07 -08:00
Alena Prokharchyk
6612744c61
bug 13971: return only offerings with matching tags when zoneId is passed in and corresponding zone has more than 1 physical network
...
status 13971: resolved fixed
Reviewed-by: Prachi Damle
2012-02-23 16:52:50 -08:00
Alena Prokharchyk
c052d96428
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:47 -08:00
frank
d9019b3f70
Bug 13962 - CloudRuntimeException: Failed to update keypairs on disk: cannot create key file null/.ssh/id_rsa
...
Changes for Script.java:
1. Even the script is non-timeout one, set default timeout to one hour. This avoid a wrongn script forever hang
2. When InterruptedException happens, check if timeout is really reached, if not, continue
status 13962: resolved fixed
reviewed-by: Alex, Edison
2012-02-23 13:43:10 -08:00
anthony
cde66fb4fe
bug 13832: fixed NPE
...
status 13832: resolved fixed
2012-02-23 13:27:01 -08:00
Alena Prokharchyk
f03fc196ad
bug 13961: always return NetworkUsageAnswer from the networkUsageCommand
...
status 13961: resolved fixed
Reviewed-by: Alex Huang
2012-02-23 11:15:38 -08:00
Sheng Yang
e2c7fe5f4f
Fix debug messages in RulesManagerImpl
...
Reviewed-by: Edison
2012-02-23 10:58:57 -08:00
Alena Prokharchyk
836a063a9e
bug 13924: default Firewall provider to Juniper when Juniper is a provider for Pf/StaticNat or source nat service
...
status 13924: resolved fixed
reviewed-by: Will Chan
2012-02-22 18:46:04 -08:00
Alena Prokharchyk
6b9abf832b
bug 13944: when delete the account, expunge detached volumes on the backend
...
status 13944: resolved fixed
Reviewed-by: Frank Zhang
2012-02-22 17:59:22 -08:00
prachi
f619e26c48
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:36:00 -08:00
prachi
e37732c4de
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 17:34:00 -08:00
Edison Su
90020679a4
bug 13771: don't send pre snapshot if it's migrated
...
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-22 17:21:24 -08:00
Alena Prokharchyk
798accae10
Added isTagged parameter to listNetworkOfferings api. When set to true, it will return offerings with not null tag values
...
Reviewed-by: Jessica Wang
2012-02-22 16:09:35 -08:00
Alena Prokharchyk
d4a8db75d7
bug 13763: fixed api doc for logout command
...
status 13763: resolved fixed
Reviewed-by: Jessica Tomechak
2012-02-22 15:17:22 -08:00
Alena Prokharchyk
99b0fbbdcb
bug 13925: don't allow to delete the network when there are vms in Error state (these vms has to be cleaned up by expunge process first)
...
status 13925: resolved fixed
Reviewed-by: Sheng Yang
2012-02-22 11:55:08 -08:00
Likitha Shetty
2f8181de5e
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-22 10:18:57 +05:30
Alena Prokharchyk
2992c608c4
bug 13919: do includingRemoved Nic search when remove firewall rules during the vm expunge
...
status 13919: resolved fixed
Reviewed-by: Sheng Yang
2012-02-21 18:02:44 -08:00
prachi
760c62eb15
Bug 13224 - Network Usage - Netscaler - External device is being queried multiple times (up to 8 times) whenever the Network Usage task is run.
...
Reviewed-by: Kishan
Changes:
- Separated out the External Network Usage task from the ExternalLBDeviceMgr because ExternalLbDeviceMgrImpl :: start() was getting multiple times during management server satrtup. The reason for this is that this is the baseclass for F5 and NetScalarElement.
- This caused us to schedule the ExternalNetworkUsageTask multiple times
- Also we have LBRulesMgr calling this ExternalLbDeviceMgrImpl by creating an instance of this class which is declared abstract
- Hence having a separate implementation to manage the network usage stats should solve this.
2012-02-21 17:16:07 -08:00
Edison Su
bc73ac7e59
bug 13910: release cpu/memory after expunged
...
status 13910: resolved fixed
Reviewed-by: prachi
2012-02-21 16:22:49 -08:00
Alena Prokharchyk
2e9511e2ae
Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
...
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Sheng Yang
a9a1475302
bug 13915: Fix VirtualRouter get gateway IP when others used as SourceNatServiceProvider
...
status 13915: resolved fixed
Reviewed-by: Edison
2012-02-21 15:24:14 -08:00
kishan
d0612151d8
Bug 13823: Throw network conflict expection when LB rules conflict
...
Status 13823: resolved fixed
Reviewed-By: Nitin
2012-02-22 01:15:29 +05:30
Alena Prokharchyk
12b79da6c2
bug 13903: return vm's hostName as a displayName when displayName is null in bunch of api responses
...
status 13903: resolved fixed
Reviewed-by: Kelven Yang
2012-02-21 10:46:00 -08:00
kishan
11e4ded985
Bug 13619: Throw exception when not traffic sentinel host is not available. Update last_collection timestamp when atleast 1 IP has nonzero bytes
...
Status 13619: resolved fixed
Reviewed-By: Nitin
2012-02-21 23:41:37 +05:30
Alena Prokharchyk
4dea695e09
bug 13871: use perzone and peraccount (no spaces in values) when compare source nat capabilities
...
status 13871: resolved fixed
Reviewed-by: Chiradeep Vittal
2012-02-21 10:06:29 -08:00
Murali reddy
4e9b312bf2
bug 13855: F5 - Hold time paramS for sticky policies are not getting programmed in F5
...
- configuring unique persistence profile for each LB rule with sticky method applied
- removing source based sticky method for source based LB method which is not supported by F5
2012-02-21 22:04:37 +05:30
abhi
8213a2e225
bug 13884: fixing spell vm.destroy.forcestop
2012-02-21 10:06:44 +05:30
Likitha Shetty
1f91b76b06
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-20 10:44:39 +05:30
frank
a1fa313902
Bug 13568 - secondary storage VM's static route for nfs server breaks things!
...
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:24:32 -08:00
Alena Prokharchyk
31a3b878a3
bug 13864: for elastic IP address return the purpose (staticNat or Lb) in listPublicIpAddresses api response
...
Reviewed-by: Frank
2012-02-17 15:42:21 -08:00
Alena Prokharchyk
4d27f3c44b
bug 13866: return publicIp info in listVms api response when vm is linked to public ip via static nat
...
Reviewed-by: Frank
2012-02-17 15:42:17 -08:00
Sheng Yang
4f08afb784
bug 13867: Pass hostId instead of external firewall device Id
...
status 13867: resolved fixed
Reviewed-by: Anthony
2012-02-17 15:28:06 -08:00
Sheng Yang
d94189a3d9
bug 13829: Add default capacity for SRX
...
And per Alex's request, add default value directly into the database, rather
than using it at last minute of implemention.
status 13829: resolved fixed
Reviewed-by: Alex
2012-02-17 15:25:41 -08:00
Alena Prokharchyk
313659d730
Return hostName as displayName in the listvms api resonse, just the way it was before 41df47cc6873b4d8acd0503b16535051a3cbde14)
...
Reviewed-by: Kelven Yang
2012-02-17 14:51:25 -08:00
Sheng Yang
79454ce4d8
bug 13829: Fix NPE in ExternalFirewallDeviceManagerImpl
...
Reviewed-by: Edison
2012-02-17 13:30:08 -08:00
Edison Su
fe18cd5d7e
bug 13845: as you can't add physical devices name from UI when you create zone, use kvm.{guest|public|private}.devices in the global configuration.
...
status 13845: resolved fixed
Reviewed-by: frank
2012-02-17 13:20:30 -08:00
Edison Su
289a641d4f
bug 13789: don't shutdown host if it's a forward agent
...
status 13789: resolved fixed
Reviewed-by: frank
2012-02-17 13:04:03 -08:00
Alena Prokharchyk
50fc52ee9b
bug 13854: don't allow to remove network offerings if its in use by existing networks
...
status 13854: resolved fixed
Reviewed-by: Alex Huang
2012-02-17 12:58:54 -08:00
kishan
9c5fb5f199
Bug 13741: Added new Config category Secure. Any config in secure category will encrypted along with the Hidden category configs
...
Status 13741: resolved fixed
Reviewed-By: Nitin
2012-02-17 16:42:32 +05:30
Nitin Mehta
87be3ca686
Bug 13836: NPE fix. If snapshot is already removed say so-do not try and delete it again.
...
Reviewed-By: Kishan
2012-02-17 16:29:49 +05:30
kishan
4ec26ae3cb
Bug 13794: When snapshot backup fails, snapshot.delete event is not required. Snapshot.create is logged only afetr successfull backup.
...
Status 13794: resolved fixed
Reviewed-By: Nitin
2012-02-17 16:17:39 +05:30
Likitha Shetty
b9761cd654
Bug 4644 (Pranav)
2012-02-17 15:38:10 +05:30
Nitin Mehta
560d54a49c
Bug 13059: cast the long to float else the fraction would be 0 - java basics :).
...
Reviewed-By: Kishan
2012-02-17 15:08:35 +05:30
kishan
74ce678baf
Bug 13802: Log VPN user remove usage event when user fails to get applied
...
Status 13802: resolved fixed
Reviewed-By: Nitin
2012-02-17 14:17:28 +05:30
kishan
ced6fd46b8
Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
...
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 13:50:18 +05:30
prachi
eb43f780f7
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 17:04:25 -08:00
Edison Su
cdf10ccc2e
bug 13771: Long.equals is not ==
...
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-16 17:02:55 -08:00
Alena Prokharchyk
ebe664cff2
bug 13041: in Basic zone just restart all exising domRs in the zone during the networkRestart, don't try to create a new one
...
status 13041: resolved fixed
reviewed-by: Sheng Yang
2012-02-16 14:58:16 -08:00
Alena Prokharchyk
13f4d92d2a
bug 13813: fixed network offering search to use traffic type when locate physical network in the zone
...
status 13813: resolved fixed
Reviewed-by: Frank
2012-02-16 10:40:00 -08:00
Alena Prokharchyk
ee77167fae
bug 13801: fixed broken check for extending vnet ranges during physical network update
...
status 13801: resolved fixed
Reviwed-by: Kelven Yang
2012-02-16 10:01:07 -08:00
Murali reddy
c544d85988
bug 13625: F5 - NullPointerException seen when trying to delete/restart a network that was failed to implement properly during implement network
...
Reviewed-By: Abhi
status 13625: resolved fixed
adding logic to gracefully exit shutdown operation, if earlier network failed to implement
2012-02-16 18:47:37 +05:30
Nitin Mehta
d5a7419b1f
Bug 13692: Query was giving cluster id weven when it was pod level information.
...
Reviewed-By: Kishan
2012-02-16 14:47:15 +05:30
abhi
fac8091c9f
bug 13673: stopping alien VMs during sync for Xenserver
2012-02-16 12:35:36 +05:30
Edison Su
20b9562432
bug 13781: reload host detail after host reconnect
...
status 13781: resolved fixed
Reviewed-by: frank
2012-02-15 18:54:50 -08:00
Alena Prokharchyk
2fb10fe9d7
bug 13700: delete projects as a part of domain cleanup
...
status 13700: resolved fixed
reviwed-by: Frank
2012-02-15 16:34:50 -08:00
Alena Prokharchyk
4d28fb16b9
bug 13742: check only for Pending invitations while inviting the same account to the project again
...
status 13742: resolved fixed
2012-02-15 11:02:33 -08:00
Murali reddy
4b728abedb
bug 13722: When we try to create a network when there is no capacity in F5, we should not attempt to create the network
...
Reviewed-By:Jana
status 13722: resolved fixed
thorwing resource unavaiable exception when there is not enough capacity to implement network
2012-02-15 19:05:44 +05:30
Murali reddy
a338fe5003
bug 13664: F5 device can be added in "Dedicated" mode but Network offering allows for only "shared" LB isolation to be set.
...
Reviewed-By: nitin.mehta@citrix.com
status 13664: resolved fixed
added dedicated mode as capability to F5 load balancer element
2012-02-15 17:16:59 +05:30
abhi
eb105fb06b
Bug 13471: disabling agent lb
2012-02-15 12:12:23 +05:30
Sheng Yang
3a37ab6772
bug 13715: Modify changeCidr parameter of updateNetwork API
...
We expect user to use following sequence when update virtual router provided
network offering to external firewall devices offering:
1. Shutdown all the user VMs.
2. Modify network to new offering.
3. Click "Allow CIDR change" in the pop-up dialog, which would pass
changeCidr=true to the updateNetwork API.
We would shutdown guest network before we update the network for new
offering(with changeCidr = true), in order to re-implement the network.
status 13715: resolved fixed
Reviewed-by: Alex
2012-02-14 19:34:23 -08:00
anthony
ae3c1966c1
bug 13712: do not download removed template
...
status 12712: resolved fixed
reviewed-by: edison
2012-02-14 18:32:28 -08:00
Alena Prokharchyk
d55850526c
Don't change the domain state when the domain can't be removed (cleanup=false and there are resources referencing it)
...
Reviewed-by: Edison Su
2012-02-14 17:17:10 -08:00
frank
ede4c502f2
Bug 13662 - OVM host remain in Alert state, Unable to create deployment for OVM instance
...
Bug 13641 - OVM add host to OVM cluster results in host remaining in state: Alert
Bug 13652 - OVM add primary storage to OVM cluster FAIL
making Ovm work on Acton
status 13662: resolved fixed
status 13641: resolved fixed
status 13652: resolved fixed
reviewed-by: edison
2012-02-14 15:12:46 -08:00
Alena Prokharchyk
17349dfe12
bug 13695: deleteAccount - remove account from projects as a part of account cleanup process
...
status 13695: resolved fixed
Reviewed-by: Frank
2012-02-14 14:06:49 -08:00
Alena Prokharchyk
136d9e7295
bug 13699: use correct way of checking VM permission during the service offering upgrade
...
status 13699: resolved fixed
2012-02-14 13:05:59 -08:00
Alena Prokharchyk
5e9a15c07d
bug 13708: make a search by traffic type when locate physical network in the zone
...
status 13708: resolved fixed
reviewed-by: Prachi Damle
2012-02-14 12:47:33 -08:00
prachi
63fd5d1f64
Bug 13703 - [External Service Providers] Unable to find a Discoverer to load the resource: 1 for hypervisor type : null
...
Changes:
- in case of external service providers, there is no discoverer that could load the resource.
- So we have to rely on agentMgr to load the resource as earlier.
2012-02-14 12:17:25 -08:00
Kelven Yang
a72d419f8c
bug 13679: cosmetic fix to remove NPE warning message from log. Reviewed-By: anthony
2012-02-14 12:08:50 -08:00
Sheng Yang
03aa8d727c
bug 13643: Fix assigned router gateway IP
...
The ExternalGuestNetworkGuru need to respect some of existed IP assignment,
especially router. Otherwise router can't get correct IP address(gateway IP).
status 13643: resolved fixed
Reviewed-by: Alex
2012-02-13 17:10:10 -08:00
Alena Prokharchyk
d5532d7de0
Update apikey/secretkey in transaction
2012-02-13 11:11:56 -08:00
Nitin Mehta
8f869b6a18
Bug 13591: Remove unwarranted log messages that we are printing with every answer recieved from the agent.
...
Reviewed-By: Kishan
2012-02-13 16:33:52 +05:30
abhi
20968a408c
bug 13549: cleanup stopped/starting VMs if present on host during MS startup
...
reveiewed-by: kishan
2012-02-13 07:25:01 +05:30
Alena Prokharchyk
294d3a2fda
Code format fixes
2012-02-10 15:10:21 -08:00
Alena Prokharchyk
4f2e9a5195
Don't allow guest network creation when guestCidr is not configured in corresponding zone
2012-02-10 11:02:26 -08:00
Alena Prokharchyk
26d272021f
Guest cidr is optional for Advance zone (zone can have just Shared networks)
2012-02-10 10:45:05 -08:00
Nitin Mehta
b2c7986ba3
Bug 13059: Remove topused flag.
...
Reviewed-By: Kishan
2012-02-10 17:07:21 +05:30
kishan
9a6e0abe8c
Bug 13599: Used IdentityDao to map usage records to correct UUIDs
...
Status 13599: resolved fixed
Reviewed-By: Nitin
2012-02-10 16:34:02 +05:30
kishan
c7337f00be
Bug 12802: Updated generate usage records API description
...
Status 12802: resolved fixed
Reviewed-By: Nitin
2012-02-10 12:00:14 +05:30
Nitin Mehta
680ab2f908
Bug 13059: Using Float instead of float for percentage.
...
Reviewed-By: Kishan
2012-02-10 11:11:47 +05:30
Alex Huang
a3b2f3d118
bug 13478: added exception printing. Reviewed-by: Anthony
2012-02-09 16:50:27 -08:00
Edison Su
5f897816ab
bug 13579: set default timeout to -1
...
status 13579: resolved fixed
2012-02-09 16:49:50 -08:00
Alex Huang
166790ad70
propagate fix from 2.2.14
2012-02-09 16:44:55 -08:00
Edison Su
498d57fa3d
fix upgrade
2012-02-09 14:56:41 -08:00
Edison Su
e6d6e3b90a
bug 13470: check the correct old certificate
...
status 13470: resolved fixed
Reviewed-by: anthony
2012-02-09 14:56:41 -08:00
Edison Su
5b11e67a18
Agent disconnected due to so many Fencecommand send to agent, cause agent can't get pingaswer from mgt server, then agent thinks it's ping timeout, reconnect to mgt server.
2012-02-09 14:56:41 -08:00
Edison Su
a670c0e66e
cleanup
2012-02-09 14:56:40 -08:00
Edison Su
1ab89dd436
add cert chain in db, and also open the api to upload a cert chain
2012-02-09 14:56:40 -08:00
Sheng Yang
14142363a1
Better error message for changeCidr
2012-02-09 14:40:18 -08:00
frank
aa9d250280
port copy template fix to acton
2012-02-09 14:19:08 -08:00
Nitin Mehta
faaa7593de
Bug 13059: Used and total capacity were not showing in some cases becuae the constructor was not setting it.
...
Reviewed-By: Kishan
2012-02-09 20:55:51 +05:30
Nitin Mehta
d82fad81bf
Bug 13564: Incorrect format was coming for kvm since there was a ohardcoding on the extension to be of size 3 Instead take the format from the ENUM.
...
Reviewed-By: Kishan
2012-02-09 20:14:13 +05:30
Naredula Janardhana Reddy
023d06124f
Bug 12812:
...
Summary of changes:
- applyLoadBalancerConfig(long lbRuleId) method applies only one rule if it is Netscalar otherwise applies all the rules in add/revoke state.
2012-02-09 12:05:29 +05:30
prachi
05af078358
Bug 8791 - user dispersing allocator
...
Changes:
To migrate systems using 'use.user.concentrated.pod.allocation' as true and 'vm.allocation.algorithm' as true, we need to
add following changes:
- There will be 5 values to 'vm.allocation.algorithm': 'random', 'firstfit', 'userdispersing', 'userconcentratedpod_random', 'userconcentratedpod_firstfit'
- 'userconcentratedpod_random' means we apply user concentration to pods and clusters. To hosts and pools we use random ordering.
- 'userconcentratedpod_firstfit' means we apply user concentration to pods and clusters. To hosts and pools we use firstfit ordering.
2012-02-08 17:03:38 -08:00
Sheng Yang
5dcff263e1
Provide a better error message for changeCidr
2012-02-08 16:53:42 -08:00
Sheng Yang
fadec7afe7
Add "changecidr" parameter for updateNetwork API
...
CIDR may be different after update to a service offering contained external
network element, user is required to acknowledge this, otherwise the update
won't process
2012-02-08 15:57:50 -08:00
Sheng Yang
9317eb6bc3
Revert dynamic cidr change
2012-02-08 15:54:22 -08:00
Sheng Yang
18ec438793
Revert zone guest cidr setting
2012-02-08 15:54:16 -08:00
Sheng Yang
99b7b73d7f
bug 12747: release ip when no static nat rule existed
...
status 12747: resolved fixed
2012-02-08 15:54:03 -08:00
Sheng Yang
58fe40715f
bug 13540: Fix release ip fail to clean up iptables rules
...
The rule cleanup must be done before ip disassociated.
status 13540: resolved fixed
2012-02-08 15:53:56 -08:00
Alena Prokharchyk
fad3c7eab4
bug 13522: mark network for GC when domR starts with startRouter command, not as a part of user vm start/deploy
...
status 13522: resolved fixed
2012-02-08 13:33:06 -08:00
Nitin Mehta
78e79856af
Bug 13059: Removed the code which was deleting capacity entries on every MS restart.
...
Reviewed-By: Kishan
2012-02-08 20:44:57 +05:30
kishan
17659d1500
Bug 12972: Added VPN_USER_REMOVE usage events when VPN is disabled. VPN_USER_ADD events added when VPN is enabled again. VPN usage will be generated only when VPN is enabled.
...
Status 12972: resolved fixed
Reviewed-By: Nitin
2012-02-08 19:57:08 +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
Nitin Mehta
e6beb08f1b
Bug 13059: Keeping the param name more intuitive Also adding the ciode for listing used and total capacity as well.
...
Reviewed-By: Kishan
2012-02-08 18:03:22 +05:30
Murali reddy
35ea4b7df1
using proper transaction semantics while adding netscaler device
2012-02-08 17:40:47 +05:30
Nitin Mehta
cbc47b9021
Bug 13059: For listing top consumed resources only uyse enabled zone for sec storage Also improve the transaction logic.
...
Reviewed-By: Kishan
2012-02-08 15:34:56 +05:30
kishan
034b5890e6
Bug 13454: Drop both foreign keys, indexes of ssh_keypairs and add again
...
Status 13454: resolved fixed
Reviewed-By: Nitin
2012-02-08 15:26:21 +05:30
Naredula Janardhana Reddy
31fe8bd815
Summary of HAProxy stickines param changes:
...
- converted all mandatory params to optional, and internally fill with default value before sending to haproxy. default value is available through description.
- accept holdtime without units.
2012-02-08 14:56:41 +05:30
abhi
44c172bdc2
bug 12980: added trust store for ssl
2012-02-08 13:07:19 +05:30
Nitin Mehta
1fc0afe3f2
Bug 13059: Remove the listTipConsumedResources api and introduced a sortbyusage flag in the listCapacity call.
...
Reviewed-By: Kishan
2012-02-08 11:50:55 +05:30
prachi
d0e63bc377
Bug 13099 - table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- DB upgrade changes
-- make the global setting hidden.
-- During upgrade set network labels from global config
2012-02-07 18:41:29 -08:00
prachi
dbe2305352
Bug 13099 table physical-network-traffic-types needs to be updated when xen network device setting is modified in the global settings
...
Changes:
- We do not need these global setting anymore. These will be hidden since 3.0
- The default traffic label will be picked from the global setting which is null by default. When traffic label is null it means the resource uses tag on the default gateway
- Changes to invoke discoverer to reload the resource object on host connection
- Since a zone can have many physical networks, there can be multiple guest, public networks. Only the zone wide storage and management traffic label will be stored in host_details henceforth.
- If traffic labels are updated, discoverer should update the host_details
2012-02-07 18:41:23 -08:00
Alena Prokharchyk
bd765999ba
Fixed listTopConsumedResources to work w/o specifying page/pageSize
2012-02-07 14:38:23 -08:00
Alena Prokharchyk
c17e9344a7
bug 13508: fixed inconsistencies in key names during db upgrade
...
status 13508: resolved fixed
Reviewed-by: Will Chan
Conflicts:
setup/db/db/schema-2213to2214.sql
2012-02-07 13:40:53 -08:00
Alena Prokharchyk
cad392cd68
bug 13335: fixed listProjectInvitations by projectId
...
status 13335: resolved fixed
2012-02-07 13:16:27 -08:00
anthony
22bbd8e766
bug 13478: check null
...
status 13478: resolved fixed
reviewed-by: edison
2012-02-07 10:56:24 -08:00
frank
02075c3a2d
Bug 13476 - Public IP's are not shown in the UI for the System VMs
...
status 13476: resolved fixed
2012-02-07 10:58:11 -08:00
Nitin Mehta
ce26703e5c
Bug 13059: Make DB changes to list top consumed resources for enabled resources only. For this introdiuced a new state called capacity state in the op_host_capacity table and would be updated on every operation of zone pod cluster and host
...
Reviewed-By: Kishan
2012-02-07 20:53:25 +05:30
Murali reddy
8fbdd2919e
bug 12488: Netscaler - Invalid error message presented to the user when deployVm fails to implement network becasue of insuffucient capacity in Netscaler.
...
status 12488: resolved fixed
2012-02-07 19:15:36 +05:30
Murali reddy
a665f9bf50
bug 13180: Netscaler - SDX - Capacity field is not respected by the VPX instances that are created by SDX
...
status 13180: resolved fixed
2012-02-07 18:21:34 +05:30
Murali reddy
5f8936eb2f
bug 13179: Netscaler - Admin is allowed to delete the SDX instance when there are existing vpx instances that was created
...
status 13179: resolved fixed
2012-02-07 14:18:43 +05:30
Alena Prokharchyk
207f0db318
bug 13474: fixed 3)
...
status 13474: resolved fixed
reviewed-by: Will Chan
2012-02-06 19:57:17 -08:00
Alena Prokharchyk
d7b290cb9c
bug 13474: fixed 1) 2) and 4)
...
reviewed-by: Frank
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
setup/db/db/schema-2213to2214.sql
2012-02-06 18:35:51 -08:00
Alena Prokharchyk
c4d9a4c82b
Agent LB: never get a part of the hosts from the xen cluster; skip the cluster if it has more hosts than we need
...
Reviewed-by: Alex Huang
2012-02-06 16:42:58 -08:00
Alena Prokharchyk
950429e582
bug 12361: db upgrade for Direct account specific networks
2012-02-06 14:58:40 -08:00
Alena Prokharchyk
c4b15a0eeb
Fixed code formatting in 2214-30 upgrade
2012-02-06 14:58:40 -08:00
frank
b59c3c595e
return netmask in listStorageNetworkIpRangeCmd
2012-02-06 14:37:56 -08:00
Nitin Mehta
93b8178f19
Bug 13059: Introduce a new api to list top consumed resources in cloudstack.
...
Reviewed-By: Kishan
2012-02-06 20:32:40 +05:30
Naredula Janardhana Reddy
ce22712293
Bug 12812:
...
Summary of changes: Database changes will be rollbacked while applying the LB rule to the Netscaler device.
- Database changes will be rollbacked to previous state during the following Lb API's:
1) assignVM to LB rule
2) remove VM from LB rule
3) updateLb rule
4) deleteLb rule
5) create/attach sticky policy to Lb rule
6) delete sticky policy from Lb rule
- Database changes of the Lb rule will be not be rolledback during:
1) Removing IP
2) removing VM
2012-02-06 19:16:34 +05:30
abhi
74f1a821a4
bug 13134: added encryption for ldap password
2012-02-06 16:31:58 +05:30
abhi
e8f4b2d83b
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2012-02-06 15:03:09 +05:30
abhi
59c7150af7
bug 13439: full sync at management server restart, disabling hourly sync
2012-02-06 15:01:44 +05:30
kishan
b5d465f74a
Bug 12649: Added ROOT to domain path and removed trailing slash
...
Status 12649: resolved fixed
Reviewed-By: Abhi
2012-02-06 14:27:55 +05:30
kishan
b0aaf75c3b
Bug 13454: Remove foriegn keys in ssh_keypairs table and again with correct constraint name
...
Status 13454: resolved fixed
Reviewed-By: Nitin
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade2213to2214.java
2012-02-06 14:04:56 +05:30
frank
074d33d9f3
DB upgrade for Bug 6849 - Randomize systemvm passwords
2012-02-03 17:40:07 -08:00
frank
890bfffe2f
Bug 6849 - Randomize systemvm passwords (edit)
...
status 6849: resolved fixed
2012-02-03 17:28:58 -08:00
anthony
a70ea7f745
bug 13241: before update cluste guid, check if this guid is used,
...
status 13241: resolved fixed
2012-02-03 17:01:04 -08:00
Alena Prokharchyk
1490e45a1c
Fixed format style in a bunch of files (replaced tabs with spaces as a part of it)
2012-02-03 13:49:11 -08:00
Murali reddy
1f0ea28cc4
bug 12568: load balancer/firewall device capacity when admin does not specify a value
2012-02-03 23:48:26 +05:30
kishan
b15e5d6730
Bug 13326: Include isElastic flag in IPAddress usage response
...
Reviewed-By: Nitin
2012-02-03 18:03:04 +05:30
kishan
1c95ed5012
Bug 13433: Updated removed index for async_job table
...
Reviewed-By: Nitin
2012-02-03 18:03:04 +05:30
kishan
a388ed792f
Bug 13326: Added is_elastic flag to IP address usage. Added new column in usage_ip_address, defaults to false. size column will contain is_elastic info in cloud_usage table
...
Status 13326: resolved fixed
Reviewed-By: Nitin
2012-02-03 18:01:30 +05:30
Nitin Mehta
deadf815ca
Bug 13423: Drop i_op_vm_ruleset_log__instance_id, u_op_vm_ruleset_log__instance_id key (if exists) and re-add u_op_vm_ruleset_log__instance_id again.
...
Reviewed-By: Kishan
2012-02-03 15:54:48 +05:30
prachi
65b7a27407
Bug 13229 - Network Usage - Netscaler - NetworkUsage not being called when Lb rules are deleted and when releasing the Ip adress that has Lb rules.
...
Reviewed-by: Kishan
Changes:
- When an LB rule is deleted or the IP address having an LB rule configured is released, ExternalNetworkUsageCommand is fired to gather the usage
accumulated on that IP after the last run of the ExternalNetworkUsage job.
2012-02-02 17:23:51 -08:00
Alena Prokharchyk
a8476ac0de
bug 12361: 2214-3.0 db upgrade for redundant routers
2012-02-02 14:43:37 -08:00
Kelven Yang
8060918805
bug 13428: upgrade newly issued realhostip certificate. Reviewed by: Anthony
2012-02-02 11:49:20 -08:00
frank
de7a763ff9
avoid both PodBaseNetworkGuru and StorageNetworkGuru reply to storage network
...
design call
2012-02-02 11:31:43 -08:00
frank
e30ca89c7c
Bug 13185 - CloudStack UI shows incorrect info for SSVM public IP
...
status 13185: resolved fixed
2012-02-02 10:52:18 -08:00
Alena Prokharchyk
504af05df4
bug 13335: fixed name/displayText network update
...
status 13335: resolved fixed
2012-02-02 10:34:06 -08:00
kishan
f1a30a21aa
Bug 13133: Added snapshot delete event when a recurring snapshot deletes oldest snap
...
Status 13133: resolved fixed
Reviewed-By: Nitin
2012-02-02 18:56:07 +05:30
Alena Prokharchyk
78f6fc9e43
bug 12361: Inermediate checkin to 2.2.14-3.0 db upgrade
2012-02-01 16:46:56 -08:00
Jessica Wang
46c0024a34
bug 13362: fix error message in StorageManagerImpl.java
2012-02-01 15:49:21 -08:00
Alena Prokharchyk
2f17d465dc
Fixed 2.2.14-3.0 db upgrade for usage
...
Added unittest as well
2012-02-01 13:33:53 -08:00
Alena Prokharchyk
edd4c84ca1
Add domain name info for private zones in listZones api response
2012-02-01 11:26:00 -08:00
Alena Prokharchyk
879ab9a5cc
More logging to domain checker
2012-02-01 11:07:13 -08:00
Alena Prokharchyk
cfea031b28
Fixed deploy vm for Project in private zone
2012-02-01 11:03:12 -08:00
abhi
ae609f6801
bug 13408: added more loggin to assignVM
2012-02-01 18:45:25 +05:30
abhi
b6e5419370
bug 12899: checking if static nat rule is in place, throw error if there. Let the caller clear it first before assigning VM to another account
2012-02-01 18:08:32 +05:30
Naredula Janardhana Reddy
aea81205ef
Bug 11845:
...
Summary of Changes:
- created a generic way for LB rule validations, so as LB device(like Haproxy) specific validations can be done syncronously.
- Removed asyncronous validations from Haproxy and done syncronously.
2012-02-01 18:01:11 +05:30
kishan
a072cdfec6
Bug 12071: Drop and re-create usage event created index in cloud_usage DB
...
Status 12071: resolved fixed
Reviewed-By: Nitin
2012-02-01 17:07:28 +05:30
Naredula Janardhana Reddy
72fb7256d7
Bug 13297,13375,12705 :
...
Summary of changes :
- Added a new flag -s to ipassoc command to carry if the ip address is
used for SNAT or not.
- SNAT is completly decoupled from the first flag. first flag is used
to decide if the ip address is first ip address of the interface.
- -s and -f are independent, SNAT can be enabled on the non-first ip
also.
2012-02-01 12:39:10 +05:30
prachi
fc7758c455
Bug 13224 - Network Usage - Netscaler - External device is being queried multiple times (up to 8 times) whenever the Network Usage task is run.
...
Reviewed-By: Kishan
Changes:
- Added local cache to store the usage answer per LB device per zone
- Also there can be multiple domainRouters for an account. We can avoid processing the same account for usage by maintaining accounts already processed.
2012-01-31 18:29:07 -08:00
Kelven Yang
00ffe10b05
bug 12017: when owner host is not in UP state, mark VM state as UNKNOWN
2012-01-31 17:20:16 -08:00
anthony
5c0b585aa0
bug 12844: fixed a regression
...
reviewed-by : edison
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
2012-01-31 17:12:49 -08:00
Alena Prokharchyk
f5681d1f7b
bug 13396: escape double quotes in error json response
...
status 13396: resolved fixed
2012-01-31 16:26:53 -08:00
anthony
cb8f55a6f6
bug 12844, 13394: 1. if connect to host fails, don't need to investigate
...
2. add ha parameter to dissconnect host to indicate if HA VMs on this host
status 12844, 13394: resolved fixed
reviewed-by : edison
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
2012-01-31 15:33:39 -08:00
Alena Prokharchyk
c2f99796bb
Return only VirtualRouter as a firewall provider in listSupportedNetworkServices api response
2012-01-31 14:37:44 -08:00
prachi
08bb9eaf47
Bug 11426 - UpdateResourceCount api: don't recalculate the resources for System account
...
Changes:
- Throw error is anyone tries to update the resource limits for ROOT domain using updateResourceLimit API
- For ROOT domain always return -1 (infinite) limit
- DB upgrade: remove any limits set for ROOT domain
2012-01-31 14:21:03 -08:00
frank
7359789541
Bug 13394 - HA XEN- After host is disconnected from network & reconnected to network, host remains in Connecting state
...
get current update count before update agent status otherwise the operation would fail because someone before he
update the update count
status 13394: resolved fixed
2012-01-31 13:57:25 -08:00
Alena Prokharchyk
07545236d7
bug 13381: fixed update availablity for network offering
...
status 13381: resolved fixed
2012-01-31 11:49:09 -08:00
Nitin Mehta
2ef6ed809f
Bug 11789: The calculation for storage allocated capacity would go through the the common function throught which dashboard calculates the capacity as well.
...
Reviewed-By: Prachi
2012-01-31 13:18:57 +05:30
Nitin Mehta
33857e21e3
Bug 11789: Created a function for calculation of allocated primary storage. The dashboard calculation would go through this.
...
Reviewed-By: Kishan
2012-01-31 12:31:18 +05:30
Alex Huang
c42f50c4b0
Used a different way to allocate guest ip address. not in used yet.
2012-01-30 16:10:10 -08:00
Alena Prokharchyk
37d38427c6
Fixed transaction start in createLB rule
2012-01-30 15:53:54 -08:00
Alena Prokharchyk
cd56bf9f60
Only Virtual Router can be specified as a provider for the Firewall service
2012-01-30 15:26:43 -08:00
Alena Prokharchyk
0196eb5679
bug 12821: no VPN support on Juniper
...
status 12821: resolved fixed
2012-01-30 15:07:04 -08:00
Kelven Yang
8f2b6dc791
do not default display name from null to other name like host name
2012-01-30 14:57:50 -08:00
Kelven Yang
cb959aa377
bug 13369: recycle roger hung worker VMs in vCenter
2012-01-30 14:21:56 -08:00
Alena Prokharchyk
1b54901caa
bug 13290: fixed listNetworks for the domain admin in Basic zone
...
status 13290: resolved fixed
2012-01-30 13:45:16 -08:00
Alena Prokharchyk
529d0706e1
SpecifyVlan should always be true for shared network offerings and for network offerings with specifyIpRanges=true
...
SpecifyIpRanges should always be true for Shared network offerings
2012-01-30 12:34:49 -08:00
Alena Prokharchyk
9219d4c41d
bug 12361: more fixes to DB upgrade for network_offerings table
...
Added unittest for testing network offerings db upgrade
2012-01-30 11:20:13 -08:00
Nitin Mehta
f88ddbe86e
Bug 13066: StorageOverProv-Start using bigdecimal for better precision. Change allocators and dashboard code for the same.
...
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-30 17:27:30 +05:30
kishan
8f2cf82b24
Bug 12996: Removed createConfiguration API command
...
Status 12996: resolved fixed
Reviewed-By: Nitin
2012-01-30 14:36:50 +05:30
kishan
08df288bf5
Bug 13175: Fixed typos. minotoring instead of monitoring, assignbed instead of assigned
...
Status 13175: resolved fixed
Reviewed-By: Nitin
2012-01-30 14:31:48 +05:30
Chiradeep Vittal
fcd90b269e
allow Mac OS developers to run management server natively
2012-01-27 16:27:19 -08:00
Alena Prokharchyk
8eed9004cd
Fixed broken unittest
2012-01-27 14:44:34 -08:00
Edison Su
ecf774a0d7
bug 13357: startupanswer is advanced before agentmonitor got processed, so it's possible that pingcommand received by mgt server ahead of agentmonitor initializes pingmap
...
status 13357: resolved fixed
2012-01-27 14:08:14 -08:00
kishan
cdbf85e3e6
Bug 12649: Added new param path to listDomains respone
...
Status 12649: resolved fixed
Reviewed-By: Nitin
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2012-01-27 17:58:48 +05:30
Edison Su
5e2f02fdd5
bug 13315: add httpproxy support in ssvm, only basic auth. User can add secstorage.proxy = http://username:password@hostname:port
...
status 13315: resolved fixed
2012-01-26 18:46:44 -08:00
prachi
e48e7226bd
Bug 13239 - java.lang.NullPointerException seen in management server logs when netscaler instance is unreachable whenever network usage thread is executed
...
Changes:
- Added Null check for lbvserver
- Need not process the usage answer when we get some error.
2012-01-26 16:40:16 -08:00
prachi
93ff791497
Bug 13314 - acton-bet3:vmware/xen:fail to attach "VMware Tools Installer ISO" to instance
...
Changes:
- 'sameOwner' check cannot be used for ISO's
- So need to make two access checks: See if caller has access to VM and ISO and also check if the VM's owner has access to the ISO.
2012-01-26 16:02:52 -08:00
frank
c40a421eb6
Bug 13250 - Not able to start System Vms when 2 physical networks are configured
...
if admin didn't specify storage traffic type before enabling zone, create default
storage traffic type with the same configuration of mgmt traffic type.
UI need a warning to admin, will file another bug for this
status 13250: resolved fixed
2012-01-26 14:06:34 -08:00
anthony
3615b15c39
bug 13338:
...
increate timeout for sshcheck to 10 minutes
if sshcheck fails, finalizeCommandsOnStart fails, no exception
status 13338: resolved fixed
2012-01-26 12:22:24 -08:00
Kelven Yang
c1fb754de7
VM display name can be NULL in schema, leave it as NULL instead of empty string when user does not provide a optional VM display name
2012-01-26 11:30:40 -08:00
Kelven Yang
e751dad940
VM display name will stay empty if user does not provide, VM host name is default to UUID for now
2012-01-26 11:10:00 -08:00
Alena Prokharchyk
57e3a5a0aa
bug 13232: listPublicIpAddresses by staticNat/sourceNat properties
...
status 13232: resolved fixed
2012-01-25 17:31:53 -08:00
Kelven Yang
8083b29235
bug 13306: remove sensive DB id info from VM display name
2012-01-25 17:16:21 -08:00
Alena Prokharchyk
3b1db5fa20
bug 13203: removed firewall.rule.ui.enabled global config
...
status 13203: resolved fixed
2012-01-25 16:49:31 -08:00
Alena Prokharchyk
4dec3c890a
bug 13282: release elastic IP of the vm on vmStop
...
status 13282: resolved fixed
2012-01-25 15:03:46 -08:00
Alena Prokharchyk
ebfc1d1d32
bug 13308: list networks belonging to subdomains when listAll=true is passed to listNetworks
...
status 13308: resolved fixed
2012-01-25 13:37:19 -08:00
Alena Prokharchyk
c09faa109d
bug 13296: release public ip addresses in the basic zone during the account cleanup
...
status 13296: resolved fixed
2012-01-25 11:26:37 -08:00
Alena Prokharchyk
7ea3c8933d
bug 13305: don't allow to create ip forwarding rules when elasticIP is enabled for the network offering
...
status 13305: resolved fixed
Reviewed-by: Will Chan
2012-01-25 10:57:34 -08:00
Alena Prokharchyk
88d3f1ba03
bug 13295: apply specific security check for the network
...
status 13295: resolved fixed
Reviewed-by: Will Chan
2012-01-25 10:57:24 -08:00
Nitin Mehta
c59f3087f7
Bug 12897: Make updatehostpassword more robust and allow it to be used only for Xenserver hyperVisor
...
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-25 14:56:42 +05:30
Nitin Mehta
f558aa07c5
Bug 12740: Allow root admins and system user to bypass the ACL layer.
...
Reviewed-By: Kishan
2012-01-25 12:29:04 +05:30
Alena Prokharchyk
03b4ac91e1
Get new elasticIp when disassociateIP is called for static nat non-elastic IP
2012-01-24 15:15:22 -08:00
frank
748603f62d
Bug 13269 - vmware - host put in maintenance mode> cancel maintenance mode> host remains in Connecting state
...
we use 'update count' to make sure agent status transformation is atomic.
However, atomic means success or fail which is not true for agent status.
some important transformation occassionally fails because race condition that
some other one is changing it simultaneously which finally makes agent stuck in a
wrong status.
use reenterent lock to serialize the agent status transformation. this memory lock
works in clusterd environement as well because in our design an agent is only active
in one mgmt server
status 13269: resolved fixed
2012-01-24 15:14:02 -08:00
Alena Prokharchyk
5307d21210
DisableStaticNat: if elasticIP service is enabled for the network offering, always allocate new elastic ip and create static nat rule for it when disableStaticNat is called
2012-01-24 14:06:01 -08:00
Alena Prokharchyk
0e13bb58e3
bug 13250: don't check physicalNetworkId for control traffic type
2012-01-24 12:49:30 -08:00
Murali reddy
73805cdc45
bug 12828: SRX - Not able to deploy Vm using network that uses SRX for PF,Firewall,SorceNat,StaticNat,VPN services
...
status 12828; resolved fixed
2012-01-24 20:05:42 +05:30
prachi
6a7fd4d96c
Bug 13248 - NPE: DeployVMCmd fired during 2.2.x regression test on Acton build
...
Changes:
- After deployment of Router failed, we did not throw out the error inorder to retry the start using another hypervisorType.
- But there is no other hypervisor to try, causing the failed and expunged router to be passed on further leading to an NPE later
- So in case there are no more hypervisors to retry the router start, we should throw out the original error.
2012-01-23 17:58:25 -08:00
prachi
f80ed99879
Bug 13035 - cleanup required for virtual router deployment log entry
...
- adding in null check
2012-01-23 15:27:12 -08:00
prachi
4329004cd3
Bug 13035 - cleanup required for virtual router deployment log entry
...
- logging only the datacenter since rest of the information in deploymest destiination is not applicable to the router being deployed
2012-01-23 15:27:11 -08:00
Alena Prokharchyk
c125496691
bug 13207: check providers/services combination before performing actual network offering upgrade
...
status 13207: resolved fixed
2012-01-23 14:52:07 -08:00
Alena Prokharchyk
665e8cb7c1
Allow LB rules creation for elasticIP
2012-01-23 11:41:00 -08:00
Alena Prokharchyk
a40b8b31d3
Remove elastic IP only when the last lb rule is being removed
2012-01-23 11:41:00 -08:00
Nitin Mehta
23cfbb6cab
Bug 13059: Make zoneId in ListCapacity call optional. When no parameter is passed list capacity for all zones.
...
Reviewed-By: Kishan
2012-01-23 20:32:50 +05:30
prachi
03653b936e
NAAS Changes: Before enabling a Zone, Check if the zone has:
...
- For Advance zone, a physical Network with Public/Management trafficType
- For Basic zone, a physical Network with Management trafficType
2012-01-20 17:21:53 -08:00
Edison Su
ecab972060
execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again
2012-01-20 17:04:27 -08:00
Alena Prokharchyk
79e9e292dd
bug 12571: fixed error message in createSnapshotPolicy
...
status 12571: resolved fixed
2012-01-20 14:31:38 -08:00
Alena Prokharchyk
8bcf30da85
bug 12869: more changes to NAAS feature
2012-01-20 14:16:30 -08:00
Edison Su
bced9a6e48
advanced startup command
2012-01-20 11:54:32 -08:00
anthony
6297820981
bug 12830: propagate ISO to other zone on demand
...
status 12830: resolved fixed
2012-01-20 11:44:01 -08:00
Alena Prokharchyk
ba826ddc21
Fixed listing public IP addresses
2012-01-20 11:34:54 -08:00
Alena Prokharchyk
57ddf63676
Special permission check for networks
2012-01-20 11:01:38 -08:00
anthony
bf490210ed
fixed a merge bug in checkin
...
cleanup snapshot in secondary storage in background
2012-01-19 20:52:18 -08:00
anthony
86aef08865
cleanup snapshot in secondary storage in background
...
Conflicts:
core/src/com/cloud/storage/resource/NfsSecondaryStorageResource.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
2012-01-19 20:44:44 -08:00
prachi
be04ff861c
Bug 13078 - Management Server does not respect selected OS Preference for any host within a single pod.
...
Changes:
- Once the HostAllocators have listed suitable hosts, planner should not reshuffle the list since that would lose the prioritization applied by the HostAllocators.
- E.g: HostAllocators chooses that host first which matches the guest OS category. If planner shuffles the list, that preferrence is lost.
2012-01-19 16:59:38 -08:00
frank
89b9c51d34
Bug 13189 - Exception logged while removing host
...
status 13189: resolved fixed
2012-01-19 16:50:36 -08:00
Sheng Yang
52ef2fca06
bug 12988: Fix typo
...
status 12988: resolved fixed
2012-01-20 08:03:49 +08:00
Alena Prokharchyk
03cce245cf
Fail to create vm when corresponding elastic ip failed to apply on the backend
2012-01-19 14:13:49 -08:00
Murali reddy
d92c361efd
bug 12826:enable NetScaler in basic zone for load balancing and static NAT
...
NetScaler element should not firewall service provider in basic zone
2012-01-19 14:05:12 -08:00
Murali reddy
40ac2f5cdf
bug 12826: enable NetScaler in basic zone for load balancing and static NAT
...
status 12826: resolved fixed
2012-01-19 14:00:07 -08:00
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
a9e4af0866
Can't release/disable static nat for IP when the IP is elastic
2012-01-19 13:58:36 -08:00
Alena Prokharchyk
4f46c3b160
Mark ip as not elastic when disable static nat is called on it
2012-01-19 13:58:36 -08:00
Alena Prokharchyk
212c22b256
Added isElastic flag to ip address
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
1d0ffc4575
EnableStaticNat for newly allocated address - if eIp is enabled, and the target vm already assigned to the ip, reassign the vm to the new ip
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6325d21c50
Get new elasticIp when releaseIpAddress is called for elasticIP of the vm
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
6deeb7ddc9
Firewall service is enabled in default elb/eip network offering
...
Also added more handling for error cases scenarios
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
0e8104cca1
Disassociate ip address - always allocate a new IP and enable static nat for it when elactic IP is enabled
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
359185f567
System is the owner of the first elastic ip address for the vm
2012-01-19 13:58:35 -08:00
Alena Prokharchyk
d5752eca61
Error deployVm when elasticIp/staticNat failed to assign to the vm
2012-01-19 13:58:34 -08:00
Alena Prokharchyk
0f6f231ee6
Elastic IP - when deployVm, get ip address and enable static nat on it. On vm destroy release the Ip
2012-01-19 13:58:34 -08:00
Alena Prokharchyk
630cbb2243
Added elb and eip capabilities to network offering response
2012-01-19 13:57:37 -08:00
Alena Prokharchyk
a8758d292e
ElasticLB support in Basic zone.
...
When elb capability is enabled on the network offering, we:
1) on each createLB command:
* associate ip address to the LB rule owner
* create LB rule
2) on each deleteLb command:
* delete the rule
* disassociate ip address
The rule belongs to the owner, so proper usage events are generated
2012-01-19 13:57:37 -08:00
Alena Prokharchyk
9322482018
Netscaler can enable individual services (in some cases LB can be handled by Netscaler, and firewall by some other external provider)
2012-01-19 13:57:00 -08:00
Alena Prokharchyk
5adfc9953f
Can enable/disable static nat and create IpForwarding/Firewall rules in Basic zone now.
...
Made Netscaler a StaticNat/Firewall provider. Murali will take care of actual implementation on the backend.
2012-01-19 13:56:59 -08:00
Alena Prokharchyk
ff1e8413f1
1) Added StaticNat/Firewall/Lb capabilities to Netscaler element. Renamed it to "NetscalerElement" from NetscalerLoadBalancingElement as it serves more services now
...
2) Added elasticIp and elasticLb network capabilities. Provided support to create network offering with these capabilities.
3) Added one more default network offering having elasticip and elasticlb
4) Public network support to Basic zone. You can associate/disassociate IP addresses now
2012-01-19 13:56:59 -08:00
frank
11b98e4389
validate conditions before adding/deleting storage network traffic type
2012-01-19 13:44:42 -08:00
Alena Prokharchyk
ad1076f21d
bug 12983: resource limits for projects
2012-01-19 10:04:28 -08:00
prachi
aa3e8a05be
Bug 12993 - NullPointer Exception thrown when listRouters() is called.
...
Changes:
- Adding null checks.
2012-01-18 17:21:30 -08:00
Alena Prokharchyk
c3e0f060ab
bug 12986: return domain level networks when listAll is passed along with account/domainId
...
status 12986: resolved fixed
2012-01-18 14:45:19 -08:00
Alena Prokharchyk
d20e10edd3
bug 12919: pass all lb rules in transition (revoke/add) state to the backend when apply a single LB rule
...
status 12919: resolved fixed
2012-01-18 14:15:21 -08:00
prachi
1e675f45ba
Bug 11593 - CIDR conflicts with zone when extending pod but not when creating it
...
Changes:
- Now we validate Pod's CIDR only against other Pod's CIDR. No need to validate against guest CIDR and
public vlan CIDR.
2012-01-18 11:33:49 -08:00
kishan
847b5bc983
Bug 12292: updated netapp_volume primary key for upgrades
...
Status 12292: resolved fixed
Reviewed-By: Nitin
2012-01-18 14:04:40 +05:30
Sheng Yang
ab667cbc16
bug 13041: Fix potential NPE
...
I haven't figure out why the code can NPE, and in my test the clean up of basic
zone is prevent from API as expected. Anyway, I add this check before cleanup to
ensure even API check failed, no NPE would be throwed.
status 13041: resolved fixed.
2012-01-17 21:34:26 -08:00
Alena Prokharchyk
56b3561033
bug 12856: network offerings with services w/o providers support
...
status 12856: resolved fixed
2012-01-17 16:17:09 -08:00
Kelven Yang
3612fc12c8
bug 11428: remove the constraint based on customer's feedback, we will allow creating volume from a snapshot that was originally taken from root volume. Customers should be aware that when the volume is attached as a data volume, some partitions that were originally created as a root volume may not be recognized by the guest OS
2012-01-17 16:10:20 -08:00
prachi
cf7469241f
Bug 12822 - CreatePhysicalNetwork API shouldn't return success when zone is Enabled
...
Changes:
- Physical Network can be created pnly when the Zone is in disabled state
2012-01-17 14:56:22 -08:00
prachi
189822da50
Bug 12592 - createZone: zone should be added in Disabled state
...
- Zone will be Disabled by default when created using createZone API
2012-01-17 14:56:21 -08:00
Alena Prokharchyk
83400cd15f
bug 12776: if there are multiple objects involved in resource creation, verify that they belong to the same account
...
status 12776: resolved fixed
2012-01-17 13:40:37 -08:00
Alena Prokharchyk
c87c3bc665
bug 12065: verify that provider supports service capability
...
status 12065: resolved fixed
2012-01-17 12:39:07 -08:00
Alena Prokharchyk
bda032b874
bug 12760: generate vm.destroy event when vm goes from Stopped to Expuning state
...
status 12760: resolved fixed
2012-01-17 10:38:52 -08:00
kishan
bad573168e
Bug 12639: while logging events, hide value for configs containing password string in config name
...
Status 12639: resolved fixed
Reviewed-By: Nitin
Conflicts:
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
2012-01-17 15:45:00 +05:30
Sheng Yang
200f8e4d14
bug 13100: Handle the multiply source nat for different network
...
The original method of testing source nat didn't consider the situation that
multiply source nat ip can be passed into the function because they belonged to
the different networks.
status 13100: resolved fixed
2012-01-17 01:02:51 -08:00
kishan
550a0f98a9
Bug 13075: To get last alert, use offset 0 instead of 1
...
Status 13075: resolved fixed
Reviewed-By: Nitin
2012-01-17 11:52:03 +05:30
frank
c6c711affe
Bug 13038 - Host allocation state changes after the Management server restart
...
status 13038: resolved fixed
2012-01-16 16:41:58 -08:00
anthony
b20147a4b4
only create new sshkey if user is cloud
2012-01-16 14:55:52 -08:00
Alena Prokharchyk
f0c4980dff
bug 13110: use Ternary data structure when build search criteria
...
status 13110: resolved fixed
2012-01-16 14:15:28 -08:00
prachi
3a72de6d76
Bug 13085 - Traffic types of a deleted physical network should not be present in the "physical_network_traffic_types" table
...
Changes:
- Added deleteTrafficTypes while deleting a physical network.
2012-01-16 12:19:08 -08:00
Alena Prokharchyk
a5900368b6
bug 13023: fixed listAccounts to return all accounts the user is authorized to see
...
status 13023: resolved fixed
2012-01-16 11:45:02 -08:00
Edison Su
a07188b023
bug 9737: prevent from taking snapshot on system vm if the hypervisor is kvm, as system vm has raw disk, which is un-snapshotable.
...
status 9737: resolved fixed
2012-01-16 10:44:40 -08:00
Abhinandan Prateek
e6161ac502
bug 12979: anonymous searches now allowed
2012-01-16 20:03:00 +05:30
Nitin Mehta
8a3a4ab9c0
bug 13096 Make capacity deletion for pod deletion more robust.
...
Reviewed by : Kishan.
2012-01-16 14:29:51 +05:30
Murali reddy
9f428e3817
bug 13054: resource state transition exception while deleting VPX host
...
status 13054:resolved fixed
2012-01-16 14:08:52 +05:30
Abhinandan Prateek
0374e42931
bug 13068: clearing sec grp has a dependency on nic's existing, move the call a bit
2012-01-16 13:50:15 +05:30
Edison Su
1d352f1e2c
bug 12148: add checkpoint for storage migration
...
status 12148: resolved fixed
2012-01-13 15:19:14 -08:00
Nitin Mehta
d0e18f68fd
bug 13066 Storage over prov factor should be float rather than long which leads to wrong storage calculation
...
Reviewed by : Kishan.
2012-01-13 20:28:55 +05:30
Abhinandan Prateek
be6642bf37
bug 13005: added response object name casuing this
2012-01-13 14:49:43 +05:30
frank
f4de2b2cd8
Bug 12956 - Working folder not writeable
...
change default mount path of OS where mgmt server is running to /var/lib/cloud/managment/mnt
as /var/lib/cloud/management is home directory of user 'cloud', mgmt server can have full permission
to manipulate it
status 12956: resolved fixed
2012-01-12 17:32:14 -08:00
anthony
0156ec7cdd
bug 11497:
...
1. remove Garbagecollection primary storage allocator. other storage allocators fails may because there is primary storage with the same tag, it is not caused by no primary storage capacity.
2. delete template will try to delete templates in secondary storage in the API.
status 11497: resolved fixed
GarbageCollecting
Conflicts:
server/src/com/cloud/template/HyervisorTemplateAdapter.java
2012-01-12 16:20:44 -08:00
Alena Prokharchyk
c0f87a25fd
Control traffic type is not tight to the physical network
2012-01-12 15:54:30 -08:00
Edison Su
3aa9a312b4
seems netapp part of code is missing due to merge
...
Revert "bug 10837: rename api related to netapp"
This reverts commit 5db6b500dd1bbb96bfddbd7eda6cf1f616e2e0f9.
Conflicts:
api/src/com/cloud/api/commands/MigrateVolumeCmd.java
client/tomcatconf/commands-ext.properties.in
2012-01-12 15:17:27 -08:00
Kelven Yang
b1376e1f04
bug 13021: add a global configuration variable to let control default network adapter type inside system VMs
2012-01-12 14:21:11 -08:00
kishan
474543d623
Bug 10284: Throw exception instead of returnning false for firewall API commands
...
Status 10284: resolved fixed
Reviewed-By: Nitin
2012-01-12 19:03:34 +05:30
kishan
b589e49263
Bug 12929: Added domain_id to event table. Populate domain_id while persisting events. Cleanedup EventUtils.
...
Status 12929: resolved fixed
Reviewed-By: Nitin
2012-01-12 16:16:06 +05:30
Naredula Janardhana Reddy
eb1b709193
Bug 12606: firewall rule validation for icmp source cidr for duplicate entry.
2012-01-12 15:36:42 +05:30
Abhinandan Prateek
26011e6d26
bug 12980: ssl-fix
2012-01-12 11:20:41 +05:30
anthony
4bd58bf751
bug 13012: not sure why id_rsa has passphrase, use the new script to create ssh key, make sure there is no passphrase in the key.
...
status 13012: resolved fixed
2012-01-11 18:36:03 -08:00
Edison Su
0b6b8f7e46
bug 13000: send Maintanance command to kvm host when unmanage cluster
...
status 13000: resolved fixed
2012-01-11 17:44:39 -08:00
Edison Su
fe667e949e
fix Maintenance releated issues with kvm:
...
1. put host into Maintenance, will send a Maintenance command to host, tell host that do not reconnect to mgt server
2. cancel Maintenance, will ssh into kvm host, and restart cloud-agent, which will reconnect to host
2012-01-11 17:36:58 -08:00
Kelven Yang
bcd58e3ae3
Change cluster profiling log level to DEBUG, add more profilers to cluster peer-scan processing
2012-01-11 15:37:35 -08:00
Edison Su
0fac4a2bb1
bug 10380: after finishing download template, caculate checksum and report to mgt server
...
status 10380: resolved fixed
2012-01-11 15:05:52 -08:00
Sheng Yang
c4677d5f80
Fix NPE in checkVirtualNetworkCidrOverlap()
2012-01-11 14:27:00 -08:00
Sheng Yang
804cfaec46
Fix some testcases
2012-01-11 13:51:43 -08:00
Sheng Yang
129a75974f
Replace some CloudRuntimeException with InvalidParameterException
...
Most during ip check.
2012-01-10 19:02:31 -08:00
Sheng Yang
73dbaf4c9f
bug 12997: Prevent creating LB and firewall rule on different provider
...
status 12997: resolved fixed
2012-01-10 19:02:31 -08:00
Alena Prokharchyk
3c49258d0e
Add Control traffic type automatically as a part of createPhysicalNetwork call
2012-01-10 15:43:15 -08:00
Edison Su
9bcb2affff
bug 12139: add a way to specifiy which hypervisor used to start system vm:
...
Admin can either configure system.vm.default.hypervisor which is a global configuration for all zones, or call updatezone add defaultSystemVMHypervisorType
status 12139: resolved fixed
2012-01-10 15:11:50 -08:00
Alena Prokharchyk
b1c60b9d60
bug 12964: createPhysicalNetwork/addTrafficType is no longer a part of createZone API
2012-01-10 13:55:09 -08:00
Sheng Yang
3a6f94f108
bug 12987: Fix NPE for check cidr
...
status 12987: resolved fixed
2012-01-10 13:00:15 -08:00
Alena Prokharchyk
e6080436cf
bug 12926: fixed regression in enableStaticNat code introduced by preserve ip fix
2012-01-10 12:17:13 -08:00
Sheng Yang
8f2cd77c87
bug 12931: Add conserve mode in network offering response
2012-01-10 11:48:21 -08:00
Abhinandan Prateek
5b9527ccd1
bug 12965: donot send command to pool if no host is up and enabled. (This condition needs to be reviewed, Nitin will initiate a disucssion and file a separate bug for it)
2012-01-10 15:34:38 +05:30
Abhinandan Prateek
eb4cfe063a
bug 12916: warning user if he tried to move the VM across zones
2012-01-10 10:49:18 +05:30
Abhinandan Prateek
3a2d0b1ec6
bug 12918: don't allow movement within same account
2012-01-10 10:39:03 +05:30
Sheng Yang
4d82413a66
Remove the check against guest network when adding pod
...
Seems we don't want to do this.
2012-01-09 16:50:48 -08:00
Kelven Yang
6b8ff93330
Add storage network support at VMware resource
2012-01-09 16:44:23 -08:00
Sheng Yang
5886109fb9
bug 12556: Check guest network cidr when add pod
2012-01-09 16:42:57 -08:00
Sheng Yang
08a1d9ece1
Add default physical network name for server-setup.xml
2012-01-09 16:27:14 -08:00
Sheng Yang
861fdbee17
bug 12556: Add more CIDR checking when create network with specify CIDR
...
Pod and vlan creation have already got them.
status 12556: fixed resolved
2012-01-09 16:27:00 -08:00
frank
f449cd7350
Bug 12771 - management-server.log displays ipmi related credentials in plain text
...
status 12771: resolved fixed
2012-01-09 14:42:01 -08:00
Alena Prokharchyk
adaea570e4
bug 12934: added name to physical network
...
status 12934: resolved fixed
2012-01-09 14:20:37 -08:00
Alena Prokharchyk
223497baa4
bug 12877: fixed pagesize=-1 behavior
...
status 12877: resolved fixed
2012-01-09 13:26:12 -08:00