We have not modified keystone at all and have run Monasca with various versions. Typically errors like this have to do with the keystone users not being setup correctly. The script you are trying to run will create the users for Monasca but it needs a keystone admin account in order to do so. Did you set an admin user when running our Ansible config? Ansible wrote the script to /usr/local/bin/create_monasca_service.py so you can open that and check out the credentials used, it could just be the generic admin/admin used in devstack which likely doesn’t exist in your keystone. -- Tim Kuhlman Monitoring HPCloud
From: 汪浩 <[email protected]<mailto:[email protected]>> Reply-To: 汪浩 <[email protected]<mailto:[email protected]>> Date: Tuesday, February 24, 2015 at 5:21 AM To: Tim Kuhlman <[email protected]<mailto:[email protected]>> Subject: Error about Monasca deployment Hello Tim, I'm a lecturer of Beijing University of Posts and Telecommunications. And I found that you are leading and contributing Monasca a lot. I just try to deploy monasca with standalone keystone service instead of DevStack, however I got following errors. I'm wondering if it is version problem or you guys make enhancement for keystone within DevStack? Thanks for your any comments! ---------------------------------------------------------- <10.103.15.94> PubkeyAuthentication=no ConnectTimeout=10 GSSAPIAuthentication=no 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1424779884.12-145074787581709/command; rm -rf /root/.ansible/tmp/ansible-tmp-1424779884.12-145074787581709/ >/dev/null 2>&1' User=root ControlPath=/home/hawkwang/.ansible/cp/ansible-ssh-%h-%p-%r ControlMaster=auto Port=22 ControlPersist=60s failed: [10.103.15.94] => {"changed": true, "cmd": ["python", "/usr/local/bin/create_monasca_service.py"], "delta": "0:00:00.344014", "end": "2015-02-24 20:11:24.614142", "rc": 1, "start": "2015-02-24 20:11:24.270128"} stderr: Traceback (most recent call last): File "/usr/local/bin/create_monasca_service.py", line 169, in <module> sys.exit(main()) File "/usr/local/bin/create_monasca_service.py", line 159, in main if not add_user_roles(key, users): File "/usr/local/bin/create_monasca_service.py", line 102, in add_user_roles key.roles.add_user_role(user, role, tenant) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/v2_0/roles.py", line 69, in add_user_role return self._update(route % params, None, "role") File "/usr/local/lib/python2.7/dist-packages/keystoneclient/base.py", line 219, in _update **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 173, in put return self.request(url, 'PUT', **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 200, in request resp = super(LegacyJsonAdapter, self).request(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 89, in request return self.session.request(url, method, **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/utils.py", line 318, in inner return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/keystoneclient/session.py", line 384, in request raise exceptions.from_response(resp, method, url) keystoneclient.openstack.common.apiclient.exceptions.InternalServerError: Internal Server Error (HTTP 500) FATAL: all hosts have already failed -- aborting ---------------------------------------------------------- Best regards, Hawk Wang -- Mailing list: https://launchpad.net/~monasca Post to : [email protected] Unsubscribe : https://launchpad.net/~monasca More help : https://help.launchpad.net/ListHelp

