Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1485144 Details for
Bug 1631388
os_router ignores enable_snat: no
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
terminal log
2018-09-20-snat.txt (text/plain), 17.94 KB, created by
Dominik Holler
on 2018-09-20 13:15:57 UTC
(
hide
)
Description:
terminal log
Filename:
MIME Type:
Creator:
Dominik Holler
Created:
2018-09-20 13:15:57 UTC
Size:
17.94 KB
patch
obsolete
>[user@fedora-28-gui openstack(keystone_admin)]$ cat create_non_nat_router.yml >--- >- name: Create rotuer > hosts: localhost > tasks: > > - name: Create network net12 > os_network: > state: present > name: net12 > external: yes > register: net12 > > - name: Create subnet net12_subnet 1 > os_subnet: > state: present > network_name: net12 > name: net12_subnet1 > ip_version: 4 > cidr: 10.12.0.0/24 > gateway_ip: 10.12.0.1 > enable_dhcp: yes > > > - name: Create router router_no_nat > os_router: > state: present > name: router_no_nat > network: net12 > enable_snat: no > external_fixed_ips: > - subnet: net12_subnet1 > ip: 10.12.0.100 >[user@fedora-28-gui openstack(keystone_admin)]$ ansible-playbook -vv create_non_nat_router.yml >ansible-playbook 2.5.0 > config file = /etc/ansible/ansible.cfg > configured module search path = [u'/home/user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] > ansible python module location = /usr/lib/python2.7/site-packages/ansible > executable location = /usr/bin/ansible-playbook > python version = 2.7.15 (default, May 16 2018, 17:50:09) [GCC 8.1.1 20180502 (Red Hat 8.1.1-1)] >Using /etc/ansible/ansible.cfg as config file > [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' > > >PLAYBOOK: create_non_nat_router.yml ********************************************************************************************************************************************************** >1 plays in create_non_nat_router.yml > >PLAY [Create rotuer] ************************************************************************************************************************************************************************* > >TASK [Gathering Facts] *********************************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:2 >ok: [localhost] >META: ran handlers > >TASK [Create network net12] ****************************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:6 >changed: [localhost] => {"changed": true, "id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e", "network": {"admin_state_up": true, "availability_zone_hints": [], "availability_zones": [], "created_at": "2018-09-13T12:43:52Z", "description": "", "id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e", "ipv4_address_scope": null, "ipv6_address_scope": null, "is_default": false, "mtu": 1442, "name": "net12", "port_security_enabled": true, "project_id": "6cd706aca49641ffb6cee6899baa68ef", "provider:network_type": "geneve", "provider:physical_network": null, "provider:segmentation_id": 15, "qos_policy_id": null, "revision_number": 5, "router:external": true, "shared": false, "status": "ACTIVE", "subnets": [], "tags": [], "tenant_id": "6cd706aca49641ffb6cee6899baa68ef", "updated_at": "2018-09-13T12:43:52Z"}} > >TASK [Create subnet net12_subnet 1] ********************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:13 >changed: [localhost] => {"changed": true, "id": "307fd984-68e1-4d86-971b-2f32064c88a2", "subnet": {"allocation_pools": [{"end": "10.12.0.254", "start": "10.12.0.2"}], "cidr": "10.12.0.0/24", "created_at": "2018-09-13T12:43:56Z", "description": "", "dns_nameservers": [], "enable_dhcp": true, "gateway_ip": "10.12.0.1", "host_routes": [], "id": "307fd984-68e1-4d86-971b-2f32064c88a2", "ip_version": 4, "ipv6_address_mode": null, "ipv6_ra_mode": null, "name": "net12_subnet1", "network_id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e", "project_id": "6cd706aca49641ffb6cee6899baa68ef", "revision_number": 0, "service_types": [], "subnetpool_id": null, "tags": [], "tenant_id": "6cd706aca49641ffb6cee6899baa68ef", "updated_at": "2018-09-13T12:43:56Z"}} > >TASK [Create router router_no_nat] *********************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:24 >changed: [localhost] => {"changed": true, "id": "443dce88-2b73-43ba-acd5-275124187b2a", "router": {"admin_state_up": true, "created_at": "2018-09-13T12:44:00Z", "description": "", "external_gateway_info": {"enable_snat": false, "external_fixed_ips": [{"ip_address": "10.12.0.100", "subnet_id": "307fd984-68e1-4d86-971b-2f32064c88a2"}], "network_id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e"}, "id": "443dce88-2b73-43ba-acd5-275124187b2a", "name": "router_no_nat", "project_id": "6cd706aca49641ffb6cee6899baa68ef", "revision_number": 2, "routes": [], "status": "ACTIVE", "tags": [], "tenant_id": "6cd706aca49641ffb6cee6899baa68ef", "updated_at": "2018-09-13T12:44:01Z"}} >META: ran handlers >META: ran handlers > >PLAY RECAP *********************************************************************************************************************************************************************************** >localhost : ok=4 changed=3 unreachable=0 failed=0 > >[user@fedora-28-gui openstack(keystone_admin)]$ sudo dnf update ansible >[sudo] password for user: >Last metadata expiration check: 2:52:47 ago on Thu 20 Sep 2018 12:06:40 PM CEST. >Dependencies resolved. >============================================================================================================================================================================================== > Package Arch Version Repository Size >============================================================================================================================================================================================== >Upgrading: > ansible noarch 2.6.4-1.fc28 updates 10 M > >Transaction Summary >============================================================================================================================================================================================== >Upgrade 1 Package > >Total download size: 10 M >Is this ok [y/N]: y >Downloading Packages: >ansible-2.6.4-1.fc28.noarch.rpm 9.2 MB/s | 10 MB 00:01 >---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- >Total 6.0 MB/s | 10 MB 00:01 >Running transaction check >Transaction check succeeded. >Running transaction test >Transaction test succeeded. >Running transaction > Preparing : 1/1 > Upgrading : ansible-2.6.4-1.fc28.noarch 1/2 > Cleanup : ansible-2.5.0-2.fc28.noarch 2/2 > Running scriptlet: ansible-2.5.0-2.fc28.noarch 2/2 > Verifying : ansible-2.6.4-1.fc28.noarch 1/2 > Verifying : ansible-2.5.0-2.fc28.noarch 2/2 > >Upgraded: > ansible.noarch 2.6.4-1.fc28 > >Complete! >[user@fedora-28-gui openstack(keystone_admin)]$ ansible-playbook -vv create_non_nat_router.yml >ansible-playbook 2.6.4 > config file = /etc/ansible/ansible.cfg > configured module search path = [u'/home/user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] > ansible python module location = /usr/lib/python2.7/site-packages/ansible > executable location = /usr/bin/ansible-playbook > python version = 2.7.15 (default, May 16 2018, 17:50:09) [GCC 8.1.1 20180502 (Red Hat 8.1.1-1)] >Using /etc/ansible/ansible.cfg as config file > [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' > > >PLAYBOOK: create_non_nat_router.yml ********************************************************************************************************************************************************** >1 plays in create_non_nat_router.yml > >PLAY [Create rotuer] ************************************************************************************************************************************************************************* > >TASK [Gathering Facts] *********************************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:2 >ok: [localhost] >META: ran handlers > >TASK [Create network net12] ****************************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:6 >ok: [localhost] => {"changed": false, "id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e", "network": {"admin_state_up": true, "availability_zone_hints": [], "availability_zones": [], "created_at": "2018-09-13T12:43:52Z", "description": "", "id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e", "ipv4_address_scope": null, "ipv6_address_scope": null, "is_default": false, "mtu": 1442, "name": "net12", "port_security_enabled": true, "project_id": "6cd706aca49641ffb6cee6899baa68ef", "provider:network_type": "geneve", "provider:physical_network": null, "provider:segmentation_id": 15, "qos_policy_id": null, "revision_number": 6, "router:external": true, "shared": false, "status": "ACTIVE", "subnets": ["307fd984-68e1-4d86-971b-2f32064c88a2"], "tags": [], "tenant_id": "6cd706aca49641ffb6cee6899baa68ef", "updated_at": "2018-09-13T12:43:56Z"}} > >TASK [Create subnet net12_subnet 1] ********************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:13 >ok: [localhost] => {"changed": false, "id": "307fd984-68e1-4d86-971b-2f32064c88a2", "subnet": {"allocation_pools": [{"end": "10.12.0.254", "start": "10.12.0.2"}], "cidr": "10.12.0.0/24", "created_at": "2018-09-13T12:43:56Z", "description": "", "dns_nameservers": [], "enable_dhcp": true, "gateway_ip": "10.12.0.1", "host_routes": [], "id": "307fd984-68e1-4d86-971b-2f32064c88a2", "ip_version": 4, "ipv6_address_mode": null, "ipv6_ra_mode": null, "name": "net12_subnet1", "network_id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e", "project_id": "6cd706aca49641ffb6cee6899baa68ef", "revision_number": 0, "service_types": [], "subnetpool_id": null, "tags": [], "tenant_id": "6cd706aca49641ffb6cee6899baa68ef", "updated_at": "2018-09-13T12:43:56Z"}} > >TASK [Create router router_no_nat] *********************************************************************************************************************************************************** >task path: /home/user/Documents/scripts/openstack/create_non_nat_router.yml:24 >changed: [localhost] => {"changed": true, "id": "a1110a3f-5f63-4e77-98a6-a0bc7f450f12", "router": {"admin_state_up": true, "created_at": "2018-09-13T12:44:54Z", "description": "", "external_gateway_info": {"enable_snat": true, "external_fixed_ips": [{"ip_address": "10.12.0.100", "subnet_id": "307fd984-68e1-4d86-971b-2f32064c88a2"}], "network_id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e"}, "id": "a1110a3f-5f63-4e77-98a6-a0bc7f450f12", "name": "router_no_nat", "project_id": "6cd706aca49641ffb6cee6899baa68ef", "revision_number": 2, "routes": [], "status": "ACTIVE", "tags": [], "tenant_id": "6cd706aca49641ffb6cee6899baa68ef", "updated_at": "2018-09-13T12:44:55Z"}} >META: ran handlers >META: ran handlers > >PLAY RECAP *********************************************************************************************************************************************************************************** >localhost : ok=4 changed=1 unreachable=0 failed=0 > >[user@fedora-28-gui openstack(keystone_admin)]$ openstack router show router_no_nat >+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ >| Field | Value | >+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ >| admin_state_up | UP | >| availability_zone_hints | None | >| availability_zones | None | >| created_at | 2018-09-13T12:44:54Z | >| description | | >| distributed | False | >| external_gateway_info | {"network_id": "5ad553fe-307e-40e9-ab8a-8834d8e3b86e", "enable_snat": true, "external_fixed_ips": [{"subnet_id": "307fd984-68e1-4d86-971b-2f32064c88a2", "ip_address": "10.12.0.100"}]} | >| flavor_id | None | >| ha | False | >| id | a1110a3f-5f63-4e77-98a6-a0bc7f450f12 | >| interfaces_info | [] | >| name | router_no_nat | >| project_id | 6cd706aca49641ffb6cee6899baa68ef | >| revision_number | 2 | >| routes | | >| status | ACTIVE | >| tags | | >| updated_at | 2018-09-13T12:44:55Z | >+-------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ >[user@fedora-28-gui openstack(keystone_admin)]$
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1631388
: 1485144 |
1485145