Permalink
Switch branches/tags
Nothing to show
Commits on Mar 26, 2013
  1. Removed wrong mock calls

    Roman Pystin
    Roman Pystin committed Mar 26, 2013
    Increased code readability.
Commits on Mar 22, 2013
  1. Removed reconnect_to_db from SQL driver

    Roman Pystin Gerrit Code Review
    Roman Pystin authored and Gerrit Code Review committed Mar 15, 2013
    Updated unit tests.
  2. Set new mirantis repositories .git-review

    skraynev authored and Gerrit Code Review committed Mar 11, 2013
    Change-Id: Ibfb5219af6c91e4a968f37a237c3e45464bd2e59
  3. Fix PEP8

    akscram committed Mar 22, 2013
    Change-Id: I9eb051126d7fde555c0de7bf7a8ca8e00cc33877
Commits on Mar 21, 2013
  1. Removed Meta mechanism from SQL key_manager

    Roman Pystin authored and skraynev committed Feb 19, 2013
    Replaced Meta mechanism with Session/Query one.
    Updated unit tests.
  2. Skip functional tests depends on issue STF-73.

    Vladimir Vechkanov authored and skraynev committed Mar 4, 2013
    Skip tests:
        testContainerInfo
        testSerialization
    
    Change-Id: I37cfdee860c7d06790a2410020127a205e1582e3
  3. Skip functional test depends on issue STF-95.

    Vladimir Vechkanov authored and skraynev committed Mar 4, 2013
    Skip test testContainerInfo.
    
    Change-Id: I1a445404905ab0b434bd07d036a0bd3685c28a8e
  4. Skip functional tests depends on issue STF-121.

    Vladimir Vechkanov authored and skraynev committed Mar 4, 2013
    Skip tests (in file test/functional/tests.py):
        testCopy
        testCopyFromHeader
        testMetadataNumberLimit
        testMetadataOnPost
        testMetadataOnPut
    
    Change-Id: Id326cc2ed280a24579bc76393e2369faa876c6d6
  5. Fix key_manager.

    Vladimir Vechkanov authored and skraynev committed Mar 4, 2013
    * Add Key-Id in metadata for POST request (fix for STF-113).
    * Fix key_manager unittests wich testing setting up Key-Id header. Test
      test_call_with_object_put added into test_call_without_key_id_header.
    
    Change-Id: I574c9fb945c9c9fbee61861d876a997434084de4
  6. Fix problem with Range request

    Vladimir Vechkanov authored and skraynev committed Feb 20, 2013
    Change-Id: I637e93ce40b838f3198c916f83bb2744acf964c5
  7. Initial documentation commit for swift-init

    ogelbukh authored and skraynev committed Feb 6, 2013
    This is the initial commit of documentation extension for
    Swift with on-disk object encryption support
    
    Change-Id: I962b1ba6bff75854a301cad2969ac3a527b78131
  8. Removing function create_table

    skraynev committed Jan 17, 2013
    Change-Id: I9e960867dcf56a2c142cdbfb6aadff105b8cd104
  9. Changing lenght of encoding key string.

    skraynev committed Jan 24, 2013
    Change-Id: Ia7fd41f02959c063d4c6db4efef1a1e742902179
  10. Fix migration script.

    skraynev committed Jan 24, 2013
    Change-Id: I39cf20d3817d73cfad45f8f2d091197cd003cb06
  11. Fixing pep8

    skraynev committed Jan 18, 2013
    Change-Id: I05d6f12fa8d88e2cd57f9dc0f0faa76bfd26874e
  12. Key manager drivers support schema migration.

    akscram authored and skraynev committed Jan 21, 2013
    * Script to run migration swift-key-manager-sync.
    * KeyDriver interface extended by sync method.
    * Intergration with SQLAlchemy Migration for SQLDriver.
    
    Change-Id: I2c482e994668fcb55c6a3b11158ae3c65d43d33e
  13. Key manager add header on put object request.

    akscram authored and skraynev committed Dec 27, 2012
    * X-Meta-Object-key_id header is added if it's request to PUT object.
    
    Change-Id: If437dd9af6ff0d500b3c18e9dc6a90411114e29c
  14. Improved pluggable mechanism of encryption.

    akscram authored and skraynev committed Dec 24, 2012
    * Cleaned interface of drivers. Added encryption context to exchange
      of security data between unified encryption/decryption methods.
      Instance of key manager created externally towards drivers.
    * Renamed FakeDriver to DummyDriver.
    * ObjectController and DiskFile used new interface of drivers.
    
    Change-Id: I4acb253b9a0f4c348fc6f27326e4219d086efbef
  15. Improved method of loading drivers.

    akscram authored and skraynev committed Dec 24, 2012
    * Add function create_instance which support to import class by path,
      validate its subclass and create instance. Wrote unit tests.
    * Replace mechanism of importing key manager and crypto drivers.
    * Add descriptions to samples of configuration.
    * Add dummy key manager driver.
    
    Change-Id: I7370f4dd9c58b346667ee7baab851997ae0a7700
  16. Management of an encryption keys is common.

    skraynev committed Dec 20, 2012
    Some key changes within this commit:
    - Common part of storing encryption keys moved to
      swift.common.key_manager. Also, the package have interface function
      which named as 'get_driver' to initialize instances of drivers.
    - Object server encryption driver have similar interface to get driver
      instances.
    - Changed sample configuration files for object and proxy servers.
    - Improved unittests for encryption implementation.
    
    Change-Id: I82beb7d383ae2cd2f7d20a26e4adcb39c943ba1a
