)]}'
{"monasca_persister/repositories/cassandra/connection_util.py":[{"author":{"_account_id":16222,"name":"witek","email":"witold.bedyk@suse.com","username":"witek"},"change_message_id":"40ba73c897851d2a16a30b3531d2f7a9aa8acac4","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    else:"},{"line_number":32,"context_line":"        auth_provider \u003d None"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"    contact_points \u003d [ip.name for ip in conf.cassandra.contact_points]"},{"line_number":35,"context_line":"    cluster \u003d Cluster(contact_points,"},{"line_number":36,"context_line":"                      port\u003dconf.cassandra.port,"},{"line_number":37,"context_line":"                      auth_provider\u003dauth_provider,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5fc1f717_149e1eb8","line":34,"range":{"start_line":34,"start_character":22,"end_line":34,"end_character":29},"updated":"2019-04-01 16:48:34.000000000","message":"It\u0027s not correct. `name` includes options name. `dest` includes the option value [1].\nThe reason of your problems is that `cassandra.contact_points` is defined as list of IPOpt which is meant to store IPs [2].\nChanging the item to HostAddressOpt should fix it. Please compare [3, 4].\n\n[1] https://docs.openstack.org/oslo.config/latest/reference/opts.html\n[2] http://git.openstack.org/cgit/openstack/monasca-persister/tree/monasca_persister/conf/cassandra.py#n21\n[3] http://git.openstack.org/cgit/openstack/monasca-api/tree/monasca_api/conf/cassandra.py#n22\n[4] http://git.openstack.org/cgit/openstack/monasca-api/tree/monasca_api/common/repositories/cassandra/metrics_repository.py#n122","commit_id":"627e39c126801fc4fe348bc2ec288f4589be9291"}]}
