ceph_api

exception ceph_api.firefly.ceph_command.CephError(cmd, msg)

Exception raised for errors with running a Ceph command

Parameters:
  • cmd – cmd in which the error occurred
  • msg – explanation of the error
ceph_api.firefly.ceph_command.run_ceph_command(conffile, cmd, inbuf)

Run a ceph command and return the results

Parameters:
  • conffile – The ceph.conf configuration location
  • cmd – The json command to run
  • inbuf
Returns:

(string outbuf, string outs)

Raises rados.Error:
 

Raises on rados errors

exception ceph_api.giant.ceph_command.CephError(cmd, msg)

Exception raised for errors with running a Ceph command

Parameters:
  • cmd – cmd in which the error occurred
  • msg – explanation of the error
ceph_api.giant.ceph_command.run_ceph_command(conffile, cmd, inbuf)

Run a ceph command and return the results

Parameters:
  • conffile – The ceph.conf configuration location
  • cmd – The json command to run
  • inbuf
Returns:

(string outbuf, string outs)

Raises rados.Error:
 

Raises on rados errors

exception ceph_api.hammer.ceph_command.CephError(cmd, msg)

Exception raised for errors with running a Ceph command

Parameters:
  • cmd – cmd in which the error occurred
  • msg – explanation of the error
ceph_api.hammer.ceph_command.run_ceph_command(conffile, cmd, inbuf)

Run a ceph command and return the results

Parameters:
  • conffile – The ceph.conf configuration location
  • cmd – The json command to run
  • inbuf
Returns:

(string outbuf, string outs)

Raises rados.Error:
 

Raises on rados errors

exception ceph_api.infernalis.ceph_command.CephError(cmd, msg)

Exception raised for errors with running a Ceph command

Parameters:
  • cmd – cmd in which the error occurred
  • msg – explanation of the error
ceph_api.infernalis.ceph_command.run_ceph_command(conffile, cmd, inbuf)

Run a ceph command and return the results

Parameters:
  • conffile – The ceph.conf configuration location
  • cmd – The json command to run
  • inbuf
Returns:

(string outbuf, string outs)

Raises rados.Error:
 

Raises on rados errors

exception ceph_api.jewel.ceph_command.CephError(cmd, msg)

Exception raised for errors with running a Ceph command

Parameters:
  • cmd – cmd in which the error occurred
  • msg – explanation of the error
ceph_api.jewel.ceph_command.run_ceph_command(conffile, cmd, inbuf)

Run a ceph command and return the results

Parameters:
  • conffile – The ceph.conf configuration location
  • cmd – The json command to run
  • inbuf
Returns:

(string outbuf, string outs)

Raises rados.Error:
 

Raises on rados errors

This Page