Ramon,
Pebbles is far from backed at the moment and we’re running into the same issue.
Without taking a closer look at this, I’d say this fails because a tenant is
actually now a project in Keystone. Try to fix the Chef recipe and upload it
using this method:
https://github.com/crowbar/crowbar/wiki/Fast-forward-apply-cookbook-changes.
Hope this helps,
Simon
From: crowbar-bounces On Behalf Of Makkelie, R - SPLXL
Sent: Wednesday, April 10, 2013 9:01 AM
To: crowbar
Subject: [Crowbar] Pebbles releas: Error executing action `add_tenant` on
resource 'keystone_register[add default admin tenant]'
i have the following problems with deploying keystone using the pebbles release
i have this error with both PFS and without.
it results in the following error
[Wed, 10 Apr 2013 08:53:06 -0500] INFO: Processing
template[/etc/keystone/keystone.conf] action create (keystone::server line 177)
[Wed, 10 Apr 2013 08:53:06 -0500] INFO: Processing execute[keystone-manage
db_sync] action run (keystone::server line 206)
[Wed, 10 Apr 2013 08:53:06 -0500] INFO: execute[keystone-manage db_sync] ran
successfully
[Wed, 10 Apr 2013 08:53:06 -0500] INFO: Processing execute[keystone-manage
pki_setup] action run (keystone::server line 212)
[Wed, 10 Apr 2013 08:53:06 -0500] INFO: execute[keystone-manage pki_setup] ran
successfully
[Wed, 10 Apr 2013 08:53:06 -0500] INFO: Processing keystone_register[wakeup
keystone] action wakeup (keystone::server line 222)
[Wed, 10 Apr 2013 08:53:06 -0500] INFO: Processing keystone_register[add
default admin tenant] action add_tenant (keystone::server line 234)
[Wed, 10 Apr 2013 08:53:06 -0500] ERROR: Unable to create item 'admin'
[Wed, 10 Apr 2013 08:53:06 -0500] ERROR: Response Code: 500
[Wed, 10 Apr 2013 08:53:06 -0500] ERROR: Response Message: Internal Server Error
================================================================================
Error executing action `add_tenant` on resource 'keystone_register[add default
admin tenant]'
================================================================================
RuntimeError
------------
Failed to talk to keystone in _create_item
Cookbook Trace:
---------------
/var/cache/chef/cookbooks/keystone/providers/register.rb:296:in `_create_item'
/var/cache/chef/cookbooks/keystone/providers/register.rb:78:in `class_from_file'
Resource Declaration:
---------------------
# In /var/cache/chef/cookbooks/keystone/recipes/server.rb
234: keystone_register "add default #{tenant} tenant" do
235: host my_ipaddress
236: port node[:keystone][:api][:admin_port]
237: token node[:keystone][:service][:token]
238: tenant_name tenant
239: action :add_tenant
240: end
241: end
Compiled Resource:
------------------
# Declared in /var/cache/chef/cookbooks/keystone/recipes/server.rb:234:in
`from_file'
keystone_register("add default admin tenant") do
host "192.168.124.81"
token "005613119505"
recipe_name "server"
action [:add_tenant]
retry_delay 2
cookbook_name "keystone"
port 35357
tenant_name "admin"
retries 0
end
[Wed, 10 Apr 2013 08:53:06 -0500] ERROR: Running exception handlers
[Wed, 10 Apr 2013 08:53:06 -0500] FATAL: Saving node information to
/var/cache/chef/failed-run-data.json
[Wed, 10 Apr 2013 08:53:06 -0500] ERROR: Exception handlers complete
[Wed, 10 Apr 2013 08:53:06 -0500] FATAL: Stacktrace dumped to
/var/cache/chef/chef-stacktrace.out
[Wed, 10 Apr 2013 08:53:06 -0500] FATAL: RuntimeError: keystone_register[add
default admin tenant] (keystone::server line 234) had an error: RuntimeError:
Failed to talk to keystone in _create_item
********************************************************
For information, services and offers, please visit our web site:
http://www.klm.com. This e-mail and any attachment may contain confidential and
privileged material intended for the addressee only. If you are not the
addressee, you are notified that no part of the e-mail or any attachment may be
disclosed, copied or distributed, and that any other action related to this
e-mail or attachment is strictly prohibited, and may be unlawful. If you have
received this e-mail by error, please notify the sender immediately by return
e-mail, and delete this message.
Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its
employees shall not be liable for the incorrect or incomplete transmission of
this e-mail or any attachments, nor responsible for any delay in receipt.
Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch
Airlines) is registered in Amstelveen, The Netherlands, with registered number
33014286
********************************************************
_______________________________________________
Crowbar mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/