Openstack instance is unreachable
I am facing the following issue with my new Openstack installation. The installation is a little bit weird and to elaborate more, I have a controller and a compute node running as VMs in XenServer. The compute node has nested virtualization enabled and uses qemu in order to provision VMs. I have a provider flat network that has a public range of IPs and VMs use this network. I am able to create instances and access them via console, but I can't ping them or ssh even if they have public IPs. I am not very familiar with Xen Server, is there any configuration that is needed (bridges, promisc mode, etc)? -- *George Papathanail* *Associate Researcher* *Department of Applied Informatics* *University of Macedonia*
Hi, this is one of the most common issues users post report in this list. Did you try to find a solution? Do your instances in the flat network get an IP address? If not, try to launch instances with "--config-drive true". If the instances do get an IP, do your security-group rules allow access? Zitat von GEORGIOS PAPATHANAIL <papathanail@uom.edu.gr>:
I am facing the following issue with my new Openstack installation. The installation is a little bit weird and to elaborate more, I have a controller and a compute node running as VMs in XenServer.
The compute node has nested virtualization enabled and uses qemu in order to provision VMs. I have a provider flat network that has a public range of IPs and VMs use this network.
I am able to create instances and access them via console, but I can't ping them or ssh even if they have public IPs.
I am not very familiar with Xen Server, is there any configuration that is needed (bridges, promisc mode, etc)?
-- *George Papathanail* *Associate Researcher* *Department of Applied Informatics* *University of Macedonia*
Hi, My instances are on a flat network. They get public IP address. The security group is configured correctly. I did not launch an instance with —config-drive-true. Στις Τρί 28 Ιουν 2022 στις 14:04 ο χρήστης Eugen Block <eblock@nde.ag> έγραψε:
Hi,
this is one of the most common issues users post report in this list. Did you try to find a solution? Do your instances in the flat network get an IP address? If not, try to launch instances with "--config-drive true". If the instances do get an IP, do your security-group rules allow access?
Zitat von GEORGIOS PAPATHANAIL <papathanail@uom.edu.gr>:
I am facing the following issue with my new Openstack installation. The installation is a little bit weird and to elaborate more, I have a controller and a compute node running as VMs in XenServer.
The compute node has nested virtualization enabled and uses qemu in order to provision VMs. I have a provider flat network that has a public range of IPs and VMs use this network.
I am able to create instances and access them via console, but I can't ping them or ssh even if they have public IPs.
I am not very familiar with Xen Server, is there any configuration that is needed (bridges, promisc mode, etc)?
-- *George Papathanail* *Associate Researcher* *Department of Applied Informatics* *University of Macedonia*
-- *George Papathanail* *Associate Researcher* *Department of Applied Informatics* *University of Macedonia*
On Tue, 2022-06-28 at 14:08 +0300, GEORGIOS PAPATHANAIL wrote:
Hi,
My instances are on a flat network. They get public IP address. The security group is configured correctly.
I did not launch an instance with —config-drive-true. if they are booting on an external flat newtork with public ips then you need to configre neutron to serve metadta by the dhcp agent if you are usign ml2/ovs since there is no neutron router to impelement the metadta proxy in that configurtion.
if you are using ml2/ovn the docs for configuring this are here https://docs.openstack.org/neutron/latest/contributor/internals/ovn/metadata... for ml2/ovs you will need to use isolated metadata https://docs.openstack.org/neutron/latest/admin/archives/config-agents.html#... you might find https://docs.openstack.org/operations-guide/ops-network-troubleshooting.html and https://www.rdoproject.org/networking/networking-in-too-much-detail/ useful too for general overview of how things work.
Στις Τρί 28 Ιουν 2022 στις 14:04 ο χρήστης Eugen Block <eblock@nde.ag> έγραψε:
Hi,
this is one of the most common issues users post report in this list. Did you try to find a solution? Do your instances in the flat network get an IP address? If not, try to launch instances with "--config-drive true". If the instances do get an IP, do your security-group rules allow access?
Zitat von GEORGIOS PAPATHANAIL <papathanail@uom.edu.gr>:
I am facing the following issue with my new Openstack installation. The installation is a little bit weird and to elaborate more, I have a controller and a compute node running as VMs in XenServer.
The compute node has nested virtualization enabled and uses qemu in order to provision VMs. I have a provider flat network that has a public range of IPs and VMs use this network.
I am able to create instances and access them via console, but I can't ping them or ssh even if they have public IPs.
I am not very familiar with Xen Server, is there any configuration that is needed (bridges, promisc mode, etc)?
-- *George Papathanail* *Associate Researcher* *Department of Applied Informatics* *University of Macedonia*
-- *George Papathanail* *Associate Researcher* *Department of Applied Informatics* *University of Macedonia*
I did the installation based on this https://docs.openstack.org/install-guide/openstack-services.html (queens version) In my previous installation (I use VMWare instead of XenServer) the only thing that I did is to enable promisc mode in VSphere, and the VMs were reachable. I am using ml2 plugin and linuxbridge (default installation) Does it need extra configuration? Thanks
Any thoughts? Στις Τετ 29 Ιουν 2022 στις 20:06 ο χρήστης GEORGIOS PAPATHANAIL < papathanail@uom.edu.gr> έγραψε:
I did the installation based on this https://docs.openstack.org/install-guide/openstack-services.html (queens version)
In my previous installation (I use VMWare instead of XenServer) the only thing that I did is to enable promisc mode in VSphere, and the VMs were reachable.
I am using ml2 plugin and linuxbridge (default installation)
Does it need extra configuration?
Thanks
-- *George Papathanail* *Associate Researcher* *Department of Applied Informatics* *University of Macedonia*
participants (3)
-
Eugen Block
-
GEORGIOS PAPATHANAIL
-
Sean Mooney