<div dir="ltr">Hi Alec,<div>Thanks for the help. I ran into another problem. At present I do not have a cinder service. So ,when i am trying to run kloudbuster, I am getting this error: </div><div>"EndpointNotFound: publicURL endpoint for volumev2 service not found"<br></div><div>Is it possible to run the scale test (creation of VMs, router, network) without having a cinder service? Any option that can be used so that kloudbuster can run without cinder.</div><div><br></div><div>Thanks,</div><div>Akshay</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 23, 2016 at 9:05 PM, Alec Hothan (ahothan) <span dir="ltr"><<a href="mailto:ahothan@cisco.com" target="_blank">ahothan@cisco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Futura,sans-serif">
<div>
<div>Hi Akshay</div>
<div><br>
</div>
<div>The URL you are using is a private address (<a href="http://192.168.138.51:5000/v2.0" target="_blank">http://192.168.138.51:5000/v2.0</a>) and is likely the reason it does not work.</div>
<div>If you run the kloudbuster App in the cloud, this app needs to have access to the cloud under test.</div>
<div>So even if you can access 192.168.138.51 from your local browser (which runs on your workstation or laptop) it may not be accessible from a VM that runs in your cloud.</div>
<div>For that to work you need to get an URL that is reachable from the VM.</div>
<div><br>
</div>
<div>In some cases where the cloud under test is local, it is easier to just run kloudbuster locally as well (from the same place where you can ping 192.168.138.51).</div>
<div>You can either use a local VM to run the kloudbuster image (vagrant, virtual box...) or just simpler, install kloudbuster locally using git clone or pip install (see the installation instructions in the doc <a href="http://kloudbuster.readthedocs.org/en/latest/" target="_blank">http://kloudbuster.readthedocs.org/en/latest/</a>).</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>   Alec</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div></div>
</div>
</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:12pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Akshay Kumar Sanghai <<a href="mailto:akshaykumarsanghai@gmail.com" target="_blank">akshaykumarsanghai@gmail.com</a>><br>
<span style="font-weight:bold">Reply-To: </span>"<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, March 23, 2016 at 6:59 AM<br>
<span style="font-weight:bold">To: </span>"Yichen Wang (yicwang)" <<a href="mailto:yicwang@cisco.com" target="_blank">yicwang@cisco.com</a>>, "<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>[openstack-dev] [kloudbuster] authorization failed problem<br>
</div><div><div class="h5">
<div><br>
</div>
<blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5">
<div>
<div>
<div dir="ltr">
<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
Hi,</p>
<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
I am trying to use cloudbuster for the scale testing of openstack setup.</p>
<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
I have a openstack setup with 1 controller, 1 network and 2 compute node. I am trying to use to use kloudbuster for scale testing of the setup. I created one VM with kloudbuster image. I accessed the web UI and clicked on "stage". This is the log:<br>
:23,206 WARNING No public key is found or specified to instantiate VMs. You will not be able to access the VMs spawned by KloudBuster.<br>
2016-03-22 14:01:30,464 WARNING Traceback (most recent call last):<br>
  File \"/kb_test/kloudbuster/kb_server/kb_server/controllers/api_kb.py\", line 58, in kb_stage_thread_handler<br>
    if kb_session.kloudbuster.check_and_upload_images():<br>
  File \"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\", line 283, in check_and_upload_images<br>
    keystone_list = [create_keystone_client(self.server_cred)[0],<br>
  File \"/kb_test/kloudbuster/kb_server/kb_server/controllers/../../../kloudbuster/kloudbuster.py\", line 54, in create_keystone_client<br>
    return (keystoneclient.Client(endpoint_type='publicURL', **creds), creds['auth_url'])<br>
  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\", line 166, in __init__<br>
    self.authenticate()<br>
  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py\", line 337, in inner<br>
    return func(*args, **kwargs)<br>
  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/httpclient.py\", line 589, in authenticate<br>
    resp = self.get_raw_token_from_identity_service(**kwargs)<br>
  File \"/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/client.py\", line 210, in get_raw_token_from_identity_service<br>
    _(\"Authorization Failed: %s\") % e)<br>
AuthorizationFailure: Authorization Failed: Unable to establish connection to <a rel="nofollow" href="http://192.168.138.51:5000/v2.0/tokens" style="color:rgb(0,51,170)" target="_blank">http://192.168.138.51:5000/v2.0/tokens</a></p>
<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
I used a rest client to find whether v2.0/tokens is working or not, it was working. I got the token . This is the openrc file I used:<br>
export OS_PROJECT_DOMAIN_ID=default<br>
export OS_USER_DOMAIN_ID=default<br>
#export OS_IMAGE_API_VERSION=2<br>
export OS_AUTH_URL=<a rel="nofollow" href="http://192.168.138.51:5000/v2.0" style="color:rgb(0,51,170)" target="_blank">http://192.168.138.51:5000/v2.0</a><br>
export OS_TENANT_NAME=admin<br>
#export OS_PROJECT_NAME=admin<br>
export OS_USERNAME=admin<br>
export OS_PASSWORD=sanghai<br>
export OS_REGION_NAME=RegionOne</p>
<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
Please suggest a solution and let me know if I missed some details.</p>
<p style="margin:0px 0px 0.8em;padding:0px;width:auto;max-width:45em;color:rgb(51,51,51);font-family:Ubuntu,'Bitstream Vera Sans','DejaVu Sans',Tahoma,sans-serif;font-size:12px;line-height:18px">
Thanks,<br>
Akshay</p>
</div>
</div>
</div>
</blockquote>
</div></div></span>
</div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>