)]}'
{"kolla_kubernetes/service_resources.py":[{"author":{"_account_id":22143,"name":"David Wang","email":"dcwangmit01@gmail.com","username":"dcwangmit01"},"change_message_id":"0dd309e249a54b9529dfc17a981c6e713297cb3f","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                files.append(service_ansible_file)"},{"line_number":77,"context_line":"        files.append(os.path.join(kolla_dir,"},{"line_number":78,"context_line":"                                  \u0027ansible/roles/common/defaults/main.yml\u0027))"},{"line_number":79,"context_line":"        # FIXME probably should move this stuff into"},{"line_number":80,"context_line":"        # ansible/roles/common/defaults/main.yml instead."},{"line_number":81,"context_line":"        files.append(os.path.join(kolla_dir,"},{"line_number":82,"context_line":"                                  \u0027ansible/roles/haproxy/defaults/main.yml\u0027))"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        # Create the config dict"},{"line_number":85,"context_line":"        x \u003d JinjaUtils.merge_configs_to_dict("}],"source_content_type":"text/x-python","patch_set":13,"id":"1ac06dbe_603459fb","line":82,"range":{"start_line":79,"start_character":0,"end_line":82,"end_character":77},"updated":"2016-08-23 22:40:41.000000000","message":"It would be nice to fix this now.  This is the first time we are hard-coding a specific service\u0027s configs into the jinja hash.","commit_id":"10276ffd752808afbfe22cd2b195aa2717d4c9da"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"cee045012aa8cbc0b373fb555a8ccdaa4216dd6d","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                files.append(service_ansible_file)"},{"line_number":77,"context_line":"        files.append(os.path.join(kolla_dir,"},{"line_number":78,"context_line":"                                  \u0027ansible/roles/common/defaults/main.yml\u0027))"},{"line_number":79,"context_line":"        # FIXME probably should move this stuff into"},{"line_number":80,"context_line":"        # ansible/roles/common/defaults/main.yml instead."},{"line_number":81,"context_line":"        files.append(os.path.join(kolla_dir,"},{"line_number":82,"context_line":"                                  \u0027ansible/roles/haproxy/defaults/main.yml\u0027))"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"        # Create the config dict"},{"line_number":85,"context_line":"        x \u003d JinjaUtils.merge_configs_to_dict("}],"source_content_type":"text/x-python","patch_set":13,"id":"1ac06dbe_5b078c81","line":82,"range":{"start_line":79,"start_character":0,"end_line":82,"end_character":77},"in_reply_to":"1ac06dbe_603459fb","updated":"2016-08-23 23:00:13.000000000","message":"Its a kolla change that we\u0027d have to get made. It also probably should be done to mariadb and rabbit if we want to allow multiple instances of those too (I do want to I think)\n\nDo we merge and then go get it fixed, or try to push through kolla first?\n\nThe latter is likely to be time consuming so I\u0027d rather merge to minimize merge conflicts if possible.","commit_id":"10276ffd752808afbfe22cd2b195aa2717d4c9da"}],"services/common/api-haproxy-configmap.yml.j2":[{"author":{"_account_id":22143,"name":"David Wang","email":"dcwangmit01@gmail.com","username":"dcwangmit01"},"change_message_id":"0dd309e249a54b9529dfc17a981c6e713297cb3f","unresolved":false,"context_lines":[{"line_number":28,"context_line":"      timeout check 10s"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    listen api"},{"line_number":31,"context_line":"      bind 0.0.0.0:{{ global[kolla_kubernetes.template.vars.port_name] }}"},{"line_number":32,"context_line":"      server local-api 127.0.0.1:8080 check inter 2000 rise 2 fall 5"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"{% if kolla_kubernetes.template.vars.configmap_name \u003d\u003d \u0027nova-api\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":13,"id":"1ac06dbe_5b502c0b","line":31,"range":{"start_line":31,"start_character":22,"end_line":31,"end_character":70},"updated":"2016-08-23 22:40:41.000000000","message":"Does plain old \"kolla_kubernetes.template.vars.port_name\" work here?  Not sure I understand why \"global\" is needed as well as the service_resources L91-92:\n\n# Add a self referential link so templates can look up things by name.\nr[\u0027global\u0027] \u003d r\n\nCan you explain?","commit_id":"10276ffd752808afbfe22cd2b195aa2717d4c9da"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"cee045012aa8cbc0b373fb555a8ccdaa4216dd6d","unresolved":false,"context_lines":[{"line_number":28,"context_line":"      timeout check 10s"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"    listen api"},{"line_number":31,"context_line":"      bind 0.0.0.0:{{ global[kolla_kubernetes.template.vars.port_name] }}"},{"line_number":32,"context_line":"      server local-api 127.0.0.1:8080 check inter 2000 rise 2 fall 5"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"{% if kolla_kubernetes.template.vars.configmap_name \u003d\u003d \u0027nova-api\u0027 %}"}],"source_content_type":"text/x-jinja2","patch_set":13,"id":"1ac06dbe_dbcd3c67","line":31,"range":{"start_line":31,"start_character":22,"end_line":31,"end_character":70},"in_reply_to":"1ac06dbe_5b502c0b","updated":"2016-08-23 23:00:13.000000000","message":"Its a little twisty. its because I\u0027m templating a variable lookup.\n\nWhat I really need is the value in the jinja2 environment of whatever variable is named in the template var, kolla_kubernetes.template.vars.port_name\n\nso for example, when kolla_kubernetes.template.vars.port_name \u003d\u003d \u0027glance_api_port\u0027\n\n{{ global[kolla_kubernetes.template.vars.port_name] }}\n becomes\n{{ global[\u0027glance_api_port\u0027] }}\nwhich is the same as\n{{ glance_api_port }}\nresolves to 9292.\n\nI can\u0027t just do\n{{ kolla_kubernetes.template.vars.port_name }} because that only resolves to \"glance_api_port\" and not its value.\n\nI tried as hard as I could to find a way to look up a variable by string in the environment in the jinja2 template language, but couldn\u0027t find one. so this trick of making the environment into a named hash in itself which can be used to look things up by string worked around it.\n\nIf you know of another way, I\u0027d be happy to change it.","commit_id":"10276ffd752808afbfe22cd2b195aa2717d4c9da"},{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"4c17c873b6b81e164aebdfd52b942cf6b5426141","unresolved":false,"context_lines":[{"line_number":37,"context_line":"      server local-meta 127.0.0.1:8081 check inter 2000 rise 2 fall 5"},{"line_number":38,"context_line":"{% endif %}"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"  config.json: |"},{"line_number":41,"context_line":"    {"},{"line_number":42,"context_line":"        \"command\": \"/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid\","},{"line_number":43,"context_line":"        \"config_files\": [{"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"1ac06dbe_ee41ce3a","line":40,"range":{"start_line":40,"start_character":2,"end_line":40,"end_character":16},"updated":"2016-08-25 21:02:50.000000000","message":"why don\u0027t we use kolla\u0027s config.json instead","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"482344fc5a0a3c2ecb5f5526c9672aaa7450221b","unresolved":false,"context_lines":[{"line_number":37,"context_line":"      server local-meta 127.0.0.1:8081 check inter 2000 rise 2 fall 5"},{"line_number":38,"context_line":"{% endif %}"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"  config.json: |"},{"line_number":41,"context_line":"    {"},{"line_number":42,"context_line":"        \"command\": \"/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid\","},{"line_number":43,"context_line":"        \"config_files\": [{"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"fa7ab95a_171106ad","line":40,"range":{"start_line":40,"start_character":2,"end_line":40,"end_character":16},"in_reply_to":"1ac06dbe_ee41ce3a","updated":"2016-08-25 22:29:31.000000000","message":"Not sure. some possible issues there:\n * The default kolla config.json on my system includes a haproxy pem. I\u0027m not sure we want to always include that, as at the moment ssl termination is assumed to be done elsewhere. It may be appropriate to do ssl termination here though. Not sure. If we do it manually like here though, we can put in a conditional block and do what the op wants, possibly doing primary ssl termination to the main lb, and a secondary termination to the pod, increasing security. We probably couldn\u0027t do that if we just reused config.json.\n * How would you identify the location of the config.json to include?\n * How would you include it?\n\nI\u0027m open to doing so though if we can find answers to these questions.","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"a9b2a492c2c0fef36a5d06b416af9ccff85b4eb5","unresolved":false,"context_lines":[{"line_number":37,"context_line":"      server local-meta 127.0.0.1:8081 check inter 2000 rise 2 fall 5"},{"line_number":38,"context_line":"{% endif %}"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"  config.json: |"},{"line_number":41,"context_line":"    {"},{"line_number":42,"context_line":"        \"command\": \"/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid\","},{"line_number":43,"context_line":"        \"config_files\": [{"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"fa7ab95a_c9170253","line":40,"range":{"start_line":40,"start_character":2,"end_line":40,"end_character":16},"in_reply_to":"fa7ab95a_171106ad","updated":"2016-08-25 22:47:48.000000000","message":"If you configure it then haproxy.pem won\u0027t be included.  config.json gets included when you mount in /etc/haproxy.","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"7384b25b2ca9ff8e9abd96a814fd389ef3b7b4d2","unresolved":false,"context_lines":[{"line_number":37,"context_line":"      server local-meta 127.0.0.1:8081 check inter 2000 rise 2 fall 5"},{"line_number":38,"context_line":"{% endif %}"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"  config.json: |"},{"line_number":41,"context_line":"    {"},{"line_number":42,"context_line":"        \"command\": \"/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid\","},{"line_number":43,"context_line":"        \"config_files\": [{"}],"source_content_type":"text/x-jinja2","patch_set":19,"id":"fa7ab95a_2c25dcaa","line":40,"range":{"start_line":40,"start_character":8,"end_line":40,"end_character":9},"updated":"2016-08-25 22:48:12.000000000","message":"comment for this on patch set 17","commit_id":"0cf8c011b9a841def8402b4aa0c4fedfd1905932"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"02a5befb8c690943b29c41abb133eab719266856","unresolved":false,"context_lines":[{"line_number":45,"context_line":"            \"dest\": \"/etc/haproxy/haproxy.cfg\","},{"line_number":46,"context_line":"            \"owner\": \"root\","},{"line_number":47,"context_line":"            \"perm\": \"0644\""},{"line_number":48,"context_line":"        }]"},{"line_number":49,"context_line":"    }"}],"source_content_type":"text/x-jinja2","patch_set":19,"id":"fa7ab95a_0ce738e5","line":48,"updated":"2016-08-25 23:09:17.000000000","message":"I think the best thing to do here is have a second chunk:\n{% if enable_two_tiered_ssl %}\n.... backend_haproxy.pem from k8s secret\n{% endif %}\n\nand then the primary haproxy can have the primary haproxy.pem come from kolla\u0027s config.\n\nThis allows the primary ssl key to be separate from the backend one, increasing security of the primary ssl key, while still allowing encrypted backend traffic to avoid sniffing. I avoided adding it to this patch set for simplicity though. I can add that as a another ps at some later time.\n\nPart of the confusion around this here I think is that this arrangement doesn\u0027t use haproxy as a load balancer, and is using it more for proper safe termination and in the future, optional backend ssl termination.\n\nIts reusing the kolla haproxy container as it already does everything needed for the task, but is a different use case then the kolla haproxy service, which is also needed in kolla-kubernetes elsewhere and should reuse all of kolla\u0027s configs for that service.\n\nThat needs to be added as another ps as well.","commit_id":"0cf8c011b9a841def8402b4aa0c4fedfd1905932"}],"services/glance/glance-api-pod.yml.j2":[{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"4c17c873b6b81e164aebdfd52b942cf6b5426141","unresolved":false,"context_lines":[{"line_number":6,"context_line":"spec:"},{"line_number":7,"context_line":"  replicas: {{ glance_api_replicas }}"},{"line_number":8,"context_line":"  strategy:"},{"line_number":9,"context_line":"{% if glance_backend_ceph \u003d\u003d \"yes\" %}"},{"line_number":10,"context_line":"    rollingUpdate:"},{"line_number":11,"context_line":"      maxSurge: 1"},{"line_number":12,"context_line":"      maxUnavailable: 1"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"1ac06dbe_ce59725d","line":9,"range":{"start_line":9,"start_character":6,"end_line":9,"end_character":24},"updated":"2016-08-25 21:02:50.000000000","message":"if we\u0027re using ceph it has remove one container at a time","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"482344fc5a0a3c2ecb5f5526c9672aaa7450221b","unresolved":false,"context_lines":[{"line_number":6,"context_line":"spec:"},{"line_number":7,"context_line":"  replicas: {{ glance_api_replicas }}"},{"line_number":8,"context_line":"  strategy:"},{"line_number":9,"context_line":"{% if glance_backend_ceph \u003d\u003d \"yes\" %}"},{"line_number":10,"context_line":"    rollingUpdate:"},{"line_number":11,"context_line":"      maxSurge: 1"},{"line_number":12,"context_line":"      maxUnavailable: 1"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"fa7ab95a_37028a3f","line":9,"range":{"start_line":9,"start_character":6,"end_line":9,"end_character":24},"in_reply_to":"1ac06dbe_ce59725d","updated":"2016-08-25 22:29:31.000000000","message":"if backed by native ceph, this will work with glance_api_replica\u0027s \u003d 3+ as they all can talk to ceph. k8s can then burst past the requested limit to do a rolling upgrade.\n\nwithout ceph, you will only have one pv, so you can only ever have 1 container running. so you can\u0027t ever run 2, then remove 1. so you have to take a downtime to upgrade.","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"4c17c873b6b81e164aebdfd52b942cf6b5426141","unresolved":false,"context_lines":[{"line_number":72,"context_line":"          lifecycle:"},{"line_number":73,"context_line":"            preStop:"},{"line_number":74,"context_line":"              exec:"},{"line_number":75,"context_line":"#FIXME move script into haproxy container"},{"line_number":76,"context_line":"#NOTE this only works if you arn\u0027t doing a haproxy reconfigure too."},{"line_number":77,"context_line":"#But shouldn\u0027t ever have to do that in a setup like this."},{"line_number":78,"context_line":"                command:"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"1ac06dbe_6eddde13","line":75,"range":{"start_line":75,"start_character":24,"end_line":75,"end_character":41},"updated":"2016-08-25 21:02:50.000000000","message":"interesting idea.  We could have a api-termination container.","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"482344fc5a0a3c2ecb5f5526c9672aaa7450221b","unresolved":false,"context_lines":[{"line_number":72,"context_line":"          lifecycle:"},{"line_number":73,"context_line":"            preStop:"},{"line_number":74,"context_line":"              exec:"},{"line_number":75,"context_line":"#FIXME move script into haproxy container"},{"line_number":76,"context_line":"#NOTE this only works if you arn\u0027t doing a haproxy reconfigure too."},{"line_number":77,"context_line":"#But shouldn\u0027t ever have to do that in a setup like this."},{"line_number":78,"context_line":"                command:"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"fa7ab95a_d7679e23","line":75,"range":{"start_line":75,"start_character":24,"end_line":75,"end_character":41},"in_reply_to":"1ac06dbe_6eddde13","updated":"2016-08-25 22:29:31.000000000","message":"k8s can only run tasks in the same container so having another container wouldn\u0027t work.\n\nBut what I mean is, the container abi should provide the actual logic for shutting down the container safely rather then putting that logic outside of the container in the yaml file.\n\nThis allows the shutdown procedure to change with the container so they don\u0027t get out of sync.","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"4c17c873b6b81e164aebdfd52b942cf6b5426141","unresolved":false,"context_lines":[{"line_number":96,"context_line":"          ports:"},{"line_number":97,"context_line":"            - containerPort: {{ glance_api_port }}"},{"line_number":98,"context_line":"              name: glance-api"},{"line_number":99,"context_line":"        - name: main"},{"line_number":100,"context_line":"          image: \"{{ glance_api_image_full }}\""},{"line_number":101,"context_line":"          lifecycle:"},{"line_number":102,"context_line":"            preStop:"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"1ac06dbe_4e858257","line":99,"updated":"2016-08-25 21:02:50.000000000","message":"let address name in another patch. There\u0027s already a lot in here :)","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"482344fc5a0a3c2ecb5f5526c9672aaa7450221b","unresolved":false,"context_lines":[{"line_number":96,"context_line":"          ports:"},{"line_number":97,"context_line":"            - containerPort: {{ glance_api_port }}"},{"line_number":98,"context_line":"              name: glance-api"},{"line_number":99,"context_line":"        - name: main"},{"line_number":100,"context_line":"          image: \"{{ glance_api_image_full }}\""},{"line_number":101,"context_line":"          lifecycle:"},{"line_number":102,"context_line":"            preStop:"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"fa7ab95a_57746ece","line":99,"in_reply_to":"1ac06dbe_4e858257","updated":"2016-08-25 22:29:31.000000000","message":"k. its just harder to get logs for when debugging. but,\ndone","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"}],"services/glance/glance-bootstrap-job.yml.j2":[{"author":{"_account_id":22143,"name":"David Wang","email":"dcwangmit01@gmail.com","username":"dcwangmit01"},"change_message_id":"fc1f4a9c8cded818a4ec836b9a6ad0b0f25563f8","unresolved":false,"context_lines":[{"line_number":84,"context_line":"            - mountPath: {{ container_config_directory }}"},{"line_number":85,"context_line":"              name: glance-api-config"},{"line_number":86,"context_line":"              readOnly: true"},{"line_number":87,"context_line":"{% if glance_backend_ceph !\u003d \"yes\" %}"},{"line_number":88,"context_line":"            - mountPath: /var/lib/glance/"},{"line_number":89,"context_line":"              name: glance-persistent-storage"},{"line_number":90,"context_line":"{% endif %}"},{"line_number":91,"context_line":"            - mountPath: /var/log/kolla"},{"line_number":92,"context_line":"              name: kolla-logs"}],"source_content_type":"text/x-jinja2","patch_set":12,"id":"1ac06dbe_89bc30bc","line":89,"range":{"start_line":87,"start_character":0,"end_line":89,"end_character":45},"updated":"2016-08-23 17:52:59.000000000","message":"Kevin,\n\nShouldn\u0027t this use a PVC jusst like lines 219-223?\n\n-dave","commit_id":"59302f0d02a8437ad89981932bcf9331bc732cb7"},{"author":{"_account_id":22143,"name":"David Wang","email":"dcwangmit01@gmail.com","username":"dcwangmit01"},"change_message_id":"fc1f4a9c8cded818a4ec836b9a6ad0b0f25563f8","unresolved":false,"context_lines":[{"line_number":218,"context_line":"            name: glance-api-configmap"},{"line_number":219,"context_line":"{% if glance_backend_ceph !\u003d \"yes\" %}"},{"line_number":220,"context_line":"        - name: glance-persistent-storage"},{"line_number":221,"context_line":"          persistentVolumeClaim:"},{"line_number":222,"context_line":"            claimName: {{ resourceName }}"},{"line_number":223,"context_line":"{% endif %}"},{"line_number":224,"context_line":"        - name: dev"}],"source_content_type":"text/x-jinja2","patch_set":12,"id":"1ac06dbe_a92e4cf8","line":221,"range":{"start_line":221,"start_character":10,"end_line":221,"end_character":31},"updated":"2016-08-23 17:52:59.000000000","message":"I don\u0027t see a glance PVC, or PV template file in the current master branch.  Do you need to add these files?\n\nSee mariadb as an example.","commit_id":"59302f0d02a8437ad89981932bcf9331bc732cb7"},{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"4c17c873b6b81e164aebdfd52b942cf6b5426141","unresolved":false,"context_lines":[{"line_number":87,"context_line":"{% if glance_backend_ceph !\u003d \"yes\" %}"},{"line_number":88,"context_line":"            - mountPath: /var/lib/glance/"},{"line_number":89,"context_line":"              name: glance-persistent-storage"},{"line_number":90,"context_line":"{% endif %}"},{"line_number":91,"context_line":"            - mountPath: /var/log/kolla"},{"line_number":92,"context_line":"              name: kolla-logs"},{"line_number":93,"context_line":"        - image: \"{{ kolla_toolbox_image_full }}\""}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"1ac06dbe_8ea2da49","line":90,"updated":"2016-08-25 21:02:50.000000000","message":"glance_backend_ceph is a kolla arg.  If this service is going to float in multinode when ceph is enabled, /var/lib/glance needs to be held in ceph.  For kubernetes, glance_backend_ceph has a different meaning.","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"482344fc5a0a3c2ecb5f5526c9672aaa7450221b","unresolved":false,"context_lines":[{"line_number":87,"context_line":"{% if glance_backend_ceph !\u003d \"yes\" %}"},{"line_number":88,"context_line":"            - mountPath: /var/lib/glance/"},{"line_number":89,"context_line":"              name: glance-persistent-storage"},{"line_number":90,"context_line":"{% endif %}"},{"line_number":91,"context_line":"            - mountPath: /var/log/kolla"},{"line_number":92,"context_line":"              name: kolla-logs"},{"line_number":93,"context_line":"        - image: \"{{ kolla_toolbox_image_full }}\""}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"fa7ab95a_a948fe5c","line":90,"in_reply_to":"1ac06dbe_8ea2da49","updated":"2016-08-25 22:29:31.000000000","message":"I\u0027m using the kolla definition of glance_backend_ceph, which means, \"don\u0027t store glance images in /var/lib/glance, but instead write them directly to ceph volumes.\"\nThis is the native ceph mode, and is scalable as each glance doesn\u0027t have a unique file system.\n\nYou can then have as many glance instances as you want, and they can run anywhere.\n\nIf you set glance_backend_ceph in kolla, generate your config, then deploy this deployment, it will deploy a scalable ceph backed glance.\n\nThis is separate from creating a pv backed by a rbd volume that is then used only as a mountpoint and used with the fs backend to expose out as a fs. that option is not scalable.","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"}],"services/glance/glance-registry-pod.yml.j2":[{"author":{"_account_id":10419,"name":"Ryan Hallisey","email":"rhallise@redhat.com","username":"rhallisey"},"change_message_id":"4c17c873b6b81e164aebdfd52b942cf6b5426141","unresolved":false,"context_lines":[{"line_number":89,"context_line":"          ports:"},{"line_number":90,"context_line":"            - containerPort: {{ glance_registry_port }}"},{"line_number":91,"context_line":"              name: glance-registry"},{"line_number":92,"context_line":"        - name: main"},{"line_number":93,"context_line":"          image: \"{{ glance_registry_image_full }}\""},{"line_number":94,"context_line":"          lifecycle:"},{"line_number":95,"context_line":"            preStop:"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"1ac06dbe_6ebcbe6c","line":92,"updated":"2016-08-25 21:02:50.000000000","message":"name","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"},{"author":{"_account_id":9237,"name":"Kevin Fox","email":"kevin@efox.cc","username":"kfox1111"},"change_message_id":"482344fc5a0a3c2ecb5f5526c9672aaa7450221b","unresolved":false,"context_lines":[{"line_number":89,"context_line":"          ports:"},{"line_number":90,"context_line":"            - containerPort: {{ glance_registry_port }}"},{"line_number":91,"context_line":"              name: glance-registry"},{"line_number":92,"context_line":"        - name: main"},{"line_number":93,"context_line":"          image: \"{{ glance_registry_image_full }}\""},{"line_number":94,"context_line":"          lifecycle:"},{"line_number":95,"context_line":"            preStop:"}],"source_content_type":"text/x-jinja2","patch_set":17,"id":"fa7ab95a_49af72e3","line":92,"in_reply_to":"1ac06dbe_6ebcbe6c","updated":"2016-08-25 22:29:31.000000000","message":"Done","commit_id":"0d5fa7f541b9d33298105498ead3501bd69aff7a"}]}
