[opensuse-cloud] Error for "keystone-manage db_sync"
Hi, Today I set up Grizzly environment on openSUSE 12.3 following the document bel ow. <http://turing.suse.de/~aj/basic-install/content/basic-install_controller.ht Of course I finished the all packages were updated with yast. On page 6 I entered "keystone-manage db_sync" and got the error below. /usr/lib/python2.7/site-packages/keystone/openstack/common/version.py:21: User Warning: Module argparse was already imported from /usr/lib64/python2.7/argpar se.pyc, but /usr/lib/python2.7/site-packages is being added to sys.path import pkg_resources Traceback (most recent call last): File "/usr/bin/keystone-manage", line 28, in <module> cli.main(argv=sys.argv, config_files=config_files) File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 175, in main CONF.command.cmd_class.main() File "/usr/lib/python2.7/site-packages/keystone/cli.py", line 52, in main driver = importutils.import_object(getattr(CONF, k).driver) File "/usr/lib/python2.7/site-packages/keystone/openstack/common/importutils .py", line 40, in import_object return import_class(import_str)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/keystone/catalog/backends/templated.p y", line 102, in __init__ self._load_templates(template_file) File "/usr/lib/python2.7/site-packages/keystone/catalog/backends/templated.p y", line 107, in _load_templates self.templates = parse_templates(open(template_file)) TypeError: coercing to Unicode: need string or buffer, NoneType found But I checked the table on mysql and found the tables below. mysql> use keystone; Database changed mysql> show tables; +------------------------+ | Tables_in_keystone | +------------------------+ | credential | | domain | | ec2_credential | | endpoint | | group | | group_domain_metadata | | group_project_metadata | | migrate_version | | policy | | project | | role | | service | | token | | trust | | trust_role | | user | | user_domain_metadata | | user_group_membership | | user_project_metadata | +------------------------+ 19 rows in set (0.00 sec) So, what is the reason for this error? I can't find the any workarounds with G oogle. Best Regards. Ryo Murakawa -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Am 12.07.2013 05:26, schrieb Ryo Murakawa:
) File "/usr/lib/python2.7/site-packages/keystone/catalog/backends/templated.p y", line 107, in _load_templates
did you setup the file /etc/keystone/default_catalog.templates and did you replace any %STRING% sequences? For how to do it, please see our demosetup script in the openstack-quickstart package. Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
No, I didn't modify the file /etc/keystone/default_catalog.templates because I couldn't find the statement in the document below. So could you tell me then URL of "our demosetup script in the openstack-quicks tart package"? I can't find this. Regards. Ryo ----- Original Message -----
Date: Fri, 12 Jul 2013 05:52:49 +0200 From: "Bernhard M. Wiedemann" <bernhardout@lsmod.de> To: opensuse-cloud@opensuse.org Subject: Re: [opensuse-cloud] Error for "keystone-manage db_sync"
Am 12.07.2013 05:26, schrieb Ryo Murakawa:
) File "/usr/lib/python2.7/site-packages/keystone/catalog/backends/template d.p y", line 107, in _load_templates
did you setup the file /etc/keystone/default_catalog.templates
and did you replace any %STRING% sequences? For how to do it, please see our demosetup script in the openstack-quickstart package.
Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Am 12.07.2013 06:05, schrieb Ryo:
No, I didn't modify the file /etc/keystone/default_catalog.templates because I couldn't find the statement in the document below.
So could you tell me then URL of "our demosetup script in the openstack-quicks tart package"?
I can't find this.
Hi Ryo, please try zypper install openstack-quickstart view /usr/sbin/openstack-quickstart-demosetup or get it from https://build.opensuse.org/package/show/Cloud:OpenStack:Grizzly/openstack-qu... We made this script to setup a one-node-cloud for our continuous integration testing. Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi Bernhard. Thank you for your replying. I can understand what you told. And I can fix this problem. Regards. Ryo ----- Original Message -----
Date: Fri, 12 Jul 2013 06:21:24 +0200 From: "Bernhard M. Wiedemann" <bernhardout@lsmod.de> To: opensuse-cloud@opensuse.org Subject: Re: [opensuse-cloud] Error for "keystone-manage db_sync"
Am 12.07.2013 06:05, schrieb Ryo:
No, I didn't modify the file /etc/keystone/default_catalog.templates because I couldn't find the statement in the document below.
So could you tell me then URL of "our demosetup script in the openstack-qui cks tart package"?
I can't find this.
Hi Ryo,
please try zypper install openstack-quickstart view /usr/sbin/openstack-quickstart-demosetup
or get it from https://build.opensuse.org/package/show/Cloud:OpenStack:Grizzly/openstack-qu... ckstart
We made this script to setup a one-node-cloud for our continuous integration testing.
Ciao Bernhard M. -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
participants (3)
-
Bernhard M. Wiedemann
-
Ryo
-
Ryo Murakawa