openstack I版的搭建六--

[root@linux-node2 init.d]# chkconfig openstack-neutron-linuxbridge-agent onhtml

[root@linux-node2 init.d]# chkconfig openstack-nova-compute onnode


[root@linux-node1 ~]# nova host-listpython

+---------------------------+-------------+----------+linux

| host_name                 | service     | zone     |vim

+---------------------------+-------------+----------+ide

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

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

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

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

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

[root@linux-node1 ~]# 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      |

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

[root@linux-node1 ~]# nova agent-list

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

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

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

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

[root@linux-node1 ~]# 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 |

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

[root@linux-node2 nova-2014.1]# cd ~

[root@linux-node2 ~]# cd /usr/local/src/nova-2014.1

[root@linux-node2 neutron-2014.1]# pip install -r requirements.txt -i http://pypi.douban.com/simple


[root@linux-node2 neutron-2014.1]# python setup.py install



[root@linux-node2 neutron-2014.1]# cd ~

[root@linux-node2 ~]# nova-compute --config-file /etc/nova/nova.conf

wKioL1P1hxGDyzzDAAn0h_xr0x0696.jpg咱们发现报错,那么是什么缘由致使的呢?是由于咱们没有配置Nova

首先,咱们须要在配置节点上作。

[root@linux-node1 ~]# 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

[root@linux-node1 ~]# /etc/init.d/openstack-nova-novncproxy restart

中止 openstack-nova-novncproxy:                           [肯定]

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



[root@linux-node2 ~]# 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

wKiom1P1sGeSCMkrAAY-i2yy5Ec031.jpgwKioL1P1sY2g8lQCAA6J_2xjPOA701.jpg


那么咱们把

[root@linux-node2 ~]# /etc/init.d/libvirtd start

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

开启

[root@linux-node2 ~]# /etc/init.d/messagebus start

启动系统消息总线:

相关文章
相关标签/搜索