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
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