Commit Graph

1427 Commits

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