alena
ebd0382ea8
ApiResponseSerializer - no need to use reflection to get the field value
2011-06-15 17:41:09 -07:00
alena
695041ad27
Fixed the bug in updateUser api - api/secretKey update didn't work correctly when request was signed using apiKey
2011-06-15 15:04:59 -07:00
Sheng Yang
9466106c40
bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-06-15 14:39:28 -07:00
Sheng Yang
1616084f47
bug 9154: Code clean up
2011-06-15 12:15:28 -07:00
Abhinandan Prateek
3429b6cde4
bug 8962: tested vm move from one account to another, successfully restarted
2011-06-15 17:55:03 +05:30
kishan
7a810d1df1
bug 7451: Added network offering action events
...
status 7451: resolved fixed
2011-06-15 16:56:18 +05:30
kishan
675ffe23e8
bug 8879: Send network usage command for domain routers in Running state only
...
status 8879: resolved fixed
2011-06-15 14:13:50 +05:30
Abhinandan Prateek
61cdbd0e1f
bug 10062: better error message
...
status 10062: resolved fixed
2011-06-15 09:56:42 +05:30
Sheng Yang
2be4542a8e
bug 9154: Send alert if found two virtual routers in master state
...
Notice it's a simple version that assume both virtual routers are controlled by
same mgmt server. We can improve it later.
2011-06-14 20:51:03 -07:00
Sheng Yang
6f0edd9541
bug 9154: Add router fault state report
2011-06-14 20:33:18 -07:00
Sheng Yang
07a61686db
bug 9154: Add redundant state to DomainRouterResponse
2011-06-14 19:31:24 -07:00
Sheng Yang
aef562c69d
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
...
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
Kelven Yang
d78616caa0
Fix compile issue in test code
2011-06-14 17:54:43 -07:00
Kelven Yang
2e3d1832b0
merge adding-host changes from 2.2.4
2011-06-14 17:54:43 -07:00
Kelven Yang
f7e4fc742f
merge adding host fix from 2.2.4
2011-06-14 17:54:42 -07:00
alena
f7814df488
bug 10265: 226 to 227 db upgrade - remove unique key constraint for "network_offerings.name" field (if exists)
...
status 10265: resolved fixed
2011-06-14 09:33:32 -07:00
kishan
6744645ba5
bug 9197: Added delete volume usage event when volume creation fails
...
status 9197: resolved fixed
2011-06-14 16:01:56 +05:30
kishan
fe4329389f
bug 6770: Alert will be sent when deploying User VM fails
...
status 6770: resolved fixed
2011-06-14 15:02:27 +05:30
kishan
0629592caf
bug 8144: Added event for router start/stop and reboot
...
status 8144: resolved fixed
2011-06-14 14:24:52 +05:30
alena
7cd9f2d022
Reverted commit made by mistake
...
This reverts commit bd40212c3b5e885f89d7b43a6e8ccc14fb6d19fb.
2011-06-13 22:53:40 -07:00
alena
b9ebc5ad16
Added findRequest() method to ClusteredAgentAttache - needed for cancelling requests in transfer queue
2011-06-13 22:44:23 -07:00
alena
00a35314bb
Some fixes to agent lb code:
...
* Schedule agent LB as a TimerTask as it can take time for the management server to start; and it can accept rebalance requests only when it's up and running
* Removed Starting state from mshost as it's not being used anywhere
* Fixed the bug where requests weren't routed properly from the old host owner to the new one.
2011-06-13 22:28:22 -07:00
Alex Huang
59fc206664
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:10 -07:00
Alex Huang
63113661d1
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:09 -07:00
Alex Huang
d39048faca
bug 10260: propagate ha and deployment planner fixes
2011-06-13 17:33:09 -07:00
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
alena
a0b1c3bd7a
bug 10232: Introduced new gson builder - used for api reponse only
...
It fixed the problem when the queryAsyncJobResult response was encoded twice.
UI still has some problems - no decoding is done on "Instances" tab
2011-06-13 13:19:20 -07:00
alena
1d21522e57
bug 10233: listNetworks - don't default isSystem=false when id parameter is specified
...
status 10233: resolved fixed
2011-06-13 09:53:26 -07:00
alena
113623cb07
API response encoding is false by default
2011-06-13 09:30:56 -07:00
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
Murali Reddy
b625bb1d27
bug 9419: implement api to reset resource count
2011-06-13 16:32:26 +05:30
kishan
8ae65de6b3
bug 8699: Added event for glabal config update
...
status 8699: resolved fixed
2011-06-13 15:34:27 +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
Alex Huang
d01e20c443
bug 10094: The problem was we added code that won't add any more ha work items if it already has one. However, that is wrong. HA Manager stores the existing snapshot of the VM state machine. Before working on HA for a VM, it checks to see if that snapshot has been changed. So by not scheduling HA work, we've effectively made HA not work under multi-failure situations. I've fixed by removing that code and instead at the time of performing HA, do a quick check to see if there are pwork underway for the same VM and work scheduled in the future for that VM. If there are work scheduled in the future, then we simply cancel the current work. If there are already work underway, then we retry again in 1 minute.
2011-06-12 09:25:48 -07:00
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
Sheng Yang
79c5013ee2
bug 9516: Fix network.throttling.rate on DomR other vnifs
...
It's due to nobody tell getNetworkRate() the id of router, then the function is
fail to follow the policy.
status: resolved fixed
2011-06-10 19:24:45 -07:00
alena
ef3ea765bf
bug 9697: encode api response values
...
status 9697: resolved fixed
Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 18:10:44 -07:00
alena
f4ad575270
Revert "Temp fix to encode username, account name, and email before they are returned from the API"
...
This reverts commit e07221761a57b2c3df715bd939734f6661ebd976.
2011-06-10 18:10:36 -07:00
Kelven Yang
1e9efb2f86
bug 10214: merge fixes from 2.2.8/2.2.4
2011-06-10 14:29:01 -07:00
alena
e74fef711c
bug 9655: removed restriction for Direct networks - now can create 2 networks with diff vlans and the same subnet
...
status 9655: resolved fixed
2011-06-10 10:40:26 -07:00
Sheng Yang
d9fb62d819
Only issue CheckRouterCommand to redundant routers
2011-06-09 18:15:04 -07:00
kishan
4b4d7abad1
bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
...
status 9891: resolved fixed
2011-06-09 17:01:53 -07:00
kishan
64b7cea7c7
bug 9891: update network_id for ExternalFirewall and ExternalLoadBalancer device_types
...
status 9891: resolved fixed
2011-06-09 17:01:45 -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
Sheng Yang
7e2fe6b6c9
Redundant Router: Fix isVmAlive()
2011-06-09 15:41:12 -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
Alex Huang
b07835c557
bug 9651: update network working now
2011-06-09 11:54:12 -07:00
nit
a9ccd0d51f
bug 8677 , 8673 : listIsos - make the parameter - name work properly.
...
status 8677 , 8673: resolved fixed
2011-06-09 16:30:36 +05:30