Hhhmmm just tested this and indeed a compressed 10GB export history file of the previous instance (expanded roughly 30GB) does not seem to contribute to the history size used for a user when imported again.... The files are physically there and checking physically on disk it indeed consumes that amount of disk space! Looking at the time-stamps of the files they seem to be the original ones from the past.... Is there a delay for the history size to be updated? In the galaxy reports the counter also stands at zero... Alex -----Oorspronkelijk bericht----- Van: Nate Coraor [mailto:nate@bx.psu.edu] Verzonden: dinsdag 13 november 2012 16:45 Aan: Bossers, Alex CC: Galaxy Dev List Onderwerp: Re: [galaxy-dev] Error: updating quotas galaxy_dist On Nov 12, 2012, at 2:43 PM, Nate Coraor wrote:
On Nov 12, 2012, at 2:35 PM, Bossers, Alex wrote:
Nate, crap....that fixed it...not sure why that setting didn't show up in the svn diff but anyway...it's working again.
I wonder; if a user is member of two groups with different quota...will the largest be effective?
It's been a while since I wrote it, but I believe it's the sum of both. The reasoning is that if a user needs quota X for project X and quota Y for project Y, they probably need the total to have enough space for both projects.
I had a look at the code and need to correct myself. From the comments: Calculated like so: 1. Anonymous users get the default quota. 2. Logged in users start with the highest of their associated '=' quotas or the default quota, if there are no associated '=' quotas. If an '=' unlimited (-1 in the database) quota is found during this process, the user has no quota (aka unlimited). 3. Quota is increased or decreased by any corresponding '+' or '-' quotas. --nate
--nate
Thanks Alex
________________________________________ Van: Nate Coraor [nate@bx.psu.edu] Verzonden: maandag 12 november 2012 20:03 To: Bossers, Alex Cc: Galaxy Dev List Onderwerp: Re: [galaxy-dev] Error: updating quotas galaxy_dist
On Nov 12, 2012, at 5:38 AM, Bossers, Alex wrote:
Dear all,
I have an today up-to-date galaxy-dist running (7986:12fcd068b12e). All seems to work fine. However in the admin panel when I make a quotum it works unless I let it make default at the same time or allocate groups of users to the quota. Just creating the quotem works fine without any options or groups associated... Making the quotem default afterwards gives me the follow error 1 independant of yes/no registered users...; The second when I add a group of users to the quota (errr2);
It has worked on our release when used several months ago...
Any pointers where to look and how to fix?
Hi Alex,
You should only be encountering the NoQuotaAgent if enable_quotas is not set to True in the config file. Can you double check that this config setting has not changed?
Thanks, --nate
Thanks Alex
============================== err 1 ============================= Server Error URL: http://galaxy.wur.nl:8082/galaxy/admin/set_quota_default Module paste.exceptions.errormiddleware:143 in __call__
app_iter = self.application(environ, start_response) Module paste.debug.prints:98 in __call__ environ, self.app) Module paste.wsgilib:539 in intercept_output app_iter = application(environ, replacement_start_response) Module paste.recursive:80 in __call__ return self.application(environ, start_response) Module paste.httpexceptions:632 in __call__ return self.application(environ, start_response) Module galaxy.web.framework.base:160 in __call__ body = method( trans, **kwargs ) Module galaxy.web.framework:206 in decorator return func( self, trans, *args, **kwargs ) Module galaxy.webapps.galaxy.controllers.admin:575 in set_quota_default quota, params = self._quota_op( trans, 'set_default_quota_button', self._set_quota_default, kwd ) Module galaxy.webapps.galaxy.controllers.admin:661 in _quota_op message = op_method( quota, params ) Module galaxy.actions.admin:111 in _set_quota_default self.app.quota_agent.set_default_quota( params.default, quota ) AttributeError: 'NoQuotaAgent' object has no attribute 'set_default_quota' extra data
full traceback URL: http://galaxy.wur.nl:8082/galaxy/admin/set_quota_default Module paste.exceptions.errormiddleware:143 in __call__
app_iter = self.application(environ, start_response) Module paste.debug.prints:98 in __call__ environ, self.app) Module paste.wsgilib:539 in intercept_output app_iter = application(environ, replacement_start_response) Module paste.recursive:80 in __call__ return self.application(environ, start_response) Module paste.httpexceptions:632 in __call__ return self.application(environ, start_response) Module galaxy.web.framework.base:160 in __call__ body = method( trans, **kwargs ) Module galaxy.web.framework:206 in decorator return func( self, trans, *args, **kwargs ) Module galaxy.webapps.galaxy.controllers.admin:575 in set_quota_default quota, params = self._quota_op( trans, 'set_default_quota_button', self._set_quota_default, kwd ) Module galaxy.webapps.galaxy.controllers.admin:661 in _quota_op message = op_method( quota, params ) Module galaxy.actions.admin:111 in _set_quota_default self.app.quota_agent.set_default_quota( params.default, quota ) AttributeError: 'NoQuotaAgent' object has no attribute 'set_default_quota' ============================== err 1 =============================
============================== err 2 ============================= URL: http://galaxy.wur.nl:8082/galaxy/admin/manage_users_and_groups_for_q uota?id=06c56fae8b8db405 Module paste.exceptions.errormiddleware:143 in __call__
app_iter = self.application(environ, start_response) Module paste.debug.prints:98 in __call__ environ, self.app) Module paste.wsgilib:539 in intercept_output app_iter = application(environ, replacement_start_response) Module paste.recursive:80 in __call__ return self.application(environ, start_response) Module paste.httpexceptions:632 in __call__ return self.application(environ, start_response) Module galaxy.web.framework.base:160 in __call__ body = method( trans, **kwargs ) Module galaxy.web.framework:206 in decorator return func( self, trans, *args, **kwargs ) Module galaxy.webapps.galaxy.controllers.admin:528 in manage_users_and_groups_for_quota quota, params = self._quota_op( trans, 'quota_members_edit_button', self._manage_users_and_groups_for_quota, kwd ) Module galaxy.webapps.galaxy.controllers.admin:661 in _quota_op message = op_method( quota, params ) Module galaxy.actions.admin:79 in _manage_users_and_groups_for_quota self.app.quota_agent.set_entity_quota_associations( quotas=[ quota ], users=in_users, groups=in_groups ) AttributeError: 'NoQuotaAgent' object has no attribute 'set_entity_quota_associations' extra data
full traceback URL: http://galaxy.wur.nl:8082/galaxy/admin/manage_users_and_groups_for_q uota?id=06c56fae8b8db405 Module paste.exceptions.errormiddleware:143 in __call__
app_iter = self.application(environ, start_response) Module paste.debug.prints:98 in __call__ environ, self.app) Module paste.wsgilib:539 in intercept_output app_iter = application(environ, replacement_start_response) Module paste.recursive:80 in __call__ return self.application(environ, start_response) Module paste.httpexceptions:632 in __call__ return self.application(environ, start_response) Module galaxy.web.framework.base:160 in __call__ body = method( trans, **kwargs ) Module galaxy.web.framework:206 in decorator return func( self, trans, *args, **kwargs ) Module galaxy.webapps.galaxy.controllers.admin:528 in manage_users_and_groups_for_quota quota, params = self._quota_op( trans, 'quota_members_edit_button', self._manage_users_and_groups_for_quota, kwd ) Module galaxy.webapps.galaxy.controllers.admin:661 in _quota_op message = op_method( quota, params ) Module galaxy.actions.admin:79 in _manage_users_and_groups_for_quota self.app.quota_agent.set_entity_quota_associations( quotas=[ quota ], users=in_users, groups=in_groups ) AttributeError: 'NoQuotaAgent' object has no attribute 'set_entity_quota_associations'
============================== err 2 =============================
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at:
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: