[openstack-dev] [rally] "Failed to create the requested number of tenants" error

Aleksandr Maretskiy amaretskiy at mirantis.com
Fri Jun 10 14:42:47 UTC 2016


Nate,

please try to make this simple check to make sure that everything is set up
properly:

1) command "rally deployment check" should print an ascii-table with a list
of services available
2) load rally auto-generated openrc file and run some OpenStack CLI command,
    for example:

      $ . ~/.rally/openrc
      $ openstack network list   # does this work as expected?

Also, make sure that value of "auth_url" in Rally deployment configuration
(this can be obtained via command "rally deployment config") is correct.
Please use correct deployment configuration in opposite to envvars like
OS_AUTH_URL while using Rally


On Fri, Jun 10, 2016 at 5:25 PM, Nate Johnston <openstacknate at gmail.com>
wrote:

> Boris,
>
> We use a common Keystone across all of our production environments; I
> was running this against a new deployment we are working on making
> production-ready, so I had specified OS_AUTH_URL to be the common
> keystone.  There is no keystone deployed in this datacenter.
>
> Is there a specific way I need to tweak Rally for that kind of setup?
>
> Thanks,
>
> --N.
>
> P.S. Sending you the catalog under separate cover.
>
> Thu, Jun 09, 2016 at 10:15:09PM -0700, Boris Pavlovic wrote:
> > Nate,
> >
> > This looks quite strange. Could you share the information from keystone
> > catalog?
> >
> > Seems like you didn't setup admin endpoint for keystone in that region.
> >
> > Best regards,
> > Boris Pavlovic
> >
> > On Thu, Jun 9, 2016 at 12:41 PM, Nate Johnston <openstacknate at gmail.com>
> > wrote:
> >
> > > Rally folks,
> > >
> > > I am working with an engineer to get him up to speed on Rally on a new
> > > development.  He is trying out running a few tests from the samples
> > > directory, like samples/tasks/scenarios/nova/list-hypervisors.yaml -
> but
> > > he keeps getting the error "Completed: Exit context: `users`\nTask
> > > config is invalid: `Unable to setup context 'users': 'Failed to create
> > > the requested number of tenants.'`"
> > >
> > > This is against an Icehouse environment with Mitaka Rally; When I run
> > > Rally with debug logging I see:
> > >
> > > 2016-06-08 18:59:24.692 11197 ERROR rally.common.broker
> EndpointNotFound:
> > > admin endpoint for identity service in XXXX region not found
> > >
> > > However I note that $OS_AUTH_URL is set in the Rally deployment... see
> > > http://paste.openstack.org/show/509002/ for the full log.
> > >
> > > Any ideas you could give me would be much appreciated.  Thanks!
> > >
> > > --N.
> > >
> > >
> > >
> > >
> __________________________________________________________________________
> > > OpenStack Development Mailing List (not for usage questions)
> > > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> > >
>
> >
> __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe:
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160610/b770fdf1/attachment.html>


More information about the OpenStack-dev mailing list