[openstack-dev] [kloudbuster] authorization failed problem

Akshay Kumar Sanghai akshaykumarsanghai at gmail.com
Wed Mar 30 14:30:34 UTC 2016


Hi Alec,
Thanks for clarifying. I didnot have the cinder service previously. It was
not a complete setup. Now, I did the setup of cinder service.
Output of keystone service list.
[image: Inline image 1]
I installed the setup of openstack using the installation guide for ubuntu
and for kloudbuster, its a pypi based installation. So, I am running
kloudbuster using the CLI option.
kloudbuster --tested-rc keystone-openrc.sh --tested-passwd ***** --config
kb.cfg

contents of kb.cfg:
image_name: 'kloudbuster'

I added the kloudbuster v5 version as glance image with name as
kloudbuster.

I don't understand some basic things. If you can help, then that would be
great.
-Does the server side means the cloud generating the traffic and client
side means the the cloud on which connections are established? Can you
please elaborate on client, server and proxy?
-while running the kloudbuster, I saw "setting up redis connection". Can
you please expain to which connection is established and why? Is it
KB_PROXY?

Please find attached the run of kloudbuster as a file. I have still not
succeeded in running the kloudbuster, some errors.
I appreciate your help Alec.

Thanks,
Akshay

On Mon, Mar 28, 2016 at 8:59 PM, Alec Hothan (ahothan) <ahothan at cisco.com>
wrote:

>
> Can you describe what you mean by "do not have a cinder service"?
> Can you provide the output of "keystone service-list"?
>
> We'd have to know a bit more about what you have been doing:
> how did you install your openstack, how did you install kloudbuster, which
> kloudbuster qcow2 image version did you use, who did you run kloudbuster
> (cli or REST or web UI), what config file have you been using, complete log
> of the run (including backtrace)...
>
> But the key is - you should really have a fully working openstack
> deployment before using kloudbuster. Nobody has never tried so far to use
> kloudbuster without such basic service as cinder working.
>
> Thanks
>
>   Alec
>
>
>
> From: Akshay Kumar Sanghai <akshaykumarsanghai at gmail.com>
> Date: Monday, March 28, 2016 at 6:51 AM
> To: OpenStack List <openstack-dev at lists.openstack.org>, Alec Hothan <
> ahothan at cisco.com>
> Cc: "Yichen Wang (yicwang)" <yicwang at cisco.com>
> Subject: Re: [openstack-dev] [kloudbuster] authorization failed problem
>
> Hi Alec,
> 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:
> "EndpointNotFound: publicURL endpoint for volumev2 service not found"
> 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.
>
> Thanks,
> Akshay
>
> On Wed, Mar 23, 2016 at 9:05 PM, Alec Hothan (ahothan) <ahothan at cisco.com>
> wrote:
>
>> Hi Akshay
>>
>> The URL you are using is a private address (
>> http://192.168.138.51:5000/v2.0) and is likely the reason it does not
>> work.
>> If you run the kloudbuster App in the cloud, this app needs to have
>> access to the cloud under test.
>> 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.
>> For that to work you need to get an URL that is reachable from the VM.
>>
>> 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).
>> 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
>> http://kloudbuster.readthedocs.org/en/latest/).
>>
>> Regards,
>>
>>    Alec
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160330/a531a9a7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 28812 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160330/a531a9a7/attachment-0001.png>
-------------- next part --------------
(vkb) root at controller:~# kloudbuster --tested-rc keystone-openrc.sh --tested-passwd sanghai --config kb.cfg
2016-03-30 19:37:35 WARNING No public key is found or specified to instantiate VMs. You will not be able to access the VMs spawned by KloudBuster.
2016-03-30 19:37:36 INFO Creating kloud: KBs
2016-03-30 19:37:36 INFO Creating kloud: KBc
2016-03-30 19:37:36 INFO Creating tenant: KBs-T0
2016-03-30 19:37:36 INFO Creating user: KBs-T0-U
2016-03-30 19:37:36 INFO Creating routers and networks for tenant KBs-T0
2016-03-30 19:37:38 INFO Scheduled to create VMs for network KBs-T0-U-R0-N0...
2016-03-30 19:37:38 INFO Creating tenant: KBc-T0
2016-03-30 19:37:38 INFO Creating user: KBc-T0-U
2016-03-30 19:37:39 INFO Creating routers and networks for tenant KBc-T0
2016-03-30 19:37:40 INFO Scheduled to create VMs for network KBc-T0-U-R0-N0...
2016-03-30 19:37:41 INFO Creating Instance: KB-PROXY
2016-03-30 19:37:51 INFO Setting up the redis connections...
2016-03-30 19:39:59 INFO Preparing metadata for VMs... (Server)
2016-03-30 19:39:59 INFO Creating Instance: KBs-T0-U-R0-N0-I0
2016-03-30 19:40:08 INFO Preparing metadata for VMs... (Client)
2016-03-30 19:40:08 INFO Creating Instance: KBc-T0-U-R0-N0-I0
2016-03-30 19:40:17 INFO Provision Details (Tested Kloud)
+-------------------+----------+---------------+---------------+-------------+-----------------------+
| VM Name           | Host     | Internal IP   |   Floating IP | Subnet      | Shared Interface IP   |
|-------------------+----------+---------------+---------------+-------------+-----------------------|
| KBs-T0-U-R0-N0-I0 | compute2 | 10.1.0.3      |               | 10.1.0.0/16 | 10.2.0.4              |
+-------------------+----------+---------------+---------------+-------------+-----------------------+
2016-03-30 19:40:17 INFO Provision Details (Testing Kloud)
+-------------------+----------+---------------+-----------------+-------------+
| VM Name           | Host     | Internal IP   | Floating IP     | Subnet      |
|-------------------+----------+---------------+-----------------+-------------|
| KBc-T0-U-R0-N0-I0 | compute1 | 10.2.0.5      |                 | 10.2.0.0/16 |
| KB-PROXY          | compute1 | 10.2.0.3      | 192.168.138.136 | 10.2.0.0/16 |
+-------------------+----------+---------------+-----------------+-------------+
2016-03-30 19:40:17 INFO Waiting for agents on VMs to come up...
2016-03-30 19:40:22 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #0
2016-03-30 19:40:27 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #1
2016-03-30 19:40:32 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #2
2016-03-30 19:40:37 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #3
2016-03-30 19:40:42 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #4
2016-03-30 19:40:47 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #5
2016-03-30 19:40:52 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #6
2016-03-30 19:40:57 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #7
2016-03-30 19:41:02 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #8
2016-03-30 19:41:07 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #9
2016-03-30 19:41:12 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #10
2016-03-30 19:41:17 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #11
2016-03-30 19:41:22 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #12
2016-03-30 19:41:27 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #13
2016-03-30 19:41:32 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #14
2016-03-30 19:41:37 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #15
2016-03-30 19:41:42 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #16
2016-03-30 19:41:47 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #17
2016-03-30 19:41:52 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #18
2016-03-30 19:41:57 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #19
2016-03-30 19:42:02 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #20
2016-03-30 19:42:07 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #21
2016-03-30 19:42:12 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #22
2016-03-30 19:42:17 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #23
2016-03-30 19:42:22 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #24
2016-03-30 19:42:27 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #25
2016-03-30 19:42:32 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #26
2016-03-30 19:42:37 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #27
2016-03-30 19:42:42 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #28
2016-03-30 19:42:47 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #29
2016-03-30 19:42:52 INFO 0 Succeed, 0 Failed, 1 Pending... Retry #30


More information about the OpenStack-dev mailing list