【问题标题】:OpenStack: add security rules failed due to multiple security groups named with "default"OpenStack:由于多个名为“default”的安全组,添加安全规则失败
【发布时间】:2016-09-26 08:56:46
【问题描述】:

安装devstack后,我按照doc设置安全规则:

$ openstack security group rule create --proto icmp --dst-port 0 default
More than one security_group exists with the name 'default'.

它声称我有多个以default 命名的安全组,但我使用nova secgroup-list 进行检查:

$ nova secgroup-list
WARNING: Command secgroup-list is deprecated and will be removed after Nova 15.0.0 is released. Use python-neutronclient or python-openstackclient instead.
+--------------------------------------+---------+------------------------+
| Id                                   | Name    | Description            |
+--------------------------------------+---------+------------------------+
| e5466481-f656-46fa-ac72-56f7ab118c70 | default | Default security group |
+--------------------------------------+---------+------------------------+

所以,只有一个以default命名的安全组...

有人可以给我一些建议吗?

【问题讨论】:

    标签: openstack devstack


    【解决方案1】:

    是的,当您有多个租户时,这是一个常见问题,每个租户都有一个“默认”组。我之前应用的解决方案是在“默认”组时使用组ID而不是组名。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-08-09
      • 1970-01-01
      • 2019-01-11
      • 1970-01-01
      • 2020-10-06
      • 2021-08-16
      • 2022-01-16
      • 1970-01-01
      相关资源
      最近更新 更多