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
Kelven Yang
3a6a7e30ce
Make management server peer in cluster to help cleanup left-over pending jobs
2010-12-30 18:53:26 -08:00
Alex Huang
62702a2f41
no default route sent for direct network
2010-12-30 17:21:17 -08:00
alena
367cd8dfc9
bug 7780: Assign vm to the group during vm deploy if "group" parameter is specified
...
status 7780: resolved fixed
2010-12-30 17:00:13 -08:00
Kelven Yang
9e2cbbe0dd
Make AddCluster Command return standard json object format
2010-12-30 16:38:31 -08:00
abhishek
3e1f782edd
bug 7606: adding delete vlans and ip addresses during zone deletion
...
status 7606: resolved fixed
2010-12-30 15:48:35 -08:00
anthony
951d86f41f
bug 7782: check if hypervisor type is specified before creating cluster
...
status 7782: resolved fixed
2010-12-30 15:46:12 -08:00
Alex Huang
dc7de43aff
release the nic state
2010-12-30 15:19:40 -08:00
Edison Su
7384d1b97a
bug 7717: fix the bug that call the wrong fucntion to set netmask
...
status 7717: resolved fixed
2010-12-31 08:02:57 -05:00
anthony
924acfff40
add lastping back to findDirectAgentToLoad function,
...
after MS restart or one MS crash, in markHostsAsDisconnected, all hosts managed by this MS are marked at Dieconnected, and lastping is set to curent time minus 10 minutes, to make sure reconnect happen w
2010-12-30 14:39:02 -08:00
alena
6576dd1273
Fixed NPE in listNetworks (handle the case when Zone service provider is NULL)
2010-12-30 14:31:40 -08:00
anthony
4208d6ccd1
port 3b1481598e from 2.1.x
2010-12-30 14:15:27 -08:00
will
40f34c4388
Removed guestIp check when upgrading the service offering of a VM. It should not be used anymore since 2.2 network refactoring.
2010-12-30 13:21:01 -08:00
anthony
65a55ff7b1
bug 7215:
...
it may be caused by following result
1. there is no hosts up in this cluster, then there is no host we can send remove from pool command.
2. pool-eject failed
in above cases, the host is still removed from cloudstack, and alert is sent out to require run pool-eject manually
status 7215: resolved fixed
Conflicts:
server/src/com/cloud/agent/manager/AgentManagerImpl.java
2010-12-30 11:50:28 -08:00
alena
225f15899d
bug 7776: Fixed setting netmask for guest domR network
...
status 7776: resolved fixed
2010-12-30 10:49:40 -08:00
alena
dfecc1f448
Changed account state to be in lower case.
2010-12-30 09:57:59 -08:00
alena
0a3895a923
Fixed user login problem - ignore case when verify user/account state
2010-12-30 09:41:30 -08:00
Alex Huang
d4b56e89c3
changed expunge to do stop earlier.
2010-12-30 06:51:08 -08:00
Alex Huang
da4ed648ac
consolidated all of the vm destroy, cleanup and account cleanup.
2010-12-30 05:46:54 -08:00
Kelven Yang
e7749afdfe
Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume
2010-12-29 21:54:17 -08:00
alena
bd788b1827
Fixed RemoteAccessVpn apis
2010-12-29 21:36:44 -08:00
will
de6b9eb0e2
- Fixed NPE caused when calling listRemoteAccessVpn API command with no vpn record in DB.
...
- Fixed UI to pass in ipaddress when you create/delete remote access vpn.
2010-12-29 21:14:48 -08:00
anthony
98146d3b15
bug 5559: support snapshots on local disk
...
status 5559: resolved fixed
2010-12-29 19:55:12 -08:00
keshav
3da09345c9
Changed schema to keep track of which public IP address and host a user statistics entry is for
2010-12-29 19:14:35 -08:00
anthony
466dff8757
bug 7751: if discover is not found for a hypervisor type, print meaningful message here
...
status 7751: resolved fixed
2010-12-29 18:40:47 -08:00
root
c6847f001a
bug 7760: fix a regression when adding host
...
status 7760: resolved fixed
2010-12-29 19:38:20 -05:00
abhishek
2d6875f711
bug 7386: fixing the recurrent snapshots
...
status 7386: resolved fixed
2010-12-29 16:23:37 -08:00
Alex Huang
a10ce22f99
remote access vpn from management server side is done
2010-12-29 12:13:35 -08:00
Kelven Yang
bce5dfb0d4
add deleteCluster API command
2010-12-29 11:05:01 -08:00
alena
133f286b06
Fixed description for ServerApiException
2010-12-29 09:55:21 -08:00
Alex Huang
090bc1edb4
more changes to fix up the merge
2010-12-29 09:32:54 -08:00
Alex Huang
544fa7ff1b
remote access vpn, user ip address changes
2010-12-29 09:32:54 -08:00
kishan
c11b8612cd
bug 7359: search for removed accounts also while composing usage records response
...
status 7359: resolved fixed
2010-12-29 21:21:27 +05:30
kishan
494a46a10f
bug 7735: Set null for templateId instead of -1 for usage records
...
status 7735: resolved fixed
2010-12-29 18:29:14 +05:30
anthony
f865e8b061
moveVolume is broken due to not setup hypervisortype in dskch
...
fixed
2010-12-28 19:46:21 -08:00
alena
d005f9133e
bug 7603: update uservm count when deploy/recover vm. Also fixed updating volumes count when volume is created as a part of vm deployment
...
status 7603: resolved fixed
Couple of other fixes:
* Set correct user_id for createVolume event instead of hardcoding it to System (1)
* Deploy dhcp vm when Zone's gateway provider is External Firewall and network is Virtual
2010-12-28 17:32:17 -08:00
edison
920c7b3dd7
bug 7503: set hypervisor type when we create the cluster, as we already know the hypervisor type in adavnce when adding host.
...
status 7503: resolved fixed
2010-12-28 17:20:50 -08:00
Kelven Yang
271b1ee58a
add consoleproxy.disable.rpfilter configuration variable to get rid of the annoying access issue in development environment.
...
set it to true for development environment, it will allows traffic that comes in from public interface to be able to be routed back from private interface
2010-12-28 17:15:00 -08:00
alena
085824d524
1) Updated schema for data_center - provider fields can have NULL values.
...
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
edison
3a143577b9
bug 7659: fix the race condition that agent inside systemvm connecting to mgt server at the head of startcommand returning to mgt server, then got a NPE. and fix bugs in security group of KVM
...
status 7659: resolved fixed
2010-12-28 15:51:28 -08:00
alena
88afdb3313
Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly
2010-12-28 15:15:24 -08:00
abhishek
5d3173eabf
bug 7721: generically fixing the url decoder issue for all commands, wherein we block any input which contains % eg. name, displayText. We throw the apt error back to the UI for the user to act upon
...
status 7721: resolved fixed
2010-12-28 14:23:21 -08:00
anthony
68727778ba
bug 7620: this is caused by delayed volume creation,
...
doesn't make sence to create a template on empty volume, just don't allow it
status 7620: resolved fixed
2010-12-28 14:00:51 -08:00
anthony
0aa24c9ebf
bug 7686: when detach iso, always remove is from uservm table to make sure ISO is remove after stop/start
...
status 7686: resolved fixed
2010-12-28 12:06:24 -08:00
alena
2d316eabb7
bug 6056: Changed format for API error response.
...
status 6056: resolved fixed
Example of error response:
Json:
{ "updatedomainresponse" : {"errorcode" : "431, "errortext" : "Unable to find domain 4"} }
Xml:
<updatedomainresponse cloud-stack-version="1.9.1.2010-12-28T18:14:57Z">
<errorcode>431</errorcode>
<errortext>Unable to find domain 4</errortext>
</updatedomainresponse>
2010-12-28 10:36:04 -08:00
abhishek
1e17559d53
bug 7689: whilst editing pod, we were not calculating the netmask if the netmask is not passed down from the UI. Re-calculating the netmask, based on pod attribs in db
...
status 7689: resolved fixed
2010-12-28 10:31:07 -08:00
alena
52478aaf73
bug 7699: set correct account_id/user_id for createUser events
...
status 7699: resolved fixed
2010-12-27 19:54:36 -08:00
alena
7b3b9076b0
bug 6168: throw a runtime exception when unable to schedule Async job instead of returning jobId=0L
...
status 6168: resolved fixed
2010-12-27 17:00:29 -08:00
abhishek
719f3984d2
changing domain.suffix to guest.domain.suffix, along with associated deps
2010-12-27 17:00:07 -08:00
alena
b7317c12fa
bug 7616: Don't try to apply portForwardingRule when vm's nic is not set with Ip address
...
status 7616: resolved fixed
2010-12-27 15:50:57 -08:00
abhishek
344a151ffe
someone had commented out the domr code in the storage maintenance, enabling the same
2010-12-27 15:25:02 -08:00
alena
bb088a2e4c
bug 7489: Added events for network create/delete
...
status 7489: resolved fixed
2010-12-27 15:18:14 -08:00
alena
dceab9f18a
bug 7705: deletePortForwardingRule is Async now
...
status 7705: resolved fixed
Couple of other fixes:
* don't allow to send ipAssoc command when domR is in Starting/Stopping states as the command not async so it might be sent in parallel with domR stop/start and fail on the backend.
* DeleteIpForwardingRule api: set ownerId to rule owner id instead of hardcoding it to 1(System)
2010-12-27 14:17:17 -08:00
Kelven Yang
34cec61ff7
Don't blindly switch to XenServer in premium build if database is pre-populated with a hypervisor tyoe other then FOSS default KVM
2010-12-27 14:01:22 -08:00
abhishek
bb7170884d
bug 7677: fixing the volumes issue when we destroy a vm
...
status 7677: resolved fixed
2010-12-27 13:54:52 -08:00
abhishek
0da33ad39a
bug 7673,7645: fixing the vm expunge issue. also modifying the delete pod flow to only check for hosts that are NOT removed from the pod. also, checking for alerts on the pod whilst deleting pod is not right. we should be able to delete a pod regardless of alerts issued on the pod. the resolution of alerts is a separate issue
...
status 7673, 7645: resolved fixed
2010-12-27 11:29:36 -08:00
alena
8f7c0bc500
bug 7680: Use correct name ("source") for one of supported LB algorithms.
...
status 7680: resolved fixed
2010-12-27 09:19:47 -08:00
kishan
e51dc79000
bug 7504: Events refactoring
...
status 7504: resolved fixed
2010-12-24 19:38:28 +05:30
kishan
53d3455cbe
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
kishan
bb0e6a0ae3
bug 7504: Events refactoring
2010-12-24 12:58:32 +05:30
edison
2762f0c75e
release cpu/memory after vm stopped for a while
2010-12-23 22:06:01 -08:00
anthony
a4e791a10c
now, you can remove the last host in a cluster
2010-12-23 20:42:31 -08:00
alena
3e089166bb
Fixed listPublicIpAddresses for Direct guest network to return networkId associated with corresponding vlan (if null is returned, UI IP tab gives an error on listPublicIp)
...
Conflicts:
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
2010-12-23 18:33:41 -08:00
alena
dfaf7c4c5d
Remove vm from Load Balancers when vm is Expunged. Added more logging to vm expunge process
2010-12-23 16:23:51 -08:00
alena
928ab98dc6
Added new network Capability "TrafficStatistics" for LoadBalancer and Firewall services
2010-12-23 15:06:37 -08:00
alena
727f56e2ac
Mark all corresponding vm/lb mappings as Revoke when delete loadBalancer command is executed.
2010-12-23 14:14:05 -08:00
abhishek
35a8318134
bug 7606: fixing the delete zone functionality
...
status 7606: resolved fixed
2010-12-23 14:11:25 -08:00
alena
dfb736273c
PublicIpAddress response - search for default Public system network offering instead of hardcoding the id to 1.
2010-12-23 12:45:49 -08:00
edison
0d612c4d85
catch runtime exception
2010-12-23 11:58:32 -08:00
alena
b437b8b977
listPublicIpAddresses api: return networkId (the id of the network ip belongs to) and associatedNetworkId.
2010-12-23 11:52:44 -08:00
alena
eb1f1da035
Assert when capability is not supported by service
2010-12-23 11:52:44 -08:00
alena
3775ba043e
Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering.
2010-12-23 09:40:15 -08:00
nit
a6fca4ee64
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-23 15:09:56 +05:30
nit
1f4cb9b11e
bug 7519 : extract functionality - changing it to support http protocol. Making the URL's robust against the start and stop of agent on ssvm.
2010-12-23 15:08:46 +05:30
edison
ac4295d91f
bug 7605: fix release link local when domr stopped
...
status 7605: resolved fixed
2010-12-22 19:26:14 -08:00
Kelven Yang
1805c73363
1) Add HostStats support to vmwre
...
2) Normarlize HostStats to make it generic to all hypervisors
2010-12-22 16:27:02 -08:00
alena
ec9260ce62
bug 7619: Added list of Capabilities parameter for Network
...
status 7619: resolved fixed
2010-12-22 11:05:31 -08:00
edison
fe6824a66b
fix upload ova template
2010-12-22 10:16:12 -08:00
kishan
9837cba9f1
bug 7504: Add usage events for VM destroy and stop during account delete
2010-12-22 20:26:34 +05:30
kishan
b12cd70216
bug 7504: Added usage events and made corresponding changes in usage server
2010-12-22 18:03:24 +05:30
kishan
a7626fc991
bug 7504: Added usage events
2010-12-22 12:28:05 +05:30
kishan
dac008fc4b
bug 7504: Added started event when API command execute is called
2010-12-22 12:10:38 +05:30
abhishek
bb5859de83
bug 7615: enabling the system vms and domr to be ha-enabled by default
...
status 7615: resolved fixed
2010-12-21 17:44:32 -08:00
abhishek
d5a8136f14
bug 7585: adding logic to ensure empty strings are a valid input during zone edit
...
status 7585: resolved fixed
2010-12-21 14:03:46 -08:00
anthony
bcc327cad1
correct path in patch file
2010-12-21 13:38:40 -08:00
abhishek
6b1e4d92ef
made some changes to the vm expunge flow, also added a state transition to error for vm if creation fails
2010-12-21 12:48:13 -08:00
Chiradeep Vittal
1216ffd21a
WIP
2010-12-21 11:04:27 -08:00
abhishek
aed200492d
bug 7459: honoring the isBootable flag for isos
...
status 7459: resolved fixed
2010-12-21 10:37:26 -08:00
alena
51d1aa2f95
Fixed publicNetworkGuru to set Broadcast URI for Public tagged network.
2010-12-21 10:24:56 -08:00
Alex Huang
91573b6252
more changes
2010-12-21 03:56:01 -08:00
Alex Huang
0ecb0118ec
renamed the domainrouter services
2010-12-21 03:56:01 -08:00
Alex Huang
356526db83
Changed exception code to give the scope of the problem
2010-12-21 03:54:30 -08:00
alena
724b8d80bd
Don't allow to remove a network with deleteNetwork api when the network has active nics assigned
2010-12-20 20:20:09 -08:00
alena
21bb9df292
Fixed accountCleanup to release all public ip addresses and delete the corresponding networks.
2010-12-20 20:20:09 -08:00
anthony
a186ae1b3e
bug 7485: if volume is not created, creating snapshot on it will fail
...
status 7585: resolved fixed
2010-12-20 18:53:11 -08:00
edison
1cc03c9a4a
don't see why we need this code, so remove it
2010-12-20 18:07:10 -08:00
Chiradeep Vittal
1597671e73
Merge branch 'fixloadbalancer2'
2010-12-20 17:52:21 -08:00
alena
6a35f1bf31
Set broadcast domain type to Native for directPodBased network
2010-12-20 17:46:20 -08:00
Chiradeep Vittal
64a831dd50
Fix merge issues
2010-12-20 17:28:20 -08:00
Chiradeep Vittal
6da6330c3f
WIP to fix domr network integration
2010-12-20 17:28:20 -08:00
alena
b228ae6acb
Set domR access details (name, privateIp) for various commands - PF/LB/IPAssoc
2010-12-20 17:22:52 -08:00
alena
769b89b530
RestartNetwork command is async now
2010-12-20 17:22:52 -08:00
abhishek
d63e61c915
adding some code to ensure system vms come up for the direct untagged case (zynga setup). Also, checking in some changes on behalf of Alena
2010-12-20 16:33:57 -08:00
abhishek
6eacec782e
bug 7528: the vm expunge action wasn't destroying the volumes during vm destroy. Added logic to do that. Also, made sure the volumes are removed during vm expunge
...
status 7528: resolved fixed
2010-12-20 14:56:32 -08:00
Kelven Yang
626a03ad78
Make a Xen specific requirement for guid on cluster really Xen specific, so that it won't affect KVM/VMware
2010-12-20 14:53:14 -08:00
edison
bf1f6a2998
Don't need this logic anymore, as xenserver can't handle this case:
...
can't boot from an iso that different from the vm's template
Revert "more changes to the attach/detach iso and bootloader flow"
This reverts commit d8f771e05b .
2010-12-20 14:17:35 -08:00
anthony
2be0b45297
support xenserver 5.6 fp1 in oss
2010-12-20 14:18:10 -08:00
Kelven Yang
228eba363b
Add clustertype field to response of ListHostCmd. Improve UI display related with cluster/host
2010-12-20 14:08:59 -08:00
abhishek
583d4a2c2e
bug 7582: there was an error in re-starting user vm, due to the master refactor which happened. Fixed that regression
...
status 7582: resolved fixed
2010-12-20 12:40:44 -08:00
alena
ddc69cdd47
Assign sourceNat ip address to domR only, skip DHCP.
2010-12-20 10:47:06 -08:00
alena
116ddb3cae
Port forwarding rules support for domainRouterElement. When new pf rule is created for a public ip address, we resend all existing rules for this address to the domR.
2010-12-20 10:01:19 -08:00
alena
3cd989cbef
1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
...
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
anthony
baa6666897
create xenserver 5.6 patch file
2010-12-17 20:21:28 -08:00
Kelven Yang
f92482fabf
add clustertype and hypervisortype to ListClusterCmd API, improve addHost UI to deal with multi-hypervisor
2010-12-17 19:41:35 -08:00
alena
ecc4297219
Use Equal instead of Like when listPublicIpAddresses by ip
2010-12-17 17:30:01 -08:00
Kelven Yang
e03693f0aa
Make AddClusterCmd API generic to all hypervisors, change UI accordingly also
2010-12-17 16:30:27 -08:00
abhishek
a54c5e8949
fixing the issue wherein public network guru failed to get ip address for direct network in case of security groups
2010-12-17 16:16:51 -08:00
alena
59cf483043
Added "state" parameter to LoadBalancerRules response
2010-12-17 12:50:09 -08:00
abhishek
75b02e806d
bug 7484: Fixing the issue of management server crashes on setting values for timer intervals to be 0 or less
...
status 7484: resolved fixed
2010-12-17 12:39:39 -08:00
alena
ca92c28e0e
Fixed setupNetwork command to use vlan tag instead of vlan dbId.
...
Changed LoadBalancerConfigCommand to use Array data structrue instead of List as list is not handled well by gson.
2010-12-17 12:07:06 -08:00
edison
a826655740
minor fix: retry if network is unavailable
2010-12-17 11:52:53 -08:00
alena
8807fc8677
Don't send applyLB command to the backend when domR is stopped.
2010-12-17 09:57:48 -08:00
alena
ec1749a3bc
Removed unused code that was commented out previously.
2010-12-17 09:41:10 -08:00
alena
0049c74a5e
1) Different format for LoadBalancerCommand.
...
2) When apply lb rule for domR, resend all lb rules belonging to the lb network
2010-12-17 09:37:13 -08:00
anthony
7faf41e04e
pass pooluuid to xen.configure
2010-12-16 18:55:40 -08:00
abhishek
376d5da45d
bug 7106: fixing the account updating bug
...
status 7106: resolved fixed
2010-12-16 17:32:22 -08:00
Kelven Yang
294332c6e0
fix issues in addExternalCluster command
2010-12-16 17:24:54 -08:00
abhishek
d73e06a938
bug 7509: adding search by id for security groups, also refactoring a few method names to use the new scheme
...
status 7509: resolved fixed
2010-12-16 16:47:57 -08:00
Kelven Yang
4a6933fa9e
1) Enable addExternalCluster API command
...
2) UI changes for new addExternalCluster API command (for vmware)
2010-12-16 16:40:32 -08:00
anthony
6419e49977
add guid in cluster table
2010-12-16 16:28:56 -08:00
abhishek
5154ba1539
bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying
2010-12-16 15:37:19 -08:00
keshav
a25aeb4007
Added a configuration variable to keep track of the number of bits to reserve for VLAN information in guest network subnets.
2010-12-16 15:15:21 -08:00
Alex Huang
a7a4d92739
Renamed Start2 to Start
2010-12-16 14:18:53 -08:00
Alex Huang
e613ecaba0
unit test passed
2010-12-16 14:04:32 -08:00
Alex Huang
65d0b32182
removed a bunch of old code
2010-12-16 14:04:32 -08:00
Alex Huang
39cc371e78
network gc
2010-12-16 14:03:21 -08:00
edison
5279ac1468
fix expunge
2010-12-16 13:22:42 -08:00
alena
0d1c529175
Fixed revokeRule method to set FirewallRule state to Revoke in the DB.
2010-12-16 12:19:53 -08:00
alena
d427cdae1e
1) Return associatedIpAddress in listPublicIpAddresses command.
...
2) Disabled create/deleteNetworkOffering API commands
2010-12-16 12:07:09 -08:00
alena
7224e1ccd2
Implemented applyLoadBalancer rules in domainRouterManager
2010-12-16 10:40:58 -08:00
Kelven Yang
65c094a2c0
Add a API to allow adding external hypervisor cluster
2010-12-16 10:00:42 -08:00
alena
52e6e4d06e
bug 6930: return async job info in listHost/listStoragePools commands
...
status 6930: resolved fixed
2010-12-15 18:58:56 -08:00
alena
4ca2b8808b
Fixed ipAssoc command to throw an exception when virtual network is null
2010-12-15 17:25:45 -08:00
alena
2da50d881b
bug 7498: fixed search by keyword in listVolumes
...
status 7498: resolved fixed
2010-12-15 16:23:07 -08:00
alena
b383aaceec
bug 7517: Added an ability to specify vm's host name during vm Deploy using "name" parameter. The parameter is optional.
...
status 7517: resolved fixed
Name should follow these rules:
* must be between 1 and 63 characters long and may contain only the ASCII letters 'a' through 'z', the digits '0' through '9', and the hyphen ('-').
* can not start with a hyphen, and must not end with a hyphen
Once name is set (during vm deploy), it can't be modified.
2010-12-15 15:52:16 -08:00
Kelven Yang
2719972cf6
Let discovers be able to identify itself
2010-12-15 14:15:13 -08:00
abhishek
37996132ed
some more changes for the account creation
2010-12-15 13:47:45 -08:00
alena
c1db5b6fc0
1) Fixed associate/disassociateIP address commands. The procedure is changed from 2.1, right now on single ipAssoc command we get a new ip and reapply all exising ip associations.
...
2) Added restartNetwork API command. Currently the command reapplies ip addresses for the network. TODO - reapply PF/LB rules and restart the domR.
2010-12-15 11:39:30 -08:00
will
7385118528
Fixed the build due to including some wrong class.
2010-12-14 15:54:47 -08:00
abhishek
6ae9e73c0b
bug 7466: adding a whole bunch of new apis for accounts and users; merging account locking and disabling into one; preventing account manipulation on user disabling; disabling user lock
2010-12-14 15:38:37 -08:00
edison
e39f664e89
fix storage creation bugs
2010-12-13 20:48:31 -08:00
alena
58f2c90608
listLoadBalancerInstances command: don't show vms as available for LB assign when it's Nic ipv4 field is NULL.
2010-12-13 18:33:47 -08:00
alena
d673686f5f
Added Availability field for NetworkOffering. Added updateNetworkOffering API command
2010-12-13 18:28:33 -08:00
abhishek
5e61be67fd
fix bugs in allocator
2010-12-13 16:42:25 -08:00
alena
d077b127aa
bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
...
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
alena
65f53e3910
1) Create default networks for zones specified in server-setup.xml file
...
2) Direct pod based netwoks is taken care by DirectNetworkGuru now
2010-12-13 14:03:19 -08:00
abhishek
33f71e1250
bug 7408: returning the source id and source type for vol creation
...
status 7408: resolved fixed
2010-12-13 12:38:43 -08:00
alena
c7a9267225
Delete network as a part of account cleanup
2010-12-13 10:47:10 -08:00
Kelven Yang
dedfe57280
seraral fixes for VMFS storage
2010-12-11 11:08:39 -08:00
alena
7d7817ecba
Delete corresponding networks during zone deletion.
2010-12-10 20:42:38 -08:00
alena
8db9f9fbdb
Fixed listLoadBalancerRuleInstances to list only instances belonging to LB rule network
2010-12-10 20:42:37 -08:00
alena
cc98337eb6
Create default networks when zone is created
2010-12-10 19:25:23 -08:00
alena
87ee0cae79
Fixed createPod command
2010-12-10 18:26:07 -08:00
Alex Huang
7cfbd5b7e0
missing mac fields
2010-12-10 17:20:31 -08:00
Alex Huang
790bf40be6
Forgot what i change but must be important
2010-12-10 17:20:31 -08:00
alena
d9c77e0d16
bug 7416: return guest/private/public ip/netmask/gateway info for the domR instead of returning list of nics
...
status 7416: resolved fixed
2010-12-10 16:35:05 -08:00
alena
acef5c9f5c
Fixed listLoadBalancerRuleInstances to return all vms in the system for the ROOT admin
2010-12-10 15:35:07 -08:00
alena
88d6ff2136
bug 7467: release IP address works now.
...
status 7467: resolved fixed
Fixed all load balancer commands to work with the latest networking code
2010-12-10 15:12:32 -08:00
abhishek
9c8d8d1dc4
bug 7474: implementing search for public ip address for a zone, without the filter for vlan db id.
...
status 7474: resolved fixed
2010-12-10 15:04:18 -08:00
abhishek
cebf829f13
fixing add host failure
2010-12-10 14:03:36 -08:00
Alex Huang
d27c0c4b01
mac addresses for private ip addresses
2010-12-10 13:36:40 -08:00
abhishek
d8f771e05b
more changes to the attach/detach iso and bootloader flow
2010-12-10 13:24:57 -08:00
abhishek
7bab80895c
fixing a npe in listIsos call; the pageSize is being passed as null. For this release, defaulting it to a large value if null. May need to revisit later
2010-12-10 10:58:18 -08:00
Alex Huang
8ac694bf55
changes from testing
2010-12-10 09:29:23 -08:00
Alex Huang
3f9d797594
Changes to how public ip addresses are allocated
2010-12-10 08:38:21 -08:00
Alex Huang
68932929fb
Changes to how public ip addresses are allocated
2010-12-10 08:38:20 -08:00
Alex Huang
2d4432d87e
network shutdown code
2010-12-10 08:38:20 -08:00
edison
b24cf4715b
bug 6278: fix the race condition that take snapshot/and delete snapshot at the same time
...
status 6278: resolved fixed
2010-12-10 00:27:44 -08:00
anthony
dcb40b5b15
Revert "add new api SetVMOSTypeCmd"
...
This reverts commit 543b2615db .
Conflicts:
api/src/com/cloud/api/commands/SetVMOSTypeCmd.java
2010-12-09 23:38:52 -08:00
edison
f48af6ec43
bug 7317,7013: return error message if creating snapshot from KVM host os that not supported snapshot
...
status 7317: resolved fixed
status 7013: resolved fixed
2010-12-09 21:19:35 -08:00
alena
2f0f78ff73
Set trafficType to Public insteand of Guest for Direct network
2010-12-09 21:06:48 -08:00
alena
7e9579dab2
Fixed create/list LoadBalancerRules
2010-12-09 21:06:48 -08:00
edison
04f3a4baa9
bug 7441: fix ipassoc when starting router
...
status 7441: resolved fixed
2010-12-09 20:25:27 -08:00
Kelven Yang
68e6706fbe
Fix a number of issues related with vmware on new networking
2010-12-09 19:33:30 -08:00
root
471a0e73fe
fixing a bug wherein the template/iso gets deleted from the host once upload, on a ms restart. it still exists in db. any further attempt to create vm from this template/iso results in failure.
2010-12-09 18:56:30 -08:00
edison
712953156b
fix boot from iso/attach iso/disks issue
2010-12-09 14:25:44 -08:00
alena
c34e2c6c54
Don't return nics for system vms and domain routers. Return private/public/guest ip info instead
2010-12-09 13:56:39 -08:00
alena
88fa5337ca
Fixed responses for userVm/domainRouter/SystemVm: added nic information.
2010-12-09 13:24:40 -08:00
abhishek
3681991b38
adding some comments around tag edit disabling for service and disk offerings
2010-12-09 13:04:38 -08:00
keshav
198cab4dee
Added support code for external firewalls and loadbalancers. Added new host types and startup commands, and enabled NicVO to reserve IPs for external network resources.
2010-12-09 11:40:02 -08:00
alena
157156dd35
1)Introduced new Network Guru - used for direct tagged network.
...
2)Made vm start with multiple networks
2010-12-09 11:12:29 -08:00
alena
8fb948650f
Fixed createPortForwardingRule command.
...
Modified createVlanIpRange command: added optional networkId parameter; only startIp parameter is required now.
2010-12-09 11:12:29 -08:00
Jessica Wang
d2bd6e522e
bug 7448: add domain parameter in returned objects from listNetworks API. (changed by Alena)
2010-12-09 09:57:23 -08:00
Jessica Wang
e256a3a037
bug 7448: add forVirtualNetwork parameter to ListVLANIpRange. (by Alena)
2010-12-08 18:37:00 -08:00
Kelven Yang
b285bbb683
new networking change integration
2010-12-08 18:30:30 -08:00
abhishek
b0703c2298
removing misleading comment as we do not user the msid in custom cert flow
2010-12-08 18:09:03 -08:00
edison
ea71ade08f
bug 7454: return the full version number
...
status 7454: resolved fixed
2010-12-08 17:34:10 -08:00
Alex Huang
f497e8eab3
Make VMWare work
2010-12-08 17:08:30 -08:00
Alex Huang
28aa64287f
removed VirtualMachineGuru from UserVmManagerImpl
2010-12-08 17:08:29 -08:00
abhishek
8ea2959f71
sending back a account_error errorcode for trying to log into a locked account. also, changing the domainId to domainname for this error
2010-12-08 16:11:16 -08:00
abhishek
61cf2308a1
bug 7264: removing the unused param direct.attach.untagged.vlan.enabled; also changing the use of this param to Data_center.networktype.basic usage as this maps to the removed param in the case of direct untagged network. This is used in a check in recreatehostallocator
2010-12-08 16:11:16 -08:00
alena
829d6fe8a0
Fixed listIpForwardingRules command: made ipAddress required, added vm and rule state info to the response.
2010-12-08 14:28:37 -08:00
alena
1f7d74dbec
1) Disabled updatePortForwardingRule api command.
...
2) Added vm information (id, name, display_text) to all port forwarding rule responses.
2010-12-08 14:28:37 -08:00
alena
d1331b26bf
Fixed Dhcp instance - set dhcp range to the first ip address of the subnet instead of cidr.
2010-12-08 12:11:34 -08:00
alena
a5d2f8ba5c
Removed check for default nic
2010-12-08 12:11:34 -08:00
alena
013ed05ca7
Don't do transition from Implemented to Setup for network
2010-12-08 12:11:34 -08:00
abhishek
aad17a9896
removing the @DB annotation as I am not using a txn anymore
2010-12-08 10:43:05 -08:00
abhishek
f2b2066afb
bug 7204: adding an upgrade step. This updates all zones to basic networking if direct.attach.untagged.vlan.enabled is true, else to advanced.
...
status 7204: resolved fixed
2010-12-08 10:34:45 -08:00
abhishek
8fa364e4d5
first part of checkin, wherein network.type param is being removed
2010-12-08 09:58:12 -08:00
Alex Huang
e49fab6903
Renamed MauricMoss now that we're going public with this.
2010-12-08 09:28:01 -08:00
Alex Huang
9bae18d915
merge changes
2010-12-08 09:17:44 -08:00
Alex Huang
2c42ebbf71
ip assoc working
2010-12-08 09:03:34 -08:00
Alex Huang
49c77cf0cf
merge changes
2010-12-08 09:03:34 -08:00
Alex Huang
beee7aac2c
merge changes
2010-12-08 09:03:34 -08:00
Alex Huang
f794abfdef
ip addresses are now separated from domR
2010-12-08 09:03:34 -08:00
nit
83145c38fd
bug 7410 : listTemplates and ListIsos - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end.
...
status 7410: resolved fixed
2010-12-08 19:46:04 +05:30
alena
c2bec9fec4
Set network state to Implemented when implement network in Setup state.
2010-12-07 19:57:58 -08:00
alena
a06a07f48d
Setup dhcp range in correct place
2010-12-07 19:18:08 -08:00
alena
e279389c2b
Added created/removed fields to Nics and Networks tables.
2010-12-07 18:08:05 -08:00
alena
2ffcbb8815
Added isSystem parameter for listNetworks command, default value is false. If it's set to true, only system networks with trafficType=Public and and zone=Advanced are gonna be returned
2010-12-07 16:36:34 -08:00
alena
c8bd857db6
Set type and dhcp range in finalizeVirtualMachineProfile
2010-12-07 15:51:04 -08:00
abhishek
bf987c57d9
bug 6838: during vm creation, the volume's device id wasn't set leading to npe during attaching a new vol to the vm (it checks for device ids)
...
status 6838: resolved fixed
2010-12-07 14:59:54 -08:00
alena
954756d69b
Introduced new NetworkElement - DhcpElement.
2010-12-07 13:47:59 -08:00
alena
e3e34be36d
ListVlanIpRanges can list by networkId now.
2010-12-07 10:17:44 -08:00
edison
20b677be10
add public/private/guest network in each type of vm
2010-12-06 18:36:46 -08:00
alena
a67e91253f
Don't allow to create network offering of DirectPodBased type
2010-12-06 17:42:23 -08:00
alena
fb4c448762
Don't create default pod/zone
...
Create untagged network as a part of createZone command
2010-12-06 16:48:25 -08:00
anthony
543b2615db
add new api SetVMOSTypeCmd
...
user can update to PV kernel or HVM kernel as they want,
2010-12-06 15:57:18 -08:00
Alex Huang
128bdbffa9
macaddress generation
2010-12-06 15:55:44 -08:00
Alex Huang
d890189a92
missing default values for providers
2010-12-06 15:20:13 -08:00
edison
8440fb1aa0
add default vaule for dns provider etc, in datacentervo
2010-12-06 15:07:28 -08:00
Alex Huang
d8fe8c3012
everything seems to be starting and running again
2010-12-06 14:17:53 -08:00
Alex Huang
87626bea6b
start vm is working
2010-12-06 14:17:53 -08:00
Alex Huang
e217c89028
start vm not working again
2010-12-06 14:17:53 -08:00
Alex Huang
f147bf5f94
start vm not working again
2010-12-06 14:17:53 -08:00
Alex Huang
fcdd20ca06
more checkin
2010-12-06 14:17:53 -08:00
alena
a230a5fed9
createNetwork - specifyVlan parameter applies for regular users only.
2010-12-06 14:11:53 -08:00
edison
7db0e79692
fix NPE when starting system vm
2010-12-06 14:03:56 -08:00
abhishek
10f319ecd7
bug 6800: introducing a vm error state and fixing a couple of bugs introduced by the new networking model and around vm destroy
2010-12-06 14:03:10 -08:00
abhishek
f902a9fa1f
fixing a bug encountered during the destroy vm op; we were returning back a guru based on the wrong type: vm instead of vm.getType() which resulted in a npe.
2010-12-06 14:03:10 -08:00
abhishek
82196754c2
adding the check for error state whilst stopping a vm; if stop is called on a vm in error state, just return
2010-12-06 14:03:10 -08:00
abhishek
ee42699865
on a vm destroy op for a vm in error state, transition to expunging state. also expunge all vms in the error state during the expunge process.
2010-12-06 14:03:10 -08:00
abhishek
b4dd261fc2
introducing a new error state
2010-12-06 14:03:10 -08:00
edison
469d4e6e65
use internal dns instead of public for ssvm
2010-12-06 13:55:16 -08:00
Kelven Yang
c2ada1d8d8
bug 6905: send better response error message when service is not fully ready to serve requests
2010-12-06 13:48:56 -08:00
alena
ade1b2665b
Removed podId from createNetwork api command
2010-12-06 13:25:37 -08:00
alena
856914a0ab
NetworkId is optional for deployVm when we deploy it in Basic zone
2010-12-06 13:25:36 -08:00
edison
4f92608abf
fix nfs mountpoint
2010-12-06 13:18:04 -08:00
anthony
6cbe5208cf
don't need to handle ReadyAnswer in AgentHandler
2010-12-06 13:08:29 -08:00
edison
fd7960f13d
fix secondary storage in new networking mode
2010-12-06 12:40:52 -08:00
alena
5571b444f2
1) Don't allow to delete a vlan if it has network associated with it. Also don't show such vlans in listIpRanges command.
...
2) Return vlan in create/list networks command.
3) Implemented list networks by type.
4) Changed listVlanIpRanges to return start/endIps in separate tags instead of returning them in description.
2010-12-06 12:36:09 -08:00
alena
8b99a8e15c
NetworkIds parameter is required now for deployVmCmd.
2010-12-06 10:57:35 -08:00
alena
31b3b79f5a
Changed create/updatePod to accept netmask/gateway instead of cidr
2010-12-06 10:08:07 -08:00
alena
cd8513598f
Return trafficType/networkType as a part of Nic information for listSystemVms/listDomainRouters/listUserVms.
2010-12-06 09:43:37 -08:00
alena
619d378095
Set specifyVlan=true for default Direct network offering
2010-12-06 09:23:15 -08:00
alena
0dbd21fe23
createNetwork command accepts netmask/gateway instead of cidr. Also return start/endIp in the createNetwork response.
2010-12-06 09:18:02 -08:00
nit
a38c18220c
bug 7410 : listTemplate - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end.
2010-12-06 19:47:33 +05:30
nit
39eb645b04
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-06 14:07:24 +05:30
nit
c81f010a21
bug 7422 : Register Template/ISO response would include domain name as well.
...
status 7422: resolved fixed
2010-12-06 13:30:23 +05:30
edison
5c73e46113
bug 7296: add kvm.public.network.device and kvm.private.network.device from UI
...
status 7296: resolved fixed
2010-12-04 20:01:10 -08:00
Alex Huang
98eb58bf84
callCreate to create
2010-12-04 17:58:16 -08:00
Alex Huang
cf032b7a3a
more changes
2010-12-04 17:33:02 -08:00
Alex Huang
16cccf4f59
ip address modifications. removed old deploy
2010-12-04 17:32:32 -08:00
Alex Huang
16caf1954b
New ip address states and mode
2010-12-04 17:32:32 -08:00
Alex Huang
daa9add158
removed router stuff from network manager
2010-12-04 17:32:31 -08:00
edison
3bd089acb5
don't break old code
2010-12-04 16:49:05 -08:00
edison
525cb3dd5d
don't break old code
2010-12-04 16:39:10 -08:00
edison
e591f56b25
add logs, and don't break old code
2010-12-04 15:02:03 -08:00
edison
b7cdae2688
fix for migration
2010-12-04 15:02:03 -08:00
edison
d17beeb348
move all the vm's state machine to itmgr->statetransitTO
2010-12-04 15:02:02 -08:00
edison
2e3ef1408c
refactor
2010-12-04 14:59:40 -08:00
edison
e99cc740e6
add more checks in alloctor
2010-12-04 14:59:39 -08:00
edison
f3c7012508
remove capacity
2010-12-04 14:59:39 -08:00
edison
41fdbfc65e
new allocator
2010-12-04 14:59:39 -08:00
alena
150d684e05
1) isShared attribute belongs to Network now, not NetworkOffering
...
2) Added list by networkId support to listVirtualMachines command.
3) Implemented search by zoneId in listNetworks command
2010-12-03 19:07:08 -08:00
Kelven Yang
cc7dc5e6be
Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare
2010-12-03 18:59:23 -08:00
will
01d937ca5e
Removed old service offerings and enabled the new network framework.
2010-12-03 17:40:06 -08:00
abhishek
bd89804a18
bug 7406: returning child domains for domain admin user
...
status 7406: resolved fixed
2010-12-03 16:28:16 -08:00
abhishek
f6f5ba5529
bug 5881: fixing the domain name edit, with the updating of path of all the child domains
...
status 5881: resolved fixed
2010-12-03 15:35:36 -08:00
alena
cb605e626a
listNetworks api - return only networks belonging to the caller plus Shared networks when command is called without any parameters
2010-12-03 14:15:30 -08:00
alena
2759e422f5
Return type/trafficType in the listNetworks response
2010-12-03 13:48:43 -08:00
alena
9f11f52611
listNetworks - don't return Networks created from systemOnly network offerings
2010-12-03 12:31:30 -08:00
Alex Huang
96ac136b8c
changed getAccountId to getEntityOwnerId
2010-12-03 11:59:45 -08:00
anthony
4f2790c09b
move db migration to script
2010-12-03 11:24:25 -08:00
root
8a4d170892
correct misspelling
2010-12-03 10:06:48 -08:00
abhishek
4fc18ce760
bug 7414: defaulting startretry to 10 at all references in code
2010-12-03 09:54:21 -08:00
abhishek
286fa7248b
bug 7414: changing the start.retry param to 10
...
status 7414: resolved fixed
2010-12-03 09:49:01 -08:00
Alex Huang
5db9ba61d9
extra comma
2010-12-03 09:47:12 -08:00
abhishek
b0abda3c49
some changes to domain specific offerings for the UI to consume
2010-12-03 09:37:02 -08:00
Alex Huang
a8b617c596
port forwarding is now in
2010-12-03 08:48:03 -08:00
Alex Huang
3aa19666cf
merge with master
2010-12-03 08:48:03 -08:00
Alex Huang
b859e103d8
ip nat rule forwarding done
2010-12-03 08:48:03 -08:00
Alex Huang
9a70ee54f0
portforwarding is working
2010-12-03 08:48:03 -08:00
Alex Huang
bb78986ddb
port forwarding working
2010-12-03 08:48:02 -08:00
Alex Huang
223688d0bf
Port forwarding rules and load balancing rules rewrite
2010-12-03 08:48:02 -08:00
nit
94cb30a745
bug 7412 : UpdateTemlate - Adding some fields keeping it consistent with listTemplates
...
status 7412: resolved fixed
2010-12-03 20:06:16 +05:30
nit
b543faeeee
bug 7366 : Removing the bootable field from "createTemplate","registerTemplate","listTemplate" and "updateTemplate" commands.
...
Making some db changes for a successful ant deploydb
status 7366: resolved fixed
2010-12-03 18:31:08 +05:30
nit
d7b8e93f22
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-03 14:32:22 +05:30
nit
f5279e74a6
bug 7403 : Correct NPE for ListIso command.
...
status 7403: resolved fixed
2010-12-03 14:31:38 +05:30
alena
f8a687ab23
1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
...
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
anthony
6f1eb4bf44
bug 7144: return snapshotId with jobid
...
1. manual and recursive snapshot use the same command
2. upgrade from 2.2 beta1 to beta need to execute schema-22beta1to22beta2.sql and data-22beta1to22beta2.sql
3. upgrade from 2.1GA to 2.2GA need to execute schema-21to22.sql and data-21to22.sql
status 7144: resolved fixed
2010-12-02 19:23:34 -08:00
anthony
d184c56ef3
cleanup snapshot code
2010-12-02 19:23:33 -08:00
abhishek
dd9fd57514
changing the logging and error msgs from 1:1 NAT to static NAT (in accordance with the feature being called static and not 1:1 NAT)
2010-12-02 15:50:04 -08:00
abhishek
e353b7ac2d
we use 2 different tables for ip/port fwding and load balancer rules respectively. when we create a new static nat rule, this checkin tests against existing records in either of these tables based on the public ip address being mapped. if such a rule exists in either table, we do not permit creation of a static nat rule on this public ip
2010-12-02 15:50:04 -08:00
abhishek
66186ca876
bug 7348: fixing the issue of the static nat rules not being re-programmed on a domr stop/start or a domr reboot
...
status 7348: resolved fixed
2010-12-02 11:16:33 -08:00
abhishek
dc5c82456c
bug 7352: implemented security for the list ip fwding rules cmd, to filter results based on user
...
status 7352: resolved fixed
2010-12-02 09:49:47 -08:00
abhishek
d0fc07496f
search functionality for ip forwarding rules, with covering of cerner cases
2010-12-02 09:46:32 -08:00
abhishek
d28d6894e1
adding security checks for list ip forwarding rules command
2010-12-02 09:46:32 -08:00
nit
ad571eef36
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-02 17:36:26 +05:30
nit
9a3a5b4fa7
bug 7314 : Extract Api - Async Framework takes care of updating the final status no need to update it inside the code.
...
status 7314: resolved fixed
2010-12-02 17:35:47 +05:30
kishan
794c83f011
bug 7216: show capacity alerts at pod level instead of zone
...
status 7216: resolved fixed
2010-12-02 15:20:05 +05:30
kishan
0b76c26ce9
bug 7216: show capacity alerts at pod level instead of zone
...
status 7216: resolved fixed
2010-12-02 14:11:38 +05:30
will
cd5afb3d7e
bug 6969: Fixed snapshots, templates, isos, routers, volumes, and system vms async commands to make use of the new job id/job status when listing objects with pending jobs.
2010-12-01 16:50:56 -08:00
anthony
17f3239f07
bug 7368: should get volumeVO even if it is removed
...
status 7368: resolved fixed
2010-12-01 16:11:47 -08:00
abhishek
a477d6c33c
adding support for updating service and disk offerings, also adding domain and domainid back in the responses to the CRUD methods for both service and disk offerings
2010-12-01 10:40:08 -08:00
abhishek
b51a7fec50
adding a security checker whilst creating a volume from a disk offering
2010-12-01 09:53:13 -08:00
abhishek
4387e2ca0a
another good point to commit; the basic domain specific disk offering functionality is now in place
2010-12-01 09:53:13 -08:00
abhishek
402baae9fa
adding comments for the domain checker, so that the design decision is better understood down the road
2010-12-01 09:53:13 -08:00
abhishek
1dfdcf51cb
another good point for checkin, added the domain checker for checks against service offerings, whilst deploying virtual machines
2010-12-01 09:53:13 -08:00
abhishek
9a6eaaf21f
this is a good point to commit the code; have the basic domain specific service offering working
2010-12-01 09:53:13 -08:00
will
c67d26cec4
bug 6969: First step of now displaying pending async jobs for listXXXCommands. There is a lot more cleanup and fixing to do but all commands acting against VirtualMachines now work.
2010-11-30 19:12:09 -08:00
Kelven Yang
677394c27a
Remove retired configuration varable
2010-11-30 16:23:15 -08:00
Kelven Yang
83736a1af5
Add URI component encoding to URI util class to help utilize URL info in hypervisor host address
2010-11-30 16:23:15 -08:00
alena
680812f675
bug 7223: page and pagesize parameters must be specified together "list" api commands
...
status 7223: resolved fixed
2010-11-30 11:31:34 -08:00
nit
b5f9ae0ef3
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-11-30 23:48:13 +05:30
nit
2f946f6030
bug 7366 : Mark template as removed if create private template from volume fails due to being attached to a non-stopped VM. This allows subsequent creation of a template with the same name.
...
status 7366: resolved fixed
2010-11-30 23:47:04 +05:30
abhishek
1aee756184
bug 7345: During the expunge operation, we were not calling the deleteipforwardingrule method, for a rule which was static nat. Adding that logic. Also, making a change in the domr script as we do not need to execute a line on deletion of a rule
...
status 7345: resolved fixed
2010-11-30 10:07:10 -08:00
Kelven Yang
54f177cacc
1) Make generic dao be able to persist UTF-8 string for internationalization support
...
2) Undo gson Unicode escape in API response object to avoid double escaping which can break Javascript from getting correct text content
3) Correct API layer in dealing with character encoding
4) Remove double escape in cloud.core.js
2010-11-30 09:40:54 -08:00
Kelven Yang
fa9c882d8c
Add VMWare hypervisor guru
2010-11-30 09:40:53 -08:00
nit
06c61f2fac
bug 7325 : We shouldn't allow attaching xen-pv-iso to any hypervisor other than xenserver.
...
status 7325: resolved fixed
2010-11-30 22:20:33 +05:30
nit
a6a774f6c0
bug 7369 : Resolving NPE while creating a private template from detached volume. The instance id is null when it is detached which was the culprit here.
...
status 7369: resolved fixed
2010-11-30 15:49:29 +05:30
anthony
fb0675bbf4
bug 7365: return both physical and virutal size when creating private template
...
status 7365: resolved fixed
2010-11-29 18:58:48 -08:00
anthony
d3325de5ae
1. limit xs-tools in xenserver related java file
...
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
abhishek
0273872b34
bug 7362: we were missing the size validation check, when we create a volume from disk offering (the storage.max.volume.size param wasn't being used for validation). Fixed the same, made the validation method name more generic to be applicable to all validations, and changed the param description to denote GB as the unit
...
status 7362: resolved fixed
2010-11-29 17:23:16 -08:00
abhishek
bdf4426609
fixing the same issue in another command (found whilst checking references)
2010-11-29 13:38:06 -08:00
abhishek
1a0ec2a00f
bug 7346: fixing the corner case where list ip forwarding rules is called for a rule, which is yet to be expunged, but the vm is destroyed. if you call list here, an npe results
...
status 7346: resolved fixed
2010-11-29 13:35:04 -08:00
abhishek
dce3f9fa3b
bug 7344: preventing enabling of static nat on an ip for more than one instance. Check the nat flag, and error out if set
...
status 7344: resolved fixed
2010-11-29 11:56:34 -08:00
anthony
385054fccf
bug 7338: update template physical size
...
status 7338: resolved fixed
2010-11-29 11:23:47 -08:00
Alex Huang
d40700b286
Changed firewall rule's constructor
2010-11-29 09:38:13 -08:00
anthony
30fa6530f9
bug 6088: track template physical size in template_host_ref table
...
add migration from 21 to 22
after migration , SSVM needs to stop/start
status 6088: resolved fixed
2010-11-24 20:05:52 -08:00
Kelven Yang
23f274cfd2
Send AttachVolume command even if VM is not in running state under vmware case
2010-11-24 15:17:09 -08:00
Kelven Yang
dd9b1634f7
Allow host behind cluster to return real VNC host IP address
2010-11-24 15:17:08 -08:00
Kelven Yang
fd1beef28b
Someone commited a change in ConsoleProxyManagerImpl that breaks down system VM, let's blame git for now on this
2010-11-24 15:17:07 -08:00
alena
aa8aa6027a
Modified UserContext - got rid of accountName, domainId fields as we can get this information from Account field.
2010-11-24 14:29:08 -08:00
abhishek
1950bf7a99
changing the nat feature to work with kvm
2010-11-24 10:04:24 -08:00
alena
44737d24c5
bug 7196: fixed response object generation for authorizeNetworkGroupIngress command (response type is Network group response - the way it was in 2.1.x - instead of IngressRule response)
...
status 7196: resolved fixed
Also fixed revokeNetworkGroup command - didn't work via 8096 port
2010-11-24 09:50:04 -08:00
nit
d0530265d7
bug 7046 : Global admins should be allowed to extract all the times.
...
status 7046: resolved fixed
2010-11-24 19:33:15 +05:30
nit
841044e360
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-11-24 18:38:23 +05:30
nit
8ea124ae79
bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
...
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
kishan
f70071dc98
bug 6309: Added event VM.UPDATE along with changed fields
...
status 6309: resolved fixed
2010-11-24 18:36:35 +05:30
kishan
19dcbb8d8e
bug 7246: changed event name to TEMPLATE.CLEANUP when cleaning up templates on sec storage. Usage won't track this event
...
status 7246: resolved fixed
2010-11-24 17:48:19 +05:30
anthony
c39d211a48
merge from 2.1.x
2010-11-23 18:55:23 -08:00
abhishek
5543814f39
blocking the static natting of an ip address, if it is already source natted
2010-11-23 16:39:02 -08:00
abhishek
3d4b8ab4a0
bug 7263: changing the param name. Found a couple of bugs whilst testing this, the validation of vol size whilst cust vol creation was missing. Adding the same.
...
status 7263: resolved fixed
2010-11-23 16:20:30 -08:00
alena
f4908758b3
bug 7234: don't try to delete pod level vlan when it doesn't exist
...
status 7234: resolved fixed
2010-11-23 15:06:29 -08:00