Commit Graph

522 Commits

Author SHA1 Message Date
nit 8a4e060dc9 bug 9860 : listIsos - make the parameter - name work properly.
status 9860: resolved fixed
2011-06-09 14:29:55 +05:30
Edison Su 00268632ac bug 10177: fix multiple local secondary storage: when we starting vm, only choose the local secondary storage that related to the planned computing host
status 10177: resolved, fixed
2011-06-07 20:22:16 -04:00
Edison Su 0d064c46b4 listemplate should only list templates that owned by caller 2011-06-07 14:20:23 -04:00
Edison Su 4529e1c615 Revert "listemplate should only list templates that owned by caller"
This reverts commit df1ba3b3f437644c5e565676c1d617b90bb28072.
2011-06-07 13:41:49 -04:00
Edison Su 6540154420 listemplate should only list templates that owned by caller 2011-06-07 12:33:11 -04:00
nit 679159ccf4 bug 9922 : My ISOs shouldnt list Featured ISOs when the user is not the owner of those isos.
status 9922: resolved fixed
2011-06-07 12:22:49 +05:30
Alex Huang d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
anthony db6aa765a3 bug 10146 : fixed NPE
status 10146 : resolved fixed
2011-06-03 15:52:31 -07:00
Edison Su 94b3890542 fix the race condition for download template 2011-06-03 13:19:48 -04:00
Edison Su f7414b83aa fix listtempalte and listiso, if there are multiple secondary storage 2011-06-01 16:01:51 -04:00
anthony d02e4fb37f bug 10100 : if there are more than one hypervisor type in one zone, create_template_from_snapshot may be sent to host with diferent hypervisor type
status 10100 : resolved fixed
2011-06-01 15:30:22 -07:00
anthony fed7d1ebdb delete secondary storage,
1. check if there are snapshotsin this secondary storage, if yes , fails
2. check if there are private templatesin this secondary storage , if yes, fails
2011-05-31 17:57:10 -07:00
Alex Huang 0ab12edd6c network tagging changes 2011-05-31 09:49:27 -07:00
Abhinandan Prateek b5aeb6fa0e bug 9909: upload manager support multiple secondary storage 2011-05-31 12:00:40 +05:30
Abhinandan Prateek d006fd141c bug 9909: upload manager support multiple secondary storage 2011-05-30 12:39:15 +05:30
Edison Su 59a6e2157a fix user data, and template sync 2011-05-27 19:44:26 -04:00
anthony 37c6314360 bug 10048: do NOT sync private template to other secondary storage in one zone
status 10048: resolved fixed
2011-05-27 17:10:27 -07:00
Edison Su 2279f8f962 fix register local storage: if host is reinstalled, local storage uuid is changed, we need to register a new local storage in db 2011-05-26 22:59:56 -04:00
anthony 7a266b9321 bug 10046: size in diskofferingVO is in type now
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
anthony 559c334eeb bug 9779: release lock for exception
status 9779: resolved fixed
2011-05-25 19:50:28 -07:00
anthony 37e6ded80c bug 10023: only set ip route for internal DNS
status 10023: resolved fixed
2011-05-25 17:39:20 -07:00
anthony 2fdedfa14a db upgrade for multiple secondary storages 2011-05-25 14:15:43 -07:00
anthony 4696e5066b fixed snapshot limitation issue 2011-05-24 14:55:19 -07:00
anthony 9d758866af bug 9958:
1. send purge command only once.
2. in downloadlistener, there are two hosts, one is secondary storage host, the other is secondary storage VM host for this secondary storage.

status 9958: resolved fixed
2011-05-24 14:17:03 -07:00
Edison Su 2f8235dbd2 fix local seconeary storage related issues(sync/download templates, etc) for mycloud 2011-05-21 12:05:02 -04:00
Abhinandan Prateek 5ad41e09ae bug 7553: Virtual Router service offering 2011-05-21 22:21:12 +05:30
anthony ce83525b5a bug 3224:
don't need to call abandon
2011-05-20 18:48:30 -07:00
anthony 5fa3f0fca8 bug 3224:
fixed a DB Exception

