my [sql] connection is the same.
546 root:~$ mysql -u keystone -pkeystone keystone
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 113
Server version: 5.1.69 Source distribution
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
exit
Bye
547 root:~$ mysql -u keystone keystone
ERROR 1045 (28000): Access denied for user ‘keystone’@‘localhost’ (using password: NO)
548 root:~$
<<<<<<<
I should have been more clear - running the ansible openstack playbook was failing for me at exactly the same task
TASK: [create the external network] *******************************************
but with a different error:
<10.0.9.170> ESTABLISH CONNECTION FOR USER: root
<10.0.9.170> EXEC [‘ssh’, ‘-tt’, ‘-q’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/tmp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘Port=22’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘User=root’, ‘-o’, ‘ConnectTimeout=10’, ‘10.0.9.170’, “/bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-1375287449.19-5095015559057 && echo $HOME/.ansible/tmp/ansible-1375287449.19-5095015559057’”]
<10.0.9.170> REMOTE_MODULE quantum_network state=present login_username=admin login_password=secret provider_network_type=local login_tenant_name=admin name=external_network router_external=true
<10.0.9.170> PUT /var/folders/t2/h22337c12hn279xwd4s9fk7s8_088c/T/tmpzgjqhi TO /root/.ansible/tmp/ansible-1375287449.19-5095015559057/quantum_network
<10.0.9.170> EXEC [‘ssh’, ‘-tt’, ‘-q’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/tmp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘Port=22’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘User=root’, ‘-o’, ‘ConnectTimeout=10’, ‘10.0.9.170’, “/bin/sh -c ‘/usr/bin/python /root/.ansible/tmp/ansible-1375287449.19-5095015559057/quantum_network; rm -rf /root/.ansible/tmp/ansible-1375287449.19-5095015559057/ >/dev/null 2>&1’”]
failed: [Linux-OpenStack-Admin] => {“failed”: true, “item”: “”}
msg: Error in listing quantum networks: [Errno 111] Connection refused
I believe it is a problem with the quantum_network module and i’m trying to set up debugging right now so i can investigate further.
The error above could come from any of the following:
kbroughton:cloud$ grep -RH “Error in listing quantum networks” .
./quantum_floating_ip: module.fail_json(“Error in listing quantum networks: %s” % e.message)
./quantum_network: module.fail_json(msg = “Error in listing quantum networks: %s” % e.message)
./quantum_router_gateway: module.fail_json(“Error in listing quantum networks: %s” % e.message)
./quantum_subnet: module.fail_json(“Error in listing quantum networks: %s” % e.message)