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

virtualAddresses w/mask plus shareAddresses true not idempotent #872

Open
wncocz opened this issue Sep 13, 2024 · 0 comments
Open

virtualAddresses w/mask plus shareAddresses true not idempotent #872

wncocz opened this issue Sep 13, 2024 · 0 comments
Labels
bug Something isn't working untriaged Issue needs to be reviewed for validity

Comments

@wncocz
Copy link

wncocz commented Sep 13, 2024

Environment

  • Application Services Version: 3.49.0 and 3.52.0
  • BIG-IP Version: 15.1.10.3

Summary

If a (non-/32) subnet mask is specified on virtualAddresses, and shareAddresses is true, re-posting an already-deployed declaration fails with error. Observed similar behavior whether the virtualAddress is 0.0.0.0/0, 192.168.0.0/16, or 10.13.13.0/24

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
	"class": "ADC",
	"id": "test-0001",
	"schemaVersion": "3.49.0",
	"test": {
		"class": "Tenant",
		"test": {
			"class": "Application",
			"template": "generic",
			"test_fwd24": {
				"class": "Service_Forwarding",
				"forwardingType": "ip",
				"layer4": "udp",
				"allowVlans": [{ "bigip": "/Common/VLAN13" }],
				"profileL4": { "bigip": "/Common/fastL4" },
				"snat": { "use": "test_snat" },
				"virtualAddresses": [
					[ "10.13.13.0/24", "10.12.12.0/23" ]
				],
				"shareAddresses": true,
				"virtualPort": 3999
			},
			"test_snat": {
				"class": "SNAT_Pool",
				"snatAddresses": [
					"10.12.12.12"
				]
			}
		}
	}
}
  1. Observe successful deployment
  2. Submit it again
  3. Observe the following error response:
    results:
    - code: 422
      declarationId: test-0001
      host: localhost
      message: declaration failed
      response: '01020036:3: The requested virtual address (/Common/10.13.13.0/24) was not found.'
      runTime: 12647
      tenant: test

Expected Behavior

Subsequent deployments should succeed without error (or change).

Actual Behavior

Observed error occurs

@wncocz wncocz added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged Issue needs to be reviewed for validity
Projects
None yet
Development

No branches or pull requests

1 participant