Commit Graph

1540 Commits

Author SHA1 Message Date
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