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