I am trying to use DreamHost openstack interface to create an instance and I am stuck on the issue discussed here:
http://www.raynes.me/logs/irc.freenode.net/pallet/2013-10-24.txtSo the instance is being created but it's not assigned a floating ip, so the 'converge' function is timing out on trying to connect to the instance using the internal ip
10.10.10.4:
00:55:10.740 [user thread 1] WARN jclouds.compute - << sockets [10.10.10.4:22] didn't open after 600000 MILLISECONDS
00:55:10.755 [operate-21] WARN pallet.compute.jclouds - Failed to start 1 of 1 nodes for group :mygroup
00:55:10.757 [operate-21] ERROR pallet.compute.jclouds - Failed to start node for group :mygroup could not connect to any ip address port 22 on node {id=RegionOne/1718cc19-724b-421f-9c47-0b7e9245a33d, providerId=1718cc19-724b-421f-9c47-0b7e9245a33d, uri=http://compute.dream.io:8774/v2/08c410e92a2243de9871332457ed3aa5/servers/1718cc19-724b-421f-9c47-0b7e9245a33d, name=mygroup-c1c, uri=http://compute.dream.io:8774/v2/08c410e92a2243de9871332457ed3aa5/servers/1718cc19-724b-421f-9c47-0b7e9245a33d, location={scope=HOST, id=cafdc9ef18c13b2e4a842cc687305b3f22c58caf55a9c5786cadfcc4, description=cafdc9ef18c13b2e4a842cc687305b3f22c58caf55a9c5786cadfcc4, parent=RegionOne}, group=mygroup, imageId=RegionOne/b12b987a-c526-466a-9baa-fa32f98f46cd, os={family=unrecognized, name=Ubuntu-14.04-Trusty-latest, description=Ubuntu-14.04-Trusty-latest, is64Bit=true}, status=RUNNING, loginPort=22, hostname=mygroup-c1c, privateAddresses=[10.10.10.4], hardware={id=RegionOne/100, providerId=100, name=subsonic, location={scope=ZONE, id=RegionOne, description=RegionOne, parent=openstack-nova}, processors=[{cores=1.0, speed=1.0}], ram=1024, volumes=[{type=LOCAL, size=80.0, bootDevice=true, durable=true}], supportsImage=ALWAYS_TRUE}, loginUser=root, userMetadata={jclouds-group=mygroup}}
I did try the workaround with ':network {:inbound-ports [22]' but it did not help.
I found that it is possible to specify '
AUTO_ALLOCATE_FLOATING_IPS' property as it's done here for HP provider:
HPCloudCompute Is it possible to specify this property for the openstack provider in Pallet? Here is my definition:
:openstack {:provider "openstack-nova"
:identity "xxx:xxx" ;tenantName:userName
:credential "xxx"
:endpoint "https://keystone.dream.io/v2.0"}}
Also, DreamHost docs say that the floating ips should be assigned with neuron service, and not nova service. So it is quite possible that '
AUTO_ALLOCATE_FLOATING_IPS' would not work, but I'd like to give it a try.
Thanks!