• Keith Schincke's avatar
    Update unless statement for cephx key checking. · 04d1a043
    Keith Schincke authored
    Some cephx keys (manila) have specail features enabled via quoted
    words in their capabilities list. The initial key is created on the
    file system with escaped quotes (\"auth del\" and \"auth caps\").
    However the output of ceph auth get does not excape these quotes.
    This results in the grep in unless satement always failing and
    causing the key to be reimported multiple times.
    A Ceph tracker issue has been opend to for this issue. (1)
    1: http://tracker.ceph.com/issues/22227
    Change-Id: I2cf6d3ded28d2d37c10fbe9ffb29822b744a561c