Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lỗi khi khởi tạo Instance #12

Open
khanhhoa06 opened this issue Jun 1, 2016 · 10 comments
Open

Lỗi khi khởi tạo Instance #12

khanhhoa06 opened this issue Jun 1, 2016 · 10 comments

Comments

@khanhhoa06
Copy link

Chào anh Công Tố & team VietStacker,

Trước tiên cho mình cảm ơn anh và team đã có những hướng dẫn rất chi tiết và cụ thể cho các phiên bản Open Stack. Nhờ các Script và hướng dẫn Step by Step đã giúp ích rất nhiều cho cộng đồng trong việc triển khai một hệ thống CLoud Open Stack.

Hiện tại trong quá trình triển khai mình không gặp vấn đề nào tuy nhiên sau khi deploy thành công dù thử 2 phiên bản Liberty LB và Liberty OVS mình vẫn gặp lỗi khi khởi tạo Instance.
Nếu được nhờ a và team support mình vấn đề này

Xin chân thành cảm ơn
google-cloudplatform_verticallockup

@congto
Copy link
Contributor

congto commented Jun 1, 2016

@khanhhoa06

  • Bạn chụp cái màn hình full được không ???
  • Image tạo VM bạn đang dùng là gì ?
  • Bạn triể khai trên Vmware workstation, ESX, Virtualbox hay máy vật lý ?
  • Đã ping được đến router ảo hay chưa ?
    OpenStack viết liền chứ ko ai viết open stack nhé.

@khanhhoa06
Copy link
Author

Hi a,
Hiện tại e đang triển khai trên máy ảo của Xen Server.
Image dùng để tạo VM là bản ubuntu cloud image hoặc bản cirros.
Về phần network đã Ok. Ping được đến đầu Router.

Nếu được nhờ a cho SĐT để e có thể liên lạc trao đổi trực tiếp.
Cám ơn anh.

google-cloudplatform_verticallockup

@khanhhoa06
Copy link
Author

Trong trường hợp nếu sử dụng phiên bản Liberty-AIO nếu sau này muốn mở rộng thêm các node Compute có khả thi không anh

@congto
Copy link
Contributor

congto commented Jun 1, 2016

@khanhhoa06

Sorry em, anh ko làm trên XEN Server nên ko support dược vụ này, script anh mới test trên máy ảo tạo ra trên vmware workstation & máy vậy lý chứ không tạo trên XEN nên ko giúp được vụ này rồi.

Em xem lại chú ý khi cài đặt đã có note nhé.
http://prntscr.com/bawdpv

@khanhhoa06
Copy link
Author

Thank anh. Nếu như triển khai trên Cloud VPS thuê ngoài thì có khả năng không.
Đối với Liberty-AIO nếu mở rộng node compute thì làm theo hướng dẫn step by step có được không a.
google-cloudplatform_verticallockup

@congto
Copy link
Contributor

congto commented Jun 1, 2016

@khanhhoa06 nếu tìm hiểu OpenStack thì bắt đầu với mitaka luôn em nhé.

https://github.com/vietstacker/OpenStack-Mitaka-Scripts/blob/master/DOCS-OPS-Mitaka/Caidat-OpenStack-Mitaka.md

Anh chỉ làm trên máy vật lý hoặc máy ảo trong môi trường vmware workstation, các môi trường còn lại anh ko làm nên ko trả lời được.

Tốt nhất làm mô hình 2 node chuẩn nhé. AIO ko ổn khi tìm hiểu lắm.

@hieulq
Copy link
Contributor

hieulq commented Jun 1, 2016

@khanhhoa06 máy ảo trên XenServer em đã enable promiscuous mode cho các virtual interface chưa ?

@khanhhoa06
Copy link
Author

Em đã Enable Promiscuous Mode rồi nhưng vẫn ko được

@hieulq
Copy link
Contributor

hieulq commented Jun 1, 2016

@khanhhoa06 virt_type trong file nova.conf em để là gì?

@khanhhoa06
Copy link
Author

khanhhoa06 commented Jun 1, 2016

Cấu hình file nova.conf e để như hướng dẫn của vietstacker. Không có cấu hình cho virt_type

[DEFAULT]

rpc_backend = rabbit
auth_strategy = keystone

dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
libvirt_use_virtio_for_bridges=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata

my_ip = 10.10.10.140

network_api_class = nova.network.neutronv2.api.API
security_group_api = neutron
linuxnet_interface_driver = nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver
firewall_driver = nova.virt.firewall.NoopFirewallDriver

enabled_apis=osapi_compute,metadata
verbose = True

enable_instance_password = True

[database]
connection = mysql+pymysql://nova:[email protected]/nova

[oslo_messaging_rabbit]
rabbit_host = 10.10.10.140
rabbit_userid = openstack
rabbit_password = Welcome123

[keystone_authtoken]
auth_uri = http://10.10.10.140:5000
auth_url = http://10.10.10.140:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = nova
password = Welcome123

[vnc]
vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip

[glance]
host = 10.10.10.140

[oslo_concurrency]
lock_path = /var/lib/nova/tmp

[neutron]
url = http://10.10.10.140:9696
auth_url = http://10.10.10.140:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = RegionOne
project_name = service
username = neutron
password = Welcome123

service_metadata_proxy = True
metadata_proxy_shared_secret = Welcome123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants