alena
026e6905c9
bug 8343: in api commands extending BaseAsyncCreate set owner account information only after all request parameters were read as account/domainId information can be specified in the request
...
status 8343: resolved fixed
2011-02-03 09:53:18 -08:00
kishan
6db6e8b4e9
Added action events for load balancer actions
2011-02-03 18:42:36 +05:30
kishan
5bedf10cbf
Added action events for Ip and net rules
2011-02-03 18:13:23 +05:30
kishan
577fdd2c26
Added action events for Vm actions
2011-02-03 17:36:43 +05:30
kishan
fcfd4e9e33
bug 8192: use volume size in bytes for usage
...
status 8192: resolved fixed
2011-02-03 16:38:48 +05:30
kishan
16f1a3a548
bug 7955: Added usage for network offerings
...
status 7955: resolved fixed
2011-02-03 15:49:59 +05:30
nit
0d895e816f
bug 8258 : Allowing all shared storages to be shown in the listCapacity API.
...
status 8258: resolved fixed
2011-02-03 13:43:03 +05:30
kishan
5007f37479
bug 8320: Include router private Ip in stop command
...
status 8320: resolved fixed
2011-02-03 11:37:47 +05:30
anthony
b226861783
bug 8194: add new storage pool type PreSetup,
...
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
server: "ip of storage "
path:"name of the SR"
2011-02-02 19:33:08 -08:00
Edison Su
4ea260cafd
bug 8204: mgt server needs to pass down iso info before migration, if the vm has ISO attached
...
status 8204: resolved fixed
2011-02-02 19:13:12 -05:00
Kelven Yang
b12444bb64
Let HA manager support native HA
2011-02-02 17:59:20 -08:00
Edison Su
a46155e895
bug 8094: send networkrulesforssvm command to agent, no matter security group is enabled or not
...
status 8094: resolved fixed
2011-02-02 16:26:54 -05:00
alena
848cff6318
Use static inner class instead of enum for Param parameter (used in VirtualMachineProfile)
2011-02-02 15:55:04 -08:00
alena
fe67fa851a
bug 8330: make a search including removed when get service offering information during vm start.
...
status 8330: resolved fixed
2011-02-02 14:06:54 -08:00
abhishek
24acc66124
bug 8331: changing the revoke logic to work by taking in the entity id. All other params are obsolete at this point
...
status 8331: resolved fixed
2011-02-02 13:49:56 -08:00
Kelven Yang
b874bbda91
Give primary VMFS datastore meaningful name
2011-02-02 13:37:14 -08:00
Edison Su
1aff4d8a9a
make sure building template is downloaded
2011-02-02 13:35:41 -05:00
alena
9aa9c34029
bug 8340: return networkId for private/public/guest networks in listRouters response. Implemented search by networkId
...
status 8340: resolved fixed
2011-02-02 13:25:28 -08:00
Murali Reddy
8ce576dde5
bug 8239: NPE while executing CreateSnapshotCmd
...
status 8239: resolved fixed
2011-02-02 13:12:34 -08:00
alena
5d2cc07768
bug 8201: accept "any" value for protocol when open port range for staticNat rule
...
status 8201: resolved fixed
2011-02-02 12:57:14 -08:00
Edison Su
cfd8cdbf20
bug 8195: add on-demand download for buildin templates, only download these buildin centos template after when you adding a host for the hypervisor
...
status 8195: resolved fixed
2011-02-02 12:03:40 -05:00
kishan
a4d306259e
added id to ip address usage
2011-02-02 18:20:14 +05:30
kishan
d901d42670
bug 7965: Added delete event for recurring snapshot delete
...
status 7965: resolved fixed
2011-02-02 17:43:28 +05:30
Murali Reddy
fc6574c40c
bug 8290: Instance Limit set at account level however was able to create more vms than limit
...
status 8290: resolved fixed
2011-02-02 00:35:10 -08:00
alena
96c05a24e4
bug 8235: don't generate NET_IPASSIGN event when ip assoc command fails
...
status 8235: resolved fixed
2011-02-01 19:55:27 -08:00
alena
ff281af035
bug 8253: get_password_from_domr is a part of source code now. It should be located under /usr/bin/ directory on the Management server once cloudstack software is installed
...
status 8253: resolved fixed
2011-02-01 17:40:00 -08:00
alena
d5bded3d6d
PublicNetworkGuru: fixed NPE in ipUnassign
2011-02-01 17:40:00 -08:00
Kelven Yang
27f2b6cbb1
Let cluster host-heartbeat be in a sperated context to avoid update delay by other activities
2011-02-01 17:38:12 -08:00
Edison Su
675a610995
cleanup default hypervisortype
2011-02-01 16:03:10 -05:00
alena
51894d22d2
bug 8288: allow to create multiple Guest Virtual networks for account in the same zone
...
status 8288: resolved fixed
2011-02-01 15:50:01 -08:00
abhishek
db04ec7f90
bug 7899: reverting a previously wrong fix; adding the right fix
...
status 7899: resolved fixed
2011-02-01 15:25:40 -08:00
Frank
85e11d2ff9
Add ExternalGuestNetworkGuru.java back to permium
2011-02-01 14:55:46 -08:00
alena
b813800496
Implemented list by id in "listPublicIpAddresses" api
2011-02-01 14:29:06 -08:00
alena
d4b1831bf4
Added "status" field to listPublicIpAddresses response
2011-02-01 14:20:45 -08:00
alena
668fde991c
Don't default resource owner to System account when command is executed via 8096 and account or domainId are missing
2011-02-01 14:20:45 -08:00
abhishek
9e2a9ab528
bug 8268: correcting stats reporting; the response obj was using wrong method to convert double to long
...
status 8268: resolved fixed
2011-02-01 13:39:26 -08:00
Kelven Yang
6ed8b20a76
add catch-all clause in cluster heartbeat
2011-02-01 12:40:32 -08:00
alena
6544820e74
Moved networkRestart to the NetworkManager as it's up to the manager (not network elements) to decide what to do on restart (IpAssoc/ruleApply/etc..)
2011-02-01 12:16:19 -08:00
alena
a21ce17c09
1) More logging during vm cleanup when the vm fails to start
...
2) Cleanup nic info in the DB during nicRelease
2011-02-01 12:16:18 -08:00
alena
f6f8a35c75
bug 8251: introduced "id" field for public IP address. In the DB id is a primary key in user_ip_address table; ip_address and source_network_id is a composite key
...
status 8251: resolved fixed
2011-02-01 12:16:18 -08:00
Edison Su
d6a7bb1fbe
bug 8301: fix typo
...
status 8301: resolved fixed
2011-02-01 12:12:04 -05:00
Alex Huang
ade0097a0a
wrap cluster heartbeat in a try-catch
2011-02-01 12:04:08 -08:00
Edison Su
5b073cd370
bug 8087: default hypervisor type is gone: when creating cpvm/ssvm, randomly choose one hypervisor type, which got from host table. When creating domR, as we already know the hypervisor type at that time, so domR and user vm are always created as the same hypervisor type.
...
status 8087: resolved fixed
2011-02-01 11:32:40 -05:00
abhishek
447153f570
bug 8247: when we have vms in error state, we destoy their volumes. then, when we delete account with such vms, we should NOT try and destroy vols already destroyed.
...
status 8247: resolved fixed
2011-02-01 11:13:40 -08:00
nit
98cb458bf1
bug 8257: ListVM's API - adding the functionality to invoke this api with the hypervisor filter.
...
status 8257: resolved fixed
2011-02-01 18:00:39 +05:30
kishan
e74d8888c7
bug 8151: Avoid volume delete event for volumes which were never attached
...
status 8151: resolved fixed
2011-02-01 13:06:47 +05:30
Alex Huang
c38238c614
some improvements in checkSR
2011-01-31 17:48:24 -08:00
Kelven Yang
ddda5fc431
Cleanup of worker VMs left over from previous session in a reliable way
2011-01-31 17:41:07 -08:00
Frank
4d2d820634
fix injectkeys.sh -- pass systemvm.iso path to scripts
2011-01-31 12:19:32 -08:00
Frank
be94843ccf
fix typo of parameters order when create public key and private key of systemvm
2011-01-31 11:49:16 -08:00
Alex Huang
a49a4184d5
forgot the select field
2011-01-31 11:16:13 -08:00
Alex Huang
f96f5a7db0
fixed stupid git merged problems
2011-01-31 11:09:59 -08:00
kishan
92bf106ab9
including host type in network stats
2011-01-31 19:36:32 +05:30
nit
f53e18b0ab
bug 8257: Returning hypervisor type in Listvm command so that volume gets attached to the corresponding vm's
2011-01-31 19:10:56 +05:30
anthony
76ad02d2fa
cleanup XenServer code
2011-01-28 18:47:37 -08:00
Frank
24e4c885e2
load cluster managers
2011-01-28 18:06:57 -08:00
Kelven Yang
c51e68a2d5
Manage left-over objects across management server sessions
2011-01-28 17:51:53 -08:00
Frank
e9652e67ad
migrate premium to oss
2011-01-28 16:07:46 -08:00
Alex Huang
60518dc226
storage rewrite
2011-01-28 15:37:00 -08:00
Alex Huang
f9a9698d96
more unused fields removed
2011-01-28 15:37:00 -08:00
abhishek
ddcf232474
bug 8211: applying patch
...
status 8211: resolved fixed
2011-01-28 14:34:03 -08:00
abhishek
d8ea2f04ea
setting cpvm restart to true with every storage pool being added
2011-01-28 14:24:44 -08:00
Chiradeep Vittal
3aeb562959
bug 8199: better logs
2011-01-28 14:08:45 -08:00
abhishek
5d18c4c527
bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
...
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony
cb024e3bf2
remove prealloclun
2011-01-28 12:46:50 -08:00
anthony
96d9776c20
remove preallocatedLun
2011-01-28 12:36:31 -08:00
Chiradeep Vittal
cc0ed77fee
bug 8199: always update the keypairs on disk to account for multiple management servers
2011-01-28 12:24:22 -08:00
Chiradeep Vittal
09145efc41
Bug 8199: inject ssh public key into systemvm iso file
2011-01-28 12:24:18 -08:00
Kelven Yang
4696b16d10
Normalize name convention for vmware hypervisor
2011-01-28 11:16:30 -08:00
alena
a267d1c261
Generate usage event when Ip is released as a part of network destroy
2011-01-28 10:58:53 -08:00
keshav
b23df4c7e3
Fixed zoneIsConfiguredForExternalNetworking method
2011-01-28 10:56:25 -08:00
keshav
c7bccd0b0f
Added method to check if a zone is configured for external networking.
2011-01-28 10:42:04 -08:00
alena
620466d393
Network destroy: when release ip addresses assigned to the network, no need to send applyIpAssociations command to the network elements as they are already shutdown.
2011-01-28 10:09:20 -08:00
Frank
65e326c751
ovs -- use VmStateListener to track vm state change
2011-01-27 18:41:06 -08:00
alena
52dd679d95
bug 8185: fixed java part of password reset feature. There are still changes needed in backend scripts (bugs 8253 and 8254 are filed separately)
...
status 8185: resolved fixed
2011-01-27 17:24:09 -08:00
Edison Su
f8778ea4c6
add sharedmountpoint storage pool to support all kinds of clustered file system
2011-01-28 04:37:31 -05:00
Kelven Yang
e7c8872651
Use URL safe BASE64 encoding for console access ticket generation.
2011-01-27 11:54:41 -08:00
Kelven Yang
3b846961ce
Bug 8229: Add finalizeExpunge to VirtualMachineGuru interface to allow overriding cleanup operations at expunging stage
...
Status 8229: Resolved Fixed
2011-01-27 10:29:55 -08:00
kishan
d3b85f8dca
bug 8231: Added network usage records by host
...
status 8231: resolved fixed
2011-01-27 17:35:44 +05:30
alena
77e89b72ca
bug 8187: retreive DNS information from DataCenter instead of resetting it for the network. After the DNS is reset, all networks in the zone have to be restarted. Console proxy and secondary vm should be restarted too.
...
status 8187: resolved fixed
2011-01-26 19:08:56 -08:00
Kelven Yang
244d8c198b
Cleanup UserContext after execution for better security
2011-01-26 17:06:14 -08:00
abhishek
aafdf07efb
minor typo
2011-01-26 15:18:21 -08:00
abhishek
b226005982
bug 8130: destroying all vols associated with a vm in error state, during the vm creation flow
...
status 8130: resolved fixed
2011-01-26 15:14:49 -08:00
alena
402506e8a0
Disable static nat for the IP address when corresponding vm gets expunged
2011-01-26 14:17:08 -08:00
abhishek
6aae1adc1b
bug 8215: better formed exception body
2011-01-26 13:29:21 -08:00
abhishek
b5d2ff71fc
bug 8215: blocking snapshot creation for volumes attached to vms which are in destroyed or expunging state
...
status 8215: resolved fixed
2011-01-26 13:26:25 -08:00
Kelven Yang
34178bec61
1) add destroySystemVm command to allow destroying of system VMs
...
2) add consoleproxy.launch.max to allow specifying a configured max number of console proxy VM that can be launched within a zone(if not specified, default is 10), this is to prevent possible DoS attacks or uncontrolled usage of system resources
3) Remove some unused code.
2011-01-26 12:08:35 -08:00
alena
46e1f6279a
Return vm information in listPublicIpAddress api response for the static nat ips
2011-01-26 12:03:30 -08:00
alena
a4c5bef188
disableOneToOneNat: generate usage events for all rules (port ranges) that are being removed
2011-01-26 10:31:27 -08:00
alena
731e78937f
Added 2 new api commands for 1-1 nat feauture: enable/disableOneToOneNat. Here is the 1-1 nat api summary:
...
* to enable 1-1 nat for ip/vm use enalbeOneToOneNat api
* to open port range (or multiple port ranges) use createIpForwardingRule api.
* to delete one port range use deleteIpForwardingRule api.
* to disable 1-1 nat use disableOneToOneNat api.
2011-01-26 09:35:32 -08:00
Edison Su
fc97034000
refactor vmstatelistener
2011-01-26 11:01:43 -05:00
abhishek
5be450ff47
bug 7376: removing the limit on iso/template names
...
status 7376: resolved fixed
2011-01-25 17:37:05 -08:00
Kelven Yang
83dd811221
Deal with the situation while volume was left over in Creating state
2011-01-25 17:20:08 -08:00
Kelven Yang
a56e5ace88
Bug 8102: CheckSshAnswer could be null
2011-01-25 16:42:05 -08:00
Kelven Yang
2b646f3ee0
1) Refactor ConsoleProxyManager to new networking and VirtualMachineManager interface
...
2) Don't destroy/re-create console proxy because of starting failure to take advantage of storage recreation in 2.2
3) Remove the race-condition in starting new instance of console proxy to avoid multiple ones being started for standby capacity reservation
4) Add a global configuration variable - system.vm.auto.reserve.capacity, set it to false to prevent automatical console proxy launching, the change of the variable value can take effect without the need of restarting management server
2011-01-25 16:04:02 -08:00
abhishek
9b43e27706
bug 7707: resolving the snapshots listing issue
...
status 7707: resolved fixed
2011-01-25 15:54:53 -08:00
alena
4fdbb00060
Allow to add 1-1 Nat with the same public IP address and different port ranges
2011-01-25 15:31:48 -08:00
alena
a96f8f9575
Refactored 1-1 NAT feature:
...
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
abhishek
b2a9b3061d
bug 8099: returning systemvms for direct networking
...
status 8099: resolved fixed
2011-01-25 14:34:41 -08:00
Kelven Yang
8f138d9330
Remove unused code in ConsoleProxyManager
2011-01-25 11:36:07 -08:00
abhishek
fc5ec096f5
bug 8188: removing service and disk offerings associated with a domain, when we delete a domain
...
status 8188: resolved fixed
2011-01-25 11:23:51 -08:00
Kelven Yang
28bbba3cea
Reset pending-only jobs upon management server startup
2011-01-25 11:19:35 -08:00
Edison Su
e4d9216222
Revert "fix for the Bug 7836 - Add secondary storage- MS fails to check invalid path specified"
...
This reverts commit 53b2ba278d .
2011-01-26 04:07:56 -05:00
alena
e256285b05
Generate alerts_types.xml document along with other xml docs.
2011-01-25 10:37:00 -08:00
alena
240a4b84be
Fixed logging for vm expunge process
2011-01-25 09:47:54 -08:00
alena
825042fbd7
bug 8156: fixed update for xen.heartbeat.config.interval parameter
...
status 8156: resolved fixed
2011-01-25 09:35:39 -08:00
kishan
16c8111add
bug 8122: cover port forwarding rules for usage
...
status 8122: resolved fixed
2011-01-25 19:14:55 +05:30
kishan
e5b2b396ec
bug 8124: log VM.STOP usage event for user Vms only
...
status 8124: resolved fixed
2011-01-25 16:54:58 +05:30
kishan
00ebbbed6d
bug 8098, 8126: Added vm destroy event during expunge
...
status 8098,8126: resolved fixed
2011-01-25 15:51:20 +05:30
kishan
2e13c9c477
use destroy state instead of boolean falg for volumes
2011-01-25 15:49:11 +05:30
root
5411e6d91f
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-25 12:06:47 -05:00
root
53b2ba278d
fix for the Bug 7836 - Add secondary storage- MS fails to check invalid path specified
...
mounting the path to validate the NFS URl
2011-01-25 11:58:33 -05:00
alena
3a008ee699
Changed restartNetwork command flow:
...
* API requires network id to be passed in (it was optional before)
* restartNetwork calls restart() method of all network elements in the system, and it's up to the element to decide which actions to take on the restart (for example, for Virtual Router it's IPAssoc/applyPF/applyLBRules).
2011-01-24 18:37:57 -08:00
Alex Huang
463835e7d7
removed unused domain in system vms
2011-01-24 17:50:32 -08:00
Alex Huang
68464d6f66
removed unused dns
2011-01-24 17:50:32 -08:00
Alex Huang
c59e576a51
removed unused dns
2011-01-24 17:50:32 -08:00
Alex Huang
65034995a3
removed unused guest ip fields from system vm
2011-01-24 17:50:32 -08:00
Alex Huang
1a7617bb95
removed unused vlan fields from system vm
2011-01-24 17:50:32 -08:00
alena
851d7c2bd2
Use correct searchBuilder in NicDao
2011-01-24 17:29:54 -08:00
abhishek
b714f1170c
bug 8097: introducing an optional zoneId param whilst listing hypervisors
...
status 8097: resolved fixed
2011-01-24 17:24:31 -08:00
alena
0e4196448a
bug 7811: Start domR/Dhcp if it's not running when do userVmReboot
...
status 7811: resolved fixed
Other fixes:
* vmExpunge: cleanup LB/PF rules after vm was marked as Expunging in the DB to avoid the situation when user recovers a vm in the middle of expunge job.
2011-01-24 17:04:23 -08:00
Alex Huang
2466589e2f
removed unused domain_router_id from uservm
2011-01-24 16:56:00 -08:00
Alex Huang
20891ae6f9
removed unused guest ip fields from uservm
2011-01-24 16:55:59 -08:00
Alex Huang
a55d395b86
removed unused vnet field
2011-01-24 16:55:59 -08:00
Alex Huang
fc33ef2be2
Removed several unused fields after the refactoring
2011-01-24 16:18:40 -08:00
Frank
38ab26bcb0
ovs tunnel network -- add lock entry in ovs_tunnel_account
2011-01-24 13:47:34 -08:00
abhishek
334c41a7e8
using the accessor method instead of the obj directly
2011-01-24 13:43:11 -08:00
abhishek
ab87e10ad1
bug 7970: some more improvements to the storage maintenance with 2 pools
...
status 7970: resolved fixed
2011-01-24 11:27:52 -08:00
Frank
639ddbb45c
ovs managers: handle execption along with Alex's convention
2011-01-24 10:06:07 -08:00
alena
6304a92c23
bug 7881: fixed publicIpAllocation to an account.
...
status 7881: resolved fixed
Also fixed the issue with account delete when nonSourceNat ip addresses were not being released
2011-01-24 10:03:18 -08:00
abhishek
1ff8d98d4c
bug 7892: ensuring backward compatibility for list and create cmds
...
status 7892: resolved fixed
2011-01-24 09:56:08 -08:00
kishan
dcd12c213c
bug 7951: Added source nat field for ip address usage
...
status 7951: resolved fixed
2011-01-24 17:09:11 +05:30
kishan
956b678ed4
bug 7857: Added netwrork usage create command to router start command
...
status 7857: resolved fixed
2011-01-24 12:20:38 +05:30
abhishek
3ecbc93643
fixing a users listing issue
2011-01-21 17:45:05 -08:00
Frank
276e37115b
open vswitch - Implement gre tunnel based network that doesn't use vlan
...
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
abhishek
0dc959c23f
removing guest ip address during ip assoc from java layer
2011-01-21 17:27:13 -08:00
abhishek
067811475f
introducing an embedded user obj anytime we create an account, as a response
2011-01-21 16:00:48 -08:00
abhishek
61ce43bdff
bug 7892: introducing recursive listings for various artifacts based on the domain id and the isRecursive flag
2011-01-21 15:25:18 -08:00
alena
26b6d17ec6
bug 8139: Allow to have Virtual and Direct networks with the same vlanId
...
status 8139: resolved fixed
2011-01-21 15:14:08 -08:00
Alex Huang
73e5a789d1
removed useless code
2011-01-21 12:10:50 -08:00
Alex Huang
48ec23ce95
Removed a bunch of useless code
2011-01-21 12:10:50 -08:00
Kelven Yang
4503222409
Bug:6510 add VM state check
2011-01-21 11:57:18 -08:00
Kelven Yang
cfb51ece25
Bug 8019: send snapshot commands to host that owns the VM
2011-01-21 11:08:23 -08:00
Edison Su
d45f5cd5bf
bug 8119: don't boot from iso, if iso is dettached
...
status 8119: resolved fixed
2011-01-22 04:04:52 -05:00
Edison Su
4b355ca301
bug 8118: add security group back
...
status 8118: resolved fixed
2011-01-22 04:04:52 -05:00
Edison Su
314a491b9c
bug 8094: forword port NetworkRulesSystemVmComman from 2.1.x to 2.2, to fix security group is lost after migration
...
status 8094: resovled fixed
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
2011-01-22 04:04:52 -05:00
Edison Su
1bcbd983f1
pass down iso, not matter is bootable or not
2011-01-22 04:04:51 -05:00
alena
4d0d47f6fc
listVlanIpRanges api: for Account specific Virtual ip range return account information taken from account_vlan_map table instead of taking it from corresponding network
2011-01-21 10:57:14 -08:00
anthony
cd0f5e7c20
bug 7976: if the snapshot is empty, still create a snapshot entry which has the same backupSnapshotId even though nothing is backed up to secondary storage
...
status 7976: resolved fixed
2011-01-21 10:45:09 -08:00
Kelven Yang
aedb433ca2
Bug 8010: retire capacity.skipcounting.hours and capacity.skipcounting.destroyed.hours
...
Status 8010: Resolved Fixed
2011-01-21 10:35:25 -08:00
alena
671cce23ad
bug 7704: network_rate is a part of network offering now. It's optional parameter; if not specified - global config param is used.
...
status 7704: resolved fixed
2011-01-21 09:54:27 -08:00
will
80e81647a9
bug 8152: removed security.password.md5hashed as it's no longer being used.
2011-01-21 09:49:06 -08:00
will
953c862713
Removed hypervisor.type from the login response since this capability does make sense anymore in 2.2
2011-01-20 17:49:13 -08:00
will
1634c29e81
- Cleaned up more capabilities related to security groups and to make use of listCapabilities.
2011-01-20 16:35:40 -08:00
abhishek
31c9cce6c3
bug 7949: changing security group code to use ids instead of name
...
status 7949: resolved fixed
2011-01-20 14:21:32 -08:00
alena
af3373c4d6
Deleted global config parameter direct.network.no.default.route that is no longer in use.
2011-01-20 13:15:25 -08:00
abhishek
b30b75cd18
bug 8048: preventing returning of volumes attached to destroyed vms, when list vols is executed by normal user
...
status 8048: resolved fixed
2011-01-20 11:42:01 -08:00
alena
a4cfe20db8
bug 7389: implemented listPortForwardingRules by ip/account/domainId. Also fixed broken pagination for this call
...
status 7389: resolved fixed
2011-01-20 11:35:40 -08:00
abhishek
bec7ea4a96
bug 8069: returning vm display name in list vols for user vms
...
status 8069: resolved fixed
2011-01-20 10:34:37 -08:00
Alex Huang
57def20cf6
moved all agent commands to api.
2011-01-20 09:54:05 -08:00
Alex Huang
3a9d6884ce
Removed useless code
2011-01-20 09:54:05 -08:00
kishan
94ec7bf27a
bug 7842: events refactoring. Still wrok in progress
2011-01-20 21:49:50 +05:30
nit
d1aa043aba
bug 7525: Cleaning up primary storage stats from op_host_Capacity(reflected on dashboard) when primary storage is deleted.
...
status 7525 : resolved fixed
2011-01-20 20:38:43 +05:30
nit
75fa849324
bug 7418,7706 : listisos - removing domainid = -1 for system isos. Adding the created attr.
...
status 7418,7706 : resolved fixed
2011-01-20 17:29:06 +05:30
kishan
7fcd0314d8
bug 6414, 6513: do not send host alerts when conole proxy or ssvm goes down
...
status 6414, 6513: resolved fixed
2011-01-20 16:51:53 +05:30
kishan
c685c77d74
Populate diskofferingid in usage events only if the offering is of type disk
2011-01-20 13:38:29 +05:30
kishan
8563322993
recommiting usage changes which were erased due to 650fb5221e
2011-01-20 13:36:43 +05:30
abhishek
09960f76eb
bug 8112: this broke again after the alex refactor. Fixing it again
...
status 8112: resolved fixed
2011-01-19 18:03:19 -08:00
alena
3f9e96b08a
bug 8035: allow PF rules creation with the same parameters except for the protocol
...
status 8035: resolved fixed
2011-01-19 17:31:59 -08:00
abhishek
afcb202923
bug 7900: removing obsolete network domain param
...
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
Alex Huang
16bb33979d
bug 7896: Added check for template constraint in template_spool_ref table. Removed On delete cascade on the template_host_ref table
2011-01-19 17:05:58 -08:00
alena
43c0190963
Shutdown the network when it fails to implement
2011-01-19 16:36:23 -08:00
will
d497a71619
Cleaned up uselocal storage config param as I don't see what it is beng used anymore as. Also, removed the filter for not allowing the user to set "offerHA" if hypervisor.type == KVM.
2011-01-19 16:06:47 -08:00
abhishek
210e828a46
bug 8045: fixing the corner case around uncaught/unexpected exceptions; minor refactor of the code
...
status 8045: resolved fixed
2011-01-19 15:04:19 -08:00
Alex Huang
ca22308d7d
Removed useless methods
2011-01-19 14:47:34 -08:00
abhishek
f97a5e78cb
bug 7970: fixing sp maintenance for 2 pools
...
status 7970: resolved fixed
2011-01-19 14:32:56 -08:00
Alex Huang
1d091236e9
removed inaccurate reservation strategy for nics
2011-01-19 12:03:41 -08:00
anthony
1e21455496
bug 8104: use correct SearchBuilder
...
status 8104: resolved fixed
2011-01-19 11:50:28 -08:00
Frank
9b8387fe8c
Don't print calltrack of exception
2011-01-19 11:42:16 -08:00
alena
2f608c31a4
bug 8096: secondary storage vm doesn't have to be UP when we do attachIso/startVm from iso
...
status 8096: resolved fixed
2011-01-19 10:42:41 -08:00
kishan
88024bea6a
bug 6928: throw error when router is not in stopped state while upgrading
...
status 6928: resolved fixed
2011-01-19 16:30:12 +05:30
kishan
1117eff8f9
bug 7069: throw exception when Vm is already assigned to load balancer
...
status 7069: resolved fixed
2011-01-19 16:00:56 +05:30
kishan
1872c941f4
bug 7157: throw insufficient capacity exception when public Ips are exhausted
...
status 7157: resolved fixed
2011-01-19 15:33:42 +05:30
alena
5f072009de
bug 8062: cleanup PF/LB rules before calling advanceExpunge for the vm.
...
status 8062: resolved fixed
2011-01-18 23:50:28 -08:00
kishan
fa2ae5793a
bug 7341: introduced search by id and vmId for listIpForwardingRules
...
status 7341: resolved fixed
2011-01-19 13:13:09 +05:30
anthony
017146f753
1 use 443 to connect xapi
...
2. update Java binding to xenserver-5.6.100-1.jar
2011-01-18 20:15:39 -08:00
alena
4c697304ec
Fixed release() method to use correct Nic state
2011-01-18 20:01:01 -08:00
alena
632d3c67f1
bug 6689: release source nat ip address as a part of domR/dhcp destroy
...
status 6689: resolved fixed
Changes to destroyNetwork process. Here are the steps:
* shutdown network - shutdowns all network elements (domRs/Dhcps)
* delete network - destroy all network elements, cleanup network's resources (vlans, ip ranges), mark network with Destroyed state and set Removed field
2011-01-18 19:31:04 -08:00
Kelven Yang
23cf2e048a
HA fix on VM-sync for VM in starting state, Mac Address fix
2011-01-18 19:28:51 -08:00
Alex Huang
650fb5221e
nic is no longer reserved
2011-01-18 19:28:44 -08:00
will
5c5563dfdd
UI will now use the config param "allow.public.user.templates". If this is false, only admins will be able to set the "public" status of a template.
2011-01-18 19:08:31 -08:00
Alex Huang
1d8ece0671
missing state transitions for ha
2011-01-18 16:33:29 -08:00
Alex Huang
28137b805b
more cleanup work
2011-01-18 16:17:04 -08:00
Kelven Yang
c0fb9be02a
Turn on rp_filter default to disable for console proxy VM, avoid explcit route conflict in DomR
2011-01-18 16:15:05 -08:00
Alex Huang
e8f89004d9
added more robust start code
2011-01-18 16:09:24 -08:00
abhishek
2188450fb0
porting 8065 to master
2011-01-18 13:46:46 -08:00
alena
f20c725827
bug 8062: fixed releasing vnet when corresponding network is shutdown. Used to happen because reservation_id for the network didn't match reservation_id for the vnet, and cleanup thread couldn't find vnet to cleanup
...
status 8062: resolved fixed
Also set broadcastUri to null when shutdown the corresponding network.
2011-01-18 13:25:04 -08:00
Edison Su
b55e7a5bf4
bug 8032: for xen pv guest, if an iso is attached, then only when the iso's guest os type is equal to vm's os type, we boot from iso.
...
status 8032: resolved fixed
2011-01-19 05:00:40 -05:00
Frank
48fd9221ee
bug 7722: open vswitch -
...
only create ovs stuff when ovs enabled
2011-01-18 10:49:20 -08:00
kishan
568eb8a59a
bug 7950: removed IPAssoc usage events for system account
...
status 7950: resolved fixed
2011-01-18 13:15:09 +05:30
nit
6e089ca99c
bug 8031 : Allowing user to create his/her own private template that was created from the user's VM.
...
status 8031 : resolved fixed
2011-01-17 14:15:15 +05:30
kishan
e512413f06
bug 7925: Added usage event for private template creation
...
status 7925: resolved fixed
2011-01-15 23:27:04 +05:30
alena
50540b2bba
Stop ConsoleProxy/SecondaryStorage vms: use the same code path as for user vms.
2011-01-14 17:57:15 -08:00
alena
0d2be33b2d
Changed response format in xml api doc generator
2011-01-14 17:55:32 -08:00
abhishek
d59358dd09
merging 8016 into master
2011-01-14 17:42:02 -08:00
Chiradeep Vittal
f932ebf58f
bug 8009: return null instead of exception when the vm is stuck in STARTING
...
status 8009: resolved fixed
2011-01-14 15:13:49 -08:00
Alex Huang
42950f2e8b
migration complete
2011-01-14 15:12:13 -08:00
Alex Huang
d43717eef8
merge changes
2011-01-14 15:12:13 -08:00
Alex Huang
19edfdfcdb
migration code
2011-01-14 15:12:13 -08:00
Frank
39f75887b1
bug 7722: open vswitch -
...
1. add more readable log when tunnel create failed
2. correct drop flow when port number more than 10
other fixs:
return false when vm is null in checkSessionPermision
this avoid null pointer Exception
2011-01-14 13:47:50 -08:00
alena
5af31fc97c
Modified API xml doc writer - sort request and response parameters in alphabetical order.
2011-01-14 11:18:54 -08:00
Kelven Yang
e9b446e3bd
Bug 6905: explicitly deny access when management server is not fully up for service
2011-01-14 10:58:24 -08:00
alena
8fbdc0bebf
bug 7996: Update Removed field for domR during expunge if epxunge is successful
...
status 7996: resolved fixed
2011-01-14 10:00:50 -08:00
nit
3d9d73e627
bug 7519 : Correcting the NPE getting thrown due to a recent rewrite of events. Also improving the logging when ssvm is not up.
...
status 7519 : resolved fixed
2011-01-14 19:35:34 +05:30
kishan
03a66d4b90
bug 7842: events refactoring
2011-01-14 18:55:54 +05:30
nit
e0f03a4f89
bug 7655 : The dashboard would use the reserved capacity + used capacity in the op_host_Capacity to reflect the total used capacity. Reserved capacity corresponds to the stopped vms within a specific interval called vm.resource.release.interval
...
status 7655 : resolved fixed
2011-01-14 18:01:08 +05:30
abhishek
c312147c52
bug 7991: blocking cancelmaintenance if sp is in prepareformaintenance
...
status 7991: resolved fixed
2011-01-13 18:21:52 -08:00
Frank
474962be9d
Bug 7973 - user vm network stats are off
...
use correct format for double to long.
Double.doubleToLongBits() is to convert float to binary representation, not to
long
2011-01-13 18:00:26 -08:00
abhishek
3406f4d5c0
bug 7988: fixing the sp state on delete
...
status 7988: resolved fixed
2011-01-13 17:21:35 -08:00
abhishek
7c2fffe67a
bug 7989: fixing this regression
...
status 7989: resolved fixed
2011-01-13 17:07:03 -08:00
alena
13630923ab
bug 7959: return gateway for domainRouter Api commands
...
status 7959: resolved fixed
2011-01-13 17:04:44 -08:00
Chiradeep Vittal
dd7f8625cc
bug 7380: SNAT rules when there are multiple public interfaces
...
bug 6854: port from 2.1.x
2011-01-13 16:59:35 -08:00
keshav
b7392e99cd
Enabled local storage cleanup
2011-01-13 16:45:51 -08:00
anthony
fa1da347c6
bug 7978: it happens when MS is restarted before DeleteTemplateCommand responds, if the template directory doesn't exist, return success
...
status 7978: resolved fixed
2011-01-13 16:24:43 -08:00
Chiradeep Vittal
2b66b8a924
bug 7929: remove security groups when account is deleted.
...
status 7929: resolved fixed
2011-01-13 15:40:29 -08:00
Kelven Yang
d14f3bffc3
Log for console ticket verification
2011-01-13 14:58:48 -08:00
abhishek
13c0478b9b
bug 7933: this happens if you create a vm off of a so, and then delete that so. the so now ceases to exist, however, the host tries to calc stats using the so, which is null. fixing that issue.
...
status 7933: resolved fixed
2011-01-13 14:55:34 -08:00
Chiradeep Vittal
d7d9a251be
bug 7993: fix npe
...
status 7993: resolved fixed
2011-01-13 14:48:25 -08:00
kishan
389e77fc46
bug 7924: Do not create usage event for create volume
...
status 7924: resolved fixed
2011-01-14 04:14:13 +05:30
kishan
a2752c6207
bug 7842: Move events to service layer from http api
2011-01-14 03:58:57 +05:30
kishan
83503a46a9
bug 7842: Move events to service layer from http api
2011-01-14 03:58:57 +05:30
kishan
388e689755
bug 7842: Move events to service layer from http api
2011-01-14 03:58:56 +05:30
anthony
83b55b7040
bug 7911: in mysql, condition field != value doesn't return entries whose field is null
...
status 7911: resolved fixed
2011-01-13 14:08:08 -08:00
Frank
488dd424aa
bug 7722: open vswitch -
...
fix a race condition, create tunnel sync
correct drop flow, this fix a flooding case which may cause openvswitch hang in kernel
2011-01-13 13:53:35 -08:00
abhishek
0e9ab0ee6a
appended stacktrace instead of logging it.
2011-01-13 13:26:01 -08:00
abhishek
5f06654b38
bug 7960: the npe should be fixed with my previous fix. adding better logging and some exception handling
...
status 7960: resolved fixed
2011-01-13 13:24:04 -08:00
alena
877741030c
bug 7957: set network domain for domain router based on Network networkDomain parameter. Default networkDomain is "cloud.internal"
...
status 7957: resolved fixed
2011-01-13 11:57:29 -08:00
abhishek
e0aef28910
bug 7975: we were missing the podid for a user vm, and this is used during vol attach. Adding the same, this fixes the NPE
...
status 7975: resolved fixed
2011-01-13 11:40:54 -08:00
nit
be70b42722
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-13 16:03:31 +05:30
nit
f9a6d476b4
bug 7519 : Adding the extractable attribute in ListTemplates/ISOs/Volumes command
2011-01-13 15:52:23 +05:30
Ragnar B. Johannsson
7a60bbbbbc
Refresh UserVmDetails before using.
2011-01-13 01:21:57 +00:00
Ragnar B. Johannsson
81bb2a43d1
Do not save an SSH public key unless one is provided.
2011-01-13 00:48:48 +00:00
alena
381717854c
Fixed NPE in deleteAccount - search for all accounts (instead of searching for active accounts only) when do deleteNetwork
2011-01-12 16:34:56 -08:00
keshav
158ed4c622
Changed some formatting.
2011-01-12 16:26:23 -08:00
Ragnar B. Johannsson
bf747a4a2e
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
2011-01-12 23:31:42 +00:00
Ragnar B. Johannsson
4bb42e43cc
Get UserVm details via UserVmDao.loadDetails().
...
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
alena
8b18b58c51
bug 7947: use correct search builder in UserVmDao
...
status 7947: resolved fixed
2011-01-12 14:15:13 -08:00
Kelven Yang
256e26ff61
Waiting virtual router to be ready in a outer place instead of inside VirtualNetworkApplianceImpl. This is to fix the the blocker issue of unable to deploy VM/start DomR
2011-01-12 12:31:19 -08:00
alena
4418e8f245
Don't zip Api xml doc directory in java code, rpm script will do it
2011-01-12 12:18:53 -08:00
Ragnar B. Johannsson
83b3580c32
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
...
Conflicts:
client/tomcatconf/commands.properties.in
core/src/com/cloud/vm/UserVmVO.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson
3e59707dd2
Added user_vm_details table and corresponding access objects.
...
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
nit
58a80d57cc
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-12 19:37:42 +05:30
nit
d5297519a5
bug 7519 : Some additional code.
2011-01-12 19:35:28 +05:30
nit
dce1e2031b
bug 7519 : Extract links would have Java genereated UUID instead.
2011-01-12 16:53:42 +05:30
anthony
8b425e6313
need to check state every 2 second
2011-01-11 19:36:55 -08:00
Frank
870d0835a5
bug 7722: open vswitch - add entities to tunnel table/vlan mapping table when
...
host connect, this make these tables lock free(for table lock)
2011-01-11 19:04:37 -08:00
anthony
7add7643e3
bug 7748: need to make sure domr is up before start user VM, if domr is not up within 5 minutes, throw exception
...
status 7748: resolved fixed
2011-01-11 18:58:20 -08:00
anthony
beb97057e1
reconnect hosts after MS restart
2011-01-11 18:09:01 -08:00
anthony
5b68027d3a
bug 7858: for untagged vlan, broadcastRUi is vlan://untagged
...
status 7858: resolved fixed
2011-01-11 18:09:01 -08:00
Alex Huang
6d9442be54
Finished all merges and unit testing
2011-01-11 18:02:09 -08:00
Alex Huang
6e6e8ff876
better expunge and destroy of volumes
2011-01-11 18:02:09 -08:00
Alex Huang
7f597e594c
added work list to vm start
2011-01-11 18:02:09 -08:00
Alex Huang
ad4ed5b2fd
added hypervisor type to vm
2011-01-11 18:02:09 -08:00
abhishek
eec9f5f6f6
A minor fix to take into account stopping of a vm in stopping state. We will get a concurrentmodificationexception, and end in errorinmaintenance. This behavior is consistent with how stop works for cpvm.
2011-01-11 17:11:41 -08:00
alena
620e7e0305
Implemented list by trafficType in listNetworks command
2011-01-11 16:06:58 -08:00
alena
6ebbff60f4
Fixed Api xml doc generator
2011-01-11 15:26:04 -08:00
alena
5dfe399c1a
bug 7803: introduces new parameter "is_default" for the network. DeployVm requires 1 default network to be specified, other networks (if any) have to be secondary
...
status 7803: resolved fixed
Fix overview:
1) Parameter "isDefault" should be defined as a part of createNetwork
* Virtual network is always default
* Parameter can be specified only for DirectNetwork
* Once parameter is set, there is no way to change it as we don't provide updateNetwork command.
2) Added isDefault parameter to listNetworks command so you can sort by that.
3) DeployVmCmd:
* at least one default network should be set
* if more than 1 default network is set - throw an error
4) Return isDefault information as a part of Nic object for the vm response in deploy/stop/start/listVm
2011-01-11 14:22:26 -08:00
abhishek
e28882b8ee
eliminating use of multiple variables; using the same var for all protocols (denoting ports for tcp/udp and type/code for icmp)
2011-01-11 14:20:02 -08:00
abhishek
e4c3f556c2
bug 7942: we were not using the right values for record creation when the proto=icmp. Using the right vals
...
status 7942: resolved fixed
2011-01-11 13:57:53 -08:00
abhishek
8995a0afb6
adding more logging for the corner case
2011-01-11 12:14:13 -08:00
abhishek
95756802e3
bug 7899: this seems to be a corner case, and from the logs, there was a vol with no pool id associated with it. Adding a check against it, as this should never happen
...
status 7899: resolved fixed
2011-01-11 12:11:46 -08:00
Ragnar B. Johannsson
ee923e5797
Added HTTP Header 'X-Description' to API error responses.
...
For easy access to API error descriptions in the CloudBridge.
2011-01-11 18:27:03 +00:00
nit
ffe387ab5b
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-11 20:08:24 +05:30
nit
6850a0ae9a
bug 7519 : Opening eth2 for public traffic on ssvm. Implementing the ip firewall for zone to zone copy in the Apache layer. Disabling directory listing for extract server root.
2011-01-11 20:05:35 +05:30
Frank
c6683c2eab
bug 7722: open vswitch -
...
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
alena
0c38485c19
Added missing descriptions to a bunch of api commands
2011-01-10 20:30:29 -08:00
alena
07aa1d68d1
Fixed minor issues in tool generating the difference between 2.1.x and 2.2 apis
2011-01-10 19:12:16 -08:00
alena
5dde719988
Api xmlDocWriter: write each xml command to single file for 1)rootAdmin 2)domainAdmin 3)regularUser
2011-01-10 19:12:16 -08:00
anthony
a1c53ae785
bug 7646:can not use the connection after join pool
...
status 7646: resolved fixed
2011-01-10 15:44:14 -08:00
alena
bc74fefe68
Api xmlDocWriter: create 2 output .xml files; one contains commands in the order defined in commands.properties.in file, another - commands in alphabetical order.
2011-01-10 14:36:07 -08:00
alena
15fc1fa10f
Fixed listNetworks to list all system networks (not just Public) when isSystem=true is specified
2011-01-10 14:04:50 -08:00
alena
7bf7f3d284
Api xml doc: generate xml per command in addition to xml containing all api commands
2011-01-10 12:17:57 -08:00
alena
d31b3cc446
Resend dhcp/userData entries as a part of Dhcp vm start.
2011-01-10 12:17:57 -08:00
Frank
a964494332
bug 7722: open vswitch - align some data type with master branch
2011-01-08 17:31:00 -08:00
Frank
e9959d32a9
bug 7722: open vswitch - handle router when schedule a work
2011-01-08 16:28:47 -08:00
Frank
ec643c7e59
bug 7722: open vswitch - refine code; add normal flow makes vswitch work as
...
normal L2/L3, otherwise the output packet cannot find right output port
2011-01-08 16:28:47 -08:00
Frank
6f9f8b145b
bug 7722: open vswitch - complete
2011-01-08 16:28:47 -08:00
Frank
9d2916ffcc
it works
2011-01-08 16:28:47 -08:00
Frank
c94b6acadf
bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next
2011-01-08 16:22:59 -08:00
Frank
5c01c42ba7
fix bug 7722, code complete basic architecture
2011-01-08 16:20:39 -08:00
alena
140d704e2f
Generate separate xml Api docs for regularUser/domainAdmin/rootAdmin
2011-01-07 18:40:47 -08:00
alena
93a49fcd72
Return shared networks for regular user
2011-01-07 18:22:32 -08:00
Edison Su
d2dab22437
enable snapshot for rhel
2011-01-08 11:08:21 -05:00
Kelven Yang
323fc6299d
Use volume state to determine whether or not we need to send volume DestroyCommand to hypervisor hosts.
2011-01-07 05:41:28 -08:00
alena
b8a17f4a97
Don't default isShared to false for listNetworks api command.
2011-01-07 17:39:00 -08:00
alena
d0687f663f
bug 7863: fixed router cleanup thread
...
status 7863: resolved fixed
Router cleanp thread is fixed, here is functionality description:
* Runs every "router.cleanup.interval" period of time (1 day by default)
* Stops only domRs running in Advance zone
* Thread Flow:
- gets all Running domRs/dhcps, get their networks, select network that
has to be checked (see criteria below):
- checks that there is only one nic in the op_networks table for the
network, and this nic belongs to domR/dhcp
- Stops domR/dhcp
* Criteria to choose the network:
- Network has to be non-system.
- Network should be one of the following: Guest Virtual (TrafficType=Guest; GuestType=Virtual); Direct Tagged (TrafficType=Public; GuestType=Direct)
Couple of other fixes:
* Added isShared parameter to listNetworks command
* Moved guestType from NetworkOffering to Network
2011-01-07 16:57:47 -08:00
abhishek
ffb8d54dff
changing a few obsolete names to std convention
2011-01-07 16:49:51 -08:00
abhishek
fec9a6d566
not iterating over cidr list if null
2011-01-07 16:22:28 -08:00
abhishek
d639854426
fixes for the security groups
2011-01-07 16:22:28 -08:00
alena
d3bac931b4
Deploy from server-setup.xml: Fixed createDefaultNetworks to use correct guru names
2011-01-07 15:05:10 -08:00
alena
335e81cc52
Fixed listNetworks for regular user to return system network information
2011-01-07 14:09:34 -08:00
Alex Huang
a1bdec8fa1
add missing libraries
2011-01-07 14:08:41 -08:00
anthony
1044a99756
check answer
2011-01-07 13:54:58 -08:00
anthony
be174f7f36
correct checking answer
2011-01-07 13:54:58 -08:00
Alex Huang
386d4a540d
merge changes
2011-01-07 13:46:20 -08:00
Alex Huang
6dc922408d
unit test working
2011-01-07 13:42:43 -08:00
Alex Huang
4b360258ee
allow multiple ways to intercept
2011-01-07 13:42:43 -08:00
Alex Huang
e496a99c1c
added processing for events
2011-01-07 13:42:43 -08:00
Alex Huang
2e29f21e5a
changes for injectors
2011-01-07 13:42:43 -08:00
alena
789912de6a
Removed guestIpType parameter from listNetwork offerings command
2011-01-07 10:54:45 -08:00
will
8284abedf5
bug 7902: Fixed problem with updating secstorage.ssl.cert.domain as it was incorrect set to be validated as a boolean and also was set to be validated as an ip range.
...
- Fixed error message returned when validating boolean to not return double-quotes as that breaks JSON.
2011-01-07 10:39:49 -08:00
abhishek
274edf1478
fixing sec group rules creation, and also adding some description in commands. checking in so that ui work can begin.
2011-01-07 10:34:00 -08:00
keshav
d2196d169e
Moved global lock inside storage cleanup method.
2011-01-06 17:46:36 -08:00
Ragnar B. Johannsson
a013640180
Bugfix: Do not URL-decode API parameters twice.
...
There's no need to call ApiServer's handleRequest with decode=true
since Tomcat has already url-decoded the parameters. URL-decoding
twice breaks all Base64 encoded data such as userData in deployVM,
since %2b decodes to ' ', not '+' as it should.
2011-01-06 14:25:59 +00:00
Ragnar B. Johannsson
32c68e1583
API cmds for SSH-keys manipulation and VM passwds retrieval.
...
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
Kelven Yang
56d8fb6a0b
Bug 7015: allow domain admin to be able to access domR console
2011-01-06 05:27:32 -08:00
alena
4ec3bc5865
bug 7244: delete corresponding untagged pod vlan ranges when pod is deleted
...
status 7244: resolved fixed
2011-01-06 16:16:09 -08:00
alena
916b516d13
bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
...
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
alena
02dc187a0c
bug 7727: Don't create Public network with broadcast_domain_type=vlan for Basic zone
...
status 7727: resolved fixed
2011-01-06 15:44:13 -08:00
Kelven Yang
a0d821ca79
VMware local storage support
2011-01-05 06:14:43 -08:00
will
68d5c0919a
bug 5482: Fixed malformed JSON when an error is returned by the API call. Also fixed the UI to make use of the new JSON object.
2011-01-05 18:06:59 -08:00
abhishek
20ec0beae5
bug 7829: fixed the keyword search for storage pools
...
status 7829: resolved fixed
2011-01-05 17:34:03 -08:00
Kelven Yang
ea88089fd2
Bug 7409: Implement forcely-cancelling mechenism for jobs that have been staying in queue for too long
...
1) introduced a global configuration variable job.cancel.threshold.minutes
2) Default value for the job.cancel.threshold.minutes is 60 minutes, if a job has been staying in processing state for over 60 minutes, system will forcely remove it from the queue to allow others to run
2011-01-05 15:44:10 -08:00
abhishek
1d25a33be1
bug 5915: removing the check to see if there are other hosts in maintenance, whilst enabling host maintenance
...
status 5915: resolved fixed
2011-01-05 13:47:39 -08:00
abhishek
f3e91de0bd
bug 7824: implementing search for pools by id
...
status 7824: resolved fixed
2011-01-05 12:00:20 -08:00
Kelven Yang
cb7b6867c6
Bug 7370: Give domain admin permission to view user VM under its domain scope
2011-01-04 23:42:49 -08:00
Kelven Yang
496bbeba88
Bug 7860: protected from NPE whhile console proxy public address is not set during startup process
2011-01-04 22:31:44 -08:00
Kelven Yang
4be13ee8a4
Add sanity check to allow only adding the right hypervisor hosts to the matched cluster
2011-01-04 22:10:55 -08:00
alena
c74fd529be
bug 7611: get directPodBased default network when deploy vm with no networkId specified
...
status 7611: resolved fixed
2011-01-04 18:43:03 -08:00
anthony
1352e5b8a6
use new VM state
2011-01-04 17:51:57 -08:00
will
a92dd2a81e
bug 7611: VM wizard will no longer pass in any network ids if the zone only support basic network type
2011-01-04 17:46:34 -08:00
anthony
57ee66a22d
XenServer can tell if the VM is shutdowned from inside,
...
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
abhishek
3aa1726009
bug 7822: fixing the storage maintenance failures centered around domr stop/start
...
status 7822: resolved fixed
2011-01-04 17:37:50 -08:00
alena
edfbc5a782
bug 7267: create/updateZone - guestNetworkCidr parameter is accepted only for zone of type Adanced.
...
status 7267: resolved fixed
As a part of the fix added cidr format validation to updateZone command.
2011-01-04 16:59:39 -08:00
Kelven Yang
6ebdafd4c3
Add vmware cluster will automatically bring in all hosts under the cluster
2011-01-04 04:12:47 -08:00
abhishek
58f2f37fc9
adding more range checks in the createZone functionality
2011-01-04 15:22:34 -08:00
abhishek
e28ed752fc
bug 7835: fixing the vnet range issues for add zone and edit zone
...
status 7835: resolved fixed
2011-01-04 15:14:55 -08:00
alena
5743db87e1
bug 5482: build Error api response based on responseType(xml, json) specified in the request instead of using default HttpServlet error response format
...
status 5482: resolved fixed
2011-01-04 15:08:12 -08:00
Alex Huang
61dd3b3bf9
bug 7865: Changed ip allocation for guest network to happen during allocation and not reserve time so ip address won't keep changing
2011-01-04 15:01:34 -08:00
Alex Huang
4eba6d10d7
Moved State into VirtualMachine like other States of objects
2011-01-04 15:01:34 -08:00
anthony
83f3884412
adding change VM guest os type api
2011-01-04 15:01:26 -08:00
Kelven Yang
962aea710b
Cluster details java files
2011-01-04 02:44:36 -08:00
anthony
a72646307b
findDirectAgentToLoad ordered by clusterId
2011-01-04 12:32:38 -08:00
kishan
fb6310e993
bug 6947: removed network type from service offering APIs
...
status 6947: resolved fixed
2011-01-04 13:22:41 +05:30
kishan
ce3c794bd3
bug 6916: check for removed account for ListVMs. Moved realated code to userVm Manager
...
status 6916: resolved fixed
2011-01-04 13:07:49 +05:30
alena
0b7a15ab99
bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
...
status 7348: resolved fixed
More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
alena
d18eaa840e
bug 7798: removed vpn events generation from RemoteAccessVpnManagerImpl as we already generate it in ApiDispatcher code.
...
status 7798: resolved fixed
2011-01-03 23:00:05 -08:00
Kelven Yang
7c5895d7d5
Bug 7598: add management server restart and peer-cleanup within cluster handling to async job processing
2011-01-03 16:47:46 -08:00
keshav
92d9e35110
Added a method to find external network appliances that need to be reconnected.
2011-01-03 16:12:36 -08:00
Kelven Yang
f350532453
Bug 5419: use transaction lock instead of global lock when performing domain deletion operation
2011-01-03 15:10:24 -08:00
Kelven Yang
473700481e
Bug 7662: if capacity.check.period is given 0 or negative value, fall back to default value
2011-01-03 14:38:29 -08:00
kishan
511c780e97
bug 7754: added userId and accountId for deleteUser event
...
status 7754: resolved fixed
2011-01-03 16:42:54 +05:30
kishan
bf2b28a70f
bug 7544: check for null host before getting its status
...
status 7544: resolved fixed
2011-01-03 14:26:35 +05:30
kishan
02ae55cc96
bug 7389: made ip optinal for list pf rules, all rules for the account will be listed when ip is not available
...
status 7389: resolved fixed
2011-01-03 13:47:18 +05:30
will
fa7504532e
Merging from 2.2Beta3 where network was not showing network dedicated to an user
2010-12-31 00:52:01 -08:00
will
18d4c97b55
Fixed problem with displaying direct network dedicated to non-admin accounts.
2010-12-31 00:52:00 -08:00
keshav
283551d34e
End the enum with a semicolon
2010-12-30 20:48:56 -08:00
keshav
ead0ee07dd
Changed category of "DirectNetworkNoDefaultRoute" configuration value to "Network".
2010-12-30 20:36:00 -08:00
Alex Huang
1df2f6b01b
More copy and paste crap that I had to fix. Are there more?
2010-12-30 20:30:45 -08:00
Edison Su
345d2ab81f
remove the unused use.new.networking configuration
2010-12-31 13:26:39 -05:00
Kelven Yang
3a6a7e30ce
Make management server peer in cluster to help cleanup left-over pending jobs
2010-12-30 18:53:26 -08:00
Alex Huang
62702a2f41
no default route sent for direct network
2010-12-30 17:21:17 -08:00
alena
367cd8dfc9
bug 7780: Assign vm to the group during vm deploy if "group" parameter is specified
...
status 7780: resolved fixed
2010-12-30 17:00:13 -08:00
Kelven Yang
9e2cbbe0dd
Make AddCluster Command return standard json object format
2010-12-30 16:38:31 -08:00
abhishek
3e1f782edd
bug 7606: adding delete vlans and ip addresses during zone deletion
...
status 7606: resolved fixed
2010-12-30 15:48:35 -08:00
anthony
951d86f41f
bug 7782: check if hypervisor type is specified before creating cluster
...
status 7782: resolved fixed
2010-12-30 15:46:12 -08:00
Alex Huang
dc7de43aff
release the nic state
2010-12-30 15:19:40 -08:00
Edison Su
7384d1b97a
bug 7717: fix the bug that call the wrong fucntion to set netmask
...
status 7717: resolved fixed
2010-12-31 08:02:57 -05:00
anthony
924acfff40
add lastping back to findDirectAgentToLoad function,
...
after MS restart or one MS crash, in markHostsAsDisconnected, all hosts managed by this MS are marked at Dieconnected, and lastping is set to curent time minus 10 minutes, to make sure reconnect happen w
2010-12-30 14:39:02 -08:00
alena
6576dd1273
Fixed NPE in listNetworks (handle the case when Zone service provider is NULL)
2010-12-30 14:31:40 -08:00
anthony
4208d6ccd1
port 3b1481598e from 2.1.x
2010-12-30 14:15:27 -08:00
will
40f34c4388
Removed guestIp check when upgrading the service offering of a VM. It should not be used anymore since 2.2 network refactoring.
2010-12-30 13:21:01 -08:00
anthony
65a55ff7b1
bug 7215:
...
it may be caused by following result
1. there is no hosts up in this cluster, then there is no host we can send remove from pool command.
2. pool-eject failed
in above cases, the host is still removed from cloudstack, and alert is sent out to require run pool-eject manually
status 7215: resolved fixed
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
2010-12-30 11:50:28 -08:00
alena
225f15899d
bug 7776: Fixed setting netmask for guest domR network
...
status 7776: resolved fixed
2010-12-30 10:49:40 -08:00
alena
dfecc1f448
Changed account state to be in lower case.
2010-12-30 09:57:59 -08:00
alena
0a3895a923
Fixed user login problem - ignore case when verify user/account state
2010-12-30 09:41:30 -08:00
Alex Huang
d4b56e89c3
changed expunge to do stop earlier.
2010-12-30 06:51:08 -08:00
Alex Huang
da4ed648ac
consolidated all of the vm destroy, cleanup and account cleanup.
2010-12-30 05:46:54 -08:00
Kelven Yang
e7749afdfe
Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume
2010-12-29 21:54:17 -08:00
alena
bd788b1827
Fixed RemoteAccessVpn apis
2010-12-29 21:36:44 -08:00
will
de6b9eb0e2
- Fixed NPE caused when calling listRemoteAccessVpn API command with no vpn record in DB.
...
- Fixed UI to pass in ipaddress when you create/delete remote access vpn.
2010-12-29 21:14:48 -08:00
anthony
98146d3b15
bug 5559: support snapshots on local disk
...
status 5559: resolved fixed
2010-12-29 19:55:12 -08:00
keshav
3da09345c9
Changed schema to keep track of which public IP address and host a user statistics entry is for
2010-12-29 19:14:35 -08:00
anthony
466dff8757
bug 7751: if discover is not found for a hypervisor type, print meaningful message here
...
status 7751: resolved fixed
2010-12-29 18:40:47 -08:00
root
c6847f001a
bug 7760: fix a regression when adding host
...
status 7760: resolved fixed
2010-12-29 19:38:20 -05:00
abhishek
2d6875f711
bug 7386: fixing the recurrent snapshots
...
status 7386: resolved fixed
2010-12-29 16:23:37 -08:00
Alex Huang
a10ce22f99
remote access vpn from management server side is done
2010-12-29 12:13:35 -08:00
Kelven Yang
bce5dfb0d4
add deleteCluster API command
2010-12-29 11:05:01 -08:00
alena
133f286b06
Fixed description for ServerApiException
2010-12-29 09:55:21 -08:00
Alex Huang
090bc1edb4
more changes to fix up the merge
2010-12-29 09:32:54 -08:00
Alex Huang
544fa7ff1b
remote access vpn, user ip address changes
2010-12-29 09:32:54 -08:00
kishan
c11b8612cd
bug 7359: search for removed accounts also while composing usage records response
...
status 7359: resolved fixed
2010-12-29 21:21:27 +05:30
kishan
494a46a10f
bug 7735: Set null for templateId instead of -1 for usage records
...
status 7735: resolved fixed
2010-12-29 18:29:14 +05:30
anthony
f865e8b061
moveVolume is broken due to not setup hypervisortype in dskch
...
fixed
2010-12-28 19:46:21 -08:00
alena
d005f9133e
bug 7603: update uservm count when deploy/recover vm. Also fixed updating volumes count when volume is created as a part of vm deployment
...
status 7603: resolved fixed
Couple of other fixes:
* Set correct user_id for createVolume event instead of hardcoding it to System (1)
* Deploy dhcp vm when Zone's gateway provider is External Firewall and network is Virtual
2010-12-28 17:32:17 -08:00
edison
920c7b3dd7
bug 7503: set hypervisor type when we create the cluster, as we already know the hypervisor type in adavnce when adding host.
...
status 7503: resolved fixed
2010-12-28 17:20:50 -08:00
Kelven Yang
271b1ee58a
add consoleproxy.disable.rpfilter configuration variable to get rid of the annoying access issue in development environment.
...
set it to true for development environment, it will allows traffic that comes in from public interface to be able to be routed back from private interface
2010-12-28 17:15:00 -08:00
alena
085824d524
1) Updated schema for data_center - provider fields can have NULL values.
...
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
edison
3a143577b9
bug 7659: fix the race condition that agent inside systemvm connecting to mgt server at the head of startcommand returning to mgt server, then got a NPE. and fix bugs in security group of KVM
...
status 7659: resolved fixed
2010-12-28 15:51:28 -08:00
alena
88afdb3313
Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly
2010-12-28 15:15:24 -08:00
abhishek
5d3173eabf
bug 7721: generically fixing the url decoder issue for all commands, wherein we block any input which contains % eg. name, displayText. We throw the apt error back to the UI for the user to act upon
...
status 7721: resolved fixed
2010-12-28 14:23:21 -08:00
anthony
68727778ba
bug 7620: this is caused by delayed volume creation,
...
doesn't make sence to create a template on empty volume, just don't allow it
status 7620: resolved fixed
2010-12-28 14:00:51 -08:00
anthony
0aa24c9ebf
bug 7686: when detach iso, always remove is from uservm table to make sure ISO is remove after stop/start
...
status 7686: resolved fixed
2010-12-28 12:06:24 -08:00
alena
2d316eabb7
bug 6056: Changed format for API error response.
...
status 6056: resolved fixed
Example of error response:
Json:
{ "updatedomainresponse" : {"errorcode" : "431, "errortext" : "Unable to find domain 4"} }
Xml:
<updatedomainresponse cloud-stack-version="1.9.1.2010-12-28T18:14:57Z">
<errorcode>431</errorcode>
<errortext>Unable to find domain 4</errortext>
</updatedomainresponse>
2010-12-28 10:36:04 -08:00
abhishek
1e17559d53
bug 7689: whilst editing pod, we were not calculating the netmask if the netmask is not passed down from the UI. Re-calculating the netmask, based on pod attribs in db
...
status 7689: resolved fixed
2010-12-28 10:31:07 -08:00
alena
52478aaf73
bug 7699: set correct account_id/user_id for createUser events
...
status 7699: resolved fixed
2010-12-27 19:54:36 -08:00
alena
7b3b9076b0
bug 6168: throw a runtime exception when unable to schedule Async job instead of returning jobId=0L
...
status 6168: resolved fixed
2010-12-27 17:00:29 -08:00
abhishek
719f3984d2
changing domain.suffix to guest.domain.suffix, along with associated deps
2010-12-27 17:00:07 -08:00
alena
b7317c12fa
bug 7616: Don't try to apply portForwardingRule when vm's nic is not set with Ip address
...
status 7616: resolved fixed
2010-12-27 15:50:57 -08:00
abhishek
344a151ffe
someone had commented out the domr code in the storage maintenance, enabling the same
2010-12-27 15:25:02 -08:00
alena
bb088a2e4c
bug 7489: Added events for network create/delete
...
status 7489: resolved fixed
2010-12-27 15:18:14 -08:00
alena
dceab9f18a
bug 7705: deletePortForwardingRule is Async now
...
status 7705: resolved fixed
Couple of other fixes:
* don't allow to send ipAssoc command when domR is in Starting/Stopping states as the command not async so it might be sent in parallel with domR stop/start and fail on the backend.
* DeleteIpForwardingRule api: set ownerId to rule owner id instead of hardcoding it to 1(System)
2010-12-27 14:17:17 -08:00
Kelven Yang
34cec61ff7
Don't blindly switch to XenServer in premium build if database is pre-populated with a hypervisor tyoe other then FOSS default KVM
2010-12-27 14:01:22 -08:00
abhishek
bb7170884d
bug 7677: fixing the volumes issue when we destroy a vm
...
status 7677: resolved fixed
2010-12-27 13:54:52 -08:00
abhishek
0da33ad39a
bug 7673,7645: fixing the vm expunge issue. also modifying the delete pod flow to only check for hosts that are NOT removed from the pod. also, checking for alerts on the pod whilst deleting pod is not right. we should be able to delete a pod regardless of alerts issued on the pod. the resolution of alerts is a separate issue
...
status 7673, 7645: resolved fixed
2010-12-27 11:29:36 -08:00
alena
8f7c0bc500
bug 7680: Use correct name ("source") for one of supported LB algorithms.
...
status 7680: resolved fixed
2010-12-27 09:19:47 -08:00
kishan
e51dc79000
bug 7504: Events refactoring
...
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
kishan
53d3455cbe
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
kishan
bb0e6a0ae3
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
edison
2762f0c75e
release cpu/memory after vm stopped for a while
2010-12-23 22:06:01 -08:00
anthony
a4e791a10c
now, you can remove the last host in a cluster
2010-12-23 20:42:31 -08:00
alena
3e089166bb
Fixed listPublicIpAddresses for Direct guest network to return networkId associated with corresponding vlan (if null is returned, UI IP tab gives an error on listPublicIp)
...
Conflicts:
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
2010-12-23 18:33:41 -08:00
alena
dfaf7c4c5d
Remove vm from Load Balancers when vm is Expunged. Added more logging to vm expunge process
2010-12-23 16:23:51 -08:00
alena
928ab98dc6
Added new network Capability "TrafficStatistics" for LoadBalancer and Firewall services
2010-12-23 15:06:37 -08:00
alena
727f56e2ac
Mark all corresponding vm/lb mappings as Revoke when delete loadBalancer command is executed.
2010-12-23 14:14:05 -08:00
abhishek
35a8318134
bug 7606: fixing the delete zone functionality
...
status 7606: resolved fixed
2010-12-23 14:11:25 -08:00
alena
dfb736273c
PublicIpAddress response - search for default Public system network offering instead of hardcoding the id to 1.
2010-12-23 12:45:49 -08:00
edison
0d612c4d85
catch runtime exception
2010-12-23 11:58:32 -08:00
alena
b437b8b977
listPublicIpAddresses api: return networkId (the id of the network ip belongs to) and associatedNetworkId.
2010-12-23 11:52:44 -08:00
alena
eb1f1da035
Assert when capability is not supported by service
2010-12-23 11:52:44 -08:00
alena
3775ba043e
Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering.
2010-12-23 09:40:15 -08:00
nit
a6fca4ee64
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-23 15:09:56 +05:30
nit
1f4cb9b11e
bug 7519 : extract functionality - changing it to support http protocol. Making the URL's robust against the start and stop of agent on ssvm.
2010-12-23 15:08:46 +05:30
edison
ac4295d91f
bug 7605: fix release link local when domr stopped
...
status 7605: resolved fixed
2010-12-22 19:26:14 -08:00
Kelven Yang
1805c73363
1) Add HostStats support to vmwre
...
2) Normarlize HostStats to make it generic to all hypervisors
2010-12-22 16:27:02 -08:00
alena
ec9260ce62
bug 7619: Added list of Capabilities parameter for Network
...
status 7619: resolved fixed
2010-12-22 11:05:31 -08:00
edison
fe6824a66b
fix upload ova template
2010-12-22 10:16:12 -08:00
kishan
9837cba9f1
bug 7504: Add usage events for VM destroy and stop during account delete
2010-12-22 20:26:34 +05:30
kishan
b12cd70216
bug 7504: Added usage events and made corresponding changes in usage server
2010-12-22 18:03:24 +05:30
kishan
a7626fc991
bug 7504: Added usage events
2010-12-22 12:28:05 +05:30
kishan
dac008fc4b
bug 7504: Added started event when API command execute is called
2010-12-22 12:10:38 +05:30
abhishek
bb5859de83
bug 7615: enabling the system vms and domr to be ha-enabled by default
...
status 7615: resolved fixed
2010-12-21 17:44:32 -08:00
abhishek
d5a8136f14
bug 7585: adding logic to ensure empty strings are a valid input during zone edit
...
status 7585: resolved fixed
2010-12-21 14:03:46 -08:00
anthony
bcc327cad1
correct path in patch file
2010-12-21 13:38:40 -08:00
abhishek
6b1e4d92ef
made some changes to the vm expunge flow, also added a state transition to error for vm if creation fails
2010-12-21 12:48:13 -08:00
Chiradeep Vittal
1216ffd21a
WIP
2010-12-21 11:04:27 -08:00
abhishek
aed200492d
bug 7459: honoring the isBootable flag for isos
...
status 7459: resolved fixed
2010-12-21 10:37:26 -08:00
alena
51d1aa2f95
Fixed publicNetworkGuru to set Broadcast URI for Public tagged network.
2010-12-21 10:24:56 -08:00
Alex Huang
91573b6252
more changes
2010-12-21 03:56:01 -08:00
Alex Huang
0ecb0118ec
renamed the domainrouter services
2010-12-21 03:56:01 -08:00