Openstack security group targeting another security group not working as expected

de flag

I wonder if anyone might be able to see why chaining security groups isn't working please?

I have a VM with security group test_1 applied to its only NIC port. Default security group has egress rules removed to prevent outbound pings (all ICMP in fact)

  1. openstack security group rule create --egress test_1 # Allow all egress
  2. confirm VM can ping stuff: it can
  3. openstack security group rule delete <id of rule added in step 2>
  4. openstack security group create test_2 # test_2 has default all egress
  5. openstack security group rule create --egress test_1 --remote-group test_2
  6. confirm if VM can ping stuff: it can NOT
  7. add test_2 directly to VM nic port:
  8. confirm if VM can ping stuff: it CAN

All the best and thanks, Tim


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.