wKioL1gAb2bCRAaBAABIHvWLrBc283.png-wh_50

查看error日志:

cat /var/log/httpd/error.log

[Thu Oct 13 13:37:00 2016] [error] raise exceptions.ConnectionFailed(reason=_("Maximum attempts reached"))

[Thu Oct 13 13:37:00 2016] [error] ConnectionFailed: Connection to neutron failed: Maximum attempts reached


neutron日志显示neutron的用户密码:

cat /var/log/neutron/server.log

perationalError: (OperationalError) (1045, "Access denied for user 'neutron'@'controller' (using password: YES)") None None


进入mysql查看果然:

[root@controller images]# mysql -uroot -p123456

mysql> SELECT user,host,password FROM mysql.user;

+----------+------------+-------------------------------------------+

| user     | host       | password                                  |

+----------+------------+-------------------------------------------+

| root     | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| root     | controller | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| root     | 127.0.0.1  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| keystone | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| keystone | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| glance   | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| glance   | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| nova     | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| nova     | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| neutron  | localhost  |                               |

| neutron  | %          |                               |

| cinder   | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| cinder   | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| heat     | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| heat     | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| sahara   | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| sahara   | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

+----------+------------+-------------------------------------------+

17 rows in set (0.06 sec)



解决:(重新建立用户,并授权)

mysql> drop database neutron;

mysql> create database neutron;

mysql> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'localhost' IDENTIFIED BY '123456';

mysql> GRANT ALL PRIVILEGES ON neutron.* TO 'neutron'@'%' IDENTIFIED BY '123456';

 

mysql> SELECT user,host,password FROM mysql.user;

+----------+------------+-------------------------------------------+

| user     | host       | password                                  |

+----------+------------+-------------------------------------------+

| root     | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| root     | controller | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| root     | 127.0.0.1  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| keystone | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| keystone | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| glance   | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| glance   | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| nova     | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| nova     | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| neutron  | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| neutron  | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| cinder   | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| cinder   | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| heat     | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| heat     | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| sahara   | localhost  | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

| sahara   | %          | *6BB4837EB74329105EE4568DDA7DC67ED2CA2AD9 |

+----------+------------+-------------------------------------------+


重启mysqld memcached httpdneutron-server 服务


成功解决,登录正常进入dashboard界面。

GitHub 加速计划 / da / dashboard
14.17 K
4.13 K
下载
General-purpose web UI for Kubernetes clusters
最近提交(Master分支:2 个月前 )
9a476333 Bumps [jest-preset-angular](https://github.com/thymikee/jest-preset-angular) from 14.2.0 to 14.2.2. - [Release notes](https://github.com/thymikee/jest-preset-angular/releases) - [Changelog](https://github.com/thymikee/jest-preset-angular/blob/main/CHANGELOG.md) - [Commits](https://github.com/thymikee/jest-preset-angular/compare/v14.2.0...v14.2.2) --- updated-dependencies: - dependency-name: jest-preset-angular dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2 个月前
11b7e82e Bumps [cypress](https://github.com/cypress-io/cypress) from 13.13.1 to 13.13.2. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v13.13.1...v13.13.2) --- updated-dependencies: - dependency-name: cypress dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2 个月前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