[[email protected] init.d]# chkconfig openstack-neutron-linuxbridge-agent on

[[email protected] init.d]# chkconfig openstack-nova-compute on


[[email protected] ~]# nova host-list

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

| host_name                 | service     | zone     |

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

| linux-node1.openstack.com | consoleauth | internal |

| linux-node1.openstack.com | scheduler   | internal |

| linux-node1.openstack.com | cert        | internal |

| linux-node1.openstack.com | conductor   | internal |

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

[[email protected] ~]# nova flavor-list

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

| ID | Name      | Memory_MB | Disk | Ephemeral | Swap_MB | VCPUs | RXTX_Factor | Is_Public |

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

| 1  | m1.tiny   | 512       | 1    | 0         |         | 1     | 1.0         | True      |

| 2  | m1.small  | 2048      | 20   | 0         |         | 1     | 1.0         | True      |

| 3  | m1.medium | 4096      | 40   | 0         |         | 2     | 1.0         | True      |

| 4  | m1.large  | 8192      | 80   | 0         |         | 4     | 1.0         | True      |

| 5  | m1.xlarge | 16384     | 160  | 0         |         | 8     | 1.0         | True      |

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

[[email protected] ~]# nova agent-list

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

| Agent_id | Hypervisor | OS | Architecture | Version | Md5hash | Url |

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

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

[[email protected] ~]# neutron agent-list

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

| id                                   | agent_type         | host                      | alive | admin_state_up | binary                    |

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

| 347e3233-9c27-4535-a19e-04a6a96a8c23 | Linux bridge agent | linux-node1.openstack.com | :-)   | True           | neutron-linuxbridge-agent |

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

[[email protected] nova-2014.1]# cd ~

[[email protected] ~]# cd /usr/local/src/nova-2014.1

[[email protected] neutron-2014.1]# pip install -r requirements.txt -i http://pypi.douban.com/simple


[[email protected] neutron-2014.1]# python setup.py install



[[email protected] neutron-2014.1]# cd ~

[[email protected] ~]# nova-compute --config-file /etc/nova/nova.conf

openstack I版的搭建六--我们发现报错,那么是什么原因导致的呢?是因为我们没有配置Nova

首先,我们需要在配置节点上做。

[[email protected] ~]# vim /etc/nova/nova.conf 

novncproxy_base_url=http://192.168.33.11:6080/vnc_auto.html

vncserver_listen=0.0.0.0

vncserver_proxyclient_address=192.168.33.11

vnc_enabled=true

vnc_keymap=en-us

[[email protected] ~]# /etc/init.d/openstack-nova-novncproxy restart

停止 openstack-nova-novncproxy:                           [确定]

正在启动 openstack-nova-novncproxy:                       [确定]



[[email protected] ~]# vim /etc/nova/nova.conf 

novncproxy_base_url=http://192.168.33.11:6080/vnc_auto.html

vncserver_listen=0.0.0.0

vncserver_proxyclient_address=192.168.33.12

vnc_enabled=true


报错信息:连接不上KVM

openstack I版的搭建六--openstack I版的搭建六--


那么我们把

[[email protected] ~]# /etc/init.d/libvirtd start

启动 libvirtd 守护进程:                                   [确定]

开启

[[email protected] ~]# /etc/init.d/messagebus start

启动系统消息总线:


转载于:https://blog.51cto.com/8065082/1543267

相关文章:

  • 2022-12-23
  • 2021-12-31
  • 2022-01-31
  • 2021-12-12
  • 2022-01-18
  • 2021-05-04
  • 2022-01-11
  • 2021-11-03
猜你喜欢
  • 2021-10-29
  • 2022-01-03
  • 2021-06-11
  • 2021-07-20
  • 2022-01-07
  • 2021-10-12
  • 2021-12-14
相关资源
相似解决方案