Openstack I build 6 --

Source: Internet
Author: User

[[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 | schednal | 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 | 1 | 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/innovation-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. conf

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/46/FD/wKioL1P1hxGDyzzDAAn0h_xr0x0696.jpg "Title =" qq20140821_1_2.png "alt =" wkiol1p1hxgdyzzdaan0h_xr0x0696.jpg "/> we found an error, So what causes it? Because we didn't configure nova

First, we need to do it on the configuration node.

[[Email protected] ~] # Vim/etc/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

Stop openstack-Nova-novncproxy: [OK]

Starting openstack-Nova-novncproxy: [OK]



[[Email protected] ~] # Vim/etc/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


Error message: Unable to connect to KVM

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/47/07/wKiom1P1sGeSCMkrAAY-i2yy5Ec031.jpg "Title =" qq20140821_1_2.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 "/>


In this case

[[Email protected] ~] #/Etc/init. d/lib1_d start

Start the libmongod daemon: [OK]

Enable

[[Email protected] ~] #/Etc/init. d/messagebus start

Start the system message bus:


This article is from the "8055082" blog and will not be reproduced!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.