5-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603; called by -Transaction.rollback:783-Transaction.removeUpTo:726-Transaction.close:549-DatabaseCallback.interceptComplete:72
2011-05-19 19:02:41,242 WARN  [utils.nio.Task] (AgentManager-Handler-1:null) Caught the following exception but pushing on
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.JDBC4PreparedStatement@4faae357: INSERT INTO usage_event (usage_event.type, usage_event.created, usage_event.account_id, usage_event.zone_id, usage_event.resource_id, usage_event.resource_name, usage_event.offering_id, usage_event.template_id, usage_event.size, usage_event.resource_type, usage_event.processed) VALUES (_binary'TEMPLATE.CREATE', '2011-05-20 02:02:41', 2, 2, 202, _binary'anth-te', null, 2, -1, null, 0)
        at com.cloud.utils.db.GenericDaoBase.persist(GenericDaoBase.java:1218)
        at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70.CGLIB$persist$22(<generated>)
        at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70$$FastClassByCGLIB$$30e2aaaf.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
        at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:35)
        at com.cloud.event.dao.UsageEventDaoImpl$$EnhancerByCGLIB$$377dce70.persist(<generated>)
        at com.cloud.storage.download.DownloadMonitorImpl.handleDownloadEvent(DownloadMonitorImpl.java:410)
        at com.cloud.storage.download.DownloadListener.setDownloadInactive(DownloadListener.java:358)
        at com.cloud.storage.download.DownloadCompleteState.onEntry(DownloadCompleteState.java:44)
        at com.cloud.storage.download.DownloadListener.transition(DownloadListener.java:240)
        at com.cloud.storage.download.DownloadListener.processAnswers(DownloadListener.java:224)
        at com.cloud.agent.manager.AgentAttache.processAnswers(AgentAttache.java:258)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.processResponse(AgentManagerImpl.java:2319)
        at com.cloud.agent.manager.AgentManagerImpl$AgentHandler.doTask(AgentManagerImpl.java:2334)
        at com.cloud.agent.manager.ClusteredAgentManagerImpl$ClusteredAgentHandler.doTask(ClusteredAgentManagerImpl.java:537)
        at com.cloud.utils.nio.Task.run(Task.java:85)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:636)
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Out of range value for column 'size' at row 1
2011-05-20 17:12:48 -07:00
anthony 99be3718cf bug 3224:
multiple secondary storage, copying template between zone works
2011-05-19 19:07:44 -07:00
kishan 6bd8cece48 bug 8830: added source template id to template usage records
status 8830: resolved fixed
2011-05-19 16:53:33 +05:30
Alex Huang 2b650acc17 more gson crap 2011-05-18 11:01:46 -07:00
anthony 8cdd8a01b1 multiple secondary storage fix 2011-05-17 16:47:27 -07:00
anthony 1501503656 multiple secondary storages fix 2011-05-17 16:01:35 -07:00
anthony ef42b21c1d fixed template download 2011-05-17 15:00:10 -07:00
anthony 384f30101e fixed template download 2011-05-17 14:01:12 -07:00
Alex Huang ea9703997b proxy agent 2011-05-17 07:12:58 -07:00
anthony a19e5284d0 more check 2011-05-16 19:44:33 -07:00
anthony a0357a6af0 multiple secondary storage
local secondary storage should work, didn't test yet
2011-05-16 16:37:15 -07:00
anthony d835067f40 multiple secondary storage support
template download works
creating snapshot works
creating volume/template from snapshot works
2011-05-16 16:37:15 -07:00
anthony ba6b2ca670 initial checkin for multiple secondary storage 2011-05-16 16:37:15 -07:00
Alex Huang 5ce631e9d7 Separated resource management and agent management code. It's not all done but at least we make a first step 2011-05-16 10:55:18 -07:00
nit bc360f499d bug 9397 : CreateTemplate - generate MD5 checksum of the template. The code will calculate the checksum after the template has been created in the secondary storage. This code would be executed by ssvm. This would be agnostic of the way the template was created (not hypervisor specific).
status 9397: resolved fixed
2011-05-12 18:13:29 +05:30
alena 0f0dcc1964 bug 9827: call destroyVolume() method only after ensuring that the volume is not destroyed already.
status 9827: resolved fixed
2011-05-11 14:12:19 -07:00
Chiradeep Vittal f1ea4d0c19 bug 9809: resume iso download (broken by multihypervisor)
status 9809: resolved fixed
2011-05-11 12:04:20 -07:00
Edison Su feb226b8e9 fix compiler error 2011-05-10 16:39:25 -04:00
Edison Su 882919ae40 fix system vm template download issue 2011-05-10 16:10:31 -04:00
Alex Huang 154c6d9021 Propagating 1345af2a0e84684a804bde5b281c30df72f148a0 2011-05-10 05:52:39 -07:00
alena 7cb11b09f5 bug 9796: throw an exception when try to create volume/template from the non-ready snapshot
status 9796: resolved fixed
2011-05-09 16:35:09 -07:00
alena 2df6b0a6e1 bug 9774: display non-ready templates. Added "state" field to all snapshot* api responses. 2011-05-06 16:48:27 -07:00
anthony 2d52813ff2 fixed build /start management server 2011-05-05 16:12:19 -07:00