openstack - Bluemix: Cannot create VM with public IP -
when try create vm public ip address on bluemix, following error:
your vms in error - resource create failed: error: resource create failed: error: resource create failed: notfound: external network f242da31-3809-48a4-aa84-46da1c50586c not reachable subnet a78fbf7e-1e4a-4d3a-a039-c05be4846bc3. therefore, cannot associate port 6978
creating vm without public ip works, cannot connect vm without public ip.
i tried creating network on horizon dashboard, not figure out how assign public ipv4 or ipv6 address. understand ipv4 addresses may short in supply , happy "ipv6 only" vm, not figure out how request "public" ipv6 prefix on bluemix.
i have not seen error. think problem ran may intermittent. created vm hour ago using bluemix dashboard , worked no problem. usual, vm assigned 2 ip's, 1 internal , 1 public.
as you've discovered, in horizon dashboard, when create vm, default has internal ip. add public ip takes few steps aren't obvious:
- from cloud management dashboard, select instances tab
- in actions column vm, select associate floating ip
- in ip address field, select ip address
- by default, there won't ip addresses select. allocate one, press plus (+) sign.
- in allocate floating ip dialog, set pool public-network , press allocate ip.
- now select ip address you've allocated.
- for port associated, choose internal ip , press associate.
now instances tab display vm 2 ip addresses.
if doesn't work: there limit how many public ips get, maybe you've hit limit. looks horizon shows limit 10; think that's public, may public , private.
to see list of ips allocated account (and whether list has reached 10):
- from cloud management dashboard, go access & security tab.
- go floating ips sub-tab.
that shows list of public ips , mapping internal ips. if you've reached max, you'll need move ip 1 vm another. can delete first vm make ip available. or can disassociate ip 1 vm (don't release ip, disassociate it) , assign vm has described above.
this screen place allocate ips account. network see public-network, , has ipv4 addresses. don't see way allocate ipv6 addresses.
Comments
Post a Comment