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