{"action":"created","issue":{"url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/30","repository_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension","labels_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/30/comments","events_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/30/events","html_url":"https://github.com/F5Networks/f5-appsvcs-extension/issues/30","id":367779053,"node_id":"MDU6SXNzdWUzNjc3NzkwNTM=","number":30,"title":"AS3 v3.5 - Declaration fails with duplicate values in members","user":{"login":"ajgerace","id":24593161,"node_id":"MDQ6VXNlcjI0NTkzMTYx","avatar_url":"https://avatars0.githubusercontent.com/u/24593161?v=4","gravatar_id":"","url":"https://api.github.com/users/ajgerace","html_url":"https://github.com/ajgerace","followers_url":"https://api.github.com/users/ajgerace/followers","following_url":"https://api.github.com/users/ajgerace/following{/other_user}","gists_url":"https://api.github.com/users/ajgerace/gists{/gist_id}","starred_url":"https://api.github.com/users/ajgerace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajgerace/subscriptions","organizations_url":"https://api.github.com/users/ajgerace/orgs","repos_url":"https://api.github.com/users/ajgerace/repos","events_url":"https://api.github.com/users/ajgerace/events{/privacy}","received_events_url":"https://api.github.com/users/ajgerace/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-08T13:00:52Z","updated_at":"2018-10-08T16:47:15Z","closed_at":null,"author_association":"NONE","body":"<!--- Verify first that your issue/request is not already reported in GitHub -->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n \r\n\r\n\r\n##### AS3 BUILD/ VERSION\r\n```\r\nBuild 3 / version 3.5\r\n```\r\n\r\n##### BIGIP VERSION\r\n<!---\r\nPaste verbatim output from “tmsh show sys version” between quotes below. From the BIG-IP UI, click System > Configuration, and then look at the Version row \r\n-->\r\n```\r\nSys::Version\r\nMain Package\r\n  Product     BIG-IP\r\n  Version     13.1.0.8\r\n  Build       0.0.3\r\n  Edition     Point Release 8\r\n  Date        Sat Jun 16 00:03:03 PDT 2018\r\n\r\n\r\n```\r\n\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\n\r\n```\r\nAttempting to deploy declaration containing a single application that has 2 pool members.  When I deploy I receive an error 'declaration has duplicate values in members'.  If I remove a single member the declaration deploys.  I have tried different IPs for the pool members and receive same error. This declaration worked using version 3.4.\r\n\r\n```\r\n\r\n##### STEPS TO REPRODUCE\r\n<!---\r\nFor bugs, show exactly how to reproduce the problem.\r\nFor new features, show how the feature would be used.\r\n-->\r\nPOST a declaration that contains a pool with more than 1 member\r\n\r\n<!--- Paste example declarations between quotes below -->\r\n```\r\n{\r\n    \"action\": \"deploy\", \r\n    \"class\": \"AS3\", \r\n    \"declaration\": {\r\n        \"as3_lab\": {\r\n            \"class\": \"Tenant\", \r\n                \"bodgeit\": {\r\n                \"class\": \"Application\", \r\n                \"template\": \"generic\", \r\n                \"vs_bodgeit_443\": {\r\n                    \"class\": \"Service_HTTPS\", \r\n                    \"clientTLS\": {\r\n                        \"bigip\": \"/Common/f5demo-serverssl\"\r\n                    }, \r\n                    \"iRules\": [\r\n                        {\r\n                            \"bigip\": \"/Common/bodgeit-irule\"\r\n                        }\r\n                    ], \r\n                    \"persistenceMethods\": [\r\n                        {\r\n                            \"bigip\": \"/Common/f5demo-persist-cookie\"\r\n                        }\r\n                    ], \r\n                    \"policyWAF\": {\r\n                        \"bigip\": \"/Common/bodgeit\"\r\n                    }, \r\n                    \"pool\": \"vs_bodgeit_pool\", \r\n                    \"profileHTTP\": {\r\n                        \"bigip\": \"/Common/f5demo-http\"\r\n                    }, \r\n                    \"profileMultiplex\": {\r\n                        \"bigip\": \"/Common/f5demo-oneconnect\"\r\n                    }, \r\n                    \"profileTCP\": {\r\n                        \"egress\": {\r\n                            \"bigip\": \"/Common/f5demo-tcp-wan\"\r\n                        }, \r\n                        \"ingress\": {\r\n                            \"bigip\": \"/Common/f5demo-tcp-lan\"\r\n                        }\r\n                    }, \r\n                    \"redirect80\": true, \r\n                    \"serverTLS\": {\r\n                        \"bigip\": \"/Common/san_cert\"\r\n                    }, \r\n                    \"snat\": \"auto\", \r\n                    \"virtualAddresses\": [\r\n                        \"10.0.1.214\"\r\n                    ], \r\n                    \"virtualPort\": 443\r\n                }, \r\n                \"vs_bodgeit_pool\": { \r\n                    \"class\": \"Pool\", \r\n                    \"monitors\":[\r\n                    \t{ \"bigip\": \"/Common/f5demo-http-head\"}\r\n                    \t],\r\n                    \"members\": [{\r\n                    \t\"servicePort\": 8080,\r\n                    \t\"serverAddresses\": [\r\n                        \t\"10.128.20.12\",\r\n                        \t\"10.128.20.11\"\r\n                    ]\r\n                }]          \r\n                }\r\n            }\r\n        }, \r\n        \"class\": \"ADC\", \r\n        \"id\": \"as3_lab\", \r\n        \"label\": \"as3_lab\", \r\n        \"remark\": \"This is a sample remark \", \r\n        \"schemaVersion\": \"3.5.0\"\r\n    }, \r\n    \"persist\": true\r\n}\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\nDeclaration should deploy successfully\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened?  -->\r\nReceive 500 error back.\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n{\r\n    \"code\": 500,\r\n    \"declarationFullId\": \"\",\r\n    \"message\": \"declaration has duplicate values in members\"\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/comments/427903926","html_url":"https://github.com/F5Networks/f5-appsvcs-extension/issues/30#issuecomment-427903926","issue_url":"https://api.github.com/repos/F5Networks/f5-appsvcs-extension/issues/30","id":427903926,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzkwMzkyNg==","user":{"login":"mdditt2000","id":12733938,"node_id":"MDQ6VXNlcjEyNzMzOTM4","avatar_url":"https://avatars1.githubusercontent.com/u/12733938?v=4","gravatar_id":"","url":"https://api.github.com/users/mdditt2000","html_url":"https://github.com/mdditt2000","followers_url":"https://api.github.com/users/mdditt2000/followers","following_url":"https://api.github.com/users/mdditt2000/following{/other_user}","gists_url":"https://api.github.com/users/mdditt2000/gists{/gist_id}","starred_url":"https://api.github.com/users/mdditt2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdditt2000/subscriptions","organizations_url":"https://api.github.com/users/mdditt2000/orgs","repos_url":"https://api.github.com/users/mdditt2000/repos","events_url":"https://api.github.com/users/mdditt2000/events{/privacy}","received_events_url":"https://api.github.com/users/mdditt2000/received_events","type":"User","site_admin":false},"created_at":"2018-10-08T16:47:15Z","updated_at":"2018-10-08T16:47:15Z","author_association":"NONE","body":"please look at the following example\r\n\r\nhttps://clouddocs.f5.com/products/extensions/f5-appsvcs-extension/3/refguide/additional-examples.html#example-10-two-applications-sharing-a-pool\r\n\r\nYou need to add shared to the tenant and then just reference the second pool \"pool\": \"/Sample_10/Shared/dual_pool\" - make sure the the path is correct. \r\n\r\n`\r\n\"Sample_10\": {\r\n      \"class\": \"Tenant\",\r\n      \"Shared\": {\r\n`\r\n\r\n"}}
{"actor":{"display_login":"mdditt2000"}}