Re: [Openstack-operators] Error in making connection Openstack Python SDK
Hi Amit, Sending it again to include the ML! On 2 March 2017 at 11:01, Amit Kumarwrote: > Hi All, > > I have deployed Openstack using Openstack-Ansible. I am using Newton > release from tag 14.0.8. My test environment is containing only Compute > Node and Controller Node (Infra Node). > When using Openstack Python SDK, I am getting following error while making > connection to external_vib_lp_address (192.168.255.45) binded to port 5000. > > *openstack.exceptions.SDKException: Connection failure that may be > retried.* > Based on the error this is a connection issue - have you tested manually connecting to the external address you listed on that port? A good place to start would be to start looking at why it can't connect and seeing if you can manually connect outside of using the SDK. Are you trying to connect from a separate host to the OpenStack environment? If so can you even access 192.168.255.45? If you're still having issues feel free to jump into #openstack-ansible on Freenode and hopefully you'll be able to get more help there! Andy ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] Error in making connection Openstack Python SDK
Thanks Alexandra. I missed to follow the convention. I will take care of it in future. But I am in doubt if this problem is specific to deployment using OSA or some other generic problem. Regards, Amit On Mar 2, 2017 4:35 PM, "Alexandra Settle" <a.set...@outlook.com> wrote: > Hi Amit, > > > > I have CC’d Andy McCrae, the OpenStack-Ansible PTL. > > > > For all OpenStack-Ansible related queries, I would recommend tagging the > subject line with [openstack-anisble] to help those with filters :) > > > > Either that, or potentially ask your question in the IRC channel > #openstack-ansible > > > > Cheers, > > > > Alex > > > > *From: *Amit Kumar <ebiib...@gmail.com> > *Date: *Thursday, March 2, 2017 at 11:01 AM > *To: *Openstack <openst...@lists.openstack.org>, OpenStack Operators < > openstack-operators@lists.openstack.org> > *Subject: *[Openstack-operators] Error in making connection Openstack > Python SDK > > > > Hi All, > > > > I have deployed Openstack using Openstack-Ansible. I am using Newton > release from tag 14.0.8. My test environment is containing only Compute > Node and Controller Node (Infra Node). > > When using Openstack Python SDK, I am getting following error while making > connection to external_vib_lp_address (192.168.255.45) binded to port 5000. > > > > *openstack.exceptions.SDKException: Connection failure that may be > retried.* > > > > Any clue about this issue? More detailed traces are at: > http://paste.openstack.org/show/601053/ > > > > Python script which I am using for this purpose is attached with this > e-mail. > > > > Thanks. > > > > Regards, > > Amit > ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
Re: [Openstack-operators] Error in making connection Openstack Python SDK
Hi Amit, I have CC’d Andy McCrae, the OpenStack-Ansible PTL. For all OpenStack-Ansible related queries, I would recommend tagging the subject line with [openstack-anisble] to help those with filters :) Either that, or potentially ask your question in the IRC channel #openstack-ansible Cheers, Alex From: Amit Kumar <ebiib...@gmail.com> Date: Thursday, March 2, 2017 at 11:01 AM To: Openstack <openst...@lists.openstack.org>, OpenStack Operators <openstack-operators@lists.openstack.org> Subject: [Openstack-operators] Error in making connection Openstack Python SDK Hi All, I have deployed Openstack using Openstack-Ansible. I am using Newton release from tag 14.0.8. My test environment is containing only Compute Node and Controller Node (Infra Node). When using Openstack Python SDK, I am getting following error while making connection to external_vib_lp_address (192.168.255.45) binded to port 5000. openstack.exceptions.SDKException: Connection failure that may be retried. Any clue about this issue? More detailed traces are at: http://paste.openstack.org/show/601053/ Python script which I am using for this purpose is attached with this e-mail. Thanks. Regards, Amit ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
[Openstack-operators] Error in making connection Openstack Python SDK
Hi All, I have deployed Openstack using Openstack-Ansible. I am using Newton release from tag 14.0.8. My test environment is containing only Compute Node and Controller Node (Infra Node). When using Openstack Python SDK, I am getting following error while making connection to external_vib_lp_address (192.168.255.45) binded to port 5000. *openstack.exceptions.SDKException: Connection failure that may be retried.* Any clue about this issue? More detailed traces are at: http://paste.openstack.org/show/601053/ Python script which I am using for this purpose is attached with this e-mail. Thanks. Regards, Amit from openstack import connection auth_args = { 'auth_url': 'http://192.168.255.45:5000/v3', 'project_name': 'admin', 'username': 'admin', 'password': '362a7f371d10d4461659e049548', } conn = connection.Connection(**auth_args) projects = conn.identity.find_project('admin') print projects #network = conn.network.find_network("jenkins") #print network___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators