openstack I版的搭建六--

來源:互聯網
上載者:User

標籤:openstack

[[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

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/46/FD/wKioL1P1hxGDyzzDAAn0h_xr0x0696.jpg" title="QQ20140821093852.png" alt="wKioL1P1hxGDyzzDAAn0h_xr0x0696.jpg" />我們發現報錯,那麼是什麼原因導致的呢?是因為我們沒有配置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

650) this.width=650;" src="http://s3.51cto.com/wyfs02/M01/47/07/wKiom1P1sGeSCMkrAAY-i2yy5Ec031.jpg" title="QQ20140821093852.png" alt="wKiom1P1sGeSCMkrAAY-i2yy5Ec031.jpg" />650) this.width=650;" src="http://s3.51cto.com/wyfs02/M00/47/09/wKioL1P1sY2g8lQCAA6J_2xjPOA701.jpg" title="QQ20140821092258.png" alt="wKioL1P1sY2g8lQCAA6J_2xjPOA701.jpg" />


那麼我們把

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

啟動 libvirtd 守護進程:                                   [確定]

開啟

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

啟動系統訊息匯流排:


本文出自 “8055082” 部落格,謝絕轉載!

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.