Error "CRITICAL ironic [-] __init__() got an unexpected keyword argument 'readonly' ir-api failed to start"
I am trying to install devstack with Ironic but getting following error "Ir-api did not start"
In the logs I have got following description : test@openstackvm7:/opt/stack/tempest$ cd /opt/stack/ironic; /usr/local/bin/ironic-api --config-file=/etc/ironic/ironic.conf || echo "ir-api failed to start" | tee "/opt/stack/status/stack/ir-api.failure" 2014-03-04 21:25:27.006 24411 DEBUG ironic.common.utils [-] Reloading cached file /etc/ironic/policy.json read_cached_file /opt/stack/ironic/ironic/common/utils.py:310 2014-03-04 21:25:27.019 24411 CRITICAL ironic [-] __init__() got an unexpected keyword argument 'readonly' ir-api failed to start test@openstackvm7:/opt/stack/ironic$ cd /opt/stack/ironic; /usr/local/bin/ironic-api --config-file=/etc/ironic/ironic.conf || echo "ir-api failed to start" | tee "/opt/stack/status/stack/ir-api.failure" 2014-03-04 21:38:17.980 24675 DEBUG ironic.common.utils [-] Reloading cached file /etc/ironic/policy.json read_cached_file /opt/stack/ironic/ironic/common/utils.py:310 2014-03-04 21:38:17.991 24675 CRITICAL ironic [-] __init__() got an unexpected keyword argument 'readonly' ir-api failed to start test@openstackvm7:/opt/stack/ironic$ cd /opt/stack/ironic; /usr/local/bin/ironic-api --config-file=/etc/ironic/ironic.conf || echo "ir-api failed to start" | tee "/opt/stack/status/stack/ir-api.failure" 2014-03-04 22:19:28.051 24711 DEBUG ironic.common.utils [-] Reloading cached file /etc/ironic/policy.json read_cached_file /opt/stack/ironic/ironic/common/utils.py:310 2014-03-04 22:19:28.062 24711 CRITICAL ironic [-] __init__() got an unexpected keyword argument 'readonly' ir-api failed to start
ConnectionError: HTTPConnectionPool(host='172.16.17.8', port=8774): Max retries exceeded with url: /v2/a32d7364e3b645389ae8206ac5d85942/os-simple-tenant-usage?start=2014-03-04T00:00:00&end=2014-03-04T23:59:59&detailed=1 (Caused by <class 'socket.error'="">: [Errno 111] Connection refused) This is the error in the horizon screen .