[Openstack] Essex multi-node setup/ can't ssh to compute node

Shake Chen shake.chen at gmail.com
Thu Aug 9 23:47:52 UTC 2012


right. hope the document can help you . it is chinese.

the network is flatdchp + mutilhost

http://www.chenshake.com/ubuntu-12-04-openstack-essex-multinode-installation/


On Thu, Aug 9, 2012 at 10:51 PM, Kiall Mac Innes <kiall at managedit.ie> wrote:

> Also the metadata host should be set to 127.0.0.1 for multihost=True..
>
> Thanks,
> Kiall
>  On Aug 9, 2012 2:58 PM, "谢丹铭" <xiedanming at qiyi.com> wrote:
>
>> Hi, list,
>> I'm setting up openstack on Ubuntu 12.04 LTS with FlatDHCP mode network
>> configuration. . Everything is OK in control node, but in compute node, I
>> always meet with the following issue.
>> So I can’t ssh to the vm instance.
>>
>> 2012-08-09 13:31:28,290 - util.py[WARNING]:
>> 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
>> [50/120s]:
>> url error [timed out]
>> 2012-08-09 13:32:19,342 - util.py[WARNING]:
>> 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
>> [101/120s]:
>> url error [timed out]
>> 2012-08-09 13:32:37,361 - util.py[WARNING]:
>> 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed
>> [119/120s]:
>> url error [timed out]
>> 2012-08-09 13:32:38,363 - DataSourceEc2.py[CRITICAL]: giving up on md
>> after
>> 120 seconds
>>
>> This is my nova.conf
>>
>>
>>
>> [DEFAULT]
>> ###### LOGS/STATE
>> #verbose=True
>> verbose=False
>>
>> ###### AUTHENTICATION
>> auth_strategy=keystone
>>
>> ###### SCHEDULER
>>
>> #--compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
>> scheduler_driver=nova.scheduler.simple.SimpleScheduler
>>
>> ###### VOLUMES
>> volume_group=nova-volumes
>> volume_name_template=volume-%08x
>> iscsi_helper=tgtadm
>>
>> ###### DATABASE
>> sql_connection=mysql://nova:pwd@10.10.135.30/nova
>>
>> ###### COMPUTE
>> libvirt_type=kvm
>> #libvirt_type=qemu
>> connection_type=libvirt
>> instance_name_template=instance-%08x
>> api_paste_config=/etc/nova/api-paste.ini
>> allow_resize_to_same_host=True
>> libvirt_use_virtio_for_bridges=true
>> start_guests_on_host_boot=true
>> resume_guests_state_on_host_boot=true
>>
>> ###### APIS
>>
>> osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensio
>> ns
>> allow_admin_api=true
>> s3_host=10.10.135.30
>> cc_host=10.10.135.30
>>
>> ###### RABBITMQ
>> rabbit_host=10.10.135.30
>>
>> ###### GLANCE
>> image_service=nova.image.glance.GlanceImageService
>> glance_api_servers=10.10.135.30:9292
>>
>>
>> ###### NETWORK
>> network_manager=nova.network.manager.FlatDHCPManager
>> force_dhcp_release=True
>> dhcpbridge_flagfile=/etc/nova/nova.conf
>> dhcpbridge=/usr/bin/nova-dhcpbridge
>> firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
>> public_interface=eth0
>> flat_interface=eth1
>> flat_network_bridge=br100
>> fixed_range=192.168.1.0/24
>> multi_host=true
>>
>> ###### NOVNC CONSOLE
>> novnc_enabled=true
>> novncproxy_base_url= http://10.10.135.30:6080/vnc_auto.html
>> vncserver_proxyclient_address=10.10.135.29
>> vncserver_listen=10.10.135.29
>>
>> ########Nova
>> logdir=/var/log/nova
>> state_path=/var/lib/nova
>> lock_path=/var/lock/nova
>> metadata_host=10.10.135.29
>>
>>
>> #####MISC
>> use_deprecated_auth=false
>> root_helper=sudo nova-rootwrap
>>
>> Thanks
>> Danming
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Shake Chen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120810/2049ae5f/attachment.html>


More information about the Openstack mailing list