<html><body>
<p><font size="2" face="sans-serif">Hey Joel. </font><br>
<font size="2" face="sans-serif">Thanks for the advice!</font><br>
<font size="2" face="sans-serif">I was able to solve the problem and have the ssl connection become trusted. </font><br>
<font size="2" face="sans-serif">Barbican seems to be authenticating correctly to the KMIP server as well now.</font><br>
<font size="2" face="sans-serif">However, I have another problem. </font><br>
<br>
<font size="2" face="sans-serif">When I try to store a plain text secret into barbican I receive the following error: </font><br>
<br>
<font size="2" face="sans-serif">File "/home/swift/barbican/barbican/api/controllers/__init__.py", line 104, in handler</font><br>
<font size="2" face="sans-serif"> return fn(inst, *args, **kwargs)</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/api/controllers/__init__.py", line 90, in enforcer</font><br>
<font size="2" face="sans-serif"> return fn(inst, *args, **kwargs)</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/api/controllers/__init__.py", line 146, in content_types_enforcer</font><br>
<font size="2" face="sans-serif"> return fn(inst, *args, **kwargs)</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/api/controllers/secrets.py", line 326, in on_post</font><br>
<font size="2" face="sans-serif"> transport_key_id=data.get('transport_key_id'))</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/plugin/resources.py", line 95, in store_secret</font><br>
<font size="2" face="sans-serif"> plugin_name=plugin_name)</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/plugin/interface/secret_store.py", line 478, in _check_plugins_configured</font><br>
<font size="2" face="sans-serif"> return plugin_related_function(self, *args, **kwargs)</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/plugin/interface/secret_store.py", line 513, in get_plugin_store</font><br>
<font size="2" face="sans-serif"> if ext.obj.store_secret_supports(key_spec):</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/plugin/kmip_secret_store.py", line 481, in store_secret_supports</font><br>
<font size="2" face="sans-serif"> return self.generate_supports(key_spec)</font><br>
<font size="2" face="sans-serif"> File "/home/swift/barbican/barbican/plugin/kmip_secret_store.py", line 437, in generate_supports</font><br>
<font size="2" face="sans-serif"> alg_dict_entry = self.valid_alg_dict.get(key_spec.alg.lower())</font><br>
<font size="2" face="sans-serif">AttributeError: 'NoneType' object has no attribute 'lower'</font><br>
<br>
<font size="2" face="sans-serif">I don't really know what could be causing this error. Any ideas?</font><br>
<br>
<font size="1" face="Arial">Regards,</font><br>
<br>
<font size="1" face="Arial"> </font><font size="3" color="#0000FF" face="Arial"><b> </b></font><font size="3" face="Arial"><b>CHRIS SOLIS</b></font><br>
<font size="1" face="Arial"><br>
</font><br>
<br>
<img width="16" height="16" src="cid:1__=08BBF4BDDFE3775B8f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for "Coffman, Joel M." ---04/16/2015 03:22:25 PM---However, I cannot not make a request to the kmip plugi"><font size="2" color="#424282" face="sans-serif">"Coffman, Joel M." ---04/16/2015 03:22:25 PM---However, I cannot not make a request to the kmip plugin because of an ssl error: The keyfile, certfi</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From: </font><font size="1" face="sans-serif">"Coffman, Joel M." <Joel.Coffman@jhuapl.edu></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To: </font><font size="1" face="sans-serif">"'OpenStack Development Mailing List (not for usage questions)'" <openstack-dev@lists.openstack.org>, Christopher N Solis/Austin/IBM@IBMUS</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Cc: </font><font size="1" face="sans-serif">"Reller, Nathan S." <Nathan.Reller@jhuapl.edu>, "Farr, Kaitlin M." <Kaitlin.Farr@jhuapl.edu>, "Coffman, Joel M." <Joel.Coffman@jhuapl.edu></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date: </font><font size="1" face="sans-serif">04/16/2015 03:22 PM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject: </font><font size="1" face="sans-serif">RE: [openstack-dev] [barbican] Utilizing the KMIP plugin</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="2" face="Arial">However, I cannot not make a request to the kmip plugin because of an ssl error:</font><br>
<font size="2" color="#1F497D" face="Calibri">The keyfile, certfile, and ca_certs are passed directly to ssl.wrap_socket. Debugging any SSL errors isn’t easy – Google is generally the best resource to identify and resolve issues based on the error codes returned by OpenSSL. :-(</font><br>
<font size="2" color="#1F497D" face="Calibri"> </font><br>
<font size="2" face="Arial">What exactly is each variable suppose to contain?</font><br>
<font size="2" color="#1F497D" face="Calibri">See the ssl.wrap_socket documentation for more details.</font><font size="2" face="Arial"><br>
I have keyfile and certfile being a self signed certificate and 2048 bit RSA key respectively for barbican to use and ca_certs is the kmip_plugins' certificate for barbican to trust. Does this setup sound right?</font><br>
<font size="2" color="#1F497D" face="Calibri">In the sentence, you swap the key and certificate (i.e., the RSA key should be the keyfile and the self-signed certificate should be the certfile), but that’s probably not the real issue. :-)</font><br>
<font size="2" color="#1F497D" face="Calibri"> </font><br>
<font size="2" color="#1F497D" face="Calibri">If credentials (i.e., a key and certificate) weren’t provided to you for the KMIP appliance, you’ll probably need to have the KMIP appliance sign your self-signed certificate so it knows that it’s valid. The procedure differs by appliance but loosely resembles the following:</font>
<ul style="padding-left: 36pt"><font size="2" color="#1F497D" face="Calibri">1. Generate key and certificate on local machine using OpenSSL</font><br>
<font size="2" color="#1F497D" face="Calibri">2. Upload certificate to KMIP appliance</font><br>
<font size="2" color="#1F497D" face="Calibri">3. Sign the certificate using the KMIP appliance’s server certificate</font></ul>
<font size="2" color="#1F497D" face="Calibri">Alternatively, a key and certificate could be provided for the KMIP appliance; you would use those files rather than generating them locally.</font><br>
<font size="2" color="#1F497D" face="Calibri"> </font><br>
<font size="2" color="#1F497D" face="Calibri">Hope that information is helpful.</font><br>
<font size="2" color="#1F497D" face="Calibri"> </font><br>
<font size="2" color="#1F497D" face="Calibri">Joel</font><br>
<font size="2" color="#1F497D" face="Calibri"> </font><br>
<font size="2" color="#1F497D" face="Calibri"> </font><br>
<font size="2" face="Calibri"><b>From:</b></font><font size="2" face="Calibri"> John Wood [</font><font size="2" face="Calibri"><a href="mailto:john.wood@RACKSPACE.COM">mailto:john.wood@RACKSPACE.COM</a></font><font size="2" face="Calibri">] </font><font size="2" face="Calibri"><b><br>
Sent:</b></font><font size="2" face="Calibri"> Wednesday, April 15, 2015 9:19 AM</font><font size="2" face="Calibri"><b><br>
To:</b></font><font size="2" face="Calibri"> OpenStack Development Mailing List (not for usage questions)</font><font size="2" face="Calibri"><b><br>
Cc:</b></font><font size="2" face="Calibri"> Reller, Nathan S.; Farr, Kaitlin M.</font><font size="2" face="Calibri"><b><br>
Subject:</b></font><font size="2" face="Calibri"> Re: [openstack-dev] [barbican] Utilizing the KMIP plugin</font><br>
<font size="3" face="Times New Roman"> </font><br>
<font size="2" color="#0000FF" face="Calibri">Hello Christopher,</font><br>
<font size="2" color="#0000FF" face="Calibri"> </font><br>
<font size="2" color="#0000FF" face="Calibri">I’m glad you are making progress. I’m including two folks that worked on the KMIP plugin to see if they can help with your error diagnosis.</font><br>
<font size="2" color="#0000FF" face="Calibri"> </font><br>
<font size="2" color="#0000FF" face="Calibri">Thanks,</font><br>
<font size="2" color="#0000FF" face="Calibri">John</font><br>
<font size="2" color="#0000FF" face="Calibri"> </font><br>
<font size="2" color="#0000FF" face="Calibri"> </font><br>
<font size="2" face="Calibri"><b>From: </b></font><font size="2" face="Calibri">Christopher N Solis <</font><a href="mailto:cnsolis@us.ibm.com"><font size="2" color="#0000FF" face="Calibri"><u>cnsolis@us.ibm.com</u></font></a><font size="2" face="Calibri">></font><font size="2" face="Calibri"><b><br>
Reply-To: </b></font><font size="2" face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" face="Calibri">></font><font size="2" face="Calibri"><b><br>
Date: </b></font><font size="2" face="Calibri">Tuesday, April 14, 2015 at 10:21 AM</font><font size="2" face="Calibri"><b><br>
To: </b></font><font size="2" face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" face="Calibri">></font><font size="2" face="Calibri"><b><br>
Subject: </b></font><font size="2" face="Calibri">Re: [openstack-dev] [barbican] Utilizing the KMIP plugin</font><br>
<font size="2" color="#0000FF" face="Calibri"> </font>
<p><font size="2" color="#0000FF" face="Arial">Hey John. <br>
Thanks!<br>
You were right. It was reading the config from the /root directory because I switched to the root user. <br>
After switching back to the normal user it is reading the correct config file again. <br>
It is trying to use the kmip plugin now. </font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="2" color="#0000FF" face="Arial"><br>
However, I cannot not make a request to the kmip plugin because of an ssl error:</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="2" color="#0000FF" face="Arial"><br>
2015-04-14 10:02:26,219 - barbican.plugin.kmip_secret_store - ERROR - Error opening or writing to client<br>
Traceback (most recent call last):<br>
File "/home/swift/barbican/barbican/plugin/kmip_secret_store.py", line 167, in generate_symmetric_key<br>
self.client.open()<br>
File "/home/swift/.pyenv/versions/barbican27/lib/python2.7/site-packages/kmip/services/kmip_client.py", line 86, in open<br>
self.socket.connect((self.host, self.port))<br>
File "/home/swift/.pyenv/versions/2.7.6/lib/python2.7/ssl.py", line 333, in connect<br>
self._real_connect(addr, False)<br>
File "/home/swift/.pyenv/versions/2.7.6/lib/python2.7/ssl.py", line 314, in _real_connect<br>
self.ca_certs, self.ciphers)<br>
SSLError: [Errno 0] _ssl.c:343: error:00000000:lib(0):func(0):reason(0)</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="2" color="#0000FF" face="Arial"><br>
I believe there is a problem in the KMIP plugin part of the barbican-api.conf file: <br>
keyfile = '/path/to/certs/cert.key'<br>
certfile = '/path/to/certs/cert.crt'<br>
ca_certs = '/path/to/certs/LocalCA.crt'</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="2" color="#0000FF" face="Arial"><br>
What exactly is each variable suppose to contain? <br>
I have keyfile and certfile being a self signed certificate and 2048 bit RSA key respectively for barbican to use and <br>
ca_certs is the kmip_plugins' certificate for barbican to trust. Does this setup sound right?</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="2" color="#0000FF" face="Arial"><br>
Regards, <br>
Christopher Solis</font><font size="2" color="#0000FF" face="Calibri"><br>
<br>
</font><img src="cid:1__=08BBF4BDDFE3775B8f9e8a93df938@us.ibm.com" width="16" height="16" alt="Inactive hide details for John Wood ---04/10/2015 07:24:59 PM---Hello Christopher, It does seem that configs are being read for"><font size="2" color="#424282" face="Arial">John Wood ---04/10/2015 07:24:59 PM---Hello Christopher, It does seem that configs are being read for another location. Try to remove that</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="1" color="#5F5F5F" face="Arial"><br>
From: </font><font size="1" color="#0000FF" face="Arial">John Wood <</font><a href="mailto:john.wood@RACKSPACE.COM"><font size="1" color="#0000FF" face="Arial"><u>john.wood@RACKSPACE.COM</u></font></a><font size="1" color="#0000FF" face="Arial">></font><font size="1" color="#5F5F5F" face="Arial"><br>
To: </font><font size="1" color="#0000FF" face="Arial">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="1" color="#0000FF" face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size="1" color="#0000FF" face="Arial">></font><font size="1" color="#5F5F5F" face="Arial"><br>
Date: </font><font size="1" color="#0000FF" face="Arial">04/10/2015 07:24 PM</font><font size="1" color="#5F5F5F" face="Arial"><br>
Subject: </font><font size="1" color="#0000FF" face="Arial">Re: [openstack-dev] [barbican] Utilizing the KMIP plugin</font><br>
<hr width="100%" size="2" align="left" noshade><br>
<font size="2" color="#0000FF" face="Calibri"><br>
<br>
</font><font size="1" color="#0000FF" face="Calibri"><br>
Hello Christopher,</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="1" color="#0000FF" face="Calibri"><br>
It does seem that configs are being read for another location. Try to remove that copy in you home directory (so just keep the /etc location). If you see the same issue, try to rename your /etc/barbican/barbican-api.conf file to something else. Barbican should crash, probably with a No SQL connection error.</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="1" color="#0000FF" face="Calibri"><br>
Also, double check the ‘kmip_plugin’ setting in setup.cfg as per below, and try running ‘pip install -e .’ again in your virtual environment.</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="1" color="#0000FF" face="Calibri"><br>
FWIW, this CR adds better logging of plugin errors once the loading problem you have is figured out: </font><a href="https://review.openstack.org/#/c/171868/"><font size="1" color="#0000FF" face="Calibri"><u>https://review.openstack.org/#/c/171868/</u></font></a><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="1" color="#0000FF" face="Calibri"><br>
Thanks,<br>
John</font><font size="2" color="#0000FF" face="Calibri"><br>
<br>
</font><font size="2" color="#0000FF" face="Calibri"><b><br>
From: </b></font><font size="2" color="#0000FF" face="Calibri">Christopher N Solis <</font><a href="mailto:cnsolis@us.ibm.com"><font size="2" color="#0000FF" face="Calibri"><u>cnsolis@us.ibm.com</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Reply-To: </b></font><font size="2" color="#0000FF" face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Date: </b></font><font size="2" color="#0000FF" face="Calibri">Thursday, April 9, 2015 at 1:55 PM</font><font size="2" color="#0000FF" face="Calibri"><b><br>
To: </b></font><font size="2" color="#0000FF" face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Subject: </b></font><font size="2" color="#0000FF" face="Calibri">Re: [openstack-dev] [barbican] Utilizing the KMIP plugin</font>
<p><font size="2" color="#0000FF" face="Arial">Hey John. <br>
Thanks for letting me know about the error. But I think my configuration is not seeing the kmip_plugin selection.<br>
In my barbican-api.conf file in /etc/barbican I have set enabled_secretstore_plugins = kmip_plugin<br>
<br>
However, I don't think it is creating a KMIPSecretStore instance. <br>
I edited the code in kmip_secret_store.py and put a breakpoint at the very beginning of the init function.<br>
When I make a barbican request to put a secret in there, it did not stop at the breakpoint at all. <br>
I put another breakpoint in the store_crypto.py file inside the init function for the StoreCryptoAdapterPlugin and I <br>
was able to enter the code at that breakpoint. <br>
<br>
So even though in my barbican-api.conf file I specified kmip_plugin it seems to be using the store_crypto plugin instead. <br>
<br>
Is there something that might cause this to happen? <br>
I also want to note that my code has the most up to date pull from the community code. <br>
<br>
Here's what my /etc/barbican/barbican-api.conf file has in it: <br>
<br>
# ================= Secret Store Plugin ===================<br>
[secretstore]<br>
namespace = barbican.secretstore.plugin<br>
enabled_secretstore_plugins = kmip_plugin<br>
...<br>
...<br>
...<br>
# ================== KMIP plugin =====================<br>
[kmip_plugin]<br>
username = '******'<br>
password = '******'<br>
host = 10.0.2.15<br>
port = 5696<br>
keyfile = '/etc/barbican/rootCA.key'<br>
certfile = '/etc/barbican/rootCA.pem'<br>
ca_certs = '/etc/barbican/rootCA.pem'</font><font size="1" color="#0000FF" face="Calibri"><br>
</font><font size="1" color="#0000FF" face="Arial"><br>
<br>
Regards, <br>
Christopher Solis</font><font size="1" color="#0000FF" face="Calibri"><br>
<br>
</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><img src="cid:1__=08BBF4BDDFE3775B8f9e8a93df938@us.ibm.com" width="16" height="16" alt="Inactive hide details for John Wood ---04/08/2015 03:16:58 PM---Hello Christopher, My local configuration is indeed seeing the "><font size="2" color="#424282" face="Arial">John Wood ---04/08/2015 03:16:58 PM---Hello Christopher, My local configuration is indeed seeing the kmip_plugin selection, but when steve</font><font size="1" color="#5F5F5F" face="Arial"><br>
<br>
From: </font><font size="1" color="#0000FF" face="Arial">John Wood <</font><a href="mailto:john.wood@RACKSPACE.COM"><font size="1" color="#0000FF" face="Arial"><u>john.wood@RACKSPACE.COM</u></font></a><font size="1" color="#0000FF" face="Arial">></font><font size="1" color="#5F5F5F" face="Arial"><br>
To: </font><font size="1" color="#0000FF" face="Arial">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="1" color="#0000FF" face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size="1" color="#0000FF" face="Arial">></font><font size="1" color="#5F5F5F" face="Arial"><br>
Date: </font><font size="1" color="#0000FF" face="Arial">04/08/2015 03:16 PM</font><font size="1" color="#5F5F5F" face="Arial"><br>
Subject: </font><font size="1" color="#0000FF" face="Arial">Re: [openstack-dev] [barbican] Utilizing the KMIP plugin</font><br>
<hr width="100%" size="2" align="left" noshade><br>
<font size="1" color="#0000FF" face="Calibri"><br>
<br>
<br>
Hello Christopher, <br>
<br>
My local configuration is indeed seeing the kmip_plugin selection, but when stevedore tries to load the KMIP plugin it crashes because required files are missing in my local environment (see </font><a href="https://github.com/openstack/barbican/blob/master/barbican/plugin/kmip_secret_store.py#L131" target="_blank"><font size="1" color="#1D40FF" face="Arial"><u>https://github.com/openstack/barbican/blob/master/barbican/plugin/kmip_secret_store.py#L131</u></font></a><font size="1" color="#0000FF" face="Calibri">) for example.<br>
<br>
Stevedore logs the exception but then doesn’t load this module, so when Barbican asks for an available plugin it doesn’t see it and crashes as you see. So the root exception from stevedore isn’t showing up in my logs for some reason, and probably not in yours as well. We’ll try to put up a CR to at least expose this exception in logs. In the mean time, make sure the KMIP values checked via that link above are configured on your machine.<br>
<br>
Sorry for the inconvenience,<br>
John<br>
</font><font size="2" color="#0000FF" face="Calibri"><b><br>
<br>
From: </b></font><font size="2" color="#0000FF" face="Calibri">Christopher N Solis <</font><a href="mailto:cnsolis@us.ibm.com"><font size="2" color="#0000FF" face="Calibri"><u>cnsolis@us.ibm.com</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Reply-To: </b></font><font size="2" color="#0000FF" face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Date: </b></font><font size="2" color="#0000FF" face="Calibri">Wednesday, April 8, 2015 at 11:27 AM</font><font size="2" color="#0000FF" face="Calibri"><b><br>
To: </b></font><font size="2" color="#0000FF" face="Calibri">"OpenStack Development Mailing List (not for usage questions)" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Subject: </b></font><font size="2" color="#0000FF" face="Calibri">Re: [openstack-dev] [barbican] Utilizing the KMIP plugin</font><font size="2" color="#0000FF" face="Calibri"> </font>
<p><font size="2" color="#0000FF" face="Arial">Hey John. <br>
I do have the barbican-api.conf file located in the /etc/barbican folder. But that does not seem to be the one that barbican <br>
reads from. It seems to be reading from the barbican-api.conf file locate in my home directory. <br>
Either way, both have the exact same configurations. <br>
<br>
I also checked the setup.cfg file and it does have the line for kmip_plugin . </font><font size="1" color="#0000FF" face="Arial"><br>
<br>
Regards,</font><font size="3" color="#0000FF" face="Arial"><b><br>
<br>
CHRIS SOLIS</b></font><font size="1" color="#0000FF" face="Calibri"><br>
</font><font size="2" color="#0000FF" face="Calibri"><br>
</font><img src="cid:1__=08BBF4BDDFE3775B8f9e8a93df938@us.ibm.com" width="16" height="16" alt="Inactive hide details for John Wood ---04/07/2015 10:39:18 AM---Hello Christopher, Just checking, but is that barbican-api.conf"><font size="2" color="#424282" face="Arial">John Wood ---04/07/2015 10:39:18 AM---Hello Christopher, Just checking, but is that barbican-api.conf file located in your local system's</font><font size="1" color="#5F5F5F" face="Arial"><br>
<br>
From: </font><font size="1" color="#0000FF" face="Arial">John Wood <</font><a href="mailto:john.wood@RACKSPACE.COM"><font size="1" color="#0000FF" face="Arial"><u>john.wood@RACKSPACE.COM</u></font></a><font size="1" color="#0000FF" face="Arial">></font><font size="1" color="#5F5F5F" face="Arial"><br>
To: </font><font size="1" color="#0000FF" face="Arial">"</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="1" color="#0000FF" face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size="1" color="#0000FF" face="Arial">" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="1" color="#0000FF" face="Arial"><u>openstack-dev@lists.openstack.org</u></font></a><font size="1" color="#0000FF" face="Arial">></font><font size="1" color="#5F5F5F" face="Arial"><br>
Date: </font><font size="1" color="#0000FF" face="Arial">04/07/2015 10:39 AM</font><font size="1" color="#5F5F5F" face="Arial"><br>
Subject: </font><font size="1" color="#0000FF" face="Arial">Re: [openstack-dev] [barbican] Utilizing the KMIP plugin</font><br>
<hr width="100%" size="2" align="left" noshade><br>
<font size="1" color="#0000FF" face="Calibri"><br>
<br>
<br>
Hello Christopher,<br>
<br>
Just checking, but is that barbican-api.conf file located in your local system’s /etc/barbican folder? If not that is the preferred place for local development. Modifying the copy that is in your local git repository will have no effect.<br>
<br>
Also, please double check that your local git repository’s setup.cfg has a line like this in there (at/around #35):<br>
<br>
kmip_plugin = barbican.plugin.kmip_secret_store:KMIPSecretStore<br>
<br>
Thanks,<br>
John<br>
<br>
</font><font size="2" color="#0000FF" face="Calibri"><b><br>
<br>
<br>
From: </b></font><font size="2" color="#0000FF" face="Calibri">Christopher N Solis <</font><a href="mailto:cnsolis@us.ibm.com"><font size="2" color="#0000FF" face="Calibri"><u>cnsolis@us.ibm.com</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Reply-To: </b></font><font size="2" color="#0000FF" face="Calibri">"</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Date: </b></font><font size="2" color="#0000FF" face="Calibri">Monday, April 6, 2015 at 10:25 AM</font><font size="2" color="#0000FF" face="Calibri"><b><br>
To: </b></font><font size="2" color="#0000FF" face="Calibri">"</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">" <</font><a href="mailto:openstack-dev@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>openstack-dev@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">></font><font size="2" color="#0000FF" face="Calibri"><b><br>
Subject: </b></font><font size="2" color="#0000FF" face="Calibri">[openstack-dev] [barbican] Utilizing the KMIP plugin</font><font size="1" color="#0000FF" face="Calibri"> </font><font size="2" color="#0000FF" face="Calibri"> </font>
<p><font size="2" color="#0000FF" face="Arial">Hello!<br>
<br>
Sorry to Kaitlin Farr for not responding directly to your e-mail. <br>
My openstack settings were misconfigured and I was not receiving e-mail from the dev mailing list. <br>
Thanks for looking into the issue. <br>
<br>
I double checked the permissions at the bottom of the kmip_plugin part in the barbican-api.conf file <br>
and they are set to 400. <br>
<br>
I would also like to note that I do not think the code ever actually entered the __init__ function<br>
of KMIPSecretStore. I put a breakpoint in the __init__ function but the debugger never gets open. <br>
The error occurs and returns without ever seeming to enter the init function. <br>
<br>
Here are the parts of the barbican-api.conf file that concern the kmip_plugin: <br>
.....................<br>
[secretstore]<br>
namespace = barbican.secretstore.plugin<br>
enabled_secretstore_plugins = kmip_plugin<br>
.....................<br>
[kmip_plugin]<br>
username = '**********'<br>
password = '**********'<br>
host = ********<br>
port = ********<br>
keyfile = '/etc/barbican/rootCA.key'<br>
certfile = '/etc/barbican/rootCA.pem'<br>
ca_certs = '/etc/barbican/rootCA.pem'<br>
.......................<br>
<br>
Thank You!!<br>
<br>
Regards, <br>
Christopher Solis</font><font size="2" color="#0000FF" face="Calibri">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </font><a href="mailto:OpenStack-dev-request@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>OpenStack-dev-request@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">?subject:unsubscribe</font><font size="2" color="#0000FF" face="Calibri"><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><font size="2" color="#0000FF" face="Calibri"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><font size="2" color="#0000FF" face="Calibri">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </font><a href="mailto:OpenStack-dev-request@lists.openstack.org"><font size="2" color="#0000FF" face="Calibri"><u>OpenStack-dev-request@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Calibri">?subject:unsubscribe</font><font size="2" color="#0000FF" face="Calibri"><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><font size="2" color="#0000FF" face="Calibri"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><font size="2" color="#0000FF" face="Arial"><br>
<br>
[attachment "graycol.gif" deleted by Christopher N Solis/Austin/IBM] </font><font size="2" color="#0000FF" face="Courier New">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </font><a href="mailto:OpenStack-dev-request@lists.openstack.org"><font size="2" color="#0000FF" face="Courier New"><u>OpenStack-dev-request@lists.openstack.org</u></font></a><font size="2" color="#0000FF" face="Courier New">?subject:unsubscribe</font><font size="2" color="#0000FF" face="Courier New"><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><font size="2" color="#0000FF" face="Courier New"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><font size="2" color="#0000FF" face="Calibri"><br>
</font><font size="2" color="#0000FF" face="Arial"><br>
[attachment "graycol.gif" deleted by Christopher N Solis/Austin/IBM] </font>
<p></body></html>