r/openstack • • Sep 08 '21

Problems with external access through Floating IPs

Hey there! I'm sure this is your favorite type of post - a lost Packstack user.

I've been working on setting up Openstack with RDO, but I've been running into a few problems.

The first, and probably most pressing issue is that I can't get external access inbound to my guest machines. I've noticed that the port that was created for my Neutron Router is added to br-ex as I would expect, but any other ports that are created after that - specifically with floating IP addresses - are not added to br-ex from there. So I can get outbound access with my Neutron Router, but I cannot access the guest instances from my external network. is there a configuration that needs to be done to get the allocation of floating IPs to trigger the addition of a port to br-ex? Or is it just a matter of allowing NAT to the address that has been taken?

The other problem that I'm now noticing is that I'm now getting a Missing value auth-url required for auth plugin password error - I've run the Openstack RC script that I've downloaded from the admin interface, but it still prompts with the same error. Not sure what that's about.

Any advice would be much appreciated! Even pointers as to which config files I can look at, where the log files for this issue might be, I'm all ears. I've checked all the spots that I would think of for logs - /var/log/neutron /var/log/openvswitch etc.

8 Upvotes

14 comments sorted by

View all comments

1

u/keepah61 Sep 08 '21

For the inbound access issue, did you create any security group rules? They are required

1

u/theothertylaxguy Sep 08 '21

Yeah, I had one created for full ingress and egress - Packstack seems to create this by default and I doublechecked to make sure that they were applied to everything I could apply it to.

1

u/keepah61 Sep 08 '21

Watch out for those default rules that also reference a remote security group. They do nothing afaict

2

u/slaweq Sep 08 '21

Those rules are not "do nothing". They are allowing ingress traffic from other ports in the same Security Group :)

1

u/keepah61 Sep 09 '21

Ahh, so they only apply to traffic between 2 VMs in the same project? At least now I know why they exist.

1

u/slaweq Sep 14 '21

Not exactly in same project - it may sometimes happen that You have SG shared between projects and vms from different project will use it. But generally in most cases Your statement is correct :)

BTW. Such SGs with rules which refers to the remote_group_id aren't scale well in Neutron so if You don't need them, it's better to remove them and use rules with CIDRs instead.