)]}'
{"group_vars/keystone_all.yml":[{"author":{"_account_id":14805,"name":"Jimmy McCrory","email":"jimmy.mccrory@gmail.com","username":"jimmy-mccrory"},"change_message_id":"410c8deef392faa5861ab7d7be878760835e791b","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"keystone_external_ssl: \"{{ openstack_external_ssl }}\""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"keystone_cache_backend_argument: \"url:{% for host in groups[\u0027memcached\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}{% if not loop.last %},{% endif %}{% endfor %}:{{ memcached_port }}\""},{"line_number":55,"context_line":"keystone_memcached_servers: \"{% for host in groups[\u0027keystone_all\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}\""},{"line_number":56,"context_line":"keystone_service_in_ldap: \"{{ service_ldap_backend_enabled }}\""},{"line_number":57,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"df87a7cf_75acf433","side":"PARENT","line":54,"updated":"2017-12-06 01:57:04.000000000","message":"I think this just may just be misconfigured.\nThe port is only printing at the very end once so it\u0027s:\n\nurl:1.1.1.1,2.2.2.2:11221\n\ninstead of:\n\nurl:1.1.1.1:11221,2.2.2.2:11221","commit_id":"1ab7a86b39698c1f8f670050700a596cd5eb8d50"},{"author":{"_account_id":14805,"name":"Jimmy McCrory","email":"jimmy.mccrory@gmail.com","username":"jimmy-mccrory"},"change_message_id":"3d6dfca691ee6a3c807a872a853d699a89607898","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"keystone_external_ssl: \"{{ openstack_external_ssl }}\""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"keystone_cache_backend_argument: \"url:{% for host in groups[\u0027memcached\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}{% if not loop.last %},{% endif %}{% endfor %}:{{ memcached_port }}\""},{"line_number":55,"context_line":"keystone_memcached_servers: \"{% for host in groups[\u0027keystone_all\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}\""},{"line_number":56,"context_line":"keystone_service_in_ldap: \"{{ service_ldap_backend_enabled }}\""},{"line_number":57,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"df87a7cf_dbc72f45","side":"PARENT","line":54,"in_reply_to":"df87a7cf_75acf433","updated":"2017-12-06 04:02:57.000000000","message":"Nevermind, that just fails to parse completely.\n\nIt still looks like setting backend_argument like this isn\u0027t working correctly though anyway. memcache_servers is being set to:\ncache.memcache_servers         \u003d [\u0027localhost:11211\u0027]\n\nsetting cache/memcache_servers directly in keystone.conf seems to work though, I saw traffic to each one when making a request.\n\nCould you confirm if that fixes the issues you were seeing Bjoern?","commit_id":"1ab7a86b39698c1f8f670050700a596cd5eb8d50"},{"author":{"_account_id":14805,"name":"Jimmy McCrory","email":"jimmy.mccrory@gmail.com","username":"jimmy-mccrory"},"change_message_id":"150e347b2900faa7b421b517f3c561da6d469610","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"keystone_external_ssl: \"{{ openstack_external_ssl }}\""},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"keystone_cache_backend_argument: \"url:{% for host in groups[\u0027memcached\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}{% if not loop.last %},{% endif %}{% endfor %}:{{ memcached_port }}\""},{"line_number":55,"context_line":"keystone_memcached_servers: \"{% for host in groups[\u0027keystone_all\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}\""},{"line_number":56,"context_line":"keystone_service_in_ldap: \"{{ service_ldap_backend_enabled }}\""},{"line_number":57,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":9,"id":"df87a7cf_7bf4e386","side":"PARENT","line":54,"in_reply_to":"df87a7cf_dbc72f45","updated":"2017-12-06 04:11:21.000000000","message":"like this, for example:\nmemcache_servers \u003d 172.29.237.96:11211,172.29.238.153:11211","commit_id":"1ab7a86b39698c1f8f670050700a596cd5eb8d50"}],"playbooks/inventory/group_vars/keystone_all.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"f3aa824c91ed13751dc57c5f19ccd3df2a5fc2dd","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"keystone_external_ssl: \"{{ openstack_external_ssl }}\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"keystone_cache_backend_argument: \"url:{{ internal_lb_vip_address }}:11211\""},{"line_number":19,"context_line":"keystone_memcached_servers: \"{% for host in groups[\u0027keystone_all\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}\""},{"line_number":20,"context_line":"keystone_service_in_ldap: \"{{ service_ldap_backend_enabled }}\""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"1f013ff3_369e9763","line":18,"range":{"start_line":18,"start_character":0,"end_line":18,"end_character":31},"updated":"2017-05-15 08:57:54.000000000","message":"This var is meant to be used to supply backend arguments to the caching module, not the server list. The \u0027keystone_memcached_servers\u0027 var is meant to hold the server list. the os_keystone role is missing the memcache_servers option in the cache section.","commit_id":"91304d03c4a7a9e76f309058d26ee4e49ee47544"},{"author":{"_account_id":14552,"name":"Bjoern Teipel","email":"bjoern.teipel@rackspace.com","username":"bjoern"},"change_message_id":"dec532b0b8eadf4e7f4c4273db949c7bf81642bc","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"keystone_external_ssl: \"{{ openstack_external_ssl }}\""},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"keystone_cache_backend_argument: \"url:{{ internal_lb_vip_address }}:11211\""},{"line_number":19,"context_line":"keystone_memcached_servers: \"{% for host in groups[\u0027keystone_all\u0027] %}{{ hostvars[host][\u0027container_address\u0027] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}\""},{"line_number":20,"context_line":"keystone_service_in_ldap: \"{{ service_ldap_backend_enabled }}\""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":4,"id":"1f013ff3_e5274e64","line":18,"range":{"start_line":18,"start_character":0,"end_line":18,"end_character":31},"in_reply_to":"1f013ff3_369e9763","updated":"2017-05-15 14:52:22.000000000","message":"For dogpile, the argument is used to provide the server list which just does not work when using a list of hosts as originally anticipated. I still prefer the VIP, because this has largely been broken since Icehouse for us.\nAnd memcache_servers seems entirely be unused see https://github.com/openstack/oslo.cache/blob/master/oslo_cache/core.py#L129-L130 so I still prefer this PR","commit_id":"91304d03c4a7a9e76f309058d26ee4e49ee47544"}],"playbooks/vars/configs/haproxy_config.yml":[{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"174d83d1eefd96bc41a6cd3ec2d7e6ee3a00bfee","unresolved":false,"context_lines":[{"line_number":275,"context_line":"      haproxy_whitelist_networks: \"{{ haproxy_octavia_whitelist_networks }}\""},{"line_number":276,"context_line":"  - service:"},{"line_number":277,"context_line":"      haproxy_service_name: memcached"},{"line_number":278,"context_line":"      haproxy_backend_nodes: \"{{ groups[\u0027memcached\u0027]| default([]) }}\""},{"line_number":279,"context_line":"      haproxy_port: 11211"},{"line_number":280,"context_line":"      haproxy_balance_type: tcp"},{"line_number":281,"context_line":"      haproxy_timeout_client: 5000s"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"7ffa3b31_701a6a6f","line":278,"range":{"start_line":278,"start_character":0,"end_line":278,"end_character":69},"updated":"2017-04-20 03:21:13.000000000","message":"Having it round robin between the nodes will end up causing lots of cache misses. If we go to using a single backend via the load balancer we\u0027re likely going to need to have a single active node with multiple backups instead of a multi-master backend.\n\nsimilar to:\n      haproxy_backend_nodes: \"{{ [groups[\u0027galera_all\u0027][0]] | default([]) }}\"  # list expected\n      haproxy_backup_nodes: \"{{ groups[\u0027galera_all\u0027][1:] | default([]) }}\"","commit_id":"d8aa492f0f1a0efe0fc934c80edb922efc4762d0"},{"author":{"_account_id":14552,"name":"Bjoern Teipel","email":"bjoern.teipel@rackspace.com","username":"bjoern"},"change_message_id":"bea93eb8fbcfa0703d8b7eb019def63fdcfbb680","unresolved":false,"context_lines":[{"line_number":275,"context_line":"      haproxy_whitelist_networks: \"{{ haproxy_octavia_whitelist_networks }}\""},{"line_number":276,"context_line":"  - service:"},{"line_number":277,"context_line":"      haproxy_service_name: memcached"},{"line_number":278,"context_line":"      haproxy_backend_nodes: \"{{ groups[\u0027memcached\u0027]| default([]) }}\""},{"line_number":279,"context_line":"      haproxy_port: 11211"},{"line_number":280,"context_line":"      haproxy_balance_type: tcp"},{"line_number":281,"context_line":"      haproxy_timeout_client: 5000s"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"7ffa3b31_b4be86b1","line":278,"range":{"start_line":278,"start_character":0,"end_line":278,"end_character":69},"in_reply_to":"7ffa3b31_701a6a6f","updated":"2017-04-20 21:09:40.000000000","message":"Hmm we have stick tables enables so the hashing will make sure that you get routed to the same backend. No need to do an active/passive setup, which I never liked...","commit_id":"d8aa492f0f1a0efe0fc934c80edb922efc4762d0"},{"author":{"_account_id":2799,"name":"Andy McCrae","email":"andy.mccrae@googlemail.com","username":"andrew-mccrae"},"change_message_id":"114f64486f5ae8d5e8f4689e6b4bf3cb9fc9d43f","unresolved":false,"context_lines":[{"line_number":275,"context_line":"      haproxy_whitelist_networks: \"{{ haproxy_octavia_whitelist_networks }}\""},{"line_number":276,"context_line":"  - service:"},{"line_number":277,"context_line":"      haproxy_service_name: memcached"},{"line_number":278,"context_line":"      haproxy_backend_nodes: \"{{ groups[\u0027memcached\u0027]| default([]) }}\""},{"line_number":279,"context_line":"      haproxy_port: 11211"},{"line_number":280,"context_line":"      haproxy_balance_type: tcp"},{"line_number":281,"context_line":"      haproxy_timeout_client: 5000s"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"5ff73747_159eff53","line":278,"range":{"start_line":278,"start_character":0,"end_line":278,"end_character":69},"in_reply_to":"7ffa3b31_b4be86b1","updated":"2017-05-02 17:21:40.000000000","message":"Setting haproxy_balance_alg: source would achieve the stickiness, but since other backend services aren\u0027t setup the same it could still cause issues:\n\nE.g. Keystone requests cache, your next request goes to a different keystone host (and likely a different memcache host too as a result).\n\nPerhaps we could change the majority of services to be \"haproxy_alg: source\". Thoughts?","commit_id":"d8aa492f0f1a0efe0fc934c80edb922efc4762d0"},{"author":{"_account_id":2799,"name":"Andy McCrae","email":"andy.mccrae@googlemail.com","username":"andrew-mccrae"},"change_message_id":"114f64486f5ae8d5e8f4689e6b4bf3cb9fc9d43f","unresolved":false,"context_lines":[{"line_number":278,"context_line":"      haproxy_backend_nodes: \"{{ groups[\u0027memcached\u0027]| default([]) }}\""},{"line_number":279,"context_line":"      haproxy_port: 11211"},{"line_number":280,"context_line":"      haproxy_balance_type: tcp"},{"line_number":281,"context_line":"      haproxy_timeout_client: 5000s"},{"line_number":282,"context_line":"      haproxy_timeout_server: 5000s"},{"line_number":283,"context_line":"      haproxy_backend_options:"},{"line_number":284,"context_line":"        - tcp-check"}],"source_content_type":"text/x-yaml","patch_set":3,"id":"5ff73747_f5eef3eb","line":281,"range":{"start_line":281,"start_character":0,"end_line":281,"end_character":35},"updated":"2017-05-02 17:21:40.000000000","message":"over an hour timeout seems a bit much - surely we wouldn\u0027t want long lived connections to memcache to last over an hour.","commit_id":"d8aa492f0f1a0efe0fc934c80edb922efc4762d0"}],"releasenotes/notes/keystone-cache-vip-9f66abe834dba981.yaml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"f3aa824c91ed13751dc57c5f19ccd3df2a5fc2dd","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"upgrade:"},{"line_number":3,"context_line":"  - The cache for keystone is configured to use a the"},{"line_number":4,"context_line":"    `internal_lb_vip_address` VIP to address #1681695."},{"line_number":5,"context_line":"  - A new service for HAProxy is added to load balance"},{"line_number":6,"context_line":"    across all memcached containers."},{"line_number":7,"context_line":"    The use of a VIP inside the keystone cache can be"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"1f013ff3_a23266a6","line":4,"range":{"start_line":4,"start_character":45,"end_line":4,"end_character":53},"updated":"2017-05-15 08:57:54.000000000","message":"Please link the full URL here.","commit_id":"91304d03c4a7a9e76f309058d26ee4e49ee47544"}]}
