- 20 Mar, 2013 5 commits
-
-
Kostas Papadimitriou authored
Refs #3460 Token value set in api action/request is always retrieved from the current cookie contents. When cookie contents change is detected ui redirects user to log in. Cookie changes are detected each time the app tries to use the user uuid/token information. A window interval (hardcoded to 10 seconds) was added to access this information to ensure that cookie change logic will be applied even when ui app gets idle (no api calls are made).
-
Kostas Papadimitriou authored
- Include suspend/release suspension tests - Mock astakos displayname/uuid resolving methods - Update fixtures with user uuids - Test vmid lookup
-
Kostas Papadimitriou authored
Refs #3454
-
Kostas Papadimitriou authored
Refs #3453 VM lookup is triggered when search query matches the following patterns - vm<id> - vm-<id>
-
Konstantinos Tompoulidis authored
* Document the Quotas feature * Minor fixes and updates * pep8 fixes
-
- 19 Mar, 2013 5 commits
-
-
Sofia Papagiannaki authored
Pithos usage tests require special setup since test accounts should be created and configured properly in astakos and quotaholder components. Also, these tests should know the server's version accounting policy. For the time being, pithos server does not return this information. So the tests check the PITHOS_BACKEND_FREE_VERSIONING setting to discover the server's policy. However, this works only if the tests run against a server running in the same host, but not also for a remote server. For the above reasons, the specific tests are deactivated until there will be available a proper pithos testing framework.
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
globally and per-user. Refs: #3309 Substitute pithos-reset-usage with pithos-usage management command and extend it to list also account usage.
-
Sofia Papagiannaki authored
Refs: #3442 Refs: #1733 Pithos has two different version accounting policies: * free: do not include object history version size to the total account usage * debit: include object history version size to the total account usage This configurable by PITHOS_BACKEND_FREE_VERSIONING setting. Pithos delete container function purges the history versions of the including objects. and should send to the quota holder component the released disk space *only* in the case of debit version accounting policy. Also the purging function used to return the negative of the computed released disk space but to the quotaholder component was sent its negative. So, erroneously, the released disk space was added to the total quota usage. Provide tests for the following distinct cases: * free version accounting policy (PITHOS_BACKEND_FREE_VERSIONING=True) and `auto` container versioning policy * free version accounting policy (PITHOS_BACKEND_FREE_VERSIONING=True) and `none` container versioning policy * debit version accounting policy (PITHOS_BACKEND_FREE_VERSIONING=False) and `auto` container versioning policy * debit version accounting policy(PITHOS_BACKEND_FREE_VERSIONING=False) and `none` container versioning policy
-
Sofia Papagiannaki authored
X-Object-Modified-By header was accidentally eliminated in the response
-
- 15 Mar, 2013 3 commits
-
-
Kostas Papadimitriou authored
in order to have usable pdb repl
-
Sofia Papagiannaki authored
Loggers for all synnefo components should be configured in snf-webproject setting file '10-snf-webproject-logging.conf'.
-
Sofia Papagiannaki authored
Do not include in the InternalServerError response the actual error.
-
- 13 Mar, 2013 3 commits
-
-
Giorgos Korfiatis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Fix inadvertent use of shared objects in synnefo/lib/astakos.py and pithos/api/delegate.py, since current use is racy when running multiple requests under gunicorn. Create a private, per-request copy instead.
-
- 12 Mar, 2013 7 commits
-
-
Christos Stavrakakis authored
-
Kostas Papadimitriou authored
- Display remaining resources - Predefined flavors display fix
-
Kostas Papadimitriou authored
respect current user quota in flavor options display
-
Kostas Papadimitriou authored
also updated ui views to use the new class
-
Kostas Papadimitriou authored
include all available information as retrieved from astakos response
-
Kostas Papadimitriou authored
- widen up view - prettier (no scroll) compact flavor list style, when flavor options are too many to display in a single row
-
Kostas Papadimitriou authored
-
- 11 Mar, 2013 5 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Add --dry-run option to flavor-create management command. Also, do not crash if flavor already exists. Refs #3366
-
Kostas Papadimitriou authored
Apply human readable (MB, GB) conversion
-
Kostas Papadimitriou authored
-
Georgios D. Tsoukalas authored
Allow per-service configuration of the (http) quotaholder client. Kamaki is no longer needed in service (or ganeti) nodes, because the client has been moved to snf-common. Also fix the default quotaholder settings for pithos backend to be disabled by default, and don't initialize quotaholder client when not needed. This fixes crashes of non-user-facing pithos backend uses such as pithcat from snf-image. Refs #3421
-
- 08 Mar, 2013 5 commits
-
-
Constantinos Venetsanopoulos authored
Update the following sections in the guide: * Ganeti: Don't build package; use GRNET's until 2.7 is out * gevent: Make it a prerequisite on both nodes
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Cyclades public networks do not have an owner, and since can not use the commissioning system. Also, make snf-dispatcher instead of failing for networks without userid to just a log a warning. This does not apply for API, because all API requests should have a userid.
-
Christos Stavrakakis authored
-
Giorgos Korfiatis authored
Print a message about astakos-quota calculating all user quotas, which on a big system takes some time.
-
- 07 Mar, 2013 7 commits
-
-
Kostas Papadimitriou authored
Add logging statements on some important auth providers operations. Complete auth providers logging support will be merged from the feature-astakos-authpolicies branch which also includes additional auth providers improvements.
-
Kostas Papadimitriou authored
Removed with_logging wrapper which inconsistently extracted user/request arguments. Logging statements placed explicitly within login/logout methods. Fix admin notification logging
-
Kostas Papadimitriou authored
hide prompt for additional login methods if no such methods exist
-
Kostas Papadimitriou authored
Additional check to avoid verified inactive users reactivation
-
Stratos Psomadakis authored
Fix an infinite loop bug in UserCache.fetch_names(), and correct the *-list commands to only call fetch_names(), when invoked with the --displayname option.
-
Christos Stavrakakis authored
-
Giorgos Korfiatis authored
-