Created
January 13, 2021 22:16
-
-
Save flavio-fernandes/592458348a88b4fa10a4f45ea46743e7 to your computer and use it in GitHub Desktop.
output of fw.sh with openstack ml2/ovn --- after proposed fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ref: | |
script: https://gist.github.com/flavio-fernandes/863e48f012b7975e1d46c896b262dfc9 | |
with issue: https://gist.github.com/flavio-fernandes/f6fdd6cdce461c5e7ba07bedfbc23750#file-log-txt-L176 | |
lp: https://bugs.launchpad.net/neutron/+bug/1910334 | |
fix changes: https://review.opendev.org/c/openstack/neutron/+/769462 | |
vagrant@stack:/vagrant$ bash fw_2.sh | |
WARNING: setting legacy OS_TENANT_NAME to support cli tools. | |
+fw_2.sh:main:10 set -o errexit | |
+fw_2.sh:main:12 openstack server create --nic net-id=private,v4-fixed-ip=10.0.0.10 --flavor m1.nano --image f766060d-3ef5-4199-8174-39b3af256867 -f value -c id --key-name demo d | |
19dff040-daac-4f0f-ba0a-b2ef7f8f110a | |
+fw_2.sh:main:13 sleep 3 | |
++fw_2.sh:main:13 openstack port list --server d -f value -c ID | |
+fw_2.sh:main:13 openstack port set --name dp 5b1542ba-ee59-4ca1-ad09-0fa82b7b8f1e | |
+fw_2.sh:main:15 openstack server create --nic net-id=private,v4-fixed-ip=10.0.0.11 --flavor m1.nano --image f766060d-3ef5-4199-8174-39b3af256867 -f value -c id --wait --key-name demo e | |
df75628c-a35f-4efe-9b1d-5144e765193b | |
+fw_2.sh:main:16 sleep 3 | |
++fw_2.sh:main:16 openstack port list --server e -f value -c ID | |
+fw_2.sh:main:16 openstack port set --name ep 17f47f11-b048-4d6e-af23-44747da827f7 | |
+fw_2.sh:main:18 FIP=172.24.4.8 | |
+fw_2.sh:main:19 openstack floating ip create --floating-ip-address 172.24.4.8 public | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| created_at | 2021-01-13T22:11:49Z | | |
| description | | | |
| dns_domain | | | |
| dns_name | | | |
| fixed_ip_address | None | | |
| floating_ip_address | 172.24.4.8 | | |
| floating_network_id | 52975e69-13cd-4bda-a135-702f21df530f | | |
| id | fafb362f-44b0-4a41-b702-359cb9665a63 | | |
| name | 172.24.4.8 | | |
| port_details | None | | |
| port_id | None | | |
| project_id | 3dee0c8c024d4690b3e7a6aeb634d6c1 | | |
| qos_policy_id | None | | |
| revision_number | 0 | | |
| router_id | None | | |
| status | DOWN | | |
| subnet_id | None | | |
| tags | [] | | |
| updated_at | 2021-01-13T22:11:49Z | | |
+---------------------+--------------------------------------+ | |
+fw_2.sh:main:20 openstack floating ip show 172.24.4.8 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| created_at | 2021-01-13T22:11:49Z | | |
| description | | | |
| dns_domain | | | |
| dns_name | | | |
| fixed_ip_address | None | | |
| floating_ip_address | 172.24.4.8 | | |
| floating_network_id | 52975e69-13cd-4bda-a135-702f21df530f | | |
| id | fafb362f-44b0-4a41-b702-359cb9665a63 | | |
| name | 172.24.4.8 | | |
| port_details | None | | |
| port_id | None | | |
| project_id | 3dee0c8c024d4690b3e7a6aeb634d6c1 | | |
| qos_policy_id | None | | |
| revision_number | 0 | | |
| router_id | None | | |
| status | DOWN | | |
| subnet_id | None | | |
| tags | [] | | |
| updated_at | 2021-01-13T22:11:49Z | | |
+---------------------+--------------------------------------+ | |
++fw_2.sh:main:22 openstack floating ip show 172.24.4.8 -f value -c id | |
+fw_2.sh:main:22 FIP_UUID=fafb362f-44b0-4a41-b702-359cb9665a63 | |
+fw_2.sh:main:22 echo fafb362f-44b0-4a41-b702-359cb9665a63 | |
fafb362f-44b0-4a41-b702-359cb9665a63 | |
+fw_2.sh:main:25 openstack floating ip port forwarding create --internal-ip-address 10.0.0.10 --internal-protocol-port 22 --port dp --external-protocol-port 2020 --protocol tcp fafb362f-44b0-4a41-b702-359cb9665a63 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| description | | | |
| external_port | 2020 | | |
| id | b55fe98a-23d2-4980-9bd8-ab22145d9cd6 | | |
| internal_ip_address | 10.0.0.10 | | |
| internal_port | 22 | | |
| internal_port_id | 5b1542ba-ee59-4ca1-ad09-0fa82b7b8f1e | | |
| name | None | | |
| project_id | | | |
| protocol | tcp | | |
+---------------------+--------------------------------------+ | |
++fw_2.sh:main:29 openstack floating ip port forwarding list fafb362f-44b0-4a41-b702-359cb9665a63 -f value -c 'Internal IP Address' -c ID | |
++fw_2.sh:main:29 grep 10.0.0.10 | |
++fw_2.sh:main:29 cut '-d ' -f1 | |
+fw_2.sh:main:29 PF_ID=b55fe98a-23d2-4980-9bd8-ab22145d9cd6 | |
+fw_2.sh:main:29 echo b55fe98a-23d2-4980-9bd8-ab22145d9cd6 | |
b55fe98a-23d2-4980-9bd8-ab22145d9cd6 | |
+fw_2.sh:main:31 openstack floating ip show 172.24.4.8 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| created_at | 2021-01-13T22:11:49Z | | |
| description | | | |
| dns_domain | | | |
| dns_name | | | |
| fixed_ip_address | None | | |
| floating_ip_address | 172.24.4.8 | | |
| floating_network_id | 52975e69-13cd-4bda-a135-702f21df530f | | |
| id | fafb362f-44b0-4a41-b702-359cb9665a63 | | |
| name | 172.24.4.8 | | |
| port_details | None | | |
| port_id | None | | |
| project_id | 3dee0c8c024d4690b3e7a6aeb634d6c1 | | |
| qos_policy_id | None | | |
| revision_number | 2 | | |
| router_id | a0fa3e64-fec3-4369-95bc-999b3b9489ad | | |
| status | ACTIVE | | |
| subnet_id | None | | |
| tags | [] | | |
| updated_at | 2021-01-13T22:11:53Z | | |
+---------------------+--------------------------------------+ | |
+fw_2.sh:main:33 openstack floating ip port forwarding delete 172.24.4.8 b55fe98a-23d2-4980-9bd8-ab22145d9cd6 | |
+fw_2.sh:main:35 openstack floating ip show 172.24.4.8 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| created_at | 2021-01-13T22:11:49Z | | |
| description | | | |
| dns_domain | | | |
| dns_name | | | |
| fixed_ip_address | None | | |
| floating_ip_address | 172.24.4.8 | | |
| floating_network_id | 52975e69-13cd-4bda-a135-702f21df530f | | |
| id | fafb362f-44b0-4a41-b702-359cb9665a63 | | |
| name | 172.24.4.8 | | |
| port_details | None | | |
| port_id | None | | |
| project_id | 3dee0c8c024d4690b3e7a6aeb634d6c1 | | |
| qos_policy_id | None | | |
| revision_number | 4 | | |
| router_id | None | | |
| status | DOWN | | |
| subnet_id | None | | |
| tags | [] | | |
| updated_at | 2021-01-13T22:11:57Z | | |
+---------------------+--------------------------------------+ | |
+fw_2.sh:main:37 openstack floating ip port forwarding create --internal-ip-address 10.0.0.10 --internal-protocol-port 22 --port dp --external-protocol-port 2020 --protocol tcp fafb362f-44b0-4a41-b702-359cb9665a63 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| description | | | |
| external_port | 2020 | | |
| id | a72cf1bf-7172-46c3-a233-36b1a288ca0a | | |
| internal_ip_address | 10.0.0.10 | | |
| internal_port | 22 | | |
| internal_port_id | 5b1542ba-ee59-4ca1-ad09-0fa82b7b8f1e | | |
| name | None | | |
| project_id | | | |
| protocol | tcp | | |
+---------------------+--------------------------------------+ | |
++fw_2.sh:main:41 openstack floating ip port forwarding list fafb362f-44b0-4a41-b702-359cb9665a63 -f value -c 'Internal IP Address' -c ID | |
++fw_2.sh:main:41 grep 10.0.0.10 | |
++fw_2.sh:main:41 cut '-d ' -f1 | |
+fw_2.sh:main:41 PF_ID=a72cf1bf-7172-46c3-a233-36b1a288ca0a | |
+fw_2.sh:main:41 echo a72cf1bf-7172-46c3-a233-36b1a288ca0a | |
a72cf1bf-7172-46c3-a233-36b1a288ca0a | |
+fw_2.sh:main:43 openstack floating ip show 172.24.4.8 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| created_at | 2021-01-13T22:11:49Z | | |
| description | | | |
| dns_domain | | | |
| dns_name | | | |
| fixed_ip_address | None | | |
| floating_ip_address | 172.24.4.8 | | |
| floating_network_id | 52975e69-13cd-4bda-a135-702f21df530f | | |
| id | fafb362f-44b0-4a41-b702-359cb9665a63 | | |
| name | 172.24.4.8 | | |
| port_details | None | | |
| port_id | None | | |
| project_id | 3dee0c8c024d4690b3e7a6aeb634d6c1 | | |
| qos_policy_id | None | | |
| revision_number | 6 | | |
| router_id | a0fa3e64-fec3-4369-95bc-999b3b9489ad | | |
| status | ACTIVE | | |
| subnet_id | None | | |
| tags | [] | | |
| updated_at | 2021-01-13T22:12:00Z | | |
+---------------------+--------------------------------------+ | |
+fw_2.sh:main:45 openstack floating ip port forwarding create --internal-ip-address 10.0.0.11 --internal-protocol-port 22 --port ep --external-protocol-port 2021 --protocol tcp fafb362f-44b0-4a41-b702-359cb9665a63 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| description | | | |
| external_port | 2021 | | |
| id | 73bff553-ddb5-48b7-8e7f-1295d0a23e15 | | |
| internal_ip_address | 10.0.0.11 | | |
| internal_port | 22 | | |
| internal_port_id | 17f47f11-b048-4d6e-af23-44747da827f7 | | |
| name | None | | |
| project_id | | | |
| protocol | tcp | | |
+---------------------+--------------------------------------+ | |
+fw_2.sh:main:48 openstack floating ip show 172.24.4.8 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| created_at | 2021-01-13T22:11:49Z | | |
| description | | | |
| dns_domain | | | |
| dns_name | | | |
| fixed_ip_address | None | | |
| floating_ip_address | 172.24.4.8 | | |
| floating_network_id | 52975e69-13cd-4bda-a135-702f21df530f | | |
| id | fafb362f-44b0-4a41-b702-359cb9665a63 | | |
| name | 172.24.4.8 | | |
| port_details | None | | |
| port_id | None | | |
| project_id | 3dee0c8c024d4690b3e7a6aeb634d6c1 | | |
| qos_policy_id | None | | |
| revision_number | 8 | | |
| router_id | a0fa3e64-fec3-4369-95bc-999b3b9489ad | | |
| status | ACTIVE | | |
| subnet_id | None | | |
| tags | [] | | |
| updated_at | 2021-01-13T22:12:04Z | | |
+---------------------+--------------------------------------+ | |
+fw_2.sh:main:50 openstack floating ip port forwarding list fafb362f-44b0-4a41-b702-359cb9665a63 | |
+--------------------------------------+--------------------------------------+---------------------+---------------+---------------+----------+-------------+ | |
| ID | Internal Port ID | Internal IP Address | Internal Port | External Port | Protocol | Description | | |
+--------------------------------------+--------------------------------------+---------------------+---------------+---------------+----------+-------------+ | |
| 73bff553-ddb5-48b7-8e7f-1295d0a23e15 | 17f47f11-b048-4d6e-af23-44747da827f7 | 10.0.0.11 | 22 | 2021 | tcp | | | |
| a72cf1bf-7172-46c3-a233-36b1a288ca0a | 5b1542ba-ee59-4ca1-ad09-0fa82b7b8f1e | 10.0.0.10 | 22 | 2020 | tcp | | | |
+--------------------------------------+--------------------------------------+---------------------+---------------+---------------+----------+-------------+ | |
+fw_2.sh:main:52 openstack floating ip port forwarding delete 172.24.4.8 a72cf1bf-7172-46c3-a233-36b1a288ca0a | |
+fw_2.sh:main:54 openstack floating ip show 172.24.4.8 | |
+---------------------+--------------------------------------+ | |
| Field | Value | | |
+---------------------+--------------------------------------+ | |
| created_at | 2021-01-13T22:11:49Z | | |
| description | | | |
| dns_domain | | | |
| dns_name | | | |
| fixed_ip_address | None | | |
| floating_ip_address | 172.24.4.8 | | |
| floating_network_id | 52975e69-13cd-4bda-a135-702f21df530f | | |
| id | fafb362f-44b0-4a41-b702-359cb9665a63 | | |
| name | 172.24.4.8 | | |
| port_details | None | | |
| port_id | None | | |
| project_id | 3dee0c8c024d4690b3e7a6aeb634d6c1 | | |
| qos_policy_id | None | | |
| revision_number | 9 | | |
| router_id | a0fa3e64-fec3-4369-95bc-999b3b9489ad | | |
| status | ACTIVE | | |
| subnet_id | None | | |
| tags | [] | | |
| updated_at | 2021-01-13T22:12:08Z | | |
+---------------------+--------------------------------------+ | |
+fw_2.sh:main:56 echo ok | |
ok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment