Why is it that CirrOS instances connect, but others don't?
Hello everyone, I am new to OpenStack and have been learning the ropes (rather slowly). I have spent the past week trying to troubleshoot why my instances aren't establishing a connection to the network I have created. I have a minimal 2 node architecture and I was successfully able to establish connection between two CirrOS images I created. The two CirrOS images get assigned an IP and establish connection, however everything else doesn't.
I had installed the proper VirtIO drivers and was able to get them running locally on my Virtual Machine Manager where I run my 2 nodes. I thought maybe it was because I had not configured a security group at all. After configuring the security group to allow traffic for ICMP and other TCP/UDP protocols such as DHCP/DNS/HTTP/etc, I am still not able to establish a connection with images that I create whether its CentOS7 or Windows XP/7 (with cloudbase-init). I have tried many different combinations of starting instances with/without cloudbase and/or using sysprep.
No matter which guide I follow to create and upload an image to OpenStack, I can never seem to get an instance fully up and running with network connectivity. With so many people successful at creating images/uploading images/running instances, I must be missing something fundamental about OpenStack image creation and/or network configuration. Whether it be that the instances are run extremely slow or not, I still can't get connectivity on anything other than a CirrOS instance.
Does anybody have any advice? I doubt anybody has a fix or outright solution for me. Perhaps someone could point me in the direction of some cohesive guides/turorials. Thanks for any help, and I apologize for the long-winded explanation.
You don't provide any details of your instances' network connections, neither Cirros nor the others. You also don't say from where to where you try to connect, how you try to connect, and what the symptoms are (error message, timeout, command just hangs ...). Also, where do the images come from?
One advice is to check instances' console logs. They should tell you whether an instance actually acquires the IP address. If not, there should be error messages about DHCP not being successful etc.
You can also enter the DHCP server namespace on the controller and try to connect.
Maybe it's not the image or instance, maybe it's your network, how did you set it up? What type, self service or provider network?, Is it flat, vxlan/vlan, gre?
My apologies for not providing more information. I am running a self-service network structure that was detailed in the neutron installation guide, which I believe uses a VXLAN network overlay. I am not able to ping any of the CirrOS (working) machines, and the IP is not being assigned.
The systems can function in every way except connect to the private network I have created. It is a very simple subnet with 3 computers on it. I will check out the neutron logs. Is there a part of the configuration where you choose the type of network you use? Whether it is vlan/vxlan/flat/gre?