[Openstack] [swift] Erasure Coding - "Unknown Error" on other ec_types than liberasurecode_rs_vand

Hannes Fuchs hannes.fuchs at student.htw-berlin.de
Sun Jan 28 11:05:41 UTC 2018


Hello all,

currently I try the provided ec_types of EC in swift. But the only one
which works is "liberasurecode_rs_vand". On every other one I get the
following error on startup (swift/swift-proxy):

---
ERROR: Invalid Storage Policy Configuration in /etc/swift/swift.conf
(Error creating EC policy (pyeclib_c_init ERROR: Unknown error. Please
inspect syslog for liberasurecode error report.), for index 9)
---

But in the syslog there is exactly the same error message, no hint whats
going wrong. It seems to be the default error [1] (ECDriverError)

Anyone an idea whats wrong or did I miss something?

Tried implementations:
- liberasurecode_rs_vand  - works
- jerasure_rs_vand        - fails with "Unknown error"
- jerasure_rs_cauchy      - fails with "Unknown error"
- flat_xor_hd_3           - fails with "Unknown error"
- flat_xor_hd_4           - fails with "Unknown error"

Installed Versions:
- python-pyeclib   1.3.1-1ubuntu3~cloud0
- liberasurecode1  1.5.0-1~cloud0
- libjerasure2     2.0.0-2ubuntu1
- swift            2.15.1-0ubuntu3~cloud0

[1]
https://github.com/openstack/pyeclib/blob/4e0f35a34d4aa10fd98ae8d3bbc9cecaf43601d4/src/c/pyeclib_c/pyeclib_c.c#L182


Cheers,
Hannes



More information about the Openstack mailing list