Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neutron_sec_group can not create the security group of the same name for 2+ tenants #37

Open
xsuchy opened this issue Mar 13, 2015 · 1 comment

Comments

@xsuchy
Copy link

xsuchy commented Mar 13, 2015

I have this task:

  - name: "Create 'ssh-anywhere' security group"
    neutron_sec_group:
      login_username: "admin"
      login_password: "{{ ADMIN_PASS }}"
      login_tenant_name: "admin"
      auth_url: "https://{{controller_hostname}}:35357/v2.0"
      state: "present"
      name: 'ssh-anywhere'
      description: "allow ssh from anywhere"
      tenant_name: "{{item}}"
      rules:
        - direction: "ingress"
          port_range_min: "22"
          port_range_max: "22"
          ethertype: "IPv4"
          protocol: "tcp"
          remote_ip_prefix: "0.0.0.0/0"
    with_items:
      - cloudintern
      - cloudsig
      - copr
      - coprdev
      - infrastructure
      - persistent
      - pythonbots
      - qa
      - scratch
      - transient

Which should create security group 'ssh-anywhere' for all tenants. However the result is only one security group of this name and created for "cloudintern" tenant.
I would expect that after running this there would be 10 security groups of this name. Each one for each tenant.

henrysher pushed a commit to henrysher/fedora-infra-ansible that referenced this issue Mar 13, 2015
@lorin
Copy link
Member

lorin commented Mar 13, 2015

@jorisroovers Can you provide some insight here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants