)]}'
{"deploy-guide/source/features/distributed_compute_node.rst":[{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"940f4ec5a8ccc6f9de6ae3ea740f545db3d443e9","unresolved":false,"context_lines":[{"line_number":343,"context_line":""},{"line_number":344,"context_line":".. code-block:: bash"},{"line_number":345,"context_line":""},{"line_number":346,"context_line":"  openstack object save overcloud plan-environment.yaml"},{"line_number":347,"context_line":"  python -c \"import yaml; data\u003dyaml.safe_load(open(\u0027plan-environment.yaml\u0027).read()); print yaml.dump(dict(parameter_defaults\u003ddata[\u0027passwords\u0027]))\" \u003e passwords.yaml"},{"line_number":348,"context_line":""},{"line_number":349,"context_line":"Use the passwords.yaml enviornment file generated by the previous command, or"},{"line_number":350,"context_line":"reuse the environment file used to set the values for the control plane stack."}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_b7ae807e","line":347,"range":{"start_line":346,"start_character":0,"end_line":347,"end_character":162},"updated":"2019-10-31 20:12:08.000000000","message":"If we want to turn this into an include list instead of adding a Ceph exclude, then I found two options which work for launching an instance:\n\n1. Python\nimport yaml\nkeys \u003d [\u0027KeystoneCredential0\u0027, \u0027KeystoneCredential1\u0027, \u0027KeystoneFernetKey0\u0027, \u0027KeystoneFernetKey1\u0027, \u0027KeystoneFernetKeys\u0027, \u0027RabbitCookie\u0027, \u0027RabbitPassword\u0027, \u0027NovaPassword\u0027, \u0027NovajoinPassword\u0027, \u0027MysqlClustercheckPassword\u0027, \u0027MysqlRootPassword\u0027, \u0027NeutronMetadataProxySharedSecret\u0027, \u0027NeutronPassword\u0027, \u0027CinderPassword\u0027, \u0027RedisPassword\u0027]\ndata\u003dyaml.safe_load(open(\u0027plan-environment.yaml\u0027).read())\npasswords \u003d { key: data[\u0027passwords\u0027][key] for key in keys }\nprint(yaml.dump(dict(parameter_defaults\u003dpasswords)))\n\n2. Shell\npython3 -c \"import yaml; data\u003dyaml.safe_load(open(\u0027plan-environment.yaml\u0027).read()); print(yaml.dump(dict(parameter_defaults\u003ddata[\u0027passwords\u0027])))\" \u003e all_passwords.yaml\ncat all_passwords.yaml | egrep -i \"parameter|rabbit|mysql|keystone|nova|neutron\" \u003e passwords.yaml\nrm all_passwords.yaml\n\nIf we want an include list, I think #2 is shorter than expanding our python one-liner to have the long keys list from #1. Both will need variations so that Cinder/Glance work, but I think both of these make the doc more complicated.\n\nMaybe we should just exclude Ceph to fix the duplicate password issue quickly and plan for https://bugs.launchpad.net/tripleo/+bug/1850636 to provide the easier fix while adding a warning about only not including all passwords for power users who choose to build an include/exclude list themselves.\n\nI\u0027ll try that in a follow up PS.","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"},{"author":{"_account_id":21129,"name":"Alan Bishop","email":"abishopsweng@gmail.com","username":"ASBishop","status":"ex Red Hat"},"change_message_id":"935f2852bf3a045b5e21c89b94d74f465eeea990","unresolved":false,"context_lines":[{"line_number":349,"context_line":"Use the passwords.yaml enviornment file generated by the previous command, or"},{"line_number":350,"context_line":"reuse the environment file used to set the values for the control plane stack."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Remove all parameters containing the string \"Ceph\" from passwords.yaml"},{"line_number":353,"context_line":"so that DCN deployments which include Ceph do not reuse the same Ceph"},{"line_number":354,"context_line":"FSID and passwords. By excluding the Ceph parameters, new ones will be"},{"line_number":355,"context_line":"generated for each Ceph deployment and the Ceph FSIDs and passwords"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_aa995d6d","line":352,"updated":"2019-10-29 20:02:04.000000000","message":"Removing Ceph passwords makes sense when a new cluster is deployed at the Edge. However, this doc doesn\u0027t say much about persistent storage (or glance image handling) at the edge. I\u0027m not sure what to recommend, but unilaterally removing Ceph passwords may be overreaching.","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"940f4ec5a8ccc6f9de6ae3ea740f545db3d443e9","unresolved":false,"context_lines":[{"line_number":349,"context_line":"Use the passwords.yaml enviornment file generated by the previous command, or"},{"line_number":350,"context_line":"reuse the environment file used to set the values for the control plane stack."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Remove all parameters containing the string \"Ceph\" from passwords.yaml"},{"line_number":353,"context_line":"so that DCN deployments which include Ceph do not reuse the same Ceph"},{"line_number":354,"context_line":"FSID and passwords. By excluding the Ceph parameters, new ones will be"},{"line_number":355,"context_line":"generated for each Ceph deployment and the Ceph FSIDs and passwords"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_bc6f5990","line":352,"in_reply_to":"3fa7e38b_4d032343","updated":"2019-10-31 20:12:08.000000000","message":"It seems to be more than the rabbitmq password. \n\nWith just rabbit it times out waiting for the nova-compute service to register during deployment on step 4:\n\n          \"keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-4f99accb-fa9e-46a9-9232-e8a577ab6f3d)\",\n          \"ERROR:nova_wait_for_compute_service:Error while waiting for nova-compute service to register\",\n\nMore details in:\n\n(undercloud) [stack@undercloud edge0]$ cat ansible-errors.json | jq . | tail -300 | curl -F \u0027f:1\u003d\u003c-\u0027 ix.io \nhttp://ix.io/20lt\n(undercloud) [stack@undercloud edge0]$\n\nI think we had a disucssion a while back about nova computes needing to connect to MySQL too. \n\nI tried a few combinations and I was unable to launch an instance unless I did the following after the python one-liner produced extracted_passwords.yaml\n\ncat extracted_passwords.yaml | egrep -i \"parameter|rabbit|mysql|keystone|nova|neutron\" \u003e passwords.yaml\n\nI needed the neutron passwords or I hit this: http://ix.io/20qF\n\nI did more experimentation and I\u0027m having an issue getting Cinder and the early Glance cache options working without additional passwords.","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"85bcb39f2dbf44b8aa2aa5d6b3e10be0430e39a6","unresolved":false,"context_lines":[{"line_number":349,"context_line":"Use the passwords.yaml enviornment file generated by the previous command, or"},{"line_number":350,"context_line":"reuse the environment file used to set the values for the control plane stack."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Remove all parameters containing the string \"Ceph\" from passwords.yaml"},{"line_number":353,"context_line":"so that DCN deployments which include Ceph do not reuse the same Ceph"},{"line_number":354,"context_line":"FSID and passwords. By excluding the Ceph parameters, new ones will be"},{"line_number":355,"context_line":"generated for each Ceph deployment and the Ceph FSIDs and passwords"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_6d5cdf4a","line":352,"in_reply_to":"3fa7e38b_4d032343","updated":"2019-10-29 21:10:39.000000000","message":"Perhaps wrap this in a command so we can filter it correctly for the user. I\u0027ve never liked the raw python above anyway","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"940f4ec5a8ccc6f9de6ae3ea740f545db3d443e9","unresolved":false,"context_lines":[{"line_number":349,"context_line":"Use the passwords.yaml enviornment file generated by the previous command, or"},{"line_number":350,"context_line":"reuse the environment file used to set the values for the control plane stack."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Remove all parameters containing the string \"Ceph\" from passwords.yaml"},{"line_number":353,"context_line":"so that DCN deployments which include Ceph do not reuse the same Ceph"},{"line_number":354,"context_line":"FSID and passwords. By excluding the Ceph parameters, new ones will be"},{"line_number":355,"context_line":"generated for each Ceph deployment and the Ceph FSIDs and passwords"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_6a683af3","line":352,"in_reply_to":"3fa7e38b_6d5cdf4a","updated":"2019-10-31 20:12:08.000000000","message":"I agree about adding a command to take care of this for the user. That\u0027s tracked in:\n\n https://bugs.launchpad.net/tripleo/+bug/1850636\n\nFor now though I think we should at least get the Ceph example in this document working so all the Ceph clusters are not deployed with the same password.","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"940f4ec5a8ccc6f9de6ae3ea740f545db3d443e9","unresolved":false,"context_lines":[{"line_number":349,"context_line":"Use the passwords.yaml enviornment file generated by the previous command, or"},{"line_number":350,"context_line":"reuse the environment file used to set the values for the control plane stack."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Remove all parameters containing the string \"Ceph\" from passwords.yaml"},{"line_number":353,"context_line":"so that DCN deployments which include Ceph do not reuse the same Ceph"},{"line_number":354,"context_line":"FSID and passwords. By excluding the Ceph parameters, new ones will be"},{"line_number":355,"context_line":"generated for each Ceph deployment and the Ceph FSIDs and passwords"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_6a57da5b","line":352,"in_reply_to":"3fa7e38b_aa995d6d","updated":"2019-10-31 20:12:08.000000000","message":"\u003e Removing Ceph passwords makes sense when a new cluster is deployed\n \u003e at the Edge. However, this doc doesn\u0027t say much about persistent\n \u003e storage (or glance image handling) at the edge. I\u0027m not sure what\n \u003e to recommend, but unilaterally removing Ceph passwords may be\n \u003e overreaching.\n\nBecause this document covers Ceph (line 537) I think it\u0027s worse to have repeated FSIDs and passwords than unilaterally remove Ceph passwords. I don\u0027t think we should keep them just in case we need them later. I think waiting for it to cover the other storage stuff would take too long (too much work for this small patch to prevent people from getting repeat passwrods). We are working on that but I don\u0027t think we should wait for it to delay this patch. I think we should exclude Ceph from the extraction so the Ceph example works and then in a subsequent patch add more storage items.","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"d66741dc33724d23f4b6d654047370b5b64f8128","unresolved":false,"context_lines":[{"line_number":349,"context_line":"Use the passwords.yaml enviornment file generated by the previous command, or"},{"line_number":350,"context_line":"reuse the environment file used to set the values for the control plane stack."},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"Remove all parameters containing the string \"Ceph\" from passwords.yaml"},{"line_number":353,"context_line":"so that DCN deployments which include Ceph do not reuse the same Ceph"},{"line_number":354,"context_line":"FSID and passwords. By excluding the Ceph parameters, new ones will be"},{"line_number":355,"context_line":"generated for each Ceph deployment and the Ceph FSIDs and passwords"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_4d032343","line":352,"in_reply_to":"3fa7e38b_aa995d6d","updated":"2019-10-29 21:01:52.000000000","message":"maybe we should be more specific about what passwords actually do need to be reused.\n\nI guess it may just be the rabbitmq password.","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"},{"author":{"_account_id":18002,"name":"John Fulton","email":"fulton@redhat.com","username":"fultonj"},"change_message_id":"940f4ec5a8ccc6f9de6ae3ea740f545db3d443e9","unresolved":false,"context_lines":[{"line_number":534,"context_line":"      parameter_defaults:"},{"line_number":535,"context_line":"         CinderStorageAvailabilityZone: edge0"},{"line_number":536,"context_line":""},{"line_number":537,"context_line":"Deploying Ceph with HCI"},{"line_number":538,"context_line":"########################"},{"line_number":539,"context_line":"When deploying Ceph while using the ``DistributedComputeHCI`` roles, the"},{"line_number":540,"context_line":"environment file to enable ceph should be used::"}],"source_content_type":"text/x-rst","patch_set":1,"id":"3fa7e38b_8a357647","line":537,"updated":"2019-10-31 20:12:08.000000000","message":"Ceph is covered here and shouldn\u0027t be removed because it works aside from making each ceph cluster have the same FSID and passwords which this patch is fixing.","commit_id":"3386ca56b89115795e2e7fc59a6640da6597f059"}]}