Commits on Mar 11, 2013
  1. Changed .gitreview for Mirantis Gerrit.

    akscram authored and skraynev committed Nov 22, 2012
    Change-Id: I70fb770fc970bf43ff57d089ea59d62da6814168
  2. Add cryptography functional

    Vladimir Vechkanov authored and skraynev committed Nov 21, 2012
    All files, which are saving are crypting with crypto algorithm
    chosen in configuration files.
    
    Keys for encryption/decryption are saved in keystore. As keystore
    can be used sql database or you own driver. For writing you own
    keystore driver you should implement KeyManager class.
    
    For cryptography used different crypto drivers. Each of them
    can realise different crypto algorithms. Also can be written
    any new crypto driver by implementation of CryptoDriver class.
    
    For now M2CryptoDriver driver exists, which is wrapper ower
    2crypto library. From M2CryptoDriver aes 128 cryptography
    algorithms can be used.
    
    Change-Id: Idf4190f9535609dcdcf01304c1d37770643ac361
Commits on Mar 8, 2013
  1. Add exception to swift-drive-audit if no date in line.

    jola-mirecka
    jola-mirecka committed Mar 8, 2013
    Sometimes there is no date at the beginning of a line in kern.log.
    Although it does not happen often, there should be a check ensuring
    the program doesn't crash in case it happens.
    
    Added try-except block surrounding parsing string to date format.
    
    Change-Id: I44a101266582eea2199189a006afa1037a9bd4ea
    Fixes: bug #1152658
  2. Merge "Account quotas"

    Jenkins authored and openstack-gerrit committed Mar 8, 2013
  3. Account quotas

    cschwede committed Mar 4, 2013
    Add a new middleware implementing account quotas.
    
    This middleware blocks write requests (PUT, POST) if a given quota (in bytes)
    is exceeded while DELETE requests are still allowed.
    
    Quotas are stored in the x-account-meta-quota-bytes metadata entry.
    Write requests to this metadata setting are only allowed for resellers.
    
    Change-Id: I57fd7c6209f34cc79d4bab72d500d43ba2a62083
Commits on Mar 7, 2013
  1. Fix some unreadable code.

    smerritt committed Mar 7, 2013
    I thought it was readable back when I wrote it; turns out it's
    not. Oops.
    
    Change-Id: I1e1020935356522d6e07409aa867a5ffc8919787
    Bonus: remove unused import.
  2. Merge "simplify the chexor function"

    Jenkins authored and openstack-gerrit committed Mar 7, 2013
  3. Merge "Support tests for Apache"

    Jenkins authored and openstack-gerrit committed Mar 7, 2013
  4. simplify the chexor function

    redbo committed Feb 27, 2013
    Replace all that map(operator) nonsense.
    
    It changes the error raised on invalid hashes, but we don't handle that
    anywhere, and it shouldn't ever happen in real life.
    
    Change-Id: Ib8cb549fac05e0b2725b4ea295326ac0c5e1f035
Commits on Mar 6, 2013
  1. Support tests for Apache

    davidhIBM committed Mar 4, 2013
    Add support for functional tests that work with Apache web front end
    
    Change-Id: I72358a12016eeccc842d834461dbebaa188aa117
    Implements: blueprint wsgi-application-interface
  2. Support listing endpoints for an object.

    Frostman committed Feb 1, 2013
    Implements blueprint list-endpoints.
    
    DocImpact: new middleware list_endpoints.
    
    Change-Id: I0c4911ff726abd4cb8ce2b6245c99786ad46b410
  3. Merge "Spread handoffs out better around zones."

    Jenkins authored and openstack-gerrit committed Mar 6, 2013
  4. Fix misspelled variable name

    smerritt committed Mar 5, 2013
    Change-Id: Ied6ed3cad16e9797df73a05f3df3ac9cc64299e0
Commits on Mar 5, 2013
  1. Spread handoffs out better around zones.

    smerritt committed Mar 5, 2013
    Before, you'd get your 3* primary nodes in 3 different zones, and then
    get_more_nodes would give you everything it could from a non-primary
    zone, and then finish up with stuff from the primary zones. It would
    sort of look like this:
    
    P: device in a primary node's zone
    N: device not in a primary node's zone
    
    PPPNNNNNNNNNNNNNNNNNNN...NNNNNNNNNPPP...PPPPPP
    
    (The first three Ps are the primary nodes; they don't actually come
    out of get_more_nodes(), but they're included for clarity.)
    
    Now, the first few handoffs from get_more_nodes are in non-primary
    zones, but only one per zone, and then the rest of the handoffs ignore
    zones. It's still sampling the ring, so it's still taking weights into
    consideration, but the zone distribution is more even early in the
    handoff chain. It looks like this, assuming 10 zones:
    
    P: device in a primary node's zone
    N: device not in a primary node's zone
    D: zone doesn't matter
    
    PPPNNNNNNNDDDDDDDDDDD...DDD
    
    * or whatever your replica count is
    
    Change-Id: I31d2a2bc2cd6038386a2df85cd4fa37ccf2f650e