Get up to 80 % extra points for free! More info:

Discussion: Openstack neutron : accessing openstack managed servers from the network host

Activities
Avatar
sandeepkumar
Member
Avatar
sandeepkumar:11/30/2018 4:06

Hi all, I have a distributed "openstack": setup -- one controller and three compute instances. The "network node" is the same as the controller. I have a flat external network and VLAN provider network which has been assigned tag 775.

I have a router connecting the vlan network to the external network. All the plumbing works as expected. I can log into a openstack server and ping outside. Networks are isolated as expected and so forth.

On the controller/network node, I see a qrouter namespace that openstack created for the router and another one for DHCP.

I create a server on a public VLAN-enabled network. I need to reach the server from the controller. I tried some hacks by creating a veth pair and pushing one end to the qrouter namespace but that did not work.

I finally tried the following ugly hack (which worked):

ovs-vsctl show

# Look for the mapping that openstack is using

ovs-ofctl dump-flows br-int -O openflow13 | grep 775

# discover that tag 6 is used by openstack on my integration bridge.
# corresponding to vlan 775

# Create a veth pair so the root namespace can access the bridge.

ip link ip link add veth0 type veth peer name veth1

# put one end on the bridge.
# assign a tag of 6 so it can access the server.

ovs-vsctl add-port br-int veth1 tag=6

# Finally I can assign an address to veth0 and ping a host on
# the openstack managed vlan network

ifconfig veth0 10.0.40.39
After doing the steps above I am able to ping a server on my openstack managed network from my controller.

I had to do several manual steps to figure out the internal tag that openstack was using on the integration bridge. I did this by dumping flow rules on the integration bridge to see how the tags were being managed. I then did the steps outlined above. I think there must be an openstack (neutron) set of commands which I can use rather than having to go through this.

Seeking a better solution. I should not need to look at internal tags and figure out mappings etc. Is there an open stack command line base set of commands to achieve this?

Thanks

 
Reply
11/30/2018 4:06
Avatar
Tomac Fav
Member
Avatar
Tomac Fav:10/27/2023 4:23

Hello! I confidently recommend choosing reliable servers with AMD Ryzen and Intel Core i9 processors that provide outstanding performance. They are ideal for a variety of computing tasks, including financial applications, streaming, rendering and transcoding. Such a step may improve your financial performance, and at the same time you will remain completely satisfied.

 
Up Reply
10/27/2023 4:23
Avatar
Brandon Stark
Member
Avatar
Brandon Stark:12/12/2023 11:18

Additionally, if anyone has insights into the latest trends or innovations in operation management hosting, feel free to share. It's always beneficial to stay informed about the evolving technologies and solutions that can contribute to better operational outcomes.

 
Up Reply
12/12/2023 11:18
Avatar
Ivanna Chabback:12/12/2023 11:22

I recently migrated my website to their platform, and I've been thoroughly impressed. First and foremost, the simplicity of their interface makes everything from deploying a droplet to managing resources a breeze. It's beginner-friendly, but at the same time, it offers advanced users the flexibility they need. The performance is stellar, look at review digitalocean. My site loads faster, and the uptime has been impeccable. The variety of droplet options caters to different needs, and the scalability is a major plus. Whether you're running a small blog or a complex application, Digital Ocean seems to handle it.

 
Up Reply
12/12/2023 11:22
Avatar
Incandescent
Member
Avatar
Incandescent:4. March 7:57

чччччччччччччччч

 
Up Reply
4. March 7:57
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

5 messages from 5 displayed.