)]}'
{"doc/source/advanced_deployment/deploy_octavia.rst":[{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":47,"context_line":"   controller\u0027 nodes or something else entirely. It will depend on how the"},{"line_number":48,"context_line":"   roles have been defined in the overcloud."},{"line_number":49,"context_line":""},{"line_number":50,"context_line":"   CONTROLLERS\u003d`nova list --fields name,networks | grep overcloud.controller | awk -e \u0027{ split($6, net, \"\u003d\"); print net[2] }\u0027`"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"The following steps are run in the overcloud."},{"line_number":53,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_ee4d053f","line":50,"range":{"start_line":50,"start_character":51,"end_line":50,"end_character":76},"updated":"2017-03-21 14:52:03.000000000","message":"Alex and myself tested this command and there is seems to be a problem with this grep.\n\nthe output of nova list --fields name,networks:\n\n\n+--------------------------------------+--------------+------------------------+\n| ID                                   | Name         | Networks               |\n+--------------------------------------+--------------+------------------------+\n| 2ed5b88f-8a07-40b9-97e1-613248a7de84 | compute-0    | ctlplane\u003d192.168.24.6  |\n| 043b5a79-9025-4786-a16a-7a98b9b36484 | compute-1    | ctlplane\u003d192.168.24.16 |\n| 3da333e7-7565-4ab4-920e-973b138ed762 | controller-0 | ctlplane\u003d192.168.24.12 |\n+--------------------------------------+--------------+------------------------+\n\n\nMeaning, to grep the controller name, you should not use  \u0027overcloud.controller\u0027 but just \u0027controller\u0027","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":61,"context_line":""},{"line_number":62,"context_line":"   ssh-keygen -b 2048 -t rsa -N \"\"  -f octavia_ssh_key"},{"line_number":63,"context_line":"   nova keypair-add --pub-key octavia_ssh_key"},{"line_number":64,"context_line":"   scp octavia_ssh_key heat-admin@(controller-ip)"},{"line_number":65,"context_line":"   scp octavia_ssh_key.pub heat-admin@(controller-ip)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"#. Create the nova flavor for the load balancer instances::"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_8e0bb18d","line":64,"range":{"start_line":64,"start_character":23,"end_line":64,"end_character":49},"updated":"2017-03-21 14:52:03.000000000","message":"please specify the dst dir (for example: in upstream it is /etc/octavia/.ssh by default, but this folder is was not created up until this point so maybe we should use a different one?)","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"#. Create the nova flavor for the load balancer instances::"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"   nova flavor-create --is-public False m1.amphora 65 1024 2 1"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"#. Alternatively you can use the following template::"},{"line_number":72,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_8e6ad1ec","line":69,"range":{"start_line":69,"start_character":59,"end_line":69,"end_character":60},"updated":"2017-03-21 14:52:03.000000000","message":"please specify that the disk size for fedora/centos/rhel should be 3gb minimum. 2gb should be sufficient for Ubuntu based amphora.","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":68,"context_line":""},{"line_number":69,"context_line":"   nova flavor-create --is-public False m1.amphora 65 1024 2 1"},{"line_number":70,"context_line":""},{"line_number":71,"context_line":"#. Alternatively you can use the following template::"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"    heat_template_version: ocata"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_f9122d56","line":71,"range":{"start_line":71,"start_character":3,"end_line":71,"end_character":52},"updated":"2017-03-21 14:52:03.000000000","message":"Perhaps this should be included in a separate template file that can be referenced from here?","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":181,"context_line":"     cat outputs.json | jq -r  \u0027.[\"outputs\"] | .[] | select(.output_key \u003d\u003d \"private_key\")| .[\"output_value\"]\u0027 \u003e octavia_ssh_key"},{"line_number":182,"context_line":"     cat outputs.json | jq -r  \u0027.[\"outputs\"] | .[] | select(.output_key \u003d\u003d \"public_key\")| .[\"output_value\"]\u0027 \u003e octavia_ssh_key.pub"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"#. Create ports for the controllers for the load balancer network, keeping"},{"line_number":185,"context_line":"   track of port ID, MAC address and IP to create OVS ports on the integration"},{"line_number":186,"context_line":"   bridge of each controller. For example::"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"   for node in $CONTROLLERS;"},{"line_number":189,"context_line":"   do"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_391685f1","line":186,"range":{"start_line":184,"start_character":0,"end_line":186,"end_character":43},"updated":"2017-03-21 14:52:03.000000000","message":"maybe it would be a good idea to remind the reader that this should run while using the overclouds creds (while sourced from within the undercloud so you can iterate on all controllers)","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":185,"context_line":"   track of port ID, MAC address and IP to create OVS ports on the integration"},{"line_number":186,"context_line":"   bridge of each controller. For example::"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"   for node in $CONTROLLERS;"},{"line_number":189,"context_line":"   do"},{"line_number":190,"context_line":"       ssh heat-admin@$node \"sudo mkdir -p /etc/octavia/.ssh/\""},{"line_number":191,"context_line":"       cat octavia_ssh_key | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key\"\u0027"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_19762906","line":188,"updated":"2017-03-21 14:52:03.000000000","message":"line#50 should be included here.\nIf one will create a script out of this, the shebang will clear this env variable so the loop won\u0027t run for any controller.","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":191,"context_line":"       cat octavia_ssh_key | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key\"\u0027"},{"line_number":192,"context_line":"       cat octavia_ssh_key.pub | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key.pub\"\u0027"},{"line_number":193,"context_line":"       ssh heat-admin@$node \"sudo chown -R octavia:octavia /etc/octavia/.ssh/\""},{"line_number":194,"context_line":"       port_id_and_mac\u003d$(neutron port-create --name octavia-health-manager-listen-port --binding:host_id\u003d$(node) lb-mgmt-net | awk \u0027/ id | mac_address / {print $4}\u0027)"},{"line_number":195,"context_line":"       id_and_mac\u003d($port_id_and_mac)"},{"line_number":196,"context_line":"       MGMT_PORT_ID\u003d${id_and_mac[0]}"},{"line_number":197,"context_line":"       MGMT_PORT_MAC\u003d${id_and_mac[1]}"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_74a2c4fe","line":194,"range":{"start_line":194,"start_character":106,"end_line":194,"end_character":112},"updated":"2017-03-21 14:52:03.000000000","message":"this does not work with brackets, please remove them :)","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":193,"context_line":"       ssh heat-admin@$node \"sudo chown -R octavia:octavia /etc/octavia/.ssh/\""},{"line_number":194,"context_line":"       port_id_and_mac\u003d$(neutron port-create --name octavia-health-manager-listen-port --binding:host_id\u003d$(node) lb-mgmt-net | awk \u0027/ id | mac_address / {print $4}\u0027)"},{"line_number":195,"context_line":"       id_and_mac\u003d($port_id_and_mac)"},{"line_number":196,"context_line":"       MGMT_PORT_ID\u003d${id_and_mac[0]}"},{"line_number":197,"context_line":"       MGMT_PORT_MAC\u003d${id_and_mac[1]}"},{"line_number":198,"context_line":"       MGMT_PORT_IP\u003d$(neutron port-show $MGMT_PORT_ID | awk \u0027/ \"ip_address\": / {print $7; exit}\u0027 | sed -e \u0027s/\"//g\u0027 -e \u0027s/,//g\u0027 -e \u0027s/}//g\u0027)"},{"line_number":199,"context_line":"       MGMT_PORT_DEV\u003do-hm1"},{"line_number":200,"context_line":"       ssh heat-admin@$node sudo ovs-vsctl --  --may-exist add-port br-int $MGMT_PORT_DEV -- set Interface $MGMT_PORT_DEV type\u003dinternal -- set Interface $MGMT_PORT_DEV external-ids:iface-status\u003dactive -- set Interface $MGMT_PORT_DEV external-ids:attached-mac\u003d$MGMT_PORT_MAC -- set Interface $MGMT_PORT_DEV external-ids:iface-id\u003d$MGMT_PORT_ID -- set Interface $MGMT_PORT_DEV mac\u003d\\\"$MGMT_PORT_MAC\\\""}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_946bc0f0","line":197,"range":{"start_line":196,"start_character":0,"end_line":197,"end_character":37},"updated":"2017-03-21 14:52:03.000000000","message":"this didn\u0027t work when i tested.\nthose variables didn\u0027t get any value.\ni managed to make it work with:\nMGMT_PORT_ID\u003d`echo $port_id_and_mac | awk \u0027{ print $1 }\u0027`\nMGMT_PORT_MAC\u003d`echo $port_id_and_mac | awk \u0027{ print $2 }\u0027`","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"58a74f47bfb15587f9835c6ea3db4c225ed5b932","unresolved":false,"context_lines":[{"line_number":197,"context_line":"       MGMT_PORT_MAC\u003d${id_and_mac[1]}"},{"line_number":198,"context_line":"       MGMT_PORT_IP\u003d$(neutron port-show $MGMT_PORT_ID | awk \u0027/ \"ip_address\": / {print $7; exit}\u0027 | sed -e \u0027s/\"//g\u0027 -e \u0027s/,//g\u0027 -e \u0027s/}//g\u0027)"},{"line_number":199,"context_line":"       MGMT_PORT_DEV\u003do-hm1"},{"line_number":200,"context_line":"       ssh heat-admin@$node sudo ovs-vsctl --  --may-exist add-port br-int $MGMT_PORT_DEV -- set Interface $MGMT_PORT_DEV type\u003dinternal -- set Interface $MGMT_PORT_DEV external-ids:iface-status\u003dactive -- set Interface $MGMT_PORT_DEV external-ids:attached-mac\u003d$MGMT_PORT_MAC -- set Interface $MGMT_PORT_DEV external-ids:iface-id\u003d$MGMT_PORT_ID -- set Interface $MGMT_PORT_DEV mac\u003d\\\"$MGMT_PORT_MAC\\\""},{"line_number":201,"context_line":"       cat \u003c\u003c ENDOFCFG | ssh heat-admin@$node \"sudo cat \u003e /etc/sysconfig/network-scripts/ifcfg-$MGMT_PORT_DEV\""},{"line_number":202,"context_line":"TYPE\u003dgeneric"},{"line_number":203,"context_line":"BOOTPROTO\u003dstatic"}],"source_content_type":"text/x-rst","patch_set":2,"id":"1a1ced50_7f653db3","line":200,"range":{"start_line":200,"start_character":0,"end_line":200,"end_character":396},"updated":"2017-03-21 14:52:03.000000000","message":"this returns and error as follows:\novs-vsctl: fa:16:3e:98:c9:f8: unexpected \":\" parsing set of up to 1 strings","commit_id":"3876940428b8e4aa47ccbd73fc12896b80d79f5c"},{"author":{"_account_id":8873,"name":"Assaf Muller","email":"amuller@redhat.com","username":"amuller"},"change_message_id":"5a43a13c4649ae8d9fc3bf6c8411fcbf42cbef1e","unresolved":false,"context_lines":[{"line_number":50,"context_line":".. admonition:: CentOS"},{"line_number":51,"context_line":"   :class: centos"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"    octavia-diskimage-create.sh -i centos"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":".. admonition:: RHEL"},{"line_number":56,"context_line":"   :class: rhel"}],"source_content_type":"text/x-rst","patch_set":11,"id":"5ff73747_449349fb","line":53,"updated":"2017-04-26 18:30:00.000000000","message":"Please see https://bugzilla.redhat.com/show_bug.cgi?id\u003d1444215.\n\nI\u0027d advise setting a minimal recommended disk space, for example 3 GB.","commit_id":"d0874ea885ef87ae50bc71ae8a66849b59649080"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"d7e72024511c82aa4a928e925144379dc4d63cd4","unresolved":false,"context_lines":[{"line_number":101,"context_line":"    glance image-create --name octavia-amphora --disk-format qcow2 --container-format bare \\"},{"line_number":102,"context_line":"        --tags amphora --file \"\u003cimage file name\u003e\""},{"line_number":103,"context_line":""},{"line_number":104,"context_line":"3. Create TLS certificates to allow secure communication with amphorae. See"},{"line_number":105,"context_line":"   the `Octavia Quick Start Guide"},{"line_number":106,"context_line":"   \u003chttps://docs.openstack.org/developer/octavia/guides/dev-quick-start.html#create-octavia-keys-and-certificates\u003e`_"},{"line_number":107,"context_line":"   for details. Ensure that the files ``client.pem``, ``ca_01.pem`` and"},{"line_number":108,"context_line":"   ``cakey.pem`` are in the current directory before proceeding to the next"},{"line_number":109,"context_line":"   step."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"4. While you can perform all of the required post-deployment steps using"},{"line_number":112,"context_line":"   individual commands, you can simply create and run a shell script like this"}],"source_content_type":"text/x-rst","patch_set":11,"id":"7ffa3b31_065ac928","line":109,"range":{"start_line":104,"start_character":0,"end_line":109,"end_character":8},"updated":"2017-04-20 08:12:03.000000000","message":"I used the guide in the link : \n\nHi, only the ca_01.pem isnot created. \nlogs attached \n[stack@undercloud-0 ~]$ ./.cache/image-create/source-repositories/amphora_agent_4fc13bf1648c049f25ccae0082dd95e0b8b47e0b/bin/create_certificates.sh\n\nmkdir: missing operand\nTry \u0027mkdir --help\u0027 for more information.\nCreate the CA\u0027s private and public keypair (2k long)\nGenerating RSA private key, 2048 bit long modulus\n.+++\n...................................................................+++\ne is 65537 (0x10001)\nYou will be asked to enter some information about the certificate.\nunknown option /C\u003dUS/ST\u003dDenial/L\u003dSpringfield/O\u003dDis/CN\u003dwww.example.com\nreq [options] \u003cinfile \u003eoutfile\nwhere options  are\n -inform arg    input format - DER or PEM\n -outform arg   output format - DER or PEM\n -in arg        input file\n -out arg       output file\n -text          text form of request\n -pubkey        output public key\n -noout         do not output REQ\n -verify        verify signature on REQ\n -modulus       RSA modulus\n -nodes         don\u0027t encrypt the output key\n -engine e      use engine e, possibly a hardware device\n -subject       output the request\u0027s subject\n -passin        private key password source\n -key file      use the private key contained in file\n -keyform arg   key file format\n -keyout arg    file to send the key to\n -rand file:file:...\n                load the file (or the files in the directory) into\n                the random number generator\n -newkey rsa:bits generate a new RSA key of \u0027bits\u0027 in size\n -newkey dsa:file generate a new DSA key, parameters taken from CA in \u0027file\u0027\n -newkey ec:file generate a new EC key, parameters taken from CA in \u0027file\u0027\n -[digest]      Digest to sign with (see openssl dgst -h for list)\n -config file   request template file.\n -subj arg      set or modify request subject\n -multivalue-rdn enable support for multivalued RDNs\n -new           new request.\n -batch         do not ask anything during request generation\n -x509          output a x509 structure instead of a cert. req.\n -days          number of days a certificate generated by -x509 is valid for.\n -set_serial    serial number to use for a certificate generated by -x509.\n -newhdr        output \"NEW\" in the header lines\n -asn1-kludge   Output the \u0027request\u0027 in a format that is wrong but some CA\u0027s\n                have been reported as requiring\n -extensions .. specify certificate extension section (override value in config file)\n -reqexts ..    specify request extension section (override value in config file)\n -utf8          input characters are UTF8 (default ASCII)\n -nameopt arg    - various certificate name options\n -reqopt arg    - various request text options\n\nHere is the certificate\nError opening Certificate ca_01.pem\n140173067540384:error:02001002:system library:fopen:No such file or directory:bss_file.c:398:fopen(\u0027ca_01.pem\u0027,\u0027r\u0027)\n140173067540384:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400:\nunable to load certificate\nGenerate a server key and a CSR\nGenerating a 2048 bit RSA private key\n....................+++\n..............................................................................................+++\nwriting new private key to \u0027client.key\u0027\n-----\nSign request\nunknown option client.csr\nusage: ca args\n\n -verbose        - Talk alot while doing things\n -config file    - A config file\n -name arg       - The particular CA definition to use\n -gencrl         - Generate a new CRL\n -crldays days   - Days is when the next CRL is due\n -crlhours hours - Hours is when the next CRL is due\n -startdate YYMMDDHHMMSSZ  - certificate validity notBefore\n -enddate YYMMDDHHMMSSZ    - certificate validity notAfter (overrides -days)\n -days arg       - number of days to certify the certificate for\n -md arg         - md to use, see openssl dgst -h for list\n -policy arg     - The CA \u0027policy\u0027 to support\n -keyfile arg    - private key file\n -keyform arg    - private key file format (PEM or ENGINE)\n -key arg        - key to decode the private key if it is encrypted\n -cert file      - The CA certificate\n -selfsign       - sign a certificate with the key associated with it\n -in file        - The input PEM encoded certificate request(s)\n -out file       - Where to put the output file(s)\n -outdir dir     - Where to put output certificates\n -infiles ....   - The last argument, requests to process\n -spkac file     - File contains DN and signed public key and challenge\n -ss_cert file   - File contains a self signed cert to sign\n -preserveDN     - Don\u0027t re-order the DN\n -noemailDN      - Don\u0027t add the EMAIL field into certificate\u0027 subject\n -batch          - Don\u0027t ask questions\n -msie_hack      - msie modifications to handle all those universal strings\n -revoke file    - Revoke a certificate (given in file)\n -subj arg       - Use arg instead of request\u0027s subject\n -utf8           - input characters are UTF8 (default ASCII)\n -multivalue-rdn - enable support for multivalued RDNs\n -extensions ..  - Extension section (override value in config file)\n -extfile file   - Configuration file with X509v3 extentions to add\n -crlexts ..     - CRL extension section (override value in config file)\n -engine e       - use engine e, possibly a hardware device.\n -status serial  - Shows certificate status given the serial number\n -updatedb       - Updates db for expired certificates\nGenerate single pem client.pem\ncat: client-.pem: No such file or directory\nNote: For production use the ca issuing the client certificate and the ca issuing the server\ncertificate need to be different so a hacker can\u0027t just use the server certificate from a\ncompromised amphora to control all the others.\n\\nTo use the certificates copy them to the directory specified in the octavia.conf\n[stack@undercloud-0 ~]$ \n[stack@undercloud-0 ~]$ \n[stack@undercloud-0 ~]$ \n[stack@undercloud-0 ~]$ \n[stack@undercloud-0 ~]$ \n[stack@undercloud-0 ~]$ ll\ntotal 1272888","commit_id":"d0874ea885ef87ae50bc71ae8a66849b59649080"},{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"88448bf847b0809d88f4b2241cf2d0b4e08d06f5","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    Then run the command with the ``-i rhel`` command line option::"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        octavia-diskimage-create.sh -i rhel"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"2. Upload the Amphora image::"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"5ff73747_fa3497e0","line":95,"updated":"2017-04-24 08:57:56.000000000","message":"With current version, the \"yum update\" process requires some free space (more than the default 2G size can provide). Adding \"-s 3\" works here.\nThe end image is almost the same size as a CentOS one, after that","commit_id":"9a15c95973806e1148e2e8435936a1fc3c876891"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"abdb1425a36551ccd722ef233fa6621706a1d45a","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    Then run the command with the ``-i rhel`` command line option::"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        octavia-diskimage-create.sh -i rhel"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"2. Upload the Amphora image::"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":13,"id":"3f044301_e7fa7073","line":95,"in_reply_to":"5ff73747_fa3497e0","updated":"2017-05-08 15:04:05.000000000","message":"Right, will fix.","commit_id":"9a15c95973806e1148e2e8435936a1fc3c876891"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"dbd2b271f73594d06e86359f280a7fb92572d68c","unresolved":false,"context_lines":[{"line_number":108,"context_line":"   ``cakey.pem`` are in the current directory before proceeding to the next"},{"line_number":109,"context_line":"   step."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"4. While you can perform all of the required post-deployment steps using"},{"line_number":112,"context_line":"   individual commands, you can simply create and run a shell script like this"},{"line_number":113,"context_line":"   one:"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":".. literalinclude:: ./octavia-post-deploy.sh"},{"line_number":116,"context_line":"    :linenos:"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3f044301_470924db","line":113,"range":{"start_line":111,"start_character":3,"end_line":113,"end_character":7},"updated":"2017-05-08 14:51:23.000000000","message":"is this script provided by any of the projects or is it up to the user to create it?","commit_id":"9a15c95973806e1148e2e8435936a1fc3c876891"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"abdb1425a36551ccd722ef233fa6621706a1d45a","unresolved":false,"context_lines":[{"line_number":108,"context_line":"   ``cakey.pem`` are in the current directory before proceeding to the next"},{"line_number":109,"context_line":"   step."},{"line_number":110,"context_line":""},{"line_number":111,"context_line":"4. While you can perform all of the required post-deployment steps using"},{"line_number":112,"context_line":"   individual commands, you can simply create and run a shell script like this"},{"line_number":113,"context_line":"   one:"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":".. literalinclude:: ./octavia-post-deploy.sh"},{"line_number":116,"context_line":"    :linenos:"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3f044301_470a448a","line":113,"range":{"start_line":111,"start_character":3,"end_line":113,"end_character":7},"in_reply_to":"3f044301_470924db","updated":"2017-05-08 15:04:05.000000000","message":"It is up to the user to create it.","commit_id":"9a15c95973806e1148e2e8435936a1fc3c876891"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"dbd2b271f73594d06e86359f280a7fb92572d68c","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Testing your setup"},{"line_number":122,"context_line":"-------------------"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"#. Create a load balancer using the neutron CLI on a tenant network::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3f044301_e7227052","line":121,"range":{"start_line":121,"start_character":0,"end_line":121,"end_character":18},"updated":"2017-05-08 14:51:23.000000000","message":"are there any automated tests that can/should be run? like in Tempest or Octavia?","commit_id":"9a15c95973806e1148e2e8435936a1fc3c876891"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"abdb1425a36551ccd722ef233fa6621706a1d45a","unresolved":false,"context_lines":[{"line_number":118,"context_line":""},{"line_number":119,"context_line":""},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"Testing your setup"},{"line_number":122,"context_line":"-------------------"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"#. Create a load balancer using the neutron CLI on a tenant network::"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3f044301_07043c7a","line":121,"range":{"start_line":121,"start_character":0,"end_line":121,"end_character":18},"in_reply_to":"3f044301_e7227052","updated":"2017-05-08 15:04:05.000000000","message":"I would guess \"yes\", but it setting that up, etc. is outside of the scope of this document.","commit_id":"9a15c95973806e1148e2e8435936a1fc3c876891"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"e80771ae7f4d23251ca24e64a24d16ea61e57a42","unresolved":false,"context_lines":[{"line_number":311,"context_line":"      sudo systemctl restart octavia-*"},{"line_number":312,"context_line":"      sudo systemctl restart neutron-*"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"All of these steps are implemented in the following script, so you may prefer to"},{"line_number":315,"context_line":"copy this into a script file on the undercloud node and run it instead."},{"line_number":316,"context_line":""},{"line_number":317,"context_line":".. literalinclude:: ./octavia-post-deploy.sh"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3f044301_e7349bfd","line":314,"range":{"start_line":314,"start_character":0,"end_line":314,"end_character":58},"updated":"2017-05-09 16:41:22.000000000","message":"perhaps I\u0027m missing something, but I don\u0027t see the image creation steps implemented in the script.","commit_id":"70b354bb53919b66f4eb46f6c1746e5c33059c25"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"326e5bd5aa6e49d4d14e493006f2fb09155738a1","unresolved":false,"context_lines":[{"line_number":311,"context_line":"      sudo systemctl restart octavia-*"},{"line_number":312,"context_line":"      sudo systemctl restart neutron-*"},{"line_number":313,"context_line":""},{"line_number":314,"context_line":"All of these steps are implemented in the following script, so you may prefer to"},{"line_number":315,"context_line":"copy this into a script file on the undercloud node and run it instead."},{"line_number":316,"context_line":""},{"line_number":317,"context_line":".. literalinclude:: ./octavia-post-deploy.sh"}],"source_content_type":"text/x-rst","patch_set":14,"id":"3f044301_4a0356b9","line":314,"range":{"start_line":314,"start_character":0,"end_line":314,"end_character":58},"in_reply_to":"3f044301_e7349bfd","updated":"2017-05-09 17:14:03.000000000","message":"No you aren\u0027t missing anything. I need to reword.","commit_id":"70b354bb53919b66f4eb46f6c1746e5c33059c25"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"06086f6132e08b5bf71f06adf7ecb3522f5dbcbc","unresolved":false,"context_lines":[{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    Then run the command with the ``-i rhel`` command line option::"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        octavia-diskimage-create.sh -i rhel"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"2. Upload the Amphora image::"},{"line_number":98,"context_line":""}],"source_content_type":"text/x-rst","patch_set":15,"id":"1f013ff3_d817aced","line":95,"range":{"start_line":95,"start_character":8,"end_line":95,"end_character":43},"updated":"2017-05-14 06:46:04.000000000","message":"it will not work for rhel.\n\nI had to run \u0027octavia-diskimage-create.sh -i rhel -s 3\u0027 for it to work. The default image size (2) is not enough.","commit_id":"26ccb79bc3b2ca399795f26c9283b333265c46c6"},{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"8fcb8ae3463f82558644e87e340383797fcefdd5","unresolved":false,"context_lines":[{"line_number":214,"context_line":"      NETWORK\u003d192.168.199.0"},{"line_number":215,"context_line":"      MACADDR\u003d[MAC address from the neutron port]"},{"line_number":216,"context_line":"      BROADCAST\u003d192.168.199.255"},{"line_number":217,"context_line":"      OVS_EXTRA\u003d\"-- set Interface o-hm0 external-ids:iface-status\u003dactive --"},{"line_number":218,"context_line":"      set Interface o-hm0 external-ids:attached-mac\u003d\u003cMAC address for the port\u003e"},{"line_number":219,"context_line":"      -- set Interface o-hm0 external-ids:iface-id\u003d\u003cneutron ID for the port\u003e"},{"line_number":220,"context_line":"      -- set Interface o-hm0 mac\u003d\\\"\u003cMAC address for the port\u003e\\\""},{"line_number":221,"context_line":"      -- set Interface o-hm0 other-config:hwaddr\u003d\u003cMAC address for the port\u003e\""},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"   #. Bring the interface up on the controller."},{"line_number":224,"context_line":""}],"source_content_type":"text/x-rst","patch_set":17,"id":"ff0f0b1f_ed403f38","line":221,"range":{"start_line":217,"start_character":0,"end_line":221,"end_character":76},"updated":"2017-05-18 16:17:00.000000000","message":"Hi Brent!\n\nPer https://review.openstack.org/#/c/460524/\nPlease append: -- set Interface o-hm0 external_ids:skip_cleanup\u003dtrue\"","commit_id":"e8fef12e12e930518bff9ceceee177e520078058"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"37f72b6f2ca22a3695b571392fb01cd2cbe51532","unresolved":false,"context_lines":[{"line_number":312,"context_line":"      sudo systemctl restart octavia-*"},{"line_number":313,"context_line":"      sudo systemctl restart neutron-*"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":"Steps 4 through 10 are implemented in the following script, so you may prefer"},{"line_number":316,"context_line":"to copy this into a script file on the undercloud and run it instead of"},{"line_number":317,"context_line":"performing each step manually."},{"line_number":318,"context_line":""}],"source_content_type":"text/x-rst","patch_set":20,"id":"bf091321_30ab4ed7","line":315,"range":{"start_line":315,"start_character":0,"end_line":315,"end_character":35},"updated":"2017-06-08 07:14:37.000000000","message":"it looks like steps 1 through 10 are now implemented in the script.\n\nCan you also mention that in order to run the script, the user needs to set DIB_LOCAL_IMAGE ?\n\nWithout setting this variable, you\u0027ll get \"DIB_LOCAL_IMAGE variable must be set and point to a RHEL 7 base cloud image. Exiting.\"","commit_id":"ff45bc487e934cc6899e5425264b4d739bd52197"}],"doc/source/advanced_deployment/octavia-post-deploy.sh":[{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"1f7ebe73d3edd009575c670de651eb7df4c32473","unresolved":false,"context_lines":[{"line_number":15,"context_line":"# hosting the \u0027controller\u0027 role."},{"line_number":16,"context_line":"source ~stack/stackrc"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"CONTROLLERS\u003d`nova list --fields name,networks | grep controller     | \\"},{"line_number":19,"context_line":"    awk -e \u0027{ split($6, net, \"\u003d\"); printf \"%s.localdomain\u003d%s\\n\", $4, net[2] }\u0027`"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-sh","patch_set":11,"id":"7ffa3b31_28293d89","line":18,"range":{"start_line":18,"start_character":13,"end_line":18,"end_character":22},"updated":"2017-04-19 05:59:14.000000000","message":"I think we should adjust to the openstack client api \n\n[stack@undercloud-0 ~]$ CONTROLLERS\u003d`nova list --fields name,networks | grep controller     | \\\n\u003e     awk -e \u0027{ split($6, net, \"\u003d\"); printf \"%s.localdomain\u003d%s\\n\", $4, net[2] }\u0027`\n\n/usr/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The \u0027tenant_id\u0027 argument is deprecated in Ocata and its use may result in errors in future releases. As \u0027project_id\u0027 is provided, the \u0027tenant_id\u0027 argument will be ignored.","commit_id":"d0874ea885ef87ae50bc71ae8a66849b59649080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"215651155313ba8f58d9ab71e52a5584df6a0037","unresolved":false,"context_lines":[{"line_number":15,"context_line":"# hosting the \u0027controller\u0027 role."},{"line_number":16,"context_line":"source ~stack/stackrc"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"CONTROLLERS\u003d`nova list --fields name,networks | grep controller     | \\"},{"line_number":19,"context_line":"    awk -e \u0027{ split($6, net, \"\u003d\"); printf \"%s.localdomain\u003d%s\\n\", $4, net[2] }\u0027`"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":""}],"source_content_type":"text/x-sh","patch_set":11,"id":"7ffa3b31_18911a48","line":18,"range":{"start_line":18,"start_character":13,"end_line":18,"end_character":22},"in_reply_to":"7ffa3b31_28293d89","updated":"2017-04-19 18:34:19.000000000","message":"possibly, but the message that is showing up is because the environment includes environment variables that are deprecated.","commit_id":"d0874ea885ef87ae50bc71ae8a66849b59649080"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"1f7ebe73d3edd009575c670de651eb7df4c32473","unresolved":false,"context_lines":[{"line_number":193,"context_line":"    cat octavia_ssh_key | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key\"\u0027"},{"line_number":194,"context_line":"    cat octavia_ssh_key.pub | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key.pub\"\u0027"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"    cat client.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/client.pem\"\u0027"},{"line_number":197,"context_line":"    cat ca_01.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/ca_01.pem\"\u0027"},{"line_number":198,"context_line":"    cat private/cakey.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/private/cakey.pem\"\u0027"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    # Make sure permissions are correct!"},{"line_number":201,"context_line":"    ssh heat-admin@$node \u0027sudo chown -R octavia:octavia /etc/octavia/.ssh/*\u0027"}],"source_content_type":"text/x-sh","patch_set":11,"id":"7ffa3b31_08ed6124","line":198,"range":{"start_line":196,"start_character":0,"end_line":198,"end_character":108},"updated":"2017-04-19 05:59:14.000000000","message":"I ran the scrip and the only gap I saw was that the catted files in this section do not exist in the undercloud machine","commit_id":"d0874ea885ef87ae50bc71ae8a66849b59649080"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"215651155313ba8f58d9ab71e52a5584df6a0037","unresolved":false,"context_lines":[{"line_number":193,"context_line":"    cat octavia_ssh_key | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key\"\u0027"},{"line_number":194,"context_line":"    cat octavia_ssh_key.pub | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key.pub\"\u0027"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"    cat client.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/client.pem\"\u0027"},{"line_number":197,"context_line":"    cat ca_01.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/ca_01.pem\"\u0027"},{"line_number":198,"context_line":"    cat private/cakey.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/private/cakey.pem\"\u0027"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    # Make sure permissions are correct!"},{"line_number":201,"context_line":"    ssh heat-admin@$node \u0027sudo chown -R octavia:octavia /etc/octavia/.ssh/*\u0027"}],"source_content_type":"text/x-sh","patch_set":11,"id":"7ffa3b31_94861fdb","line":198,"range":{"start_line":196,"start_character":0,"end_line":198,"end_character":108},"in_reply_to":"7ffa3b31_08ed6124","updated":"2017-04-19 18:34:19.000000000","message":"The script is part of a series of steps described in the documentation. The creation of the certificates is meant to be done manually prior to running this script.","commit_id":"d0874ea885ef87ae50bc71ae8a66849b59649080"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"5d142fc03ea162eb60ac96da1503bf3fcbdf8d8b","unresolved":false,"context_lines":[{"line_number":190,"context_line":"    ssh -q heat-admin@$node \u0027sudo mkdir -p /etc/octavia/.ssh\u0027"},{"line_number":191,"context_line":"    ssh heat-admin@$node \u0027sudo mkdir -p /etc/octavia/certs/private\u0027"},{"line_number":192,"context_line":""},{"line_number":193,"context_line":"    cat octavia_ssh_key | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key\"\u0027"},{"line_number":194,"context_line":"    cat octavia_ssh_key.pub | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key.pub\"\u0027"},{"line_number":195,"context_line":""},{"line_number":196,"context_line":"    cat client.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/client.pem\"\u0027"},{"line_number":197,"context_line":"    cat ca_01.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/ca_01.pem\"\u0027"},{"line_number":198,"context_line":"    cat private/cakey.pem | ssh heat-admin@$node \u0027sudo bash -c \"cat \u003e /etc/octavia/certs/private/cakey.pem\"\u0027"},{"line_number":199,"context_line":""},{"line_number":200,"context_line":"    # Make sure permissions are correct!"},{"line_number":201,"context_line":"    ssh heat-admin@$node \u0027sudo chown -R octavia:octavia /etc/octavia/.ssh/*\u0027"}],"source_content_type":"text/x-sh","patch_set":17,"id":"1f013ff3_130ee431","line":198,"range":{"start_line":193,"start_character":3,"end_line":198,"end_character":108},"updated":"2017-05-16 12:33:26.000000000","message":"can you please add -o StrictHostKeyChecking\u003dno ? otherwise it\u0027s displaying the following message:\n\nThe authenticity of host \u0027192.168.24.10 (192.168.24.10)\u0027 can\u0027t be established.\nECDSA key fingerprint is ...\nAre you sure you want to continue connecting (yes/no)","commit_id":"e8fef12e12e930518bff9ceceee177e520078058"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"9294d54ce33aeccbc501072c112e57979fdbd026","unresolved":false,"context_lines":[{"line_number":203,"context_line":""},{"line_number":204,"context_line":"    # Create a neutron port on the load balancer management network on each"},{"line_number":205,"context_line":"    # controller node for the health managers."},{"line_number":206,"context_line":"    port_id_and_mac\u003d$(neutron port-create --name octavia-health-manager-$node_hostname-listen-port \\"},{"line_number":207,"context_line":"        --binding:host_id\u003d$node_hostname --security-group lb-mgmt-sec-grp \\"},{"line_number":208,"context_line":"        --device-owner Octavia:health-mgr \\"},{"line_number":209,"context_line":"        lb-mgmt-net | awk \u0027/ id | mac_address / {print $4}\u0027)"}],"source_content_type":"text/x-sh","patch_set":17,"id":"1f013ff3_3341e03a","line":206,"range":{"start_line":206,"start_character":22,"end_line":206,"end_character":30},"updated":"2017-05-16 12:35:58.000000000","message":"consider switching to openstack cli. When using neutron, you\u0027ll see: \"neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.\"","commit_id":"e8fef12e12e930518bff9ceceee177e520078058"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"3fd30c3d9d2b0731a03a347874f47e342c3cfd9c","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    echo \"Unsupported distribution\""},{"line_number":34,"context_line":"    exit 1"},{"line_number":35,"context_line":"else"},{"line_number":36,"context_line":"    distro\u003d`awk -e \u0027{print $1;}\u0027 /etc/redhat-release`"},{"line_number":37,"context_line":"    case \"$distro\" in"},{"line_number":38,"context_line":"        CentOS)"},{"line_number":39,"context_line":"            AMP_DISTRO\u003d\"centos\""}],"source_content_type":"text/x-sh","patch_set":18,"id":"df140735_1a017eb0","line":36,"range":{"start_line":36,"start_character":12,"end_line":36,"end_character":53},"updated":"2017-06-07 11:18:27.000000000","message":"This returns \"Red\"","commit_id":"3ccf359f46a6ab5aecbe6db3f580ac0c72daeef0"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"3fd30c3d9d2b0731a03a347874f47e342c3cfd9c","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        CentOS)"},{"line_number":39,"context_line":"            AMP_DISTRO\u003d\"centos\""},{"line_number":40,"context_line":"            ;;"},{"line_number":41,"context_line":"        RHEL)"},{"line_number":42,"context_line":"            AMP_DISTRO\u003d\"rhel\""},{"line_number":43,"context_line":"            echo \"Selecting RHEL - did you configure the environment to\""},{"line_number":44,"context_line":"            echo \"select the proper base image and Portal/Satellite\""}],"source_content_type":"text/x-sh","patch_set":18,"id":"df140735_9a26ae68","line":41,"range":{"start_line":41,"start_character":8,"end_line":41,"end_character":13},"updated":"2017-06-07 11:18:27.000000000","message":"Fails because Red!\u003dRHEL","commit_id":"3ccf359f46a6ab5aecbe6db3f580ac0c72daeef0"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"e2197820c7ceb8cc2111fbcfe25d670092f475c0","unresolved":false,"context_lines":[{"line_number":215,"context_line":"LB_SECGROUP_ID\u003d`cat outputs.json | \\"},{"line_number":216,"context_line":"    jq -r  \u0027.[\"outputs\"] | .[] | select(.output_key \u003d\u003d \"octavia_sec_group\")| .[\"output_value\"]\u0027`"},{"line_number":217,"context_line":""},{"line_number":218,"context_line":"# Create the certificate files"},{"line_number":219,"context_line":"# WARNING! For testing a development ONLY! Do not use certificates"},{"line_number":220,"context_line":"# generated by this script in production!"},{"line_number":221,"context_line":"mkdir private newcerts"},{"line_number":222,"context_line":"touch index.txt"},{"line_number":223,"context_line":"echo 01 \u003e serial"}],"source_content_type":"text/x-sh","patch_set":18,"id":"df140735_26dc8de2","line":220,"range":{"start_line":218,"start_character":0,"end_line":220,"end_character":41},"updated":"2017-06-04 12:18:31.000000000","message":"This means that the previous way we used to create certs is no longer relevant right ?","commit_id":"3ccf359f46a6ab5aecbe6db3f580ac0c72daeef0"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"e9408e010177f01f916a5659e225243e90573214","unresolved":false,"context_lines":[{"line_number":266,"context_line":"    ssh $SSH_ARGS heat-admin@$node \u0027sudo chown -R octavia:octavia /etc/octavia/.ssh/*\u0027"},{"line_number":267,"context_line":"    ssh $SSH_ARGS heat-admin@$node \u0027sudo chown -R octavia:octavia /etc/octavia/certs/*\u0027"},{"line_number":268,"context_line":""},{"line_number":269,"context_line":"    # Create a neutron port on the load balancer management network on each"},{"line_number":270,"context_line":"    # controller node for the health managers."},{"line_number":271,"context_line":"    port_id_and_mac\u003d$(openstack port create --network lb-mgmt-net"},{"line_number":272,"context_line":"        --binding-profile host_id\u003d$node_hostname --security-group lb-mgmt-sec-grp \\"},{"line_number":273,"context_line":"        --device-owner Octavia:health-mgr \\"},{"line_number":274,"context_line":"        octavia-health-manager-$node_hostname-listen-port \\"},{"line_number":275,"context_line":"        | awk \u0027/ id | mac_address / {print $4}\u0027)"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    # Query and parse required data for creating the OVS port on the"},{"line_number":278,"context_line":"    # integration bridge."}],"source_content_type":"text/x-sh","patch_set":18,"id":"df140735_351d750f","line":275,"range":{"start_line":269,"start_character":4,"end_line":275,"end_character":48},"updated":"2017-06-07 11:37:37.000000000","message":"usage: openstack port create [-h] [-f {json,shell,table,value,yaml}]\n                             [-c COLUMN] [--max-width \u003cinteger\u003e]\n                             [--print-empty] [--noindent] [--prefix PREFIX]\n                             --network \u003cnetwork\u003e [--description \u003cdescription\u003e]\n                             [--device \u003cdevice-id\u003e]\n                             [--device-owner \u003cdevice-owner\u003e]\n                             [--vnic-type \u003cvnic-type\u003e] [--host \u003chost-id\u003e]\n                             [--dns-name dns-name]\n                             [--fixed-ip subnet\u003d\u003csubnet\u003e,ip-address\u003d\u003cip-address\u003e]\n                             [--binding-profile \u003cbinding-profile\u003e]\n                             [--enable | --disable]\n                             [--mac-address \u003cmac-address\u003e]\n                             [--project \u003cproject\u003e]\n                             [--project-domain \u003cproject-domain\u003e]\n                             [--security-group \u003csecurity-group\u003e | --no-security-group]\n                             [--enable-port-security | --disable-port-security]\n                             [--allowed-address ip-address\u003d\u003cip-address\u003e[,mac-address\u003d\u003cmac-address\u003e]]\n                             \u003cname\u003e\nopenstack port create: error: too few arguments\n./octavia_post_deploy.sh: line 277: --binding-profile: command not found\nusage: openstack port show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN]\n                           [--max-width \u003cinteger\u003e] [--print-empty]\n                           [--noindent] [--prefix PREFIX]\n                           \u003cport\u003e\nopenstack port show: error: too few arguments\novs-vsctl: external-ids:attached-mac\u003d: argument does not end in \"\u003d\" followed by a value.\nERROR    : [/etc/sysconfig/network-scripts/ifup-eth] Device o-hm0 does not seem to be present, delaying initialization.","commit_id":"3ccf359f46a6ab5aecbe6db3f580ac0c72daeef0"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"a48fbbba9d7e6ea838c0a978a55bd7c775cec37e","unresolved":false,"context_lines":[{"line_number":38,"context_line":"        CentOS)"},{"line_number":39,"context_line":"            AMP_DISTRO\u003d\"centos\""},{"line_number":40,"context_line":"            ;;"},{"line_number":41,"context_line":"        RHEL)"},{"line_number":42,"context_line":"            AMP_DISTRO\u003d\"Red\""},{"line_number":43,"context_line":"            echo \"Selecting RHEL - did you configure the environment to\""},{"line_number":44,"context_line":"            echo \"select the proper base image and Portal/Satellite\""}],"source_content_type":"text/x-sh","patch_set":19,"id":"df140735_3efe71ae","line":41,"range":{"start_line":41,"start_character":7,"end_line":41,"end_character":12},"updated":"2017-06-07 13:21:46.000000000","message":"This should be \"Red\" bcs \"awk -e \u0027{print $1;}\u0027 /etc/redhat-release`\" returns this value.","commit_id":"4f37284bfc1d84395bf56fc4d50a5b8634fffb41"},{"author":{"_account_id":18746,"name":"Alex Stafeyev","email":"alexo101087@gmail.com","username":"AlexSTafeyev"},"change_message_id":"a48fbbba9d7e6ea838c0a978a55bd7c775cec37e","unresolved":false,"context_lines":[{"line_number":39,"context_line":"            AMP_DISTRO\u003d\"centos\""},{"line_number":40,"context_line":"            ;;"},{"line_number":41,"context_line":"        RHEL)"},{"line_number":42,"context_line":"            AMP_DISTRO\u003d\"Red\""},{"line_number":43,"context_line":"            echo \"Selecting RHEL - did you configure the environment to\""},{"line_number":44,"context_line":"            echo \"select the proper base image and Portal/Satellite\""},{"line_number":45,"context_line":"            echo \"registration?\""}],"source_content_type":"text/x-sh","patch_set":19,"id":"df140735_bee041fc","line":42,"range":{"start_line":42,"start_character":24,"end_line":42,"end_character":27},"updated":"2017-06-07 13:21:46.000000000","message":"This should be \"rhel\"","commit_id":"4f37284bfc1d84395bf56fc4d50a5b8634fffb41"},{"author":{"_account_id":25899,"name":"Or Idgar","email":"oidgar@redhat.com","username":"oidgar"},"change_message_id":"c88effb024de62b13a41a347814f9b01540952da","unresolved":false,"context_lines":[{"line_number":23,"context_line":"# The rest of the operations are performed in the overcloud. It may"},{"line_number":24,"context_line":"# be necessary to modify the name of shell environment file if running"},{"line_number":25,"context_line":"# multiple overclouds."},{"line_number":26,"context_line":"source ~stack/overcloudrc"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Creates amphora image for the same distribution type as the current"},{"line_number":29,"context_line":"# operating system."}],"source_content_type":"text/x-sh","patch_set":20,"id":"bf091321_0a9b7272","line":26,"range":{"start_line":26,"start_character":7,"end_line":26,"end_character":25},"updated":"2017-06-08 11:42:23.000000000","message":"note that overcloudrc file will be created in the same directory you ran \"openstack overcloud deploy\" from.\nMy case for instance will not work like that.","commit_id":"ff45bc487e934cc6899e5425264b4d739bd52197"},{"author":{"_account_id":16615,"name":"abregman","email":"abregman@redhat.com","username":"abregman"},"change_message_id":"e7ece10b9b76156ced3955d9185387ea6f1125a2","unresolved":false,"context_lines":[{"line_number":23,"context_line":"# The rest of the operations are performed in the overcloud. It may"},{"line_number":24,"context_line":"# be necessary to modify the name of shell environment file if running"},{"line_number":25,"context_line":"# multiple overclouds."},{"line_number":26,"context_line":"source ~stack/overcloudrc"},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# Creates amphora image for the same distribution type as the current"},{"line_number":29,"context_line":"# operating system."}],"source_content_type":"text/x-sh","patch_set":20,"id":"bf091321_e5fe2f04","line":26,"range":{"start_line":26,"start_character":7,"end_line":26,"end_character":25},"in_reply_to":"bf091321_0a9b7272","updated":"2017-06-08 11:56:32.000000000","message":"According to official docs: \"The director saves this file, overcloudrc, in your stack user’s home\"","commit_id":"ff45bc487e934cc6899e5425264b4d739bd52197"}],"doc/source/install/advanced_deployment/deploy_octavia.rst":[{"author":{"_account_id":6579,"name":"Nir Magnezi","email":"nmagnezi@redhat.com","username":"nmagnezi"},"change_message_id":"210b54d764876425dad738729ad21a2d34dd33d0","unresolved":false,"context_lines":[{"line_number":249,"context_line":""},{"line_number":250,"context_line":"      [haproxy_amphora]"},{"line_number":251,"context_line":"      user_group \u003d haproxy"},{"line_number":252,"context_line":"      key_path \u003d /etc/octavia/.ssh/octavia_ssh_key"},{"line_number":253,"context_line":"      # Modify the following two lines if the certificate files"},{"line_number":254,"context_line":"      # have different names than the example."},{"line_number":255,"context_line":"      client_cert \u003d /etc/octavia/certs/client.pem"}],"source_content_type":"text/x-rst","patch_set":31,"id":"ff346bd7_f71ed66e","line":252,"range":{"start_line":252,"start_character":6,"end_line":252,"end_character":50},"updated":"2017-07-24 09:16:59.000000000","message":"As a follow-up to https://review.openstack.org/#/c/485593 , please remove it.","commit_id":"92e2a30f28274b416b4f4154abcbcca91a95852c"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":15,"context_line":"file provided::"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"    openstack overcloud deploy --templates \\"},{"line_number":18,"context_line":"    -e /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml"},{"line_number":19,"context_line":""},{"line_number":20,"context_line":".. note::"},{"line_number":21,"context_line":"    Octavia adds functionality to the standard Neutron deployment and should"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_8b82fcfe","line":18,"updated":"2017-08-16 19:10:42.000000000","message":"nit: I\u0027d indent the second line","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":36,"context_line":"   All of the following post-deployment configuration steps can be performed"},{"line_number":37,"context_line":"   using individual commands or you can simply create a script similar to the"},{"line_number":38,"context_line":"   one provided at the end of this section. Unless otherwise indicated,"},{"line_number":39,"context_line":"   OpenStack commands are performed as the overcloud user (e.g. source"},{"line_number":40,"context_line":"   ~/overcloudrc). Where relevant, names are chosen to match the default"},{"line_number":41,"context_line":"   configuration included in the TripleO heat templates."},{"line_number":42,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_6b859806","line":39,"updated":"2017-08-16 19:10:42.000000000","message":"nit: `` around the bash snippet","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":40,"context_line":"   ~/overcloudrc). Where relevant, names are chosen to match the default"},{"line_number":41,"context_line":"   configuration included in the TripleO heat templates."},{"line_number":42,"context_line":""},{"line_number":43,"context_line":".. note::"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    The names of some resources have been pre-configured in Octavia during"},{"line_number":46,"context_line":"    deployment. It is important to use the same values to avoid having to"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_4b8094f5","line":43,"updated":"2017-08-16 19:10:42.000000000","message":"nit: maybe s/note/warning/ if it\u0027s important?","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":46,"context_line":"    deployment. It is important to use the same values to avoid having to"},{"line_number":47,"context_line":"    update the overcloud."},{"line_number":48,"context_line":""},{"line_number":49,"context_line":"1. To create an amphora image:"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"- install the octavia image creation package::"},{"line_number":52,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_2b7b1028","line":49,"updated":"2017-08-16 19:10:42.000000000","message":"this whole list renders a bit ugly. I\u0027d suggest using nested rst lists:\n\n #. To create ...:\n\n    * install the ...\n\n    * run the ...","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":55,"context_line":"- run the ``octavia-diskimage-create.sh`` script, specifying which"},{"line_number":56,"context_line":"  distribution you want the amphora image to based on:"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":".. admonition:: CentOS"},{"line_number":59,"context_line":"   :class: centos"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    octavia-diskimage-create.sh -i centos -s 3"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_0b760c3f","line":58,"updated":"2017-08-16 19:10:42.000000000","message":"this has to be indented to match the list item it belongs to","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":58,"context_line":".. admonition:: CentOS"},{"line_number":59,"context_line":"   :class: centos"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    octavia-diskimage-create.sh -i centos -s 3"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":".. admonition:: RHEL"},{"line_number":64,"context_line":"   :class: rhel"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_eb706842","line":61,"updated":"2017-08-16 19:10:42.000000000","message":"this will render as plain text, which is fine, but a bit ugly. you can use this syntax\n\n ::\n\n     octavia-diskimage-create...","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":64,"context_line":"   :class: rhel"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"    Download the RHEL 7.3 cloud image or copy it over from a different location,"},{"line_number":67,"context_line":"    for example:"},{"line_number":68,"context_line":"    ``https://access.redhat.com/downloads/content/69/ver\u003d/rhel---7/7.3/x86_64/product-downloads``,"},{"line_number":69,"context_line":"    and define the needed environment variables for RHEL 7.3 prior to running"},{"line_number":70,"context_line":"    octavia-diskimage-create.sh::"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_cb912449","line":67,"updated":"2017-08-16 19:10:42.000000000","message":"nit: I think the colon is not needed","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":104,"context_line":""},{"line_number":105,"context_line":"2. Upload the Amphora image::"},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    # Download an Amphora image for hosting the load balancer instances"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    glance image-create --name octavia-amphora --disk-format qcow2 --container-format bare \\"},{"line_number":110,"context_line":"        --tags amphora --file \"\u003cimage file name\u003e\""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_ab94a037","line":107,"updated":"2017-08-16 19:10:42.000000000","message":"is it upload or download in the end? Oo I suggest moving this comment to the text above, and clarifying it.","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":113,"context_line":"   amphorae. For testing purposes, you can create temporary certificates"},{"line_number":114,"context_line":"   for development purposes using a script provided in the Octavia repository."},{"line_number":115,"context_line":"   See the `Octavia Quick Start Guide"},{"line_number":116,"context_line":"   \u003chttps://docs.openstack.org/developer/octavia/guides/dev-quick-start.html#create-octavia-keys-and-certificates\u003e`_"},{"line_number":117,"context_line":"   for details."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":".. note::"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_8b979c3a","line":116,"updated":"2017-08-16 19:10:42.000000000","message":"this link is no longer valid due to the docs reform","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":116,"context_line":"   \u003chttps://docs.openstack.org/developer/octavia/guides/dev-quick-start.html#create-octavia-keys-and-certificates\u003e`_"},{"line_number":117,"context_line":"   for details."},{"line_number":118,"context_line":""},{"line_number":119,"context_line":".. note::"},{"line_number":120,"context_line":"   If you are performing the post deloyment steps manually, the certificate"},{"line_number":121,"context_line":"   filenames can be whatever you choose. If you are creating a script using"},{"line_number":122,"context_line":"   the code described at the end of this section, ensure that the files are"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_6b9a3862","line":119,"updated":"2017-08-16 19:10:42.000000000","message":"ditto about indenting the note to match the list item","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":126,"context_line":"4. Copy the TLS certificates to the /etc/octavia/certs subdirectory and ensure"},{"line_number":127,"context_line":"   the proper permissions on each controller. For example:"},{"line_number":128,"context_line":""},{"line_number":129,"context_line":".. code:: bash"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"   # For each controller (change controller-0.localdomain to the appropriate"},{"line_number":132,"context_line":"   # hostname/IP address)"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_4ba534a1","line":129,"updated":"2017-08-16 19:10:42.000000000","message":"ditto about indenting","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":140,"context_line":"5. Create an SSH key for the amphorae and copy the key files to the"},{"line_number":141,"context_line":"   /ec/octavia/.ssh/ subdirectroy on each controller. For example:"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":".. code::"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"   openstack keypair create octavia-ssh-key \u003e octavia_ssh_key"},{"line_number":146,"context_line":"   openstack keypair show --public-key octavia-ssh-key \u003e octavia_ssh_key.pub"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_2ba0b08f","line":143,"updated":"2017-08-16 19:10:42.000000000","message":"I won\u0027t repeat it, but here and above all ..code blocks have to be indented to match the list items","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":150,"context_line":"   ssh heat-admin@controller-0.localdomain \u0027sudo mkdir -p /etc/octavia/.ssh\u0027"},{"line_number":151,"context_line":"   cat octavia_ssh_key | ssh heat-admin@controller-0.localdomain \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key\"\u0027"},{"line_number":152,"context_line":"   cat octavia_ssh_key.pub | ssh heat-admin@controller-0.localdomain \u0027sudo bash -c \"cat \u003e /etc/octavia/.ssh/octavia_ssh_key.pub\"\u0027"},{"line_number":153,"context_line":"   ssh heat-admin@controller-0.localdomain \u0027sudo chown -R octavia:octavia /etc/octavia/.ssh/\\*\u0027"},{"line_number":154,"context_line":""},{"line_number":155,"context_line":"6. Create a flavor for the amphorare. For example:"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_0babac74","line":153,"updated":"2017-08-16 19:10:42.000000000","message":"I wonder if selinux also needs some actions to restore the attributes..","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":179,"context_line":"   #. Create the neutron port and take note of the IP and MAC address of the"},{"line_number":180,"context_line":"      created port."},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"   .. code:: bash"},{"line_number":183,"context_line":""},{"line_number":184,"context_line":"      # For each controller node (replace controller-0.localdomain with the"},{"line_number":185,"context_line":"      # appropriate hostname/IP address where relevant.)"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_eba508a0","line":182,"updated":"2017-08-16 19:10:42.000000000","message":"this is indented to belong to the upper list, has to be indented a bit more. in this case it\u0027s more critical, because it breaks the internal list, and every item ends up being \"a.\" :) the same for the other items here","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":187,"context_line":"      openstack port show \u003cid of port created\u003e"},{"line_number":188,"context_line":""},{"line_number":189,"context_line":"   #. On the controller, create an interface definition file to represent the integration bridge named"},{"line_number":190,"context_line":"      /etc/sysconfig/network-scripts/ifcfg-br-int (this is needed for the subsequent step)."},{"line_number":191,"context_line":""},{"line_number":192,"context_line":"   .. code:: bash"},{"line_number":193,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_cbba44bf","line":190,"updated":"2017-08-16 19:10:42.000000000","message":"I\u0027d prefer the file name surrounded by ``","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":236,"context_line":"   subdirectories to avoid conflict with puppet managed configuration. The"},{"line_number":237,"context_line":"   filenames are arbitrary and chosen as examples only."},{"line_number":238,"context_line":""},{"line_number":239,"context_line":"   #. create /etc/octavia/conf.d/octavia-worker/worker-post-deploy.conf with"},{"line_number":240,"context_line":"      the following:"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"   .. code:: bash"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_abbdc0b7","line":239,"updated":"2017-08-16 19:10:42.000000000","message":"nit: `` around the file name","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":239,"context_line":"   #. create /etc/octavia/conf.d/octavia-worker/worker-post-deploy.conf with"},{"line_number":240,"context_line":"      the following:"},{"line_number":241,"context_line":""},{"line_number":242,"context_line":"   .. code:: bash"},{"line_number":243,"context_line":""},{"line_number":244,"context_line":"      [controller_worker]"},{"line_number":245,"context_line":"      amp_image_tag \u003d amphora  #"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_8bb0bcde","line":242,"updated":"2017-08-16 19:10:42.000000000","message":"s/bash/ini/","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":257,"context_line":"   #. create /etc/octavia/conf.d/octavia-health-manager/manager-post-deploy.conf"},{"line_number":258,"context_line":"      with the following:"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"   .. code::"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"      [health_manager]"},{"line_number":263,"context_line":"      bind_ip \u003d \u003cIP for the health manager port created for this node\u003e"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_6bb358ea","line":260,"updated":"2017-08-16 19:10:42.000000000","message":"ditto","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":265,"context_line":"   #. create /etc/neutron/conf.d/neutron-server/octavia-post-deploy.conf with"},{"line_number":266,"context_line":"      the following:"},{"line_number":267,"context_line":""},{"line_number":268,"context_line":"   .. code::"},{"line_number":269,"context_line":""},{"line_number":270,"context_line":"      [service_auth]"},{"line_number":271,"context_line":"      # The required values are the same as that of the overcloud"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_4bce5463","line":268,"updated":"2017-08-16 19:10:42.000000000","message":"ditto","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":283,"context_line":"   #. create /etc/octavia/conf.d/common/octavia-post-deploy.conf with the"},{"line_number":284,"context_line":"      following:"},{"line_number":285,"context_line":""},{"line_number":286,"context_line":"   .. code::"},{"line_number":287,"context_line":""},{"line_number":288,"context_line":"      [service_auth]"},{"line_number":289,"context_line":"      # The required values are the same as that of the overcloud"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_2bc9d057","line":286,"updated":"2017-08-16 19:10:42.000000000","message":"ditto","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":315,"context_line":".. admonition:: CentOS"},{"line_number":316,"context_line":""},{"line_number":317,"context_line":"   Set DIB_LOCAL_IMAGE to a base RHEL image when deploying for RedHat"},{"line_number":318,"context_line":"   Enterprise Linux."},{"line_number":319,"context_line":""},{"line_number":320,"context_line":"   export DIB_LOCAL_IMAGE\u003drhel-guest-image-7.3-2017104119.0.x86_64.qcow2"},{"line_number":321,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_0bc4cc3e","line":318,"updated":"2017-08-16 19:10:42.000000000","message":"please use :: syntax for the command","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":319,"context_line":""},{"line_number":320,"context_line":"   export DIB_LOCAL_IMAGE\u003drhel-guest-image-7.3-2017104119.0.x86_64.qcow2"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":".. literalinclude:: ./octavia-post-deploy.sh"},{"line_number":323,"context_line":"    :linenos:"},{"line_number":324,"context_line":"    :language: shell"},{"line_number":325,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_ebbe28ac","line":322,"updated":"2017-08-16 19:10:42.000000000","message":"sigh. I\u0027m getting into this argument for the 2nd time in the last months :) can we please not host scripts in the documents? people will blindly copy-paste them, and then you won\u0027t be able to fix any bugs, because user\u0027s copy won\u0027t change. I\u0027d suggest tripleo-common as a much nicer place.","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":6681,"name":"Brent Eagles","email":"beagles@redhat.com","username":"beagles"},"change_message_id":"fb298381ef7d1b848d7f79fc9c628228ccc06839","unresolved":false,"context_lines":[{"line_number":319,"context_line":""},{"line_number":320,"context_line":"   export DIB_LOCAL_IMAGE\u003drhel-guest-image-7.3-2017104119.0.x86_64.qcow2"},{"line_number":321,"context_line":""},{"line_number":322,"context_line":".. literalinclude:: ./octavia-post-deploy.sh"},{"line_number":323,"context_line":"    :linenos:"},{"line_number":324,"context_line":"    :language: shell"},{"line_number":325,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"7f287b81_27c78415","line":322,"in_reply_to":"9f436f4f_ebbe28ac","updated":"2017-08-23 12:06:20.000000000","message":"We can certainly do that - and I\u0027m actually in favor of it. This is meant to be temporary and we don\u0027t want to \"carry\" this script for any longer than necessary so I didn\u0027t even consider submitting as \"actual code\", but if this is the preferable option you have no argument from me! I\u0027ll move it and we\u0027ll see how it goes from there.","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":329,"context_line":""},{"line_number":330,"context_line":"#. Create a load balancer using the neutron CLI on a tenant network::"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"    neutron lbaas-loadbalancer-create --name lb my-tenant-network"},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"#. Check the load balancer details and verify that provisioning has completed"},{"line_number":335,"context_line":"   (if necessary, wait for a brief period and try again)::"}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_cbdfe40a","line":332,"updated":"2017-08-16 19:10:42.000000000","message":"doesn\u0027t it have \"openstack\" commands? It feels inconsistent to have them everywhere, except for this chapter","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":14352,"name":"Antoni Segura Puimedon","email":"celebdor@gmail.com","username":"toni"},"change_message_id":"7d15c378f70586282f04768cd85ca46315649726","unresolved":false,"context_lines":[{"line_number":329,"context_line":""},{"line_number":330,"context_line":"#. Create a load balancer using the neutron CLI on a tenant network::"},{"line_number":331,"context_line":""},{"line_number":332,"context_line":"    neutron lbaas-loadbalancer-create --name lb my-tenant-network"},{"line_number":333,"context_line":""},{"line_number":334,"context_line":"#. Check the load balancer details and verify that provisioning has completed"},{"line_number":335,"context_line":"   (if necessary, wait for a brief period and try again)::"}],"source_content_type":"text/x-rst","patch_set":34,"id":"7f287b81_fc75ab33","line":332,"in_reply_to":"9f436f4f_cbdfe40a","updated":"2017-09-01 07:51:11.000000000","message":"lbaas-loadbalancer-create takes a subnet as a parameter, not a tenant network.","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":341,"context_line":"    neutron lbaas-pool-create --loadbalancer lb --protocol HTTP --protocol-port"},{"line_number":342,"context_line":"    80 --name listener-pool"},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"    neutron lbaas-member-create --subnet my-tenant-network --address"},{"line_number":345,"context_line":"    192.168.70.4 --protocol-port 80 listener-pool"},{"line_number":346,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_abe260d3","line":344,"updated":"2017-08-16 19:10:42.000000000","message":"missing \\ in the end","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"},{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"b1f12016e26b91d8da923b6818578f3e71527ee2","unresolved":false,"context_lines":[{"line_number":342,"context_line":"    80 --name listener-pool"},{"line_number":343,"context_line":""},{"line_number":344,"context_line":"    neutron lbaas-member-create --subnet my-tenant-network --address"},{"line_number":345,"context_line":"    192.168.70.4 --protocol-port 80 listener-pool"},{"line_number":346,"context_line":""}],"source_content_type":"text/x-rst","patch_set":34,"id":"9f436f4f_8be55cde","line":345,"updated":"2017-08-16 19:10:42.000000000","message":"nit: I\u0027d indent this","commit_id":"232cfa12360de04d00a3366d0c9033796892331e"}],"doc/source/install/advanced_deployment/octavia-post-deploy.sh":[{"author":{"_account_id":21798,"name":"Bernard Cafarelli","email":"bcafarel@redhat.com","username":"bcafarel"},"change_message_id":"6c00185b2dad188802095b7cea63cde1a8d6ad2f","unresolved":false,"context_lines":[{"line_number":400,"context_line":"done"},{"line_number":401,"context_line":""},{"line_number":402,"context_line":"# NOTE: In future releases, many or all of these post deployment steps will be"},{"line_number":403,"context_line":"# implemented within TripleO itself."}],"source_content_type":"text/x-sh","patch_set":31,"id":"1f1a1f67_ab5ed4e6","line":403,"updated":"2017-07-20 11:39:53.000000000","message":"An echo command to report \"everything went OK\" would be nice here.\nTesting the script, it was not clear from the last output lines if it had gone to the end or not","commit_id":"92e2a30f28274b416b4f4154abcbcca91a95852c"}]}
