)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"9914c824779535f1b90b655bf01402452b63fb0f","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_a462b1d6","line":34,"updated":"2015-06-23 10:43:46.000000000","message":"I see an issue in my setup with rabbitmq when literal IPv6 addresses are used. When we configure rabbit_hosts with an IPv6 address (enclosed in square brackets), in glance-api.conf/registry.conf etc the following errors are reported in glance api logs.\n\nSo looks like there is an issue in rabbitmq while parsing IPv6 addresses. \nWe can overcome this issue if we use host-names which get resolved to IPv4/IPv6 addresses. \n\nHope you see the same issue at your end? Can we update the commit message with this info.\n\n2015-06-23 15:17:40.714 DEBUG oslo_messaging._drivers.impl_rabbit [req-21136d12-bc73-4ea5-adf5-36f4e31c1f29 146d72ac17d94cefb0d424fcf4c35257 67fbc0dd83cc4d45a6f95ccd7290c25d] Received recoverable error from kombu: from (pid\u003d25312) on_error /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py:782\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit Traceback (most recent call last):\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/kombu/utils/__init__.py\", line 228, in retry_over_time\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     return fun(*args, **kwargs)\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/kombu/connection.py\", line 244, in connect\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     return self.connection\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/kombu/connection.py\", line 751, in connection\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     self._connection \u003d self._establish_connection()\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/kombu/connection.py\", line 710, in _establish_connection\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     conn \u003d self.transport.establish_connection()\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqp.py\", line 111, in establish_connection\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     conn \u003d self.Connection(**opts)\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/amqp/connection.py\", line 165, in __init__\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     self.transport \u003d create_transport(host, connect_timeout, ssl)\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/amqp/transport.py\", line 285, in create_transport\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     return TCPTransport(host, connect_timeout)\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit   File \"/usr/local/lib/python2.7/dist-packages/amqp/transport.py\", line 95, in __init__\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit     raise socket.error(last_err)\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit error: [Errno 22] EINVAL\n2015-06-23 15:17:40.714 TRACE oslo_messaging._drivers.impl_rabbit \n2015-06-23 15:17:40.716 ERROR oslo_messaging._drivers.impl_rabbit [req-21136d12-bc73-4ea5-adf5-36f4e31c1f29 146d72ac17d94cefb0d424fcf4c35257 67fbc0dd83cc4d45a6f95ccd7290c25d] AMQP server on 2020:5672 is unreachable: [Errno 22] EINVAL. Trying again in 2 seconds.","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"43921f93eec855ee0eeb2f59242ae126adf01e38","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_7faceb9e","line":34,"in_reply_to":"fa32b979_04455241","updated":"2015-06-24 17:18:55.000000000","message":"@Adam,\n\nNo, I\u0027m not changing the rabbit_hosts from its default value. \nI\u0027ve configured the following in localrc of devstack\n\nSERVICE_IP_VERSION\u003d6\nHOST_IPV6\u003d\"2020::7e7a:91ff:fecc:6032\"\n\nWhen stack.sh is run, it configures /etc/glance/glance-api.conf with \"rabbit_hosts\u003d[2020::7e7a:91ff:fecc:6032]\". \n\nCan you please share (i.e., pastebin) your /etc/glance/glance-api.conf and localrc?","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"a1df2d3092b31c9d36b677d0e635ae7321cf86e3","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_154b5fb2","line":34,"in_reply_to":"fa32b979_0a2d8aa7","updated":"2015-06-24 07:16:46.000000000","message":"@Brian, I\u0027m seeing this issue when I do not set the RABBIT_HOST. As you mentioned, in such cases it defaults to SERVICE_HOST which would be \"[2020::7e7a:91ff:fecc:6032]\". If I configure RABBIT_HOST\u003d\"ControllerNode\" where ControllerNode resolves to the same IPv6 address, the problem is not reproduced. \n\n@Adam, I\u0027m afraid, today I\u0027m not in office so cannot share the localrc file. I will do it tomorrow. However, please try the following in your IPv6 setup to see if you can reproduce the issue.\n\nAfter all the services are up and running, configure \"rabbit_hosts \u003d[\u003cIPv6-address\u003e] in /etc/glance/glance-api.conf, glance-registry.conf files. Restart glance services and try to upload an image using \"glance image-create ...\".\nThis would trigger the issue.","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":16801,"name":"Adam Kacmarsky","email":"akacmars@uwyo.edu","username":"kacmarsa"},"change_message_id":"f064e8d381622f2b211bc4e1fc0b474efb3713b6","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_04455241","line":34,"in_reply_to":"fa32b979_154b5fb2","updated":"2015-06-24 16:55:52.000000000","message":"Sridhar,\n\nI am still unable to reproduce the error. Are you changing rabbit_hosts from its default value to a second IPv6 address?","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":16801,"name":"Adam Kacmarsky","email":"akacmars@uwyo.edu","username":"kacmarsa"},"change_message_id":"a6a9cb6e71da4cc36b6f227df1d68e225dd9fb28","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_f1c26f33","line":34,"in_reply_to":"fa32b979_7faceb9e","updated":"2015-06-24 17:43:30.000000000","message":"Sridhar,\n\nlocal.conf: http://pastebin.com/7ZsZSLKK \n\nglance-api: http://pastebin.com/4S6EUptt","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":16801,"name":"Adam Kacmarsky","email":"akacmars@uwyo.edu","username":"kacmarsa"},"change_message_id":"256ff4d4bfd616c4dd0bdf17f06e1c4a3dd5e51e","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_0a2d8aa7","line":34,"in_reply_to":"fa32b979_8883f055","updated":"2015-06-23 21:24:50.000000000","message":"Sridhar,\n\nI seem to be unable to recreate your error, even with using the same IPv6 address. Would you mind sharing your localrc file?","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"29fa056a2c739793537d6810e9308ecdedc24314","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_e0aad070","line":34,"in_reply_to":"fa32b979_8883f055","updated":"2015-06-23 17:13:12.000000000","message":"What happens when you don\u0027t set RABBIT_HOST?  i.e. let it default to SERVICE_HOST ?  5672 is the rabbit tcp port, so it\u0027s most likely a parsing problem of the address, Adam is looking into that part now.","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"c367d6f2ec71aca43f3ead3099ff1832a358e0cd","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_af74befd","line":34,"in_reply_to":"fa32b979_a462b1d6","updated":"2015-06-23 15:27:08.000000000","message":"Sridhar, we will take a look.\n\nSo are you using 2020:5672 in this case and not [2020:5672] ?  If you look at the change in stackrc we had to add the square brackets to the default SERVICE_HOST variable for things to work.  If that\u0027s the case then we need to add some checks to fix this up in \u003d\u003d6 mode.","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"9a5f5f9d3cc64c582981a77e362078373639b567","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_8883f055","line":34,"in_reply_to":"fa32b979_af74befd","updated":"2015-06-23 16:10:02.000000000","message":"@Brian, I\u0027m using a valid ipv6 address (i.e., 2020::7e7a:91ff:fecc:6032) in my environment. We are seeing 2020:5672 in the logs as rabbitmq seems to have issues in parsing the IPv6 address. \n \nFYI, I\u0027ve configured SERVICE_IP_VERSION\u003d6 and HOST_IPV6\u003d\"2020::7e7a:91ff:fecc:6032\" in localrc.","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"83e2b5c1f97e09d1860fdf1522a7b7c0ecbc1179","unresolved":false,"context_lines":[{"line_number":31,"context_line":"to use IPv4 addresses for things like tunnel endpoints.  This is"},{"line_number":32,"context_line":"a current restriction in the code and can be updated at a later"},{"line_number":33,"context_line":"time.  This change is just a first step to supporting IPv6-only"},{"line_number":34,"context_line":"control and data planes in devstack."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"This change is also partly based on two previous patches,"},{"line_number":37,"context_line":"https://review.openstack.org/#/c/140519/ and"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":14,"id":"fa32b979_c36addec","line":34,"in_reply_to":"fa32b979_f1c26f33","updated":"2015-06-25 11:08:58.000000000","message":"Thanks Adam for sharing the configuration. \n\nI could identify the issue. Basically in my setup, oslo_messaging version was 1.8.1 which has issues in parsing IPv6 addresses. The issue was resolved with the following patch [1]. After updating the version of oslo_messaging setup went smooth. \n\nThanks for your patience. Changes look good to me :-)\n\n[1] - https://review.openstack.org/#/c/165831/","commit_id":"f6c814e52197ae9364ae967eca8c85d5b5d3cd66"}],"lib/databases/mysql":[{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"0f0b772c53094aec43ffe1379b64866674f23fb4","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    fi"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    # Update the DB to give user ‘$DATABASE_USER’@’%’ full control of the all databases:"},{"line_number":89,"context_line":"    sudo mysql -uroot -p$DATABASE_PASSWORD -h$SERVICE_LOCAL_HOST -e \"GRANT ALL PRIVILEGES ON *.* TO \u0027$DATABASE_USER\u0027@\u0027%\u0027 identified by \u0027$DATABASE_PASSWORD\u0027;\""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    # Now update ``my.cnf`` for some local needs and restart the mysql service"},{"line_number":92,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_25e08d95","line":89,"updated":"2015-06-18 09:31:54.000000000","message":"Can we use MYSQL_HOST here inplace of SERVICE_LOCAL_HOST?","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"76367dd3697d87328e1c262f00e463609c9e2bd2","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    fi"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    # Update the DB to give user ‘$DATABASE_USER’@’%’ full control of the all databases:"},{"line_number":89,"context_line":"    sudo mysql -uroot -p$DATABASE_PASSWORD -h$SERVICE_LOCAL_HOST -e \"GRANT ALL PRIVILEGES ON *.* TO \u0027$DATABASE_USER\u0027@\u0027%\u0027 identified by \u0027$DATABASE_PASSWORD\u0027;\""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    # Now update ``my.cnf`` for some local needs and restart the mysql service"},{"line_number":92,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_061bf381","line":89,"in_reply_to":"fa32b979_25e08d95","updated":"2015-06-18 19:28:55.000000000","message":"Yes, Adam was going to upload a patch to change that.","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"0f0b772c53094aec43ffe1379b64866674f23fb4","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    # Change ‘bind-address’ from localhost (127.0.0.1) to any (::) and"},{"line_number":94,"context_line":"    # set default db type to InnoDB"},{"line_number":95,"context_line":"    sudo bash -c \"source $TOP_DIR/functions \u0026\u0026 \\"},{"line_number":96,"context_line":"        iniset $my_conf mysqld bind-address \"$SERVICE_LISTEN_ADDRESS\" \u0026\u0026 \\"},{"line_number":97,"context_line":"        iniset $my_conf mysqld sql_mode STRICT_ALL_TABLES \u0026\u0026 \\"},{"line_number":98,"context_line":"        iniset $my_conf mysqld default-storage-engine InnoDB\""},{"line_number":99,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_a5857dcf","line":96,"updated":"2015-06-18 09:31:54.000000000","message":"Please add notes about the parameter SERVICE_LISTEN_ADDRESS and other new configuration parameters added in this patch.","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"76367dd3697d87328e1c262f00e463609c9e2bd2","unresolved":false,"context_lines":[{"line_number":93,"context_line":"    # Change ‘bind-address’ from localhost (127.0.0.1) to any (::) and"},{"line_number":94,"context_line":"    # set default db type to InnoDB"},{"line_number":95,"context_line":"    sudo bash -c \"source $TOP_DIR/functions \u0026\u0026 \\"},{"line_number":96,"context_line":"        iniset $my_conf mysqld bind-address \"$SERVICE_LISTEN_ADDRESS\" \u0026\u0026 \\"},{"line_number":97,"context_line":"        iniset $my_conf mysqld sql_mode STRICT_ALL_TABLES \u0026\u0026 \\"},{"line_number":98,"context_line":"        iniset $my_conf mysqld default-storage-engine InnoDB\""},{"line_number":99,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_c610ab5b","line":96,"in_reply_to":"fa32b979_a5857dcf","updated":"2015-06-18 19:28:55.000000000","message":"I\u0027ll add some text in stackrc about this, thanks.","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"9b86278279297e28eded116ba9320f2a65af424a","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    fi"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    # Update the DB to give user ‘$DATABASE_USER’@’%’ full control of the all databases:"},{"line_number":89,"context_line":"    sudo mysql -uroot -p$DATABASE_PASSWORD -h$MYSQL_HOST -e \"GRANT ALL PRIVILEGES ON *.* TO \u0027$DATABASE_USER\u0027@\u0027%\u0027 identified by \u0027$DATABASE_PASSWORD\u0027;\""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    # Now update ``my.cnf`` for some local needs and restart the mysql service"},{"line_number":92,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":11,"id":"fa32b979_606cce9c","line":89,"updated":"2015-06-22 10:42:59.000000000","message":"The existing mysql server could be listening on IPv4 address and since we\nare  trying to connect with IPv6 address, it would fail. Personally, I feel, its\nbetter to leave it as original. Reason: Even for an IPv6 deployment, we are\n configuring mysql to bind on SERVICE_LISTEN_ADDRESS (which is \u0027::\u0027 - i.e., \naccessible both on IPv4 and IPv6). What do you say?\n \nError:\n2015-06-22 10:07:22.563 | + sudo mysql -uroot -ppassword -h::1 -e \u0027GRANT ALL PRIVILEGES ON *.* TO \u0027\\\u0027\u0027root\u0027\\\u0027\u0027@\u0027\\\u0027\u0027%\u0027\\\u0027\u0027 identified by \u0027\\\u0027\u0027password\u0027\\\u0027\u0027;\u0027\n2015-06-22 10:07:22.597 | ERROR 2003 (HY000): Can\u0027t connect to MySQL server on \u0027::1\u0027 (111)","commit_id":"9c589e54063ea53e5fd844db8f49bed62b57af83"},{"author":{"_account_id":16801,"name":"Adam Kacmarsky","email":"akacmars@uwyo.edu","username":"kacmarsa"},"change_message_id":"1a88eece674a032e1cc779ca777a2701136cc98f","unresolved":false,"context_lines":[{"line_number":86,"context_line":"    fi"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"    # Update the DB to give user ‘$DATABASE_USER’@’%’ full control of the all databases:"},{"line_number":89,"context_line":"    sudo mysql -uroot -p$DATABASE_PASSWORD -h$MYSQL_HOST -e \"GRANT ALL PRIVILEGES ON *.* TO \u0027$DATABASE_USER\u0027@\u0027%\u0027 identified by \u0027$DATABASE_PASSWORD\u0027;\""},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    # Now update ``my.cnf`` for some local needs and restart the mysql service"},{"line_number":92,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":11,"id":"fa32b979_08bf1d61","line":89,"in_reply_to":"fa32b979_606cce9c","updated":"2015-06-22 15:13:14.000000000","message":"Done","commit_id":"9c589e54063ea53e5fd844db8f49bed62b57af83"}],"lib/glance":[{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"0f0b772c53094aec43ffe1379b64866674f23fb4","unresolved":false,"context_lines":[{"line_number":105,"context_line":"    # Copy over our glance configurations and update them"},{"line_number":106,"context_line":"    cp $GLANCE_DIR/etc/glance-registry.conf $GLANCE_REGISTRY_CONF"},{"line_number":107,"context_line":"    iniset $GLANCE_REGISTRY_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL"},{"line_number":108,"context_line":"    iniset $GLANCE_REGISTRY_CONF DEFAULT bind_host $SERVICE_LISTEN_ADDRESS"},{"line_number":109,"context_line":"    inicomment $GLANCE_REGISTRY_CONF DEFAULT log_file"},{"line_number":110,"context_line":"    local dburl\u003d`database_connection_url glance`"},{"line_number":111,"context_line":"    iniset $GLANCE_REGISTRY_CONF DEFAULT sql_connection $dburl"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_a5a1fd47","line":108,"updated":"2015-06-18 09:31:54.000000000","message":"If we really have a need to introduce new configuration parameters, the convention is to create local parameters derived from the ones configured in localrc (i.e., GLANCE_*)\n\nPlease see L:65 in this file.","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"76367dd3697d87328e1c262f00e463609c9e2bd2","unresolved":false,"context_lines":[{"line_number":105,"context_line":"    # Copy over our glance configurations and update them"},{"line_number":106,"context_line":"    cp $GLANCE_DIR/etc/glance-registry.conf $GLANCE_REGISTRY_CONF"},{"line_number":107,"context_line":"    iniset $GLANCE_REGISTRY_CONF DEFAULT debug $ENABLE_DEBUG_LOG_LEVEL"},{"line_number":108,"context_line":"    iniset $GLANCE_REGISTRY_CONF DEFAULT bind_host $SERVICE_LISTEN_ADDRESS"},{"line_number":109,"context_line":"    inicomment $GLANCE_REGISTRY_CONF DEFAULT log_file"},{"line_number":110,"context_line":"    local dburl\u003d`database_connection_url glance`"},{"line_number":111,"context_line":"    iniset $GLANCE_REGISTRY_CONF DEFAULT sql_connection $dburl"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_81fdadb2","line":108,"in_reply_to":"fa32b979_a5a1fd47","updated":"2015-06-18 19:28:55.000000000","message":"Ok, I will make this change.","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"}],"stackrc":[{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"0f0b772c53094aec43ffe1379b64866674f23fb4","unresolved":false,"context_lines":[{"line_number":690,"context_line":""},{"line_number":691,"context_line":"if [[ \"$SERVICE_IP_VERSION\" \u003d~ .*6 ]]; then"},{"line_number":692,"context_line":"    if [ \"$HOST_IPV6\" \u003d\u003d \"\" ]; then"},{"line_number":693,"context_line":"        die $LINENO \"Could not determine host IPv6 address.  See local.conf for suggestions on setting HOST_IPV6.\""},{"line_number":694,"context_line":"    fi"},{"line_number":695,"context_line":""},{"line_number":696,"context_line":"    DEF_SERVICE_HOST\u003d[$HOST_IPV6]"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_40801ff5","line":693,"updated":"2015-06-18 09:31:54.000000000","message":"local.conf needs to be updated with HOST_IPV6 info.","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"76367dd3697d87328e1c262f00e463609c9e2bd2","unresolved":false,"context_lines":[{"line_number":690,"context_line":""},{"line_number":691,"context_line":"if [[ \"$SERVICE_IP_VERSION\" \u003d~ .*6 ]]; then"},{"line_number":692,"context_line":"    if [ \"$HOST_IPV6\" \u003d\u003d \"\" ]; then"},{"line_number":693,"context_line":"        die $LINENO \"Could not determine host IPv6 address.  See local.conf for suggestions on setting HOST_IPV6.\""},{"line_number":694,"context_line":"    fi"},{"line_number":695,"context_line":""},{"line_number":696,"context_line":"    DEF_SERVICE_HOST\u003d[$HOST_IPV6]"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"fa32b979_e156f9cc","line":693,"in_reply_to":"fa32b979_40801ff5","updated":"2015-06-18 19:28:55.000000000","message":"I\u0027ll add a line to samples/local.conf","commit_id":"eb5f850dd4c4359475b2fb3276b146331e91b1d7"},{"author":{"_account_id":4656,"name":"Sean M. Collins","email":"sean@coreitpro.com","username":"scollins"},"change_message_id":"a63f2ee6ee31874fd5caed49d7068556e5a50aca","unresolved":false,"context_lines":[{"line_number":696,"context_line":"    die $LINENO \"SERVICE_IP_VERSION must be either 4 or 6\""},{"line_number":697,"context_line":"fi"},{"line_number":698,"context_line":""},{"line_number":699,"context_line":"if [[ \"$SERVICE_IP_VERSION\" \u003d~ 4.* ]]; then"},{"line_number":700,"context_line":"    DEF_SERVICE_HOST\u003d$HOST_IP"},{"line_number":701,"context_line":"    DEF_SERVICE_LOCAL_HOST\u003d127.0.0.1"},{"line_number":702,"context_line":"    DEF_SERVICE_LISTEN_ADDRESS\u003d0.0.0.0"}],"source_content_type":"application/x-shellscript","patch_set":12,"id":"fa32b979_6e3a71cf","line":699,"updated":"2015-06-22 15:29:53.000000000","message":"Do we need a regex for this? What about just matching on \"4\" like the check on L695 does? Or are you laying some groundwork for accepting \"4+6\"?","commit_id":"6f7e73e6169a82bbc623b28e7330dc5f780863d7"},{"author":{"_account_id":16801,"name":"Adam Kacmarsky","email":"akacmars@uwyo.edu","username":"kacmarsa"},"change_message_id":"c4becbc8e6acaccf8c78ecb18c5b3a238914885a","unresolved":false,"context_lines":[{"line_number":696,"context_line":"    die $LINENO \"SERVICE_IP_VERSION must be either 4 or 6\""},{"line_number":697,"context_line":"fi"},{"line_number":698,"context_line":""},{"line_number":699,"context_line":"if [[ \"$SERVICE_IP_VERSION\" \u003d~ 4.* ]]; then"},{"line_number":700,"context_line":"    DEF_SERVICE_HOST\u003d$HOST_IP"},{"line_number":701,"context_line":"    DEF_SERVICE_LOCAL_HOST\u003d127.0.0.1"},{"line_number":702,"context_line":"    DEF_SERVICE_LISTEN_ADDRESS\u003d0.0.0.0"}],"source_content_type":"application/x-shellscript","patch_set":12,"id":"fa32b979_221a3818","line":699,"in_reply_to":"fa32b979_6e3a71cf","updated":"2015-06-22 17:01:08.000000000","message":"Sean,\nWe had originally intended the checks to support 4+6 in the future. I will clarify the expressions until 4+6 is actually supported.","commit_id":"6f7e73e6169a82bbc623b28e7330dc5f780863d7"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"f89758468e568f4d63698c03d19a75fe401c4858","unresolved":false,"context_lines":[{"line_number":704,"context_line":""},{"line_number":705,"context_line":"    DEF_SERVICE_HOST\u003d[$HOST_IPV6]"},{"line_number":706,"context_line":"    DEF_SERVICE_LOCAL_HOST\u003d::1"},{"line_number":707,"context_line":"    DEF_SERVICE_LISTEN_ADDRESS\u003d::"},{"line_number":708,"context_line":"fi"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"# This is either 0.0.0.0 for IPv4 or :: for IPv6"}],"source_content_type":"application/x-shellscript","patch_set":16,"id":"ba3cc151_5e0a298b","line":707,"updated":"2015-07-03 06:00:19.000000000","message":"don\u0027t these need \"[]\" around them?","commit_id":"180f5eb652c73463cd5ae7d0dbede6d9d31a5df5"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"a2956ad8d7eeb2188070488087b3a360ec7a2758","unresolved":false,"context_lines":[{"line_number":704,"context_line":""},{"line_number":705,"context_line":"    DEF_SERVICE_HOST\u003d[$HOST_IPV6]"},{"line_number":706,"context_line":"    DEF_SERVICE_LOCAL_HOST\u003d::1"},{"line_number":707,"context_line":"    DEF_SERVICE_LISTEN_ADDRESS\u003d::"},{"line_number":708,"context_line":"fi"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"# This is either 0.0.0.0 for IPv4 or :: for IPv6"}],"source_content_type":"application/x-shellscript","patch_set":16,"id":"ba3cc151_84132d0d","line":707,"in_reply_to":"ba3cc151_5e0a298b","updated":"2015-07-06 19:32:59.000000000","message":"We have found they don\u0027t, using [] actually breaks it.","commit_id":"180f5eb652c73463cd5ae7d0dbede6d9d31a5df5"},{"author":{"_account_id":10257,"name":"Sridhar Gaddam","email":"sgaddam@redhat.com","username":"sridhargaddam"},"change_message_id":"c78d10fb635c96658c3179388d2085edb744627c","unresolved":false,"context_lines":[{"line_number":704,"context_line":""},{"line_number":705,"context_line":"    DEF_SERVICE_HOST\u003d[$HOST_IPV6]"},{"line_number":706,"context_line":"    DEF_SERVICE_LOCAL_HOST\u003d::1"},{"line_number":707,"context_line":"    DEF_SERVICE_LISTEN_ADDRESS\u003d::"},{"line_number":708,"context_line":"fi"},{"line_number":709,"context_line":""},{"line_number":710,"context_line":"# This is either 0.0.0.0 for IPv4 or :: for IPv6"}],"source_content_type":"application/x-shellscript","patch_set":16,"id":"ba3cc151_42742b9b","line":707,"in_reply_to":"ba3cc151_84132d0d","updated":"2015-07-07 02:09:49.000000000","message":"I agree with @Brian. Addresses have to be enclosed in square brackets when used in URLs and is not required when used during socket binding.","commit_id":"180f5eb652c73463cd5ae7d0dbede6d9d31a5df5"}]}
