Hi all, I'm trying to create an external plugin for my barbican setup using Stevedore. I've made changes to barbican-api.conf and setup.cfg files. Is there anything else I should be fixing? I keep getting this broken pipe error on install [please find below the error].
My plugin is pretty much just a placeholder now, and I've created the namespace similar to crypto. The plugin gets added to entry_points.txt in barbican.egg-info/ folder. I'd appreciate any help or documentation support on how to create an external plugin for barbican. Thanks & regards, Divya ============== error ================= Fri Nov 21 11:25:31 2014 - [emperor] vassal barbican-admin.ini has been spawned spawned uWSGI worker 1 (pid: 19721, cores: 1) Loading paste environment: config:/etc/barbican/barbican-api-paste.ini Loading paste environment: config:/etc/barbican/barbican-admin-paste.ini WSGI app 0 (mountpoint='') ready in 9 seconds on interpreter 0x9b500e0 pid: 19721 Fri Nov 21 11:25:40 2014 - [emperor] vassal barbican-admin.ini is ready to accept requests 2014-11-21 11:25:40.393 19720 DEBUG stevedore.extension [-] found extension EntryPoint.parse('qpid = oslo.messaging._drivers.impl_qpid:QpidDriver') _load_plugins /home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/stevedore/extension.py:156 2014-11-21 11:25:40.402 19720 DEBUG stevedore.extension [-] found extension EntryPoint.parse('amqp = oslo.messaging._drivers.protocols.amqp:ProtonDriver') _load_plugins /home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/stevedore/extension.py:156 2014-11-21 11:25:40.403 19720 DEBUG stevedore.extension [-] found extension EntryPoint.parse('kombu = oslo.messaging._drivers.impl_rabbit:RabbitDriver') _load_plugins /home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/stevedore/extension.py:156 2014-11-21 11:25:40.405 19720 DEBUG stevedore.extension [-] found extension EntryPoint.parse('rabbit = oslo.messaging._drivers.impl_rabbit:RabbitDriver') _load_plugins /home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/stevedore/extension.py:156 Traceback (most recent call last): File "/home/dc/.pyenv/versions/2.7.5/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/home/dc/.pyenv/versions/2.7.5/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/subunit/run.py", line 145, in <module> main() File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/subunit/run.py", line 141, in main stdout=stdout, exit=False) File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/testtools/run.py", line 232, in __init__ self.runTests() File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/testtools/run.py", line 384, in runTests self.result = testRunner.run(self.test) File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/subunit/run.py", line 61, in run result, _ = self._list(test) File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/subunit/run.py", line 94, in _list result.status(test_id=test_id, test_status='exists') File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/subunit/v2.py", line 118, in status route_code=route_code, timestamp=timestamp) File "/home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/subunit/v2.py", line 214, in _write_packet FMT_32, zlib.crc32(content) & 0xffffffff)) IOError: [Errno 32] Broken pipe 2014-11-21 11:25:40.771 19720 DEBUG stevedore.extension [-] found extension EntryPoint.parse('fake = oslo.messaging._drivers.impl_fake:FakeDriver') _load_plugins /home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/stevedore/extension.py:156 2014-11-21 11:25:40.771 19720 DEBUG stevedore.extension [-] found extension EntryPoint.parse('zmq = oslo.messaging._drivers.impl_zmq:ZmqDriver') _load_plugins /home/dc/.pyenv/versions/barbican27/lib/python2.7/site-packages/stevedore/extension.py:156 2014-11-21 11:25:40.772 19720 DEBUG barbican.api.controllers.secrets [-] Creating SecretsController __init__ /home/dc/OpenStack-Barbican/barbican/barbican/api/controllers/secrets.py:196 2014-11-21 11:25:40.773 19720 DEBUG barbican.api.controllers.orders [-] Creating OrdersController __init__ /home/dc/OpenStack-Barbican/barbican/barbican/api/controllers/orders.py:159 2014-11-21 11:25:40.773 19720 DEBUG barbican.api.controllers.transportkeys [-] Creating TransportKeyController __init__ /home/dc/OpenStack-Barbican/barbican/barbican/api/controllers/transportkeys.py:76 2014-11-21 11:25:40.782 19720 DEBUG barbican.api.controllers.versions [-] === Creating VersionController === __init__ /home/dc/OpenStack-Barbican/barbican/barbican/api/controllers/versions.py:26 WSGI app 0 (mountpoint='') ready in 9 seconds on interpreter 0x9a500e0 pid: 19720 Fri Nov 21 11:25:40 2014 - [emperor] vassal barbican-api.ini is ready to accept requests
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack