openstack-log

1.dashboard打不开

编辑:/etc/httpd/conf.d/openstack-dashboard.conf
在WSGISocketPrefix run/wsgi下面加一行代码:
WSGIApplicationGroup %{GLOBAL}
保存,重启httpd服务。

2.无法创建虚机,nova-conductor.log提示domaintype=kvm

修改nova.conf,加入:

compute_driver = libvirt.LibvirtDriver
 
[libvirt]
virt_type = qemu

3.cinder问题

安装使用链接
https://docs.openstack.org/cinder/latest/install/cinder-controller-install-obs.html
3.1 需要注意各个服务在mysql里面配置的密码是否正确

mysql -u cinder -p

3.2 如果数据库为空,使用命令初始化
cinder-manage db sync

osadmin@controller:/tmp$ mysql -u cinder -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 167
Server version: 5.5.37-0ubuntu0.14.04.1 (Ubuntu)

Copyright (c) 2000, 2014, 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.

mysql> use cinder;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+--------------------------+
| Tables_in_cinder         |
+--------------------------+
| backups                  |
| encryption               |
| iscsi_targets            |
| migrate_version          |
| quality_of_service_specs |
| quota_classes            |
| quota_usages             |
| quotas                   |
| reservations             |
| services                 |
| snapshot_metadata        |
| snapshots                |
| transfers                |
| volume_admin_metadata    |
| volume_glance_metadata   |
| volume_metadata          |
| volume_type_extra_specs  |
| volume_types             |

4.添加白名单

neutron port-list
neutron port-update 90c7ef65-cbd1-4047-9d42-859042dfa836  --allowed-address-pairs type=dict list=true ip_address=192.168.2.244

你可能感兴趣的:(openstack-log)