)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"0fec04350e5b52874e5a89fd89aed67771593608","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-06-18 12:29:50 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Ceph/RBD support"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ie484ce0bbb93adc53c30be32f291aa5058b20028"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":24,"id":"fa32b979_dd7b477a","line":8,"updated":"2015-06-22 10:15:20.000000000","message":"Needs a description of what the patch does, and a link to a blueprint/bug.","commit_id":"30b2fc2b6d18a2568e4fce27ab04713d40edd58b"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"ae31a2705f0c7f05d2a8f11fb55f975462cbf5e4","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2015-06-18 12:29:50 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Ceph/RBD support"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: Ie484ce0bbb93adc53c30be32f291aa5058b20028"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":24,"id":"fa32b979_eefb56bf","line":8,"in_reply_to":"fa32b979_dd7b477a","updated":"2015-06-25 05:44:49.000000000","message":"Done","commit_id":"30b2fc2b6d18a2568e4fce27ab04713d40edd58b"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Ceph/RBD support"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Implement ceph client work within OSAD. This change adds confiuration options"},{"line_number":10,"context_line":"within all of the various OpenStack components to allow them to connect to"},{"line_number":11,"context_line":"and utilize a ceph backend. A new role was created for ceph_client which"},{"line_number":12,"context_line":"simply implements all of the backend work. This role adds RBD support to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":25,"id":"fa32b979_95bdf2b2","line":9,"updated":"2015-06-25 09:57:51.000000000","message":"nit: configuration","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Ceph/RBD support"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Implement ceph client work within OSAD. This change adds confiuration options"},{"line_number":10,"context_line":"within all of the various OpenStack components to allow them to connect to"},{"line_number":11,"context_line":"and utilize a ceph backend. A new role was created for ceph_client which"},{"line_number":12,"context_line":"simply implements all of the backend work. This role adds RBD support to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":25,"id":"ba3cc151_68b3d00a","line":9,"in_reply_to":"fa32b979_95bdf2b2","updated":"2015-07-02 16:15:31.000000000","message":"updated","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Implement ceph client work within OSAD. This change adds confiuration options"},{"line_number":10,"context_line":"within all of the various OpenStack components to allow them to connect to"},{"line_number":11,"context_line":"and utilize a ceph backend. A new role was created for ceph_client which"},{"line_number":12,"context_line":"simply implements all of the backend work. This role adds RBD support to"},{"line_number":13,"context_line":"nova, cinder, and glance."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":25,"id":"fa32b979_75d94e21","line":11,"updated":"2015-06-25 09:57:51.000000000","message":"nit: perhaps it\u0027s clearer to say \u0027an existing ceph cluster\u0027?","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Implement ceph client work within OSAD. This change adds confiuration options"},{"line_number":10,"context_line":"within all of the various OpenStack components to allow them to connect to"},{"line_number":11,"context_line":"and utilize a ceph backend. A new role was created for ceph_client which"},{"line_number":12,"context_line":"simply implements all of the backend work. This role adds RBD support to"},{"line_number":13,"context_line":"nova, cinder, and glance."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":25,"id":"ba3cc151_c8a77cbb","line":11,"in_reply_to":"fa32b979_75d94e21","updated":"2015-07-02 16:15:31.000000000","message":"ack, updated","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"42a858847dc4291d203bf01b56cf8db3135106fc","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":29,"id":"3a50d1a3_46fc6a72","updated":"2015-07-30 14:27:34.000000000","message":"The commit message lacks a bit of detail, how about - https://gist.github.com/git-harry/81f98fd676bb6438d049","commit_id":"808a920e834d6bdf155350cb7718727d9a116b93"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"c7f37f4422a94c66c5d5507dc3b8f8799fdc6e3a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":29,"id":"3a50d1a3_09719577","in_reply_to":"3a50d1a3_46fc6a72","updated":"2015-07-30 14:45:39.000000000","message":"OK, I\u0027ll update that on the next patch set","commit_id":"808a920e834d6bdf155350cb7718727d9a116b93"}],"etc/openstack_deploy/openstack_user_config.yml.example":[{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"b1ac4672939d0d06257bda4aff385bc728abe3ff","unresolved":false,"context_lines":[{"line_number":621,"context_line":"#           rbd_store_chunk_size: 4"},{"line_number":622,"context_line":"#           rados_connect_timeout: -1"},{"line_number":623,"context_line":"#           glance_api_version: 2"},{"line_number":624,"context_line":"#           volumes_backend_name: volumes_hdd"},{"line_number":625,"context_line":"#           rbd_user: \"{{ cinder_ceph_client }}\""},{"line_number":626,"context_line":"#           rbd_secret_uuid: \"{{ cinder_ceph_client_uuid }}\""},{"line_number":627,"context_line":"#"}],"source_content_type":"application/octet-stream","patch_set":24,"id":"fa32b979_7fffbdaa","line":624,"updated":"2015-06-19 16:43:53.000000000","message":"This should be \u0027volume_backend_name\u0027","commit_id":"30b2fc2b6d18a2568e4fce27ab04713d40edd58b"},{"author":{"_account_id":7353,"name":"Kevin Carter","email":"kevin@cloudnull.com","username":"cloudnull"},"change_message_id":"ae31a2705f0c7f05d2a8f11fb55f975462cbf5e4","unresolved":false,"context_lines":[{"line_number":621,"context_line":"#           rbd_store_chunk_size: 4"},{"line_number":622,"context_line":"#           rados_connect_timeout: -1"},{"line_number":623,"context_line":"#           glance_api_version: 2"},{"line_number":624,"context_line":"#           volumes_backend_name: volumes_hdd"},{"line_number":625,"context_line":"#           rbd_user: \"{{ cinder_ceph_client }}\""},{"line_number":626,"context_line":"#           rbd_secret_uuid: \"{{ cinder_ceph_client_uuid }}\""},{"line_number":627,"context_line":"#"}],"source_content_type":"application/octet-stream","patch_set":24,"id":"fa32b979_4e104200","line":624,"in_reply_to":"fa32b979_7fffbdaa","updated":"2015-06-25 05:44:49.000000000","message":"Done","commit_id":"30b2fc2b6d18a2568e4fce27ab04713d40edd58b"}],"etc/openstack_deploy/user_group_vars.yml":[{"author":{"_account_id":17390,"name":"He Weiwei","email":"heww0205@gmail.com","username":"heww"},"change_message_id":"f27e144f02bdcc45a000974b3ec493a9eb356a87","unresolved":false,"context_lines":[{"line_number":160,"context_line":"cinder_backends_rbd_inuse: \u003e"},{"line_number":161,"context_line":"  {% set _var \u003d {\u0027rbd_inuse\u0027: False} %}{%"},{"line_number":162,"context_line":"  for host in groups.cinder_volume %}{%"},{"line_number":163,"context_line":"  if hostvars[host].cinder_backend_rbd_inuse %}{%"},{"line_number":164,"context_line":"  if _var.update({\u0027rbd_inuse\u0027: True }) %}{%"},{"line_number":165,"context_line":"  endif %}{%"},{"line_number":166,"context_line":"  endif %}{%"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"9a41bdd9_29bff561","line":163,"updated":"2015-07-16 03:18:46.000000000","message":"`cinder_backends_rbd_inuse` will always be `False` here because `cinder_backend_rbd_inuse` does not exist in`hostvars[host]` at the moment. \n\nif  (hostvars[host].cinder_backends|default(\"\")|to_json).find(\"cinder.volume.drivers.rbd.\nRBDDriver\") !\u003d -1  will work well.","commit_id":"51fb8542af17b4426f18c54165c6dfda9c2395d9"}],"etc/openstack_deploy/user_secrets.yml":[{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":38,"context_line":"cinder_service_password:"},{"line_number":39,"context_line":"cinder_v2_service_password:"},{"line_number":40,"context_line":"cinder_profiler_hmac_key:"},{"line_number":41,"context_line":"## Ceph/rbd: a UUID to be used by libvirt to refer to the ceph.client.cinder user"},{"line_number":42,"context_line":"#cinder_ceph_client_uuid:"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"## Glance Options"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"fa32b979_74237b05","line":41,"updated":"2015-06-25 16:45:15.000000000","message":"s/ceph.client.cinder/client.cinder","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":38,"context_line":"cinder_service_password:"},{"line_number":39,"context_line":"cinder_v2_service_password:"},{"line_number":40,"context_line":"cinder_profiler_hmac_key:"},{"line_number":41,"context_line":"## Ceph/rbd: a UUID to be used by libvirt to refer to the ceph.client.cinder user"},{"line_number":42,"context_line":"#cinder_ceph_client_uuid:"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"## Glance Options"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"ba3cc151_d9a18cf9","line":41,"in_reply_to":"fa32b979_74237b05","updated":"2015-07-02 18:15:27.000000000","message":"Done","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"}],"etc/openstack_deploy/user_variables.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":40,"context_line":"# by default we assume you use rbd for both cinder and nova, and as libvirt"},{"line_number":41,"context_line":"# needs to access both volumes (cinder) and boot disks (nova) we default to"},{"line_number":42,"context_line":"# reuse the cinder_ceph_client"},{"line_number":43,"context_line":"# only need to change this if you\u0027d use ceph for boot disks and not for volumes "},{"line_number":44,"context_line":"#nova_ceph_client: \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":45,"context_line":"#nova_ceph_client_uuid: \u0027{{ cinder_ceph_client_uuid }}\u0027"},{"line_number":46,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":25,"id":"fa32b979_da6ac919","line":43,"updated":"2015-06-25 09:57:51.000000000","message":"nit: whitespace","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":40,"context_line":"# by default we assume you use rbd for both cinder and nova, and as libvirt"},{"line_number":41,"context_line":"# needs to access both volumes (cinder) and boot disks (nova) we default to"},{"line_number":42,"context_line":"# reuse the cinder_ceph_client"},{"line_number":43,"context_line":"# only need to change this if you\u0027d use ceph for boot disks and not for volumes "},{"line_number":44,"context_line":"#nova_ceph_client: \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":45,"context_line":"#nova_ceph_client_uuid: \u0027{{ cinder_ceph_client_uuid }}\u0027"},{"line_number":46,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":25,"id":"ba3cc151_28a708ab","line":43,"in_reply_to":"fa32b979_da6ac919","updated":"2015-07-02 16:15:31.000000000","message":"updated","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"## Ceph"},{"line_number":68,"context_line":"#ceph_apt_repo_url_region: \"www\"  # or \"eu\" for Netherlands based mirror"},{"line_number":69,"context_line":"#ceph_version_codename: hammer"},{"line_number":70,"context_line":"#"},{"line_number":71,"context_line":"# Enable these if you use ceph rbd for at least one component (glance, cinder, nova)"},{"line_number":72,"context_line":"# ceph cluster-id, overrule with correct uuid!"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"fa32b979_9a51a132","line":69,"updated":"2015-06-25 09:57:51.000000000","message":"I think that we should either use the same variables as set out in https://github.com/ceph/ceph-ansible - or we need to ensure that we use a slightly different namespace to prevent clashes if someone happens to also make use of those ansible plays/roles in the same environment.","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"## Ceph"},{"line_number":68,"context_line":"#ceph_apt_repo_url_region: \"www\"  # or \"eu\" for Netherlands based mirror"},{"line_number":69,"context_line":"#ceph_version_codename: hammer"},{"line_number":70,"context_line":"#"},{"line_number":71,"context_line":"# Enable these if you use ceph rbd for at least one component (glance, cinder, nova)"},{"line_number":72,"context_line":"# ceph cluster-id, overrule with correct uuid!"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"ba3cc151_e880408d","line":69,"in_reply_to":"fa32b979_9a51a132","updated":"2015-07-02 16:15:31.000000000","message":"makes sense to respect the same variables\nupdating..","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"}],"playbooks/inventory/group_vars/hosts.yml":[{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"88ff0d940accaa39ca58bf0b48bd2f53c843491d","unresolved":false,"context_lines":[{"line_number":184,"context_line":"  endif %}{%"},{"line_number":185,"context_line":"  endfor %}{{"},{"line_number":186,"context_line":"  _var.rbd_inuse }}"},{"line_number":187,"context_line":"cinder_ceph_client_uuid: \u0027{{ nova_ceph_client_uuid }}\u0027"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"## OpenStack Openrc"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_072303be","line":187,"updated":"2015-07-29 12:34:01.000000000","message":"This caused a loop because in other places nova_ceph_client_uuid is set as equal to cinder_ceph_client_uuid. I had to comment it out to continue. Not sure if I uncommented the wrong thing somewhere else?","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0837ad6d973117224467b1c1777d42feabec4b72","unresolved":false,"context_lines":[{"line_number":184,"context_line":"  endif %}{%"},{"line_number":185,"context_line":"  endfor %}{{"},{"line_number":186,"context_line":"  _var.rbd_inuse }}"},{"line_number":187,"context_line":"cinder_ceph_client_uuid: \u0027{{ nova_ceph_client_uuid }}\u0027"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"## OpenStack Openrc"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_08279363","line":187,"in_reply_to":"3a50d1a3_072303be","updated":"2015-07-29 13:01:33.000000000","message":"That looks about right. Should now be set in a user secrets var file, not in groups_vars.\n\nIn most cases, Nova might use the same user as cinder. Not the other way around.","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"}],"playbooks/roles/ceph_client/defaults/main.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"a40637beafb1cd681f962ffaffa2db34c6ed2f44","unresolved":false,"context_lines":[{"line_number":41,"context_line":"ceph_auth_service_required: cephx"},{"line_number":42,"context_line":"ceph_auth_client_required: cephx"},{"line_number":43,"context_line":"ceph_filestore_xattr_use_omap: true"},{"line_number":44,"context_line":"ceph_osd_pool_default_crush_replicated_ruleset: 1"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# OS/Ceph config "}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_14b2b294","line":44,"updated":"2015-05-18 13:11:05.000000000","message":"user_variables.yml outlines a ceph_conf variable which also contains some of this info (fsid, mon_initial_members, mon_host, etc.)  Could you not default ceph_conf here and then do away with all these additional variables?  You could then (for example) look up mon_initial_members from ceph_conf rather than having a separate variable for it.","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"32ffe0829d10e34e451b4a7f79617419b0916a1a","unresolved":false,"context_lines":[{"line_number":41,"context_line":"ceph_auth_service_required: cephx"},{"line_number":42,"context_line":"ceph_auth_client_required: cephx"},{"line_number":43,"context_line":"ceph_filestore_xattr_use_omap: true"},{"line_number":44,"context_line":"ceph_osd_pool_default_crush_replicated_ruleset: 1"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# OS/Ceph config "}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_efc61f48","line":44,"in_reply_to":"7a016987_14b2b294","updated":"2015-05-18 13:46:10.000000000","message":"playbooks/roles/ceph_client/defaults/main.yml:ceph_auth_cluster_required: cephx\nplaybooks/roles/ceph_client/defaults/main.yml:ceph_auth_service_required: cephx\nplaybooks/roles/ceph_client/defaults/main.yml:ceph_auth_client_required: cephx\n\nseems these defaults are not even used anymore elsewhere, must have been from an earlier iteration","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"a40637beafb1cd681f962ffaffa2db34c6ed2f44","unresolved":false,"context_lines":[{"line_number":44,"context_line":"ceph_osd_pool_default_crush_replicated_ruleset: 1"},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"# OS/Ceph config "},{"line_number":48,"context_line":"glance_rbd_store_user: glance"},{"line_number":49,"context_line":"cinder_ceph_client: cinder"},{"line_number":50,"context_line":"cinder_ceph_client_uuid: 457eb676-33da-42ec-9a8c-9293d545c337"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_b41cfec1","line":47,"updated":"2015-05-18 13:11:05.000000000","message":"Extra space","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":59,"context_line":"# by default we assume you use rbd for both cinder and nova, and as libvirt"},{"line_number":60,"context_line":"# needs to access both volumes (cinder) as boot disks (nova) we default to"},{"line_number":61,"context_line":"# reuse the cinder_ceph_client"},{"line_number":62,"context_line":"# only need to change this if you\u0027d use ceph for boot disks and not for volumes "},{"line_number":63,"context_line":"nova_ceph_client: \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":64,"context_line":"# overruled in user_secrets:"},{"line_number":65,"context_line":"nova_ceph_client_uuid: 457eb676-33da-42ec-9a8c-9293d545c337"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"fa32b979_751b8e73","line":62,"updated":"2015-06-25 09:57:51.000000000","message":"nit: whitespace","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":59,"context_line":"# by default we assume you use rbd for both cinder and nova, and as libvirt"},{"line_number":60,"context_line":"# needs to access both volumes (cinder) as boot disks (nova) we default to"},{"line_number":61,"context_line":"# reuse the cinder_ceph_client"},{"line_number":62,"context_line":"# only need to change this if you\u0027d use ceph for boot disks and not for volumes "},{"line_number":63,"context_line":"nova_ceph_client: \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":64,"context_line":"# overruled in user_secrets:"},{"line_number":65,"context_line":"nova_ceph_client_uuid: 457eb676-33da-42ec-9a8c-9293d545c337"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"ba3cc151_43eb4ddf","line":62,"in_reply_to":"fa32b979_751b8e73","updated":"2015-07-02 16:15:31.000000000","message":"ok","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"}],"playbooks/roles/ceph_client/handlers/main.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"16f46d690acb9491a898663601c5c04dc0f6c477","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- name: Restart os services"},{"line_number":16,"context_line":"  service:"},{"line_number":17,"context_line":"    name: \"{{ item.1.service }}\""},{"line_number":18,"context_line":"    state: restarted"},{"line_number":19,"context_line":"    pattern: \"{{ item.1.service }}\""},{"line_number":20,"context_line":"  with_subelements:"}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_fe0ab678","line":17,"updated":"2015-07-31 09:49:15.000000000","message":"I believe this should be {{ item.1 }}.","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"e138ae8100e1e2969633d7bf9aa92cc3859ccb05","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"- name: Restart os services"},{"line_number":16,"context_line":"  service:"},{"line_number":17,"context_line":"    name: \"{{ item.1.service }}\""},{"line_number":18,"context_line":"    state: restarted"},{"line_number":19,"context_line":"    pattern: \"{{ item.1.service }}\""},{"line_number":20,"context_line":"  with_subelements:"}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_b1e69f14","line":17,"in_reply_to":"3a50d1a3_fe0ab678","updated":"2015-07-31 10:05:47.000000000","message":"I believe you are right.","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"16f46d690acb9491a898663601c5c04dc0f6c477","unresolved":false,"context_lines":[{"line_number":16,"context_line":"  service:"},{"line_number":17,"context_line":"    name: \"{{ item.1.service }}\""},{"line_number":18,"context_line":"    state: restarted"},{"line_number":19,"context_line":"    pattern: \"{{ item.1.service }}\""},{"line_number":20,"context_line":"  with_subelements:"},{"line_number":21,"context_line":"  - ceph_components"},{"line_number":22,"context_line":"  - service"}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_de201afb","line":19,"updated":"2015-07-31 09:49:15.000000000","message":"I believe this should be {{ item.1 }}.","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"}],"playbooks/roles/ceph_client/tasks/ceph_all.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":30,"context_line":"- include:  ceph_auth.yml"},{"line_number":31,"context_line":"  when: \u003e"},{"line_number":32,"context_line":"            ceph_conf.global is defined and"},{"line_number":33,"context_line":"            ceph_conf.global.auth_cluster_required \u003d\u003d \u0027cephx\u0027 and"},{"line_number":34,"context_line":"            ceph_conf.global.auth_service_required \u003d\u003d \u0027cephx\u0027 and"},{"line_number":35,"context_line":"            ceph_conf.global.auth_client_required \u003d\u003d \u0027cephx\u0027"},{"line_number":36,"context_line":"  tags:     ceph-auth"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"fa32b979_b5b11649","line":33,"updated":"2015-06-25 09:57:51.000000000","message":"What is the point of defining the auth as \u0027cephx\u0027 for each subsystem when the conditional here won\u0027t apply them unless they\u0027re all \u0027cephx\u0027? I think we may as well have one variable and apply that to each subsystem. This appears, at first glance, to be how the ceph-ansible playbooks/roles are doing it too.","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":30,"context_line":"- include:  ceph_auth.yml"},{"line_number":31,"context_line":"  when: \u003e"},{"line_number":32,"context_line":"            ceph_conf.global is defined and"},{"line_number":33,"context_line":"            ceph_conf.global.auth_cluster_required \u003d\u003d \u0027cephx\u0027 and"},{"line_number":34,"context_line":"            ceph_conf.global.auth_service_required \u003d\u003d \u0027cephx\u0027 and"},{"line_number":35,"context_line":"            ceph_conf.global.auth_client_required \u003d\u003d \u0027cephx\u0027"},{"line_number":36,"context_line":"  tags:     ceph-auth"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"ba3cc151_e39b8116","line":33,"in_reply_to":"fa32b979_b5b11649","updated":"2015-07-02 16:15:31.000000000","message":"Right now ceph.conf is generated purely from a dictionary the user needs to set, so no sub vars are available here, and I need to check cephx is fully configured, which means those three subsystems.\n\nWill look into that with leseb, given his remarks on generating ceph.conf.","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"42a858847dc4291d203bf01b56cf8db3135106fc","unresolved":false,"context_lines":[{"line_number":19,"context_line":"            - ceph_conf is defined"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- include:  ceph_pre_install.yml"},{"line_number":22,"context_line":"  tags:     ceph-pre-preinstall"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"- include:  ceph_install.yml"},{"line_number":25,"context_line":"  tags:     ceph-install"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3a50d1a3_69f1406a","line":22,"range":{"start_line":22,"start_character":21,"end_line":22,"end_character":31},"updated":"2015-07-30 14:27:34.000000000","message":"ceph-pre-install?","commit_id":"808a920e834d6bdf155350cb7718727d9a116b93"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"302fc5c8337186873ec0f0ed5e394c8691cbada1","unresolved":false,"context_lines":[{"line_number":19,"context_line":"            - ceph_conf is defined"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- include:  ceph_pre_install.yml"},{"line_number":22,"context_line":"  tags:     ceph-pre-preinstall"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"- include:  ceph_install.yml"},{"line_number":25,"context_line":"  tags:     ceph-install"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3a50d1a3_b43a3497","line":22,"range":{"start_line":22,"start_character":21,"end_line":22,"end_character":31},"in_reply_to":"3a50d1a3_29d9f183","updated":"2015-07-30 14:56:56.000000000","message":"I was referring to the duplication of pre. The tag currently has two pre\u0027s in it. The other tags seem to mirror the included task files so it would say \u0027ceph-pre-install\u0027 makes most sense.","commit_id":"808a920e834d6bdf155350cb7718727d9a116b93"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"c7f37f4422a94c66c5d5507dc3b8f8799fdc6e3a","unresolved":false,"context_lines":[{"line_number":19,"context_line":"            - ceph_conf is defined"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"- include:  ceph_pre_install.yml"},{"line_number":22,"context_line":"  tags:     ceph-pre-preinstall"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":"- include:  ceph_install.yml"},{"line_number":25,"context_line":"  tags:     ceph-install"}],"source_content_type":"text/x-yaml","patch_set":29,"id":"3a50d1a3_29d9f183","line":22,"range":{"start_line":22,"start_character":21,"end_line":22,"end_character":31},"in_reply_to":"3a50d1a3_69f1406a","updated":"2015-07-30 14:45:39.000000000","message":"ceph-preinstall then?\nhttp://www.merriam-webster.com/dictionary/preinstall","commit_id":"808a920e834d6bdf155350cb7718727d9a116b93"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0c81e5a3b39e61acf07adc8a5660bfd2c8b0d228","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# if glance, cinder and/or nova use rbd, ceph_conf needs to be defined"},{"line_number":17,"context_line":"- assert:"},{"line_number":18,"context_line":"    that:"},{"line_number":19,"context_line":"      - ceph_mons !\u003d []"},{"line_number":20,"context_line":"  tags:"},{"line_number":21,"context_line":"    - ceph-config"},{"line_number":22,"context_line":"    - ceph-auth"}],"source_content_type":"text/x-yaml","patch_set":39,"id":"3a50d1a3_f13e3928","line":19,"updated":"2015-08-01 13:24:34.000000000","message":"Perhaps even better to \n\n- assert \n    that:\n      - ceph_mons is iterable\n      - ceph_mons|length \u003e 0\n\nOtherwise this would match also whatever is not a list, if the user gives a badly set config.","commit_id":"22bf05599ef99c568d87ac4b9ecd6579f2fc514d"}],"playbooks/roles/ceph_client/tasks/ceph_auth.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"851c1a8a375dd88b823c6d0850b04912aa4a39b8","unresolved":false,"context_lines":[{"line_number":18,"context_line":"## Ceph client keyrings"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Retrieve keyrings for openstack clients from ceph cluster"},{"line_number":21,"context_line":"  shell: ceph auth get client.{{ item.1.client }} \u003e/dev/null \u0026\u0026 ceph auth get-or-create client.{{ item.1.client }}"},{"line_number":22,"context_line":"  with_subelements:"},{"line_number":23,"context_line":"  - ceph_components"},{"line_number":24,"context_line":"  - client"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"7a016987_862f98f5","line":21,"updated":"2015-05-18 12:04:43.000000000","message":"Should this be item.1 rather than item.1.client?  I get a \"One or more undefined variables: \u0027unicode object\u0027 has no attribute \u0027client\u0027\" error if I leave as-is.","commit_id":"e20d0573383b08f82c67be05a0db78a9e700c229"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"f8b8c73eb10ebd0ec7bc509230db2683c99c3d5f","unresolved":false,"context_lines":[{"line_number":18,"context_line":"## Ceph client keyrings"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Retrieve keyrings for openstack clients from ceph cluster"},{"line_number":21,"context_line":"  shell: ceph auth get client.{{ item.1.client }} \u003e/dev/null \u0026\u0026 ceph auth get-or-create client.{{ item.1.client }}"},{"line_number":22,"context_line":"  with_subelements:"},{"line_number":23,"context_line":"  - ceph_components"},{"line_number":24,"context_line":"  - client"}],"source_content_type":"text/x-yaml","patch_set":9,"id":"7a016987_e904dfc0","line":21,"in_reply_to":"7a016987_862f98f5","updated":"2015-05-18 12:29:04.000000000","message":"also correct, some details where not changed on each path when porting from kilo to master","commit_id":"e20d0573383b08f82c67be05a0db78a9e700c229"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"ab56ea457b8ed784412f216678fc20ba5ab20a77","unresolved":false,"context_lines":[{"line_number":24,"context_line":"  - client"},{"line_number":25,"context_line":"  when: inventory_hostname in groups[item.0.component]"},{"line_number":26,"context_line":"  always_run: true"},{"line_number":27,"context_line":"  delegate_to: ceph_mon_host[0]"},{"line_number":28,"context_line":"  register: ceph_client_keyrings"},{"line_number":29,"context_line":"  until: ceph_client_keyrings|success"},{"line_number":30,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_cf35a3da","line":27,"updated":"2015-05-18 13:16:31.000000000","message":"Also, should we assume that the deploy host has ssh access to the mon host(s)?  I\u0027m not sure how this will look when we have roles to deploy ceph itself, but for this iteration this doesn\u0027t feel right.  Could we have the key specified as a variable or similar so we don\u0027t have to look it up?","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"523a29106ec691071d0db3289c47a30e973d8bab","unresolved":false,"context_lines":[{"line_number":24,"context_line":"  - client"},{"line_number":25,"context_line":"  when: inventory_hostname in groups[item.0.component]"},{"line_number":26,"context_line":"  always_run: true"},{"line_number":27,"context_line":"  delegate_to: ceph_mon_host[0]"},{"line_number":28,"context_line":"  register: ceph_client_keyrings"},{"line_number":29,"context_line":"  until: ceph_client_keyrings|success"},{"line_number":30,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_144192a9","line":27,"updated":"2015-05-18 13:05:37.000000000","message":"Should this be \"{{ ceph_mon_host[0] }}\"?  I get a failure trying to resolve ceph_mon_host[0] when specified as is.","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"293973693ab6bf58d7766a3292163b657646143a","unresolved":false,"context_lines":[{"line_number":33,"context_line":"- name: Provision ceph client keyrings"},{"line_number":34,"context_line":"  template:"},{"line_number":35,"context_line":"    src:      ceph.client.keyring.j2"},{"line_number":36,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1.client }}.keyring"},{"line_number":37,"context_line":"    backup:   true"},{"line_number":38,"context_line":"    owner:    root"},{"line_number":39,"context_line":"    group:    root"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_2fce77b4","line":36,"updated":"2015-05-18 13:22:21.000000000","message":"{{ item.item.1 }} ?","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"b35d0c656dc63c0e7f8faca9e53e7b9ef55acee5","unresolved":false,"context_lines":[{"line_number":46,"context_line":"## Ceph cinder client libvirt secret"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"- name: Retrieve cinder secret from cephcluster"},{"line_number":49,"context_line":"  command: ceph auth get-key client.{{ ceph_client_cinder }}"},{"line_number":50,"context_line":"  register: ceph_client_cinder_secret"},{"line_number":51,"context_line":"  always_run:   true"},{"line_number":52,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_cfc9237a","line":49,"updated":"2015-05-18 13:33:34.000000000","message":"Do we need a when: inventory_hostname in groups[\u0027nova_compute\u0027] here?","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"32ffe0829d10e34e451b4a7f79617419b0916a1a","unresolved":false,"context_lines":[{"line_number":46,"context_line":"## Ceph cinder client libvirt secret"},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"- name: Retrieve cinder secret from cephcluster"},{"line_number":49,"context_line":"  command: ceph auth get-key client.{{ ceph_client_cinder }}"},{"line_number":50,"context_line":"  register: ceph_client_cinder_secret"},{"line_number":51,"context_line":"  always_run:   true"},{"line_number":52,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_8f644b22","line":49,"in_reply_to":"7a016987_cfc9237a","updated":"2015-05-18 13:46:10.000000000","message":"yes!","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"b35d0c656dc63c0e7f8faca9e53e7b9ef55acee5","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- name: Check if cinder secret is defined in libvirt"},{"line_number":60,"context_line":"  shell: virsh secret-list|grep {{ ceph_client_cinder_uuid }}"},{"line_number":61,"context_line":"  when: inventory_hostname in groups[nova_compute]"},{"line_number":62,"context_line":"  always_run:   true"},{"line_number":63,"context_line":"  failed_when:  false"},{"line_number":64,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_8fa20bad","line":61,"updated":"2015-05-18 13:33:34.000000000","message":"groups[\u0027nova_compute\u0027]","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"32ffe0829d10e34e451b4a7f79617419b0916a1a","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":"- name: Check if cinder secret is defined in libvirt"},{"line_number":60,"context_line":"  shell: virsh secret-list|grep {{ ceph_client_cinder_uuid }}"},{"line_number":61,"context_line":"  when: inventory_hostname in groups[nova_compute]"},{"line_number":62,"context_line":"  always_run:   true"},{"line_number":63,"context_line":"  failed_when:  false"},{"line_number":64,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_4f6e5302","line":61,"in_reply_to":"7a016987_8fa20bad","updated":"2015-05-18 13:46:10.000000000","message":"Done","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"b35d0c656dc63c0e7f8faca9e53e7b9ef55acee5","unresolved":false,"context_lines":[{"line_number":70,"context_line":"  template:"},{"line_number":71,"context_line":"    src: secret.xml.j2"},{"line_number":72,"context_line":"    dest: /tmp/cinder-secret.xml"},{"line_number":73,"context_line":"  when: inventory_hostname in groups[nova_compute] and libvirt_cinder_defined.rc is defined and libvirt_cinder_defined.rc \u003d\u003d 0"},{"line_number":74,"context_line":"  tags:"},{"line_number":75,"context_line":"  - ceph-auth-cinder-libvirt-secret"},{"line_number":76,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_6fa58fb3","line":73,"updated":"2015-05-18 13:33:34.000000000","message":"groups[\u0027nova_compute\u0027]","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"32ffe0829d10e34e451b4a7f79617419b0916a1a","unresolved":false,"context_lines":[{"line_number":70,"context_line":"  template:"},{"line_number":71,"context_line":"    src: secret.xml.j2"},{"line_number":72,"context_line":"    dest: /tmp/cinder-secret.xml"},{"line_number":73,"context_line":"  when: inventory_hostname in groups[nova_compute] and libvirt_cinder_defined.rc is defined and libvirt_cinder_defined.rc \u003d\u003d 0"},{"line_number":74,"context_line":"  tags:"},{"line_number":75,"context_line":"  - ceph-auth-cinder-libvirt-secret"},{"line_number":76,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_2f71d7e0","line":73,"in_reply_to":"7a016987_6fa58fb3","updated":"2015-05-18 13:46:10.000000000","message":"Done","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"b35d0c656dc63c0e7f8faca9e53e7b9ef55acee5","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"- name: Define libvirt cinder secret"},{"line_number":78,"context_line":"  command: virsh secret-define --file /tmp/cinder-secret.xml"},{"line_number":79,"context_line":"  when: inventory_hostname in groups[nova_compute] and libvirt_cinder_defined.rc is defined and libvirt_cinder_defined.rc \u003d\u003d 0"},{"line_number":80,"context_line":"  tags:"},{"line_number":81,"context_line":"  - ceph-auth-cinder-libvirt-secret"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_2faf9795","line":79,"updated":"2015-05-18 13:33:34.000000000","message":"groups[\u0027nova_compute\u0027]","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"32ffe0829d10e34e451b4a7f79617419b0916a1a","unresolved":false,"context_lines":[{"line_number":76,"context_line":""},{"line_number":77,"context_line":"- name: Define libvirt cinder secret"},{"line_number":78,"context_line":"  command: virsh secret-define --file /tmp/cinder-secret.xml"},{"line_number":79,"context_line":"  when: inventory_hostname in groups[nova_compute] and libvirt_cinder_defined.rc is defined and libvirt_cinder_defined.rc \u003d\u003d 0"},{"line_number":80,"context_line":"  tags:"},{"line_number":81,"context_line":"  - ceph-auth-cinder-libvirt-secret"},{"line_number":82,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_0f797bc8","line":79,"in_reply_to":"7a016987_2faf9795","updated":"2015-05-18 13:46:10.000000000","message":"Done","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"b35d0c656dc63c0e7f8faca9e53e7b9ef55acee5","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"- name: Check if cinder secret value is set in libvirt"},{"line_number":85,"context_line":"  command: virsh secret-get-value {{ ceph_client_cinder_uuid }}"},{"line_number":86,"context_line":"  when: inventory_hostname in groups[nova_compute]"},{"line_number":87,"context_line":"  always_run:   true"},{"line_number":88,"context_line":"  failed_when:  false"},{"line_number":89,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_0f973b49","line":86,"updated":"2015-05-18 13:33:34.000000000","message":"groups[\u0027nova_compute\u0027]","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"32ffe0829d10e34e451b4a7f79617419b0916a1a","unresolved":false,"context_lines":[{"line_number":83,"context_line":""},{"line_number":84,"context_line":"- name: Check if cinder secret value is set in libvirt"},{"line_number":85,"context_line":"  command: virsh secret-get-value {{ ceph_client_cinder_uuid }}"},{"line_number":86,"context_line":"  when: inventory_hostname in groups[nova_compute]"},{"line_number":87,"context_line":"  always_run:   true"},{"line_number":88,"context_line":"  failed_when:  false"},{"line_number":89,"context_line":"  changed_when: false"}],"source_content_type":"text/x-yaml","patch_set":10,"id":"7a016987_ef73bfe5","line":86,"in_reply_to":"7a016987_0f973b49","updated":"2015-05-18 13:46:10.000000000","message":"Done","commit_id":"b8286ef9478fd20de8cc81a902911364c7e692fb"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"dfbdf767ab298cebc40f676c8540818e88e5b457","unresolved":false,"context_lines":[{"line_number":18,"context_line":"## Ceph client keyrings"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Retrieve keyrings for openstack clients from ceph cluster"},{"line_number":21,"context_line":"  shell: ceph auth get client.{{ item.1 }} \u003e/dev/null \u0026\u0026 ceph auth get-or-create client.{{ item.1 }}"},{"line_number":22,"context_line":"  with_subelements:"},{"line_number":23,"context_line":"  - ceph_components"},{"line_number":24,"context_line":"  - client"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"7a016987_75cb201f","line":21,"updated":"2015-05-18 14:46:00.000000000","message":"Hi svg, what is the intention here?  If the get fails, then the create fails.  The get and get-or-create seem to return the same info, so the latter seems pointless.  Also, I assume it\u0027s expected that the user already exists as running get-or-create without any permissions will yield a non-functioning user.","commit_id":"9f46b2b45cbc02e41676dbd2e91e87d7fb976192"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"3ed084e8bd77324272195b8b9d9f38ab066fec4b","unresolved":false,"context_lines":[{"line_number":18,"context_line":"## Ceph client keyrings"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"- name: Retrieve keyrings for openstack clients from ceph cluster"},{"line_number":21,"context_line":"  shell: ceph auth get client.{{ item.1 }} \u003e/dev/null \u0026\u0026 ceph auth get-or-create client.{{ item.1 }}"},{"line_number":22,"context_line":"  with_subelements:"},{"line_number":23,"context_line":"  - ceph_components"},{"line_number":24,"context_line":"  - client"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"7a016987_e791a353","line":21,"in_reply_to":"7a016987_75cb201f","updated":"2015-05-18 15:13:25.000000000","message":"the first get makes sure the client exists, so the second only runs when it exists, the trick is the different output of both, the second has the right output to put in a keyring","commit_id":"9f46b2b45cbc02e41676dbd2e91e87d7fb976192"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":85,"context_line":"  tags:"},{"line_number":86,"context_line":"  - ceph-auth-nova-libvirt-secret"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"- name: Check if nova secret value is set in libvirt"},{"line_number":90,"context_line":"  command: virsh secret-get-value {{ nova_ceph_client_uuid }}"},{"line_number":91,"context_line":"  when: inventory_hostname in groups.nova_compute"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"fa32b979_b5a596a2","line":88,"updated":"2015-06-25 09:57:51.000000000","message":"nit: extra line","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":85,"context_line":"  tags:"},{"line_number":86,"context_line":"  - ceph-auth-nova-libvirt-secret"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":""},{"line_number":89,"context_line":"- name: Check if nova secret value is set in libvirt"},{"line_number":90,"context_line":"  command: virsh secret-get-value {{ nova_ceph_client_uuid }}"},{"line_number":91,"context_line":"  when: inventory_hostname in groups.nova_compute"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"ba3cc151_c3bf5d5f","line":88,"in_reply_to":"fa32b979_b5a596a2","updated":"2015-07-02 16:15:31.000000000","message":"updated","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":20,"context_line":"- name: Retrieve keyrings for openstack clients from ceph cluster"},{"line_number":21,"context_line":"  # the first get makes sure the client exists, so the second only runs when it"},{"line_number":22,"context_line":"  # exists, the trick is the different output of both, the second has the right"},{"line_number":23,"context_line":"  # output to put in a keyring; ceph admin should have alreqady created the user"},{"line_number":24,"context_line":"  shell: ceph auth get client.{{ item.1 }} \u003e/dev/null \u0026\u0026 ceph auth get-or-create client.{{ item.1 }}"},{"line_number":25,"context_line":"  with_subelements:"},{"line_number":26,"context_line":"  - ceph_components"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"fa32b979_7ed83cef","line":23,"updated":"2015-06-25 16:45:15.000000000","message":"s/alreqady/already","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":20,"context_line":"- name: Retrieve keyrings for openstack clients from ceph cluster"},{"line_number":21,"context_line":"  # the first get makes sure the client exists, so the second only runs when it"},{"line_number":22,"context_line":"  # exists, the trick is the different output of both, the second has the right"},{"line_number":23,"context_line":"  # output to put in a keyring; ceph admin should have alreqady created the user"},{"line_number":24,"context_line":"  shell: ceph auth get client.{{ item.1 }} \u003e/dev/null \u0026\u0026 ceph auth get-or-create client.{{ item.1 }}"},{"line_number":25,"context_line":"  with_subelements:"},{"line_number":26,"context_line":"  - ceph_components"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"ba3cc151_d9ef4c1c","line":23,"in_reply_to":"fa32b979_7ed83cef","updated":"2015-07-02 18:15:27.000000000","message":"Done","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  - client"},{"line_number":28,"context_line":"  when: inventory_hostname in groups[item.0.component]"},{"line_number":29,"context_line":"  always_run: true"},{"line_number":30,"context_line":"  delegate_to: \u0027{{ ceph_conf.global.mon_host.split(\",\")[0] }}\u0027"},{"line_number":31,"context_line":"  register: ceph_client_keyrings"},{"line_number":32,"context_line":"  until: ceph_client_keyrings|success"},{"line_number":33,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"fa32b979_f1e1ddd0","line":30,"updated":"2015-06-25 16:45:15.000000000","message":"this is tricky, nothing guarantees us that [0] is up.","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":27,"context_line":"  - client"},{"line_number":28,"context_line":"  when: inventory_hostname in groups[item.0.component]"},{"line_number":29,"context_line":"  always_run: true"},{"line_number":30,"context_line":"  delegate_to: \u0027{{ ceph_conf.global.mon_host.split(\",\")[0] }}\u0027"},{"line_number":31,"context_line":"  register: ceph_client_keyrings"},{"line_number":32,"context_line":"  until: ceph_client_keyrings|success"},{"line_number":33,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"ba3cc151_f9f010cb","line":30,"in_reply_to":"fa32b979_f1e1ddd0","updated":"2015-07-02 18:15:27.000000000","message":"Yes, but not sure how to come with anothre way in ansible...\nI\u0027ll keep that in mind.","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":29,"context_line":"  always_run: true"},{"line_number":30,"context_line":"  delegate_to: \u0027{{ ceph_conf.global.mon_host.split(\",\")[0] }}\u0027"},{"line_number":31,"context_line":"  register: ceph_client_keyrings"},{"line_number":32,"context_line":"  until: ceph_client_keyrings|success"},{"line_number":33,"context_line":"  tags:"},{"line_number":34,"context_line":"  - ceph-auth-client-keyrings"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":26,"id":"fa32b979_9ece602b","line":32,"updated":"2015-06-25 16:45:15.000000000","message":"Let\u0027s imagine the key does not exist.\nget-or-create is never executed but the until keeps the task looping over again and again. Do we want this?\n\nps: hopefully I got this right :)","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"200cd3fe7145d12be924440556ea54be1830be5d","unresolved":false,"context_lines":[{"line_number":29,"context_line":"  always_run: true"},{"line_number":30,"context_line":"  delegate_to: \u0027{{ ceph_conf.global.mon_host.split(\",\")[0] }}\u0027"},{"line_number":31,"context_line":"  register: ceph_client_keyrings"},{"line_number":32,"context_line":"  until: ceph_client_keyrings|success"},{"line_number":33,"context_line":"  tags:"},{"line_number":34,"context_line":"  - ceph-auth-client-keyrings"},{"line_number":35,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":26,"id":"ba3cc151_efa11b95","line":32,"in_reply_to":"fa32b979_9ece602b","updated":"2015-07-02 19:37:13.000000000","message":"\"The default value for retries is 3 and delay is 5.\"\n\nThat should answer this :)","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  - ceph-auth-client-keyrings"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"- name: Provision ceph client keyrings"},{"line_number":37,"context_line":"  template:"},{"line_number":38,"context_line":"    src:      ceph.client.keyring.j2"},{"line_number":39,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1 }}.keyring"},{"line_number":40,"context_line":"    backup:   true"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"fa32b979_b1a59503","line":37,"updated":"2015-06-25 16:45:15.000000000","message":"do we really need a template for this? what\u0027s the added value compare to \n\nceph get-or-create ... ... -o file?","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":34,"context_line":"  - ceph-auth-client-keyrings"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"- name: Provision ceph client keyrings"},{"line_number":37,"context_line":"  template:"},{"line_number":38,"context_line":"    src:      ceph.client.keyring.j2"},{"line_number":39,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1 }}.keyring"},{"line_number":40,"context_line":"    backup:   true"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"ba3cc151_546781e8","line":37,"in_reply_to":"fa32b979_b1a59503","updated":"2015-07-02 18:15:27.000000000","message":"This needs ceph cli tools to be installed, which is not the case here on all containers where this task runs.\n\nRunning that to output the file on the container, implies the container already has access to authenticate to the cluster, but that\u0027s what we are steting up here.\n\nAlso, a command is less easy to make idempotent, not sure if that can be parsed by output or return code? The previous tasks only retries that info, so there it is easy to just set changed_when: false\n\nThoughts?","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    src:      ceph.client.keyring.j2"},{"line_number":39,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1 }}.keyring"},{"line_number":40,"context_line":"    backup:   true"},{"line_number":41,"context_line":"    owner:    root"},{"line_number":42,"context_line":"    group:    root"},{"line_number":43,"context_line":"    mode:     0644"},{"line_number":44,"context_line":"  with_items:   ceph_client_keyrings.results"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"fa32b979_7165cdde","line":41,"updated":"2015-06-25 16:45:15.000000000","message":"ideally the permission will be: 0600 and the owner/group will be either glance , nova or cinder. For keys that require access by different users (the cinder one) we should probably create a group \u0027cephkeys\u0027 and add nova/cinder to it.","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":38,"context_line":"    src:      ceph.client.keyring.j2"},{"line_number":39,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1 }}.keyring"},{"line_number":40,"context_line":"    backup:   true"},{"line_number":41,"context_line":"    owner:    root"},{"line_number":42,"context_line":"    group:    root"},{"line_number":43,"context_line":"    mode:     0644"},{"line_number":44,"context_line":"  with_items:   ceph_client_keyrings.results"}],"source_content_type":"text/x-yaml","patch_set":26,"id":"ba3cc151_e38cdadb","line":41,"in_reply_to":"fa32b979_7165cdde","updated":"2015-07-02 18:15:27.000000000","message":"noted\n\nIf I\u0027m correct, the use case for multiple users is on the computre nodes, access needed by users libvirt-qemu and nova","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"c63507718dd0927eb7d3da99bef9928060d04372","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  # output, rc not being available using wait_for + failed_when: false"},{"line_number":24,"context_line":"  # failed_when: false  is needed to not loose any hosts, as this check expects"},{"line_number":25,"context_line":"  # some to be down."},{"line_number":26,"context_line":"  local_action:   command nc -w 1 {{ item }}22"},{"line_number":27,"context_line":"  with_items:     \u0027{{ ceph_conf.global.mon_host.split(\",\") }}\u0027"},{"line_number":28,"context_line":"  changed_when:   false"},{"line_number":29,"context_line":"  run_once:       true"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_f6b24b93","line":26,"updated":"2015-07-29 10:55:57.000000000","message":"Should this be \u0027nc -w 1 {{ item }} 22\u0027?","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0837ad6d973117224467b1c1777d42feabec4b72","unresolved":false,"context_lines":[{"line_number":23,"context_line":"  # output, rc not being available using wait_for + failed_when: false"},{"line_number":24,"context_line":"  # failed_when: false  is needed to not loose any hosts, as this check expects"},{"line_number":25,"context_line":"  # some to be down."},{"line_number":26,"context_line":"  local_action:   command nc -w 1 {{ item }}22"},{"line_number":27,"context_line":"  with_items:     \u0027{{ ceph_conf.global.mon_host.split(\",\") }}\u0027"},{"line_number":28,"context_line":"  changed_when:   false"},{"line_number":29,"context_line":"  run_once:       true"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_e727f7c7","line":26,"in_reply_to":"3a50d1a3_f6b24b93","updated":"2015-07-29 13:01:33.000000000","message":"the quotes are not needed, but there was a missing space:\n\nlocal_action:   command nc -w 1 {{ item }} 22","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"e744a500347303a6f3dc9208eec3ff4d8d4f89a1","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  local_action:   command nc -w 1 {{ item }}22"},{"line_number":27,"context_line":"  with_items:     \u0027{{ ceph_conf.global.mon_host.split(\",\") }}\u0027"},{"line_number":28,"context_line":"  changed_when:   false"},{"line_number":29,"context_line":"  run_once:       true"},{"line_number":30,"context_line":"  failed_when:    false"},{"line_number":31,"context_line":"  register:       ceph_mon_upcheck"},{"line_number":32,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_d1095232","line":29,"range":{"start_line":29,"start_character":11,"end_line":29,"end_character":18},"updated":"2015-07-29 13:42:47.000000000","message":"run_once breaks things for me. Not sure why it\u0027s there because ceph_mon_upcheck it\u0027s required to set the fact for all the hosts.","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"01aad1e294bd5ca2a384b9d5f2f3f1c0f4dd5025","unresolved":false,"context_lines":[{"line_number":26,"context_line":"  local_action:   command nc -w 1 {{ item }}22"},{"line_number":27,"context_line":"  with_items:     \u0027{{ ceph_conf.global.mon_host.split(\",\") }}\u0027"},{"line_number":28,"context_line":"  changed_when:   false"},{"line_number":29,"context_line":"  run_once:       true"},{"line_number":30,"context_line":"  failed_when:    false"},{"line_number":31,"context_line":"  register:       ceph_mon_upcheck"},{"line_number":32,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_7c47f5bb","line":29,"range":{"start_line":29,"start_character":11,"end_line":29,"end_character":18},"in_reply_to":"3a50d1a3_d1095232","updated":"2015-07-29 13:46:53.000000000","message":"Yes, Matt reported the same. \n\nThe idea was we need to only do this check once, only run_once just takes the parameters from the first host in the play, then gives the results to all hosts.\n\nGiven there are also hosts in the play where this task will not apply, this breaks indeed.\n\nSo removing the run_once line for now.","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"545de2134eef71f2f62d9ea02a3c1ee979b38f45","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1 }}.keyring"},{"line_number":69,"context_line":"    backup:   true"},{"line_number":70,"context_line":"    owner:    root"},{"line_number":71,"context_line":"    group:    \"{{ cephkeys_access_group }}\""},{"line_number":72,"context_line":"    # TODO"},{"line_number":73,"context_line":"    # ideally the permission will be: 0600 and the owner/group will be either"},{"line_number":74,"context_line":"    # glance , nova or cinder. For keys that require access by different users"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_02f771d3","line":71,"updated":"2015-07-29 12:16:50.000000000","message":"I ran into this -- cephkeys_access_group is not defined anywhere else, so the run fails.","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"954c0be18a155e888c6d2ce559c8a7991f7754f2","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1 }}.keyring"},{"line_number":69,"context_line":"    backup:   true"},{"line_number":70,"context_line":"    owner:    root"},{"line_number":71,"context_line":"    group:    \"{{ cephkeys_access_group }}\""},{"line_number":72,"context_line":"    # TODO"},{"line_number":73,"context_line":"    # ideally the permission will be: 0600 and the owner/group will be either"},{"line_number":74,"context_line":"    # glance , nova or cinder. For keys that require access by different users"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_68041717","line":71,"in_reply_to":"3a50d1a3_02f771d3","updated":"2015-07-29 12:52:51.000000000","message":"http://ceph.com/docs/master/rbd/rbd-openstack/#setup-ceph-client-authentication\n\nLooks like owner and group should be set to that of the service e.g. cinder","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0837ad6d973117224467b1c1777d42feabec4b72","unresolved":false,"context_lines":[{"line_number":68,"context_line":"    dest:     /etc/ceph/ceph.client.{{ item.item.1 }}.keyring"},{"line_number":69,"context_line":"    backup:   true"},{"line_number":70,"context_line":"    owner:    root"},{"line_number":71,"context_line":"    group:    \"{{ cephkeys_access_group }}\""},{"line_number":72,"context_line":"    # TODO"},{"line_number":73,"context_line":"    # ideally the permission will be: 0600 and the owner/group will be either"},{"line_number":74,"context_line":"    # glance , nova or cinder. For keys that require access by different users"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_c298a977","line":71,"in_reply_to":"3a50d1a3_02f771d3","updated":"2015-07-29 13:01:33.000000000","message":"right, this was part of the WIP, this is part of the #TODO hereafter...\n\nalso, quotijg a previous comment from leseb:\n\n\"ideally the permission will be: 0600 and the owner/group will be either glance , nova or cinder. For keys that require access by different users (the cinder one) we should probably create a group \u0027cephkeys\u0027 and add nova/cinder to it.\"\n\nIf I understand this right, this means on nova hosts both libvirt and nova user need to access it.","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"}],"playbooks/roles/ceph_client/tasks/ceph_config.yml":[{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"09479b82bdc637ba3bf2a260b3124a99e916b3eb","unresolved":false,"context_lines":[{"line_number":28,"context_line":"    cat /etc/ceph/ceph.conf"},{"line_number":29,"context_line":"  register: ceph_conf_content_mon"},{"line_number":30,"context_line":"  delegate_to: \u0027{{ ceph_mon_host }}\u0027"},{"line_number":31,"context_line":"  run_once: true"},{"line_number":32,"context_line":"  changed_when: false"},{"line_number":33,"context_line":"  when: ceph_conf_file is not defined"},{"line_number":34,"context_line":"  tags:"}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_11b2f3e5","line":31,"updated":"2015-07-31 10:10:53.000000000","message":"This is causing the play to fail. I believe the issue is as follows - the play is targeted at cinder_all but the role only wants to run on cinder_volume hosts so there is a condition in the role to that affect. The first host in the list is a cinder-api host, this means that task gets skipped. The following task then fails on cinder-volume hosts because ceph_conf_content_mon.stdout is not defined.","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"}],"playbooks/roles/ceph_client/tasks/ceph_pre_install.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"8a9a478f90908434a953ec4df71daf8487bb0008","unresolved":false,"context_lines":[{"line_number":44,"context_line":"- name: Drop ceph repo pin"},{"line_number":45,"context_line":"  template:"},{"line_number":46,"context_line":"    src: \"ceph_pin.pref.j2\""},{"line_number":47,"context_line":"    dest: \"/etc/apt/preferences.d/ceph_pin.pref\""},{"line_number":48,"context_line":"    owner: \"root\""},{"line_number":49,"context_line":"    group: \"root\""},{"line_number":50,"context_line":"    mode: \"0644\""}],"source_content_type":"text/x-yaml","patch_set":26,"id":"fa32b979_eaa562b4","line":47,"updated":"2015-06-25 17:03:34.000000000","message":"If this could use the existing pinning role, it\u0027d be better.","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":44,"context_line":"- name: Drop ceph repo pin"},{"line_number":45,"context_line":"  template:"},{"line_number":46,"context_line":"    src: \"ceph_pin.pref.j2\""},{"line_number":47,"context_line":"    dest: \"/etc/apt/preferences.d/ceph_pin.pref\""},{"line_number":48,"context_line":"    owner: \"root\""},{"line_number":49,"context_line":"    group: \"root\""},{"line_number":50,"context_line":"    mode: \"0644\""}],"source_content_type":"text/x-yaml","patch_set":26,"id":"ba3cc151_8ee65542","line":47,"in_reply_to":"fa32b979_eaa562b4","updated":"2015-07-02 18:15:27.000000000","message":"I\u0027ll update that. I think I copied this from a previous setup (started out in Juno) and I must have missed the change to that role.","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"}],"playbooks/roles/ceph_client/tasks/main.yml":[{"author":{"_account_id":17390,"name":"He Weiwei","email":"heww0205@gmail.com","username":"heww"},"change_message_id":"f27e144f02bdcc45a000974b3ec493a9eb356a87","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        and cinder_backend_rbd_inuse|bool)"},{"line_number":23,"context_line":"        or"},{"line_number":24,"context_line":"        (inventory_hostname in groups[\u0027nova_compute\u0027]"},{"line_number":25,"context_line":"        and (cinder_backend_rbd_inuse|bool or"},{"line_number":26,"context_line":"        nova_libvirt_images_rbd_pool is defined))"},{"line_number":27,"context_line":"  tags:"},{"line_number":28,"context_line":"  - ceph-client"}],"source_content_type":"text/x-yaml","patch_set":27,"id":"9a41bdd9_69573d26","line":25,"updated":"2015-07-16 03:18:46.000000000","message":"cinder_backend_rbd_inuse always be False in nova_compute nodes, this should be cinder_backends_rbd_inuse","commit_id":"51fb8542af17b4426f18c54165c6dfda9c2395d9"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"9c2fab201c1bfe82f3ace0abb219bc25efe144e1","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        and cinder_backend_rbd_inuse|bool)"},{"line_number":23,"context_line":"        or"},{"line_number":24,"context_line":"        (inventory_hostname in groups[\u0027nova_compute\u0027]"},{"line_number":25,"context_line":"        and (cinder_backend_rbd_inuse|bool or"},{"line_number":26,"context_line":"        nova_libvirt_images_rbd_pool is defined))"},{"line_number":27,"context_line":"  tags:"},{"line_number":28,"context_line":"  - ceph-client"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_6bcbe653","line":25,"range":{"start_line":25,"start_character":13,"end_line":25,"end_character":37},"updated":"2015-07-29 11:04:15.000000000","message":"As noted by He Weiwei in the previous patchset:\n\ncinder_backend_rbd_inuse always be False in nova_compute nodes, this should be cinder_backends_rbd_inuse","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0837ad6d973117224467b1c1777d42feabec4b72","unresolved":false,"context_lines":[{"line_number":22,"context_line":"        and cinder_backend_rbd_inuse|bool)"},{"line_number":23,"context_line":"        or"},{"line_number":24,"context_line":"        (inventory_hostname in groups[\u0027nova_compute\u0027]"},{"line_number":25,"context_line":"        and (cinder_backend_rbd_inuse|bool or"},{"line_number":26,"context_line":"        nova_libvirt_images_rbd_pool is defined))"},{"line_number":27,"context_line":"  tags:"},{"line_number":28,"context_line":"  - ceph-client"}],"source_content_type":"text/x-yaml","patch_set":28,"id":"3a50d1a3_22070d19","line":25,"range":{"start_line":25,"start_character":13,"end_line":25,"end_character":37},"in_reply_to":"3a50d1a3_6bcbe653","updated":"2015-07-29 13:01:33.000000000","message":"Done","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"}],"playbooks/roles/ceph_client/templates/ceph.client.keyring.j2":[{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{{ item.stdout }}"}],"source_content_type":"text/x-jinja2","patch_set":26,"id":"fa32b979_5179a9c6","line":1,"updated":"2015-06-25 16:45:15.000000000","message":"# {{ ansible_managed }} ?","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{{ item.stdout }}"}],"source_content_type":"text/x-jinja2","patch_set":26,"id":"ba3cc151_ee492132","line":1,"in_reply_to":"fa32b979_5179a9c6","updated":"2015-07-02 18:15:27.000000000","message":"Done","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"}],"playbooks/roles/ceph_client/templates/ceph.conf.j2":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"5fe5630d2fcce4bb485aa03101317cf19aa54fbb","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% for section in ceph_conf %}"},{"line_number":2,"context_line":"[{{ section }}]"},{"line_number":3,"context_line":"{% for key, value in ceph_conf[section] %}"},{"line_number":4,"context_line":"{{ key }} \u003d {{ value }}"},{"line_number":5,"context_line":"{% endfor %}"},{"line_number":6,"context_line":"{% endfor %}"}],"source_content_type":"text/x-jinja2","patch_set":9,"id":"7a016987_c34a22ac","line":3,"updated":"2015-05-18 11:19:52.000000000","message":"Should this be \u0027in ceph_conf[section].iteritems()\u0027 instead?  I hit a \u0027ValueError: too many values to unpack\u0027 if left as is.","commit_id":"e20d0573383b08f82c67be05a0db78a9e700c229"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"f8b8c73eb10ebd0ec7bc509230db2683c99c3d5f","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% for section in ceph_conf %}"},{"line_number":2,"context_line":"[{{ section }}]"},{"line_number":3,"context_line":"{% for key, value in ceph_conf[section] %}"},{"line_number":4,"context_line":"{{ key }} \u003d {{ value }}"},{"line_number":5,"context_line":"{% endfor %}"},{"line_number":6,"context_line":"{% endfor %}"}],"source_content_type":"text/x-jinja2","patch_set":9,"id":"7a016987_091dfb0e","line":3,"in_reply_to":"7a016987_c34a22ac","updated":"2015-05-18 12:29:04.000000000","message":"correct; my original kilo patch actually used |dictsort which has a similar effect","commit_id":"e20d0573383b08f82c67be05a0db78a9e700c229"},{"author":{"_account_id":6984,"name":"Sébastien Han","email":"seb@redhat.com","username":"leseb"},"change_message_id":"288d5bc223c7e531b441f23dc8ad079f2f1bbea3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% for section in ceph_conf %}"},{"line_number":2,"context_line":"[{{ section }}]"},{"line_number":3,"context_line":"{% for key, value in ceph_conf[section]|dictsort %}"},{"line_number":4,"context_line":"{{ key }} \u003d {{ value }}"}],"source_content_type":"text/x-jinja2","patch_set":26,"id":"fa32b979_31a3c544","line":1,"updated":"2015-06-25 16:45:15.000000000","message":"# {{ ansible_managed }} ?","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"209ef17baf3468a2580df2cecdfbe4d033bd9103","unresolved":false,"context_lines":[{"line_number":1,"context_line":"{% for section in ceph_conf %}"},{"line_number":2,"context_line":"[{{ section }}]"},{"line_number":3,"context_line":"{% for key, value in ceph_conf[section]|dictsort %}"},{"line_number":4,"context_line":"{{ key }} \u003d {{ value }}"}],"source_content_type":"text/x-jinja2","patch_set":26,"id":"ba3cc151_ce753d64","line":1,"in_reply_to":"fa32b979_31a3c544","updated":"2015-07-02 18:15:27.000000000","message":"Done","commit_id":"a473eb5326dce2fcfcfd9bccf2870dfd97b0cdc6"}],"playbooks/roles/ceph_client/templates/secret.xml.j2":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003csecret ephemeral\u003d\u0027no\u0027 private\u003d\u0027no\u0027\u003e"},{"line_number":2,"context_line":"    \u003cuuid\u003e{{ nova_ceph_client_uuid}}\u003c/uuid\u003e"},{"line_number":3,"context_line":"  \u003cusage type\u003d\u0027ceph\u0027\u003e"},{"line_number":4,"context_line":"      \u003cname\u003eclient.{{ nova_ceph_client}} secret\u003c/name\u003e"},{"line_number":5,"context_line":"  \u003c/usage\u003e"},{"line_number":6,"context_line":"\u003c/secret\u003e"}],"source_content_type":"text/x-jinja2","patch_set":25,"id":"fa32b979_60d50a41","line":4,"updated":"2015-06-25 09:57:51.000000000","message":"nit: spacing isn\u0027t quite right","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"\u003csecret ephemeral\u003d\u0027no\u0027 private\u003d\u0027no\u0027\u003e"},{"line_number":2,"context_line":"    \u003cuuid\u003e{{ nova_ceph_client_uuid}}\u003c/uuid\u003e"},{"line_number":3,"context_line":"  \u003cusage type\u003d\u0027ceph\u0027\u003e"},{"line_number":4,"context_line":"      \u003cname\u003eclient.{{ nova_ceph_client}} secret\u003c/name\u003e"},{"line_number":5,"context_line":"  \u003c/usage\u003e"},{"line_number":6,"context_line":"\u003c/secret\u003e"}],"source_content_type":"text/x-jinja2","patch_set":25,"id":"ba3cc151_237c09b4","line":4,"in_reply_to":"fa32b979_60d50a41","updated":"2015-07-02 16:15:31.000000000","message":"updated","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"6ac1a9d33dc1af7cb12ba236e5d3a924a7b606ed","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# {{ ansible_managed }}"},{"line_number":2,"context_line":"\u003csecret ephemeral\u003d\u0027no\u0027 private\u003d\u0027no\u0027\u003e"},{"line_number":3,"context_line":"    \u003cuuid\u003e{{ nova_ceph_client_uuid}}\u003c/uuid\u003e"},{"line_number":4,"context_line":"  \u003cusage type\u003d\u0027ceph\u0027\u003e"}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_cb3c4531","line":1,"updated":"2015-07-29 13:05:49.000000000","message":"This line breaks things, the file needs to be the XML only.","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"01aad1e294bd5ca2a384b9d5f2f3f1c0f4dd5025","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# {{ ansible_managed }}"},{"line_number":2,"context_line":"\u003csecret ephemeral\u003d\u0027no\u0027 private\u003d\u0027no\u0027\u003e"},{"line_number":3,"context_line":"    \u003cuuid\u003e{{ nova_ceph_client_uuid}}\u003c/uuid\u003e"},{"line_number":4,"context_line":"  \u003cusage type\u003d\u0027ceph\u0027\u003e"}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_cbad2532","line":1,"in_reply_to":"3a50d1a3_cb3c4531","updated":"2015-07-29 13:46:53.000000000","message":"Done","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"}],"playbooks/roles/ceph_client/vars/main.yml":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"9aceb05216e0239e72b8b61bec44fb0a3242a878","unresolved":false,"context_lines":[{"line_number":19,"context_line":"ceph_components:"},{"line_number":20,"context_line":"  - component: glance_api"},{"line_number":21,"context_line":"    package:"},{"line_number":22,"context_line":"      - python-rbd"},{"line_number":23,"context_line":"    client:"},{"line_number":24,"context_line":"      - \u0027{{ glance_rbd_store_user }}\u0027"},{"line_number":25,"context_line":"  - component: nova_compute"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"7a016987_4aa63e11","line":22,"updated":"2015-05-18 15:47:25.000000000","message":"Do we need python-rados here also?","commit_id":"9f46b2b45cbc02e41676dbd2e91e87d7fb976192"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"7c628cf49d51406e97eb02d52b34ce19d96ea2e4","unresolved":false,"context_lines":[{"line_number":19,"context_line":"ceph_components:"},{"line_number":20,"context_line":"  - component: glance_api"},{"line_number":21,"context_line":"    package:"},{"line_number":22,"context_line":"      - python-rbd"},{"line_number":23,"context_line":"    client:"},{"line_number":24,"context_line":"      - \u0027{{ glance_rbd_store_user }}\u0027"},{"line_number":25,"context_line":"  - component: nova_compute"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"7a016987_aae37232","line":22,"in_reply_to":"7a016987_4aa63e11","updated":"2015-05-18 15:50:34.000000000","message":"This is as per http://ceph.com/docs/master/rbd/rbd-openstack/\n\n-- \"On the glance-api node, you’ll need the Python bindings for librbd\"\n\n(not mentioned on nova and cinder, because python-rbd is a dependency of ceph-common)","commit_id":"9f46b2b45cbc02e41676dbd2e91e87d7fb976192"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"bbe05c9e4daf21fa6016f33b76a833134e908694","unresolved":false,"context_lines":[{"line_number":19,"context_line":"ceph_components:"},{"line_number":20,"context_line":"  - component: glance_api"},{"line_number":21,"context_line":"    package:"},{"line_number":22,"context_line":"      - python-rbd"},{"line_number":23,"context_line":"    client:"},{"line_number":24,"context_line":"      - \u0027{{ glance_rbd_store_user }}\u0027"},{"line_number":25,"context_line":"  - component: nova_compute"}],"source_content_type":"text/x-yaml","patch_set":11,"id":"7a016987_0ad0461e","line":22,"in_reply_to":"7a016987_aae37232","updated":"2015-05-18 16:01:02.000000000","message":".. which should be package python-ceph (not python-rbd)","commit_id":"9f46b2b45cbc02e41676dbd2e91e87d7fb976192"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":25,"id":"fa32b979_d55b7a52","updated":"2015-06-25 09:57:51.000000000","message":"Why aren\u0027t these just in defaults/main.yml?","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":25,"id":"ba3cc151_7e086628","in_reply_to":"fa32b979_d55b7a52","updated":"2015-07-02 16:15:31.000000000","message":"Because these are \"constants\" and not meant to be changed by a user.\n\nAFAIK, there is no use case where one would change which ceph package is needed by which openstack component.\n\nGiven next remark however, it might just be safer to not make that difference, and just install all cpeh packages.\n\nWill discuss this with leseb.","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    package:"},{"line_number":27,"context_line":"      - ceph # TODO: remove this once http://tracker.ceph.com/issues/11388 is resolved"},{"line_number":28,"context_line":"      - ceph-common"},{"line_number":29,"context_line":"        # also python-ceph but is a dependency of ceph-common"},{"line_number":30,"context_line":"    client:"},{"line_number":31,"context_line":"      - \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":32,"context_line":"  - component: nova_compute"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"fa32b979_2021429e","line":29,"updated":"2015-06-25 09:57:51.000000000","message":"I think it\u0027d be better to include any packages required explicitly, just in case the upstream packages are broken at some point.","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":26,"context_line":"    package:"},{"line_number":27,"context_line":"      - ceph # TODO: remove this once http://tracker.ceph.com/issues/11388 is resolved"},{"line_number":28,"context_line":"      - ceph-common"},{"line_number":29,"context_line":"        # also python-ceph but is a dependency of ceph-common"},{"line_number":30,"context_line":"    client:"},{"line_number":31,"context_line":"      - \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":32,"context_line":"  - component: nova_compute"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"ba3cc151_5e400234","line":29,"in_reply_to":"fa32b979_2021429e","updated":"2015-07-02 16:15:31.000000000","message":"agreed","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"16f46d690acb9491a898663601c5c04dc0f6c477","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    client:"},{"line_number":24,"context_line":"      - \u0027{{ glance_ceph_client }}\u0027"},{"line_number":25,"context_line":"    service:"},{"line_number":26,"context_line":"      - \u0027{{ glance_service_names }}\u0027"},{"line_number":27,"context_line":"  - component: cinder_volume"},{"line_number":28,"context_line":"    package:"},{"line_number":29,"context_line":"      - ceph # TODO: remove this once http://tracker.ceph.com/issues/11388 is resolved"}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_5e2deafb","line":26,"updated":"2015-07-31 09:49:15.000000000","message":"Should this not be:\n\nservice: \u0027{{ glance_service_names }}\u0027\n\nIf left as is, we end up with an array inside an array.","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"e138ae8100e1e2969633d7bf9aa92cc3859ccb05","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    client:"},{"line_number":24,"context_line":"      - \u0027{{ glance_ceph_client }}\u0027"},{"line_number":25,"context_line":"    service:"},{"line_number":26,"context_line":"      - \u0027{{ glance_service_names }}\u0027"},{"line_number":27,"context_line":"  - component: cinder_volume"},{"line_number":28,"context_line":"    package:"},{"line_number":29,"context_line":"      - ceph # TODO: remove this once http://tracker.ceph.com/issues/11388 is resolved"}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_7119f721","line":26,"in_reply_to":"3a50d1a3_5e2deafb","updated":"2015-07-31 10:05:47.000000000","message":"Yes, I overlooked that this does not get flattened here (whichg does happen in plain with_items)","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"16f46d690acb9491a898663601c5c04dc0f6c477","unresolved":false,"context_lines":[{"line_number":32,"context_line":"    client:"},{"line_number":33,"context_line":"      - \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":34,"context_line":"    service:"},{"line_number":35,"context_line":"      - \u0027{{ cinder_service_names }}\u0027"},{"line_number":36,"context_line":"  - component: nova_compute"},{"line_number":37,"context_line":"    package:"},{"line_number":38,"context_line":"      - libvirt-bin"}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_be3e6e27","line":35,"range":{"start_line":35,"start_character":33,"end_line":35,"end_character":36},"updated":"2015-07-31 09:49:15.000000000","message":"Should this not be:\nservice: \u0027{{ cinder_service_names }}\u0027\nIf left as is, we end up with an array inside an array.","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"16f46d690acb9491a898663601c5c04dc0f6c477","unresolved":false,"context_lines":[{"line_number":42,"context_line":"    client:"},{"line_number":43,"context_line":"      - \u0027{{ nova_ceph_client }}\u0027"},{"line_number":44,"context_line":"    service:"},{"line_number":45,"context_line":"      - \u0027{{ nova_service_names }}\u0027"},{"line_number":46,"context_line":""}],"source_content_type":"text/x-yaml","patch_set":33,"id":"3a50d1a3_3e11feaf","line":45,"updated":"2015-07-31 09:49:15.000000000","message":"Should this not be:\nservice: \u0027{{ nova_service_names }}\u0027\nIf left as is, we end up with an array inside an array.","commit_id":"b2b37deeda6dd205d76de37619c0a4c114bf56a3"}],"playbooks/roles/os_glance/defaults/main.yml":[{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"afb7166ce88c8a94dfa4e43e31d1f5889ccc5779","unresolved":false,"context_lines":[{"line_number":38,"context_line":"glance_rpc_backend: glance.openstack.common.rpc.impl_kombu"},{"line_number":39,"context_line":"glance_default_store: file"},{"line_number":40,"context_line":"glance_flavor: \"{% if glance_default_store \u003d\u003d \u0027rbd\u0027 %}keystone{% else %}keystone+cachemanagement{% endif %}\""},{"line_number":41,"context_line":"glance_show_image_direct_url: \"{{ glance_default_store \u003d\u003d \u0027rbd }}\""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"## API options"}],"source_content_type":"text/x-yaml","patch_set":32,"id":"3a50d1a3_5d4df7c2","line":41,"range":{"start_line":41,"start_character":55,"end_line":41,"end_character":57},"updated":"2015-07-31 08:20:15.000000000","message":"The check job failed because of a missing closing \u0027\n\nIt should be:\n\"{{ glance_default_store \u003d\u003d \u0027rbd\u0027 }}\"","commit_id":"29793522e8c6ffbf11f30239605832dc722f43bf"}],"playbooks/roles/os_glance/templates/glance-api.conf.j2":[{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"9c2fab201c1bfe82f3ace0abb219bc25efe144e1","unresolved":false,"context_lines":[{"line_number":49,"context_line":"image_cache_dir \u003d {{ glance_system_user_home }}/cache/"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"{% if glance_default_store \u003d\u003d \"rbd\" %}"},{"line_number":52,"context_line":"default_store \u003d {{ glance_default_store }}"},{"line_number":53,"context_line":"show_image_direct_url \u003d True"},{"line_number":54,"context_line":"{% endif %}"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_252f5f89","line":52,"range":{"start_line":52,"start_character":16,"end_line":52,"end_character":18},"updated":"2015-07-29 11:04:15.000000000","message":"By the looks of it default_store should be set under the [glance_store] section of the configuration. It is already set there so I think this line can be removed.","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0837ad6d973117224467b1c1777d42feabec4b72","unresolved":false,"context_lines":[{"line_number":49,"context_line":"image_cache_dir \u003d {{ glance_system_user_home }}/cache/"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"{% if glance_default_store \u003d\u003d \"rbd\" %}"},{"line_number":52,"context_line":"default_store \u003d {{ glance_default_store }}"},{"line_number":53,"context_line":"show_image_direct_url \u003d True"},{"line_number":54,"context_line":"{% endif %}"},{"line_number":55,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_426fb9c3","line":52,"range":{"start_line":52,"start_character":16,"end_line":52,"end_character":18},"in_reply_to":"3a50d1a3_252f5f89","updated":"2015-07-29 13:01:33.000000000","message":"Done","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"9c2fab201c1bfe82f3ace0abb219bc25efe144e1","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"{% if glance_default_store \u003d\u003d \"rbd\" %}"},{"line_number":52,"context_line":"default_store \u003d {{ glance_default_store }}"},{"line_number":53,"context_line":"show_image_direct_url \u003d True"},{"line_number":54,"context_line":"{% endif %}"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"[task]"}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_85b19303","line":53,"updated":"2015-07-29 11:04:15.000000000","message":"I think this should just be configurable, so in the defaults file put:\n\nglance_show_image_direct_url \u003d {{ glance_default_store \u003d\u003d \u0027rbd\u0027 }}","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0837ad6d973117224467b1c1777d42feabec4b72","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"{% if glance_default_store \u003d\u003d \"rbd\" %}"},{"line_number":52,"context_line":"default_store \u003d {{ glance_default_store }}"},{"line_number":53,"context_line":"show_image_direct_url \u003d True"},{"line_number":54,"context_line":"{% endif %}"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"[task]"}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_c2b7491f","line":53,"in_reply_to":"3a50d1a3_85b19303","updated":"2015-07-29 13:01:33.000000000","message":"Done","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"afb7166ce88c8a94dfa4e43e31d1f5889ccc5779","unresolved":false,"context_lines":[{"line_number":48,"context_line":"scrubber_datadir \u003d {{ glance_system_user_home }}/scrubber/"},{"line_number":49,"context_line":"image_cache_dir \u003d {{ glance_system_user_home }}/cache/"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"{% if glance_default_store \u003d\u003d \"rbd\" %}"},{"line_number":52,"context_line":"show_image_direct_url \u003d {{ glance_show_image_direct_url }}"},{"line_number":53,"context_line":"{% endif %}"},{"line_number":54,"context_line":""}],"source_content_type":"text/x-jinja2","patch_set":32,"id":"3a50d1a3_7d71d30b","line":51,"range":{"start_line":51,"start_character":29,"end_line":51,"end_character":30},"updated":"2015-07-31 08:20:15.000000000","message":"This if-block should be removed. The var is false if glance_default_store !\u003d \u0027rbd\u0027 and true if it is.","commit_id":"29793522e8c6ffbf11f30239605832dc722f43bf"}],"playbooks/roles/os_nova/defaults/main.yml":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[{"line_number":214,"context_line":"# Enble and define nova_libvirt_images_rbd_pool to use rbd as nova backend"},{"line_number":215,"context_line":"#nova_libvirt_images_rbd_pool: vms"},{"line_number":216,"context_line":"nova_ceph_client: \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":217,"context_line":"nova_ceph_client_uuid: 517a4663-3927-44bc-9ea7-4a90e1cd4c66"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"## General Neutron configuration"},{"line_number":220,"context_line":"# If ``nova_osapi_compute_workers`` is unset the system will use half the number of available VCPUS to"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"fa32b979_60c18ae3","line":217,"updated":"2015-06-25 09:57:51.000000000","message":"Shouldn\u0027t this be set in user_secrets instead of here?","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"2f3b9435136e7f40d6bb0e09cad35e70da06eea6","unresolved":false,"context_lines":[{"line_number":214,"context_line":"# Enble and define nova_libvirt_images_rbd_pool to use rbd as nova backend"},{"line_number":215,"context_line":"#nova_libvirt_images_rbd_pool: vms"},{"line_number":216,"context_line":"nova_ceph_client: \u0027{{ cinder_ceph_client }}\u0027"},{"line_number":217,"context_line":"nova_ceph_client_uuid: 517a4663-3927-44bc-9ea7-4a90e1cd4c66"},{"line_number":218,"context_line":""},{"line_number":219,"context_line":"## General Neutron configuration"},{"line_number":220,"context_line":"# If ``nova_osapi_compute_workers`` is unset the system will use half the number of available VCPUS to"}],"source_content_type":"text/x-yaml","patch_set":25,"id":"ba3cc151_9e0e8a8a","line":217,"in_reply_to":"fa32b979_60c18ae3","updated":"2015-07-02 16:15:31.000000000","message":"The use needs to set that in the secrets file, yes; this is only a default, not to be used in production of course.\nLeaving it here also allows this role to just work based on defaults - which might have a usecase outside osad (think travis perhaps).","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"}],"playbooks/roles/os_nova/templates/nova.conf.j2":[{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"82dcde2398ffd3f8e3bcea0deea76d073f7453fb","unresolved":false,"context_lines":[{"line_number":204,"context_line":"virt_type \u003d {{ nova_virt_type }}"},{"line_number":205,"context_line":"remove_unused_resized_minimum_age_seconds \u003d {{ nova_remove_unused_resized_minimum_age_seconds }}"},{"line_number":206,"context_line":""},{"line_number":207,"context_line":"{% if cinder_backend_rbd_inuse|bool %}"},{"line_number":208,"context_line":"# ceph rbd support"},{"line_number":209,"context_line":"images_type \u003d rbd"},{"line_number":210,"context_line":"images_rbd_pool \u003d {{ nova_libvirt_images_rbd_pool }}"}],"source_content_type":"text/x-jinja2","patch_set":12,"id":"7a016987_30292838","line":207,"updated":"2015-05-19 09:07:27.000000000","message":"I think it is assumed here that if you have configured cinder to use rbd then nova in turn should create VMs directly into rbd. These are two separate use cases and one should be able to use rbd-backed cinder while still being able to boot instances onto local storage.","commit_id":"82bed0b1a638d0dabfc8273867f7fa1d5bc90198"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"b17b9b64bc31f17afa9cc38ef772c727289a6074","unresolved":false,"context_lines":[{"line_number":207,"context_line":"{% if cinder_backend_rbd_inuse|bool %}"},{"line_number":208,"context_line":"# ceph rbd support"},{"line_number":209,"context_line":"images_type \u003d rbd"},{"line_number":210,"context_line":"images_rbd_pool \u003d {{ nova_libvirt_images_rbd_pool }}"},{"line_number":211,"context_line":"images_rbd_ceph_conf \u003d /etc/ceph/ceph.conf"},{"line_number":212,"context_line":"rbd_user \u003d {{ cinder_ceph_client }}"},{"line_number":213,"context_line":"rbd_secret_uuid \u003d {{ cinder_ceph_client_uuid }}"}],"source_content_type":"text/x-jinja2","patch_set":12,"id":"7a016987_8bbc2ddd","line":210,"updated":"2015-05-19 09:53:44.000000000","message":"Should there be a default for nova_libvirt_images_rbd_pool in os_nova/defaults/main.yml?  If I don\u0027t explicitly add that to my user_variables.yml file I get a run failure.","commit_id":"82bed0b1a638d0dabfc8273867f7fa1d5bc90198"},{"author":{"_account_id":7307,"name":"Matt Thompson","email":"mattt@defunct.ca","username":"mattt416"},"change_message_id":"9251f657f7bcf8601841192b54129a0148899a92","unresolved":false,"context_lines":[{"line_number":210,"context_line":"images_rbd_pool \u003d {{ nova_libvirt_images_rbd_pool }}"},{"line_number":211,"context_line":"images_rbd_ceph_conf \u003d /etc/ceph/ceph.conf"},{"line_number":212,"context_line":"rbd_user \u003d {{ nova_cinder_ceph_client }}"},{"line_number":213,"context_line":"rbd_secret_uuid \u003d {{ nova_cinder_ceph_client_uuid }}"},{"line_number":214,"context_line":"inject_password \u003d false"},{"line_number":215,"context_line":"inject_key \u003d false"},{"line_number":216,"context_line":"inject_partition \u003d -2"}],"source_content_type":"text/x-jinja2","patch_set":13,"id":"7a016987_152a50db","line":213,"updated":"2015-05-22 09:01:08.000000000","message":"Should this be nova_ceph_client / nova_ceph_client_uuid as per defaults/mian.yml?  Also, aren\u0027t rbd_user and rbd_secret_uuid still required if you want to nova to attach cinder volumes backed by rbd?","commit_id":"259896ef1cf50d038f2d3af346bfc9c880aa40cf"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"07b6af6c1b893b0ab373dfd5cf56b6d0521ea474","unresolved":false,"context_lines":[{"line_number":210,"context_line":"images_rbd_pool \u003d {{ nova_libvirt_images_rbd_pool }}"},{"line_number":211,"context_line":"images_rbd_ceph_conf \u003d /etc/ceph/ceph.conf"},{"line_number":212,"context_line":"rbd_user \u003d {{ nova_cinder_ceph_client }}"},{"line_number":213,"context_line":"rbd_secret_uuid \u003d {{ nova_cinder_ceph_client_uuid }}"},{"line_number":214,"context_line":"inject_password \u003d false"},{"line_number":215,"context_line":"inject_key \u003d false"},{"line_number":216,"context_line":"inject_partition \u003d -2"}],"source_content_type":"text/x-jinja2","patch_set":13,"id":"7a016987_5511e85b","line":213,"in_reply_to":"7a016987_152a50db","updated":"2015-05-22 09:26:11.000000000","message":"1/ yes, forgot to drop the cinder reference here\n2/ part of that nova extra config should depend only on nova_libvirt_images_rbd_pool being defined, and another part on both it being set and/or cinder rbd backend in use;                                                                                |\nquestion is, how to split this up","commit_id":"259896ef1cf50d038f2d3af346bfc9c880aa40cf"},{"author":{"_account_id":17390,"name":"He Weiwei","email":"heww0205@gmail.com","username":"heww"},"change_message_id":"f27e144f02bdcc45a000974b3ec493a9eb356a87","unresolved":false,"context_lines":[{"line_number":206,"context_line":"virt_type \u003d {{ nova_virt_type }}"},{"line_number":207,"context_line":"remove_unused_resized_minimum_age_seconds \u003d {{ nova_remove_unused_resized_minimum_age_seconds }}"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"{% if cinder_backend_rbd_inuse|bool or nova_libvirt_images_rbd_pool is defined %}"},{"line_number":210,"context_line":"rbd_user \u003d {{ nova_ceph_client }}"},{"line_number":211,"context_line":"rbd_secret_uuid \u003d {{ nova_ceph_client_uuid }}"},{"line_number":212,"context_line":"{% endif %}"}],"source_content_type":"text/x-jinja2","patch_set":27,"id":"9a41bdd9_ac16b349","line":209,"updated":"2015-07-16 03:18:46.000000000","message":"should be cinder_backends_rbd_inuse","commit_id":"51fb8542af17b4426f18c54165c6dfda9c2395d9"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"9c2fab201c1bfe82f3ace0abb219bc25efe144e1","unresolved":false,"context_lines":[{"line_number":240,"context_line":"virt_type \u003d {{ nova_virt_type }}"},{"line_number":241,"context_line":"remove_unused_resized_minimum_age_seconds \u003d {{ nova_remove_unused_resized_minimum_age_seconds }}"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"{% if cinder_backend_rbd_inuse|bool or nova_libvirt_images_rbd_pool is defined %}"},{"line_number":244,"context_line":"rbd_user \u003d {{ nova_ceph_client }}"},{"line_number":245,"context_line":"rbd_secret_uuid \u003d {{ nova_ceph_client_uuid }}"},{"line_number":246,"context_line":"{% endif %}"}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_ebc7f60f","line":243,"updated":"2015-07-29 11:04:15.000000000","message":"Comment by He Weiwei from the previous patchset:\n\nshould be cinder_backends_rbd_inuse","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"0837ad6d973117224467b1c1777d42feabec4b72","unresolved":false,"context_lines":[{"line_number":240,"context_line":"virt_type \u003d {{ nova_virt_type }}"},{"line_number":241,"context_line":"remove_unused_resized_minimum_age_seconds \u003d {{ nova_remove_unused_resized_minimum_age_seconds }}"},{"line_number":242,"context_line":""},{"line_number":243,"context_line":"{% if cinder_backend_rbd_inuse|bool or nova_libvirt_images_rbd_pool is defined %}"},{"line_number":244,"context_line":"rbd_user \u003d {{ nova_ceph_client }}"},{"line_number":245,"context_line":"rbd_secret_uuid \u003d {{ nova_ceph_client_uuid }}"},{"line_number":246,"context_line":"{% endif %}"}],"source_content_type":"text/x-jinja2","patch_set":28,"id":"3a50d1a3_6260b5a5","line":243,"in_reply_to":"3a50d1a3_ebc7f60f","updated":"2015-07-29 13:01:33.000000000","message":"Done","commit_id":"846706edf86b0dfe77f5c4b1ecec98086198bba9"}],"scripts/pw-token-gen.py":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"39b6ce03a319b3e090a108d6fbdd9e144a2795ab","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":25,"id":"fa32b979_40332614","updated":"2015-06-25 09:57:51.000000000","message":"+1 for thes","commit_id":"bc8019b60c7359daf78b33322b9bb14fc29b8ab1"},{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"42a858847dc4291d203bf01b56cf8db3135106fc","unresolved":false,"context_lines":[{"line_number":179,"context_line":"                user_vars[entry] \u003d generator.generator(pw_type\u003d\u0027key\u0027)"},{"line_number":180,"context_line":"            elif entry.endswith(\u0027uuid\u0027):"},{"line_number":181,"context_line":"                changed \u003d True"},{"line_number":182,"context_line":"                user_vars[entry] \u003d str(uuid.uuid4())"},{"line_number":183,"context_line":"            elif entry.startswith(\u0027swift_hash_path\u0027):"},{"line_number":184,"context_line":"                changed \u003d True"},{"line_number":185,"context_line":"                user_vars[entry] \u003d generator.generator(pw_type\u003d\u0027key\u0027)"}],"source_content_type":"text/x-python","patch_set":29,"id":"3a50d1a3_80e7ba45","line":182,"range":{"start_line":182,"start_character":43,"end_line":182,"end_character":44},"updated":"2015-07-30 14:27:34.000000000","message":"Maybe this should be added to CredentialGenerator? So it can be consumed as:\n\ngenerator.generator(pw_type\u003d\u0027uuid\u0027)","commit_id":"808a920e834d6bdf155350cb7718727d9a116b93"},{"author":{"_account_id":15823,"name":"Serge van Ginderachter","email":"serge@vanginderachter.be","username":"svg"},"change_message_id":"c7f37f4422a94c66c5d5507dc3b8f8799fdc6e3a","unresolved":false,"context_lines":[{"line_number":179,"context_line":"                user_vars[entry] \u003d generator.generator(pw_type\u003d\u0027key\u0027)"},{"line_number":180,"context_line":"            elif entry.endswith(\u0027uuid\u0027):"},{"line_number":181,"context_line":"                changed \u003d True"},{"line_number":182,"context_line":"                user_vars[entry] \u003d str(uuid.uuid4())"},{"line_number":183,"context_line":"            elif entry.startswith(\u0027swift_hash_path\u0027):"},{"line_number":184,"context_line":"                changed \u003d True"},{"line_number":185,"context_line":"                user_vars[entry] \u003d generator.generator(pw_type\u003d\u0027key\u0027)"}],"source_content_type":"text/x-python","patch_set":29,"id":"3a50d1a3_89ecc593","line":182,"range":{"start_line":182,"start_character":43,"end_line":182,"end_character":44},"in_reply_to":"3a50d1a3_80e7ba45","updated":"2015-07-30 14:45:39.000000000","message":"I\u0027m not really sure why this would be better?\n\nThe reason I did not implement it that way, is that uuid generation doesn\u0027t need initial data, so the part where encoded_bytes \u003d self._encode_bytes() is calculated en passed through, is not really needed.\n\nAn uuid is not really a credential, but just some random id.\n\n(Strictly speaking, that uuid doesn\u0027t even belong in a secrets file, but as this script only handles secrets, I think it is simpler to leave it here.)","commit_id":"808a920e834d6bdf155350cb7718727d9a116b93"}]}
