Commit Graph

672 Commits

Author SHA1 Message Date
anthony e91e0b4174 bug 9997:
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.

status 9997: resolved fixed
2011-06-13 16:45:13 -07:00
kishan 39ded44bb6 bug 8373: Added new API listEventTypes 2011-06-13 19:11:48 +05:30
kishan 5a6664ab12 bug 8373: Added new API listEventTypes 2011-06-13 19:11:12 +05:30
nit 197dc6cf6e registerIso - remove hardcoding of GuestosId when its None. Retrieve it from DB. 2011-06-13 19:04:27 +05:30
kishan 44ec82a28b bug 8992: Added volume ID for snapshot create starting and completed events
status 8992: resolved fixed
2011-06-13 15:08:10 +05:30
Abhinandan Prateek a4bdeffd61 bug 8962: changes for vms using virtual network 2011-06-13 14:56:00 +05:30
Murali Reddy 6310991bdc bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 10:55:57 +05:30
Murali Reddy 8d56093bdc bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 09:13:15 +05:30
Alex Huang 2688d61a1e bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object. 2011-06-11 13:45:28 -07:00
nit 53cb1beff5 bug 9885 : registerIso - Improving the documentation for the parameter bootable,guestOsId. The later needs to be passed whenever the bootable parameter is true.
status 9885: resolved fixed
2011-06-11 14:26:27 +05:30
Kelven Yang 1e9efb2f86 bug 10214: merge fixes from 2.2.8/2.2.4 2011-06-10 14:29:01 -07:00
alena 53bdd625b8 bug 9579: allow domain name suffix update for existing networks.
Block update only in these cases:

* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)

Conflicts:

	server/src/com/cloud/vm/dao/DomainRouterDao.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
2011-06-09 16:24:48 -07:00
alena f06818704b Revert "bug 10199: don't allow network offering Name modification."
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.

Use the following solution instead:

* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script

Conflicts:

	server/src/com/cloud/offerings/NetworkOfferingVO.java
2011-06-09 13:34:50 -07:00
Abhinandan Prateek 8e4ec4ce09 bug 8962: moving vm from one account to other 2011-06-09 15:02:47 +05:30
alena c57248aa4e bug 10199: don't allow network offering Name modification.
UI has to be fixed as well
2011-06-08 17:42:04 -07:00
alena f81ddc1f7b 1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
2011-06-08 11:55:36 -07:00
Alex Huang 65fc9bf847 bug 9651: added tags to network response for ui 2011-06-07 15:08:04 -07:00
Sheng Yang 62ac899091 bug 9154: Initial check in for enabling redundant virtual router
This patch enable redundant virtual routers.

1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):

UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;

2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.

3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.

4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.

5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.

After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.

Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -07:00
alena 9125b79fe9 SecurityGroup is optional parameter in deployVm api call 2011-06-06 15:16:32 -07:00
alena cec4e7235b Allow to use securityGroupNames in deployVm command (the code transforms them to the ids) 2011-06-06 14:03:38 -07:00
kishan b82fac179a bug 9785: Added Vlan Assign Release events
status 9785: resolved fixed
2011-06-06 13:33:21 +05:30
alena 14cdc7de14 bug 9127: covered failure scenarios for agent LB.
status 9127: resolved fixed

The feature is completed; please file separate bugs if any issue arises during the testing.
Wiki link describing how agentLB works: http://intranet.lab.vmops.com/engineering/release-2.2-features/agent-load-balancing
2011-06-05 17:35:30 -07:00
Alex Huang d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
alena 635a1075de bug 9127: intermediate checkin for agent load balancer 2011-06-02 21:47:54 -07:00
nit 0ebce2024b bug 9729 : Permission change - allow root admin to use anybody's private template.
status 9729: resolved fixed
2011-06-02 15:14:32 +05:30
Alex Huang bc67b2a973 bug 9651: update now also shows tags 2011-06-01 17:50:04 -07:00
Alex Huang 2ceadec326 bug 9651: tags parameter added to createnetwork 2011-06-01 17:36:14 -07:00
Alex Huang 2dbb8eb502 bug 9651: Make same VLAN work on two different nics 2011-06-01 17:07:44 -07:00
Edison Su f7414b83aa fix listtempalte and listiso, if there are multiple secondary storage 2011-06-01 16:01:51 -04:00
Jessica Wang 8c4e831cfb bug 7553: cloudStack - server-side - make listRouters API return “serviceofferingname” and “serviceofferingid”. 2011-05-31 17:40:30 -07:00
Jessica Wang a690d6169d bug 7553: fix a server-side bug - listServiceOffering API didn't take in "issystem" parameter. 2011-05-31 14:44:22 -07:00
Abhinandan Prateek b5aeb6fa0e bug 9909: upload manager support multiple secondary storage 2011-05-31 12:00:40 +05:30
nit 714ab83fa1 bug 9596 : Make the iso extractable by default.
status 9596: resolved fixed
2011-05-27 16:19:26 +05:30
nit 77de414c81 bug 9596 : Make the template extractable by default. Allow only a ROOT Admin to change the flag once a template is submitted/created (Done through updateTemplatePermissions)
status 9596: resolved fixed
2011-05-27 15:44:35 +05:30
anthony 7a266b9321 bug 10046: size in diskofferingVO is in type now
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
nit 6256c88be6 bug 9724 : ListEvents API - add granularity till the hours, minutes and seconds level. The new format that startDate and endDate expect are yyyy-MM-dd HH:mm:ss. To honour backward compatibility these parameters can also be in the old format yyyy-MM-dd. I have added this to the parameter documentation. Also changed is the log message for throwing error in case of parsing exception.
status 9724: resolved fixed
2011-05-26 21:21:28 +05:30
alena 8a68e8148e Fixed authorizeSecurityGroupIngressRule to work with "name" parameter 2011-05-25 18:59:30 -07:00
Edison Su 2a7d02b52c bug 9787: add netapp integration back to 2.2 2011-05-25 14:32:48 -04:00
Edison Su ec39238d6c fix build 2011-05-25 14:32:47 -04:00
Frank 44a0fff2ec baremetal able to enter maintenance mode, delete host 2011-05-25 12:13:19 -07:00
alena 37b036ac39 Made sshKeys api commands visible for api doc generation 2011-05-25 09:40:54 -07:00
alena 7fe3290d1b Fixed security issue in api - regular user can operate only with his own resources (except for the template - when the template is public, it's available for everyone) 2011-05-24 18:45:13 -07:00
alena 55692fd7cf bug 9127: intermediate checkin for agent load balancer 2011-05-24 18:45:00 -07:00
Murali Reddy 9f93fee7b6 Revert "bug 9785: events around VLAN assign/release"
pulling out as action event is required not the usage event

This reverts commit 7052e5451878a1595cb5b0d359a3a4482d9f9bc7.
2011-05-24 15:08:42 +05:30
Murali Reddy 8ad3fbf9d2 bug 9785: events around VLAN assign/release
adding usage event for new VLAN allocation for the account from the zone vlans
2011-05-24 13:55:22 +05:30
Alex Huang 0dfc44582b bug 9651: Adding network tags
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Abhinandan Prateek 5ad41e09ae bug 7553: Virtual Router service offering 2011-05-21 22:21:12 +05:30
alena 501c46bbd5 Fixed API doc generation process - was broken due to incorrect fix in ServiceOfferingResponse class 2011-05-20 14:37:10 -07:00
anthony 52fdb4f2eb bug 3224:
multiple secondary storage, copying template between zone works
    forgot a new file
2011-05-19 19:10:09 -07:00
anthony 99be3718cf bug 3224:
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00