<p>If youre running on essex or plus the metadata server is running on port 8775 on the controller not 8773</p>
<p>cheers</p>
<div class="gmail_quote">On Dec 19, 2012 11:06 PM, "ÀÌ⸸" <<a href="mailto:cm224.lee@samsung.com">cm224.lee@samsung.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Meta-data server does not response.<br>
<br>
At Compute node,<br>
<br>
$ iptables -t nat -A PREROUTING -d <a href="http://169.254.169.254/32" target="_blank">169.254.169.254/32</a> -p tcp -m tcp --dport 80 -j DNAT --to-destination <a href="http://192.168.1.130:8773" target="_blank">192.168.1.130:8773</a><br>

<br>
$ curl <a href="http://169.254.169.254:8773" target="_blank">http://169.254.169.254:8773</a><br>
curl: (7) couldn't connect to host<br>
<br>
Where is the problem?<br>
<br>
Regards.<br>
<br>
> -----Original Message-----<br>
> From: openstack-bounces+cm224.lee=<a href="mailto:samsung.com@lists.launchpad.net">samsung.com@lists.launchpad.net</a><br>
> [mailto:<a href="mailto:openstack-bounces%2Bcm224.lee">openstack-bounces+cm224.lee</a>=<a href="mailto:samsung.com@lists.launchpad.net">samsung.com@lists.launchpad.net</a>] On<br>
> Behalf Of ÀÌ⸸<br>
> Sent: Thursday, December 20, 2012 8:26 AM<br>
> To: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> Subject: Re: [Openstack] Can't access external network when starting cloud-<br>
> init<br>
><br>
><br>
> I think that this is due to firewall, because I'm using masquerade with 2<br>
> NICs as I'm in proxy.<br>
> Does anyone have a clue to solve this?<br>
><br>
> [My Environment]<br>
> My PC used as gateway.<br>
> Public ip (eth0 : 12.xxx.xxx.xxx)<br>
> Private ip (eth1 : 192.168.1.1)   <--- switch ----> Controller, Compute1,<br>
> Compute2 (all use 192.168.x.x)<br>
><br>
><br>
> > * Error Log<br>
> > cloud-init start-local running: Tue, 18 Dec 2012 16:19:07 +0000. up 1.53<br>
> > seconds<br>
> > no instance data found in start-local<br>
> > ci-info: lo    : 1 127.0.0.1       255.0.0.0       .<br>
> > ci-info: eth0  : 1 10.10.10.4      255.255.255.0   fa:16:3e:68:ee:b2<br>
> > ci-info: route-0: 0.0.0.0         10.10.10.1      0.0.0.0         eth0<br>
> UG<br>
> > ci-info: route-1: 10.10.10.0      0.0.0.0         255.255.255.0   eth0<br>
> U<br>
> > cloud-init start running: Tue, 18 Dec 2012 16:19:09 +0000. up 3.62<br>
> seconds<br>
> > 2012-12-18 16:20:00,031 - util.py[WARNING]: '<a href="http://169.254.169.254/2009-" target="_blank">http://169.254.169.254/2009-</a><br>
> > 04-04/meta-data/instance-id' failed [50/120s]: url error [timed out]<br>
><br>
><br>
> $ sudo iptables -t nat -L -n<br>
><br>
> Chain PREROUTING (policy ACCEPT)<br>
> target     prot opt source               destination<br>
><br>
> Chain INPUT (policy ACCEPT)<br>
> target     prot opt source               destination<br>
><br>
> Chain OUTPUT (policy ACCEPT)<br>
> target     prot opt source               destination<br>
><br>
> Chain POSTROUTING (policy ACCEPT)<br>
> target     prot opt source               destination<br>
> MASQUERADE  all  --  <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a>       <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a><br>
> MASQUERADE  all  --  <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a>       <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a><br>
> MASQUERADE  all  --  <a href="http://192.168.1.0/24" target="_blank">192.168.1.0/24</a>       <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a><br>
><br>
><br>
> $ tail -f /var/log/kern.log<br>
><br>
> Dec 20 08:10:46 lcm kernel: [842945.911608] [UFW BLOCK] IN=eth1 OUT=<br>
> MAC=33:33:00:00:00:01:50:e5:49:bd:5a:cc:86:dd<br>
> SRC=fe80:0000:0000:0000:52e5:49ff:febd:5acc<br>
> DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=72 TC=0 HOPLIMIT=1<br>
> FLOWLBL=0 PROTO=ICMPv6 TYPE=130 CODE=0<br>
> Dec 20 08:10:47 lcm kernel: [842946.898156] [UFW BLOCK] IN=eth1 OUT=<br>
> MAC=33:33:00:00:00:fb:e8:11:32:32:50:78:86:dd<br>
> SRC=fe80:0000:0000:0000:ea11:32ff:fe32:5078<br>
> DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=72 TC=0 HOPLIMIT=1<br>
> FLOWLBL=0 PROTO=ICMPv6 TYPE=131 CODE=0<br>
> Dec 20 08:12:51 lcm kernel: [843071.361815] [UFW BLOCK] IN=eth1 OUT=<br>
> MAC=33:33:00:00:00:01:50:e5:49:bd:5a:cc:86:dd<br>
> SRC=fe80:0000:0000:0000:52e5:49ff:febd:5acc<br>
> DST=ff02:0000:0000:0000:0000:0000:0000:0001 LEN=72 TC=0 HOPLIMIT=1<br>
> FLOWLBL=0 PROTO=ICMPv6 TYPE=130 CODE=0<br>
> Dec 20 08:12:52 lcm kernel: [843071.588065] [UFW BLOCK] IN=eth1 OUT=<br>
> MAC=33:33:00:00:00:fb:e8:11:32:32:50:78:86:dd<br>
> SRC=fe80:0000:0000:0000:ea11:32ff:fe32:5078<br>
> DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=72 TC=0 HOPLIMIT=1<br>
> FLOWLBL=0 PROTO=ICMPv6 TYPE=131 CODE=0<br>
><br>
><br>
><br>
><br>
> > -----Original Message-----<br>
> > From: openstack-bounces+cm224.lee=<a href="mailto:samsung.com@lists.launchpad.net">samsung.com@lists.launchpad.net</a><br>
> > [mailto:<a href="mailto:openstack-bounces%2Bcm224.lee">openstack-bounces+cm224.lee</a>=<a href="mailto:samsung.com@lists.launchpad.net">samsung.com@lists.launchpad.net</a>] On<br>
> > Behalf Of ÀÌ⸸<br>
> > Sent: Tuesday, December 18, 2012 4:43 PM<br>
> > To: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> > Subject: [Openstack] Can't access external network when starting cloud-<br>
> init<br>
> ><br>
> > Hello, list.<br>
> ><br>
> > I've used precise-server-cloudimg-amd64-disk1.img.<br>
> > And I've launched instance with keypair.<br>
> > Ping is good but ssh can't access. As below log, I think due to cloud-<br>
> init<br>
> > is failed.<br>
> ><br>
> > What's the problem?<br>
> ><br>
> ><br>
> > $ quantum floatingip-create --port-id 413fd335-fb30-47fd-bd5e-<br>
> 6e3646924d52<br>
> > ext_net<br>
> > Created a new floatingip:<br>
> > +---------------------+--------------------------------------+<br>
> > | Field               | Value                                |<br>
> > +---------------------+--------------------------------------+<br>
> > | fixed_ip_address    | 10.10.10.4                           |<br>
> > | floating_ip_address | 192.168.1.4                          |<br>
> > | floating_network_id | c6cfe1a8-6b57-4ec9-99b3-093911e3720b |<br>
> > | id                  | a94e7feb-36d5-4f4c-948f-a02f62e7344d |<br>
> > | port_id             | 413fd335-fb30-47fd-bd5e-6e3646924d52 |<br>
> > | router_id           | df2d5b7b-31c7-4266-93b0-3d172664f892 |<br>
> > | tenant_id           | c2465f074a4b43f483bd07a2d6c3b80a     |<br>
> > +---------------------+--------------------------------------+<br>
> ><br>
> ><br>
> > * Error Log<br>
> > cloud-init start-local running: Tue, 18 Dec 2012 16:19:07 +0000. up 1.53<br>
> > seconds<br>
> > no instance data found in start-local<br>
> > ci-info: lo    : 1 127.0.0.1       255.0.0.0       .<br>
> > ci-info: eth0  : 1 10.10.10.4      255.255.255.0   fa:16:3e:68:ee:b2<br>
> > ci-info: route-0: 0.0.0.0         10.10.10.1      0.0.0.0         eth0<br>
> UG<br>
> > ci-info: route-1: 10.10.10.0      0.0.0.0         255.255.255.0   eth0<br>
> U<br>
> > cloud-init start running: Tue, 18 Dec 2012 16:19:09 +0000. up 3.62<br>
> seconds<br>
> > 2012-12-18 16:20:00,031 - util.py[WARNING]: '<a href="http://169.254.169.254/2009-" target="_blank">http://169.254.169.254/2009-</a><br>
> > 04-04/meta-data/instance-id' failed [50/120s]: url error [timed out]<br>
> ><br>
> ><br>
> > Regards.<br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> > Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> > More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
><br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div>