Commit Graph

1587 Commits

Author SHA1 Message Date
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 2ec5bef63f eclipse workspace changes 2011-01-20 10:31:18 -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