C      docutils.nodesdocument)}(symbol_footnotes]refids}nameids}(get tripleo.shget-tripleo-sh
tripleo-ci
tripleo-cienvironment variablesenvironment-variablesoptionsoptionsenvironment setupenvironment-setupusing tripleo.shusing-tripleo-sh
tripleo.shid1python-tripleoclientpython-tripleoclientu
attributes}(sourceU/home/jslagle/code/openstack/tripleo-docs/doc/source/install/developer/tripleo.sh.rstids]backrefs]classes]dupnames]names]u	rawsource hh	footnotes]transformerNtagnamehtransform_messages]autofootnote_startKcitation_refs}children](h substitution_definition)}(source<rst_prolog>h4]h TextTripleO}(h)TripleOparenth8ubah}(h%]h]h']projectah!]h#]uh).. |project| replace:: TripleOhDhlineKhhh.h6ubh7)}(h:h;h4]h>	Launchpad}(h)	LaunchpadhDhNubah}(h%]h]h']bug_trackerah!]h#]uh)$.. |bug_tracker| replace:: LaunchpadhDhhMKhhh.h6ubh7)}(h:h;h4]h 	reference)}(h)https://launchpad.net/tripleohDh^h4]h>https://launchpad.net/tripleo}(h)h*hDhcubah.hah}(h]h!]h#]h%]refuriheh']uubah}(h%]h]h']bug_tracker_urlah!]h#]uh)=.. |bug_tracker_url| replace:: https://launchpad.net/tripleo
hDhhMKhhh.h6ubh section)}(h:hh4](h title)}(h:hh4]h>
tripleo.sh}(h)
tripleo.shh:NhMNhDhhhubah}(h%]h]h']h!]h#]uh)hhMKhDh|hhh.hubh 	paragraph)}(h:hh4](hb)}(h)``tripleo.sh
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh>`_hDhh4]h>
tripleo.sh}(h)h*hDhubah.hah}(h]h!]h#]h%]refuriPhttp://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.shname
tripleo.shh']uubh target)}(h4]h}(h]hah!]h#]h%]refurihh']
tripleo.shauh)S
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh>
referencedKhDhh.hubh>
is a script that can be used to help bootstrap development environments. It
automates many of the steps in this documentation to help get setup faster.
It’s opinionated automation around other production tooling
(}(h)
is a script that can be used to help bootstrap development environments. It
automates many of the steps in this documentation to help get setup faster.
It's opinionated automation around other production tooling
(h:NhMNhDhhhubhb)}(h)V`python-tripleoclient
<http://git.openstack.org/cgit/openstack/python-tripleoclient>`_hDhh4]h>python-tripleoclient}(h)h*hDhubah.hah}(h]h!]h#]h%]h<http://git.openstack.org/cgit/openstack/python-tripleoclientnamepython-tripleoclienth']uubh)}(h4]h}(h]hah!]h#]h%]refurihh']hauh)?
<http://git.openstack.org/cgit/openstack/python-tripleoclient>hKhDhh.hubh>G , etc).
tripleo.sh is also used by tripleo-ci to test TripleO patches.}(h)G , etc).
tripleo.sh is also used by tripleo-ci to test TripleO patches.h:NhMNhDhhhubeh}(h%]h]h']h!]h#]uh)X  `tripleo.sh
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh>`_
is a script that can be used to help bootstrap development environments. It
automates many of the steps in this documentation to help get setup faster.
It's opinionated automation around other production tooling
(`python-tripleoclient
<http://git.openstack.org/cgit/openstack/python-tripleoclient>`_ , etc).
tripleo.sh is also used by tripleo-ci to test TripleO patches.hDh|hMKhhh.hubh{)}(h:hh4](h)}(h:hh4]h>Get tripleo.sh}(h)Get tripleo.shh:NhMNhDhhhubah}(h%]h]h']h!]h#]uh)hhMKhDhhhh.hubh)}(h:hh4](h>tripleo.sh is from the }(h)tripleo.sh is from the h:NhMNhDhhhubhb)}(h)H`tripleo-ci
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci>`_hDhh4]h>
tripleo-ci}(h)h*hDhubah.hah}(h]h!]h#]h%]h8http://git.openstack.org/cgit/openstack-infra/tripleo-ciname
tripleo-cih']uubh)}(h4]h}(h]hah!]h#]h%]refurij  h']hauh);
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci>hKhDhh.hubh>O project. git
clone tripleo-ci, and the script is under the scripts/ directory:}(h)O project. git
clone tripleo-ci, and the script is under the scripts/ directory:h:NhMNhDhhhubeh}(h%]h]h']h!]h#]uh)tripleo.sh is from the `tripleo-ci
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci>`_ project. git
clone tripleo-ci, and the script is under the scripts/ directory::hDhhMKhhh.hubh literal_block)}(h:hh4]h>cgit clone https://git.openstack.org/openstack-infra/tripleo-ci
tripleo-ci/scripts/tripleo.sh --help}(h)h*hDj%  ubah}(h]h!]h#]h%]	xml:spacepreserveh']uh)cgit clone https://git.openstack.org/openstack-infra/tripleo-ci
tripleo-ci/scripts/tripleo.sh --helphDhhMKhhh.j#  ubeh}(h%]h]hah']hah!]h#]uh)h*hMKhDh|hhh.hzubh{)}(h:hh4](h)}(h:hh4]h>Using tripleo.sh}(h)Using tripleo.shh:NhMNhDj>  hhubah}(h%]h]h']h!]h#]uh)jE  hMKhDj;  hhh.hubh)}(h:hh4](h>kThe tripleo.sh script is intended to run on an new instack undercloud setup.
That is, you would follow the }(h)kThe tripleo.sh script is intended to run on an new instack undercloud setup.
That is, you would follow the h:NhMNhDjL  hhubhb)}(h)x`environment setup <http://docs.openstack.org/developer/tripleo-docs/environments/environments.html#environment-setup>`_hDjL  h4]h>environment setup}(h)h*hDjT  ubah.hah}(h]h!]h#]h%]hahttp://docs.openstack.org/developer/tripleo-docs/environments/environments.html#environment-setupnameenvironment setuph']uubh)}(h4]h}(h]hah!]h#]h%]refurija  h']hauh)d <http://docs.openstack.org/developer/tripleo-docs/environments/environments.html#environment-setup>hKhDjL  h.hubh> docs through to and including
}(h) docs through to and including
h:NhMNhDjL  hhubh title_reference)}(h)`instack-virt-setup`hDjL  h4]h>instack-virt-setup}(h)h*hDjw  ubah.ju  h}(h%]h]h']h!]h#]uubh>v (for a virt setup), ssh onto the resulting undercloud
node and then run tripleo.sh with the options identified below.}(h)v (for a virt setup), ssh onto the resulting undercloud
node and then run tripleo.sh with the options identified below.h:NhMNhDjL  hhubeh}(h%]h]h']h!]h#]uh)X  The tripleo.sh script is intended to run on an new instack undercloud setup.
That is, you would follow the `environment setup <http://docs.openstack.org/developer/tripleo-docs/environments/environments.html#environment-setup>`_ docs through to and including
`instack-virt-setup` (for a virt setup), ssh onto the resulting undercloud
node and then run tripleo.sh with the options identified below.hDj;  hMKhhh.hubh{)}(h:hh4](h)}(h:hh4]h>Options}(h)Optionsh:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)j  hMK!hDj  hhh.hubh)}(h:hh4]h>The help text shows what options are available, and the options are listed in
corresponding order with how a TripleO deployment is done.}(h)The help text shows what options are available, and the options are listed in
corresponding order with how a TripleO deployment is done.h:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)j  hDj  hMK#hhh.hubh)}(h:hh4]h>Repository setup:}(h)Repository setup:h:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)Repository setup::hDj  hMK&hhh.hubj$  )}(h:hh4]h>*tripleo-ci/scripts/tripleo.sh --repo-setup}(h)h*hDj  ubah}(h]h!]h#]h%]j1  j2  h']uh)*tripleo-ci/scripts/tripleo.sh --repo-setuphDj  hMK-hhh.j#  ubh)}(h:hh4]h>Installing the undercloud:}(h)Installing the undercloud:h:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)Installing the undercloud::hDj  hMK*hhh.hubj$  )}(h:hh4]h>*tripleo-ci/scripts/tripleo.sh --undercloud}(h)h*hDj  ubah}(h]h!]h#]h%]j1  j2  h']uh)*tripleo-ci/scripts/tripleo.sh --undercloudhDj  hMK1hhh.j#  ubh)}(h:hh4]h>Building overcloud images:}(h)Building overcloud images:h:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)Building overcloud images::hDj  hMK.hhh.hubj$  )}(h:hh4]h>0tripleo-ci/scripts/tripleo.sh --overcloud-images}(h)h*hDj  ubah}(h]h!]h#]h%]j1  j2  h']uh)0tripleo-ci/scripts/tripleo.sh --overcloud-imageshDj  hMK5hhh.j#  ubh)}(h:hh4]h>Registering nodes:}(h)Registering nodes:h:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)Registering nodes::hDj  hMK2hhh.hubj$  )}(h:hh4]h>.tripleo-ci/scripts/tripleo.sh --register-nodes}(h)h*hDj  ubah}(h]h!]h#]h%]j1  j2  h']uh).tripleo-ci/scripts/tripleo.sh --register-nodeshDj  hMK9hhh.j#  ubh)}(h:hh4]h>Introspect nodes:}(h)Introspect nodes:h:NhMNhDj$  hhubah}(h%]h]h']h!]h#]uh)Introspect nodes::hDj  hMK6hhh.hubj$  )}(h:hh4]h>0tripleo-ci/scripts/tripleo.sh --introspect-nodes}(h)h*hDj3  ubah}(h]h!]h#]h%]j1  j2  h']uh)0tripleo-ci/scripts/tripleo.sh --introspect-nodeshDj  hMK=hhh.j#  ubh)}(h:hh4]h>Deploy overcloud:}(h)Deploy overcloud:h:NhMNhDjA  hhubah}(h%]h]h']h!]h#]uh)Deploy overcloud::hDj  hMK:hhh.hubj$  )}(h:hh4]h>0tripleo-ci/scripts/tripleo.sh --overcloud-deploy}(h)h*hDjP  ubah}(h]h!]h#]h%]j1  j2  h']uh)0tripleo-ci/scripts/tripleo.sh --overcloud-deployhDj  hMKAhhh.j#  ubh)}(h:hh4]h>DAlternatively, all of the above options can be execute at once with:}(h)DAlternatively, all of the above options can be execute at once with:h:NhMNhDj^  hhubah}(h%]h]h']h!]h#]uh)EAlternatively, all of the above options can be execute at once with::hDj  hMK>hhh.hubj$  )}(h:hh4]h>#tripleo-ci/scripts/tripleo.sh --all}(h)h*hDjm  ubah}(h]h!]h#]h%]j1  j2  h']uh)#tripleo-ci/scripts/tripleo.sh --allhDj  hMKEhhh.j#  ubh)}(h:hh4]h>Test overcloud:}(h)Test overcloud:h:NhMNhDj{  hhubah}(h%]h]h']h!]h#]uh)Test overcloud::hDj  hMKBhhh.hubj$  )}(h:hh4]h>2tripleo-ci/scripts/tripleo.sh --overcloud-pingtest}(h)h*hDj  ubah}(h]h!]h#]h%]j1  j2  h']uh)2tripleo-ci/scripts/tripleo.sh --overcloud-pingtesthDj  hMKIhhh.j#  ubh)}(h:hh4]h>{Requirements for testing the overcloud: overcloudrc file (Located by default
in the undercloud current user’s directory).}(h){Requirements for testing the overcloud: overcloudrc file (Located by default
in the undercloud current user’s directory).h:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)j  hDj  hMKFhhh.hubh)}(h:hh4]h>This option will check that the overcloud is able to create a stack,
testing several OpenStack components in the process. The following steps
are made in order to check the stack creation:}(h)This option will check that the overcloud is able to create a stack,
testing several OpenStack components in the process. The following steps
are made in order to check the stack creation:h:NhMNhDj  hhubah}(h%]h]h']h!]h#]uh)j  hDj  hMKIhhh.hubh bullet_list)}(h:hh4](h 	list_item)}(h:hh4]h)}(h:hh4]h>LDownload a Linux image and upload it to glance with the name pingtest_image.}(h)LDownload a Linux image and upload it to glance with the name pingtest_image.hDj  ubah}(h%]h]h']h!]h#]uh)j  hDj  hMKMh.hubah}(h%]h]h']h!]h#]uh)MDownload a Linux image and upload it to glance with the name pingtest_image.
hMNhDj  hhh.j  ubj  )}(h:hh4]h)}(h:hh4]h>/Create an external neutron network called nova.}(h)/Create an external neutron network called nova.hDj  ubah}(h%]h]h']h!]h#]uh)j  hDj  hMKOh.hubah}(h%]h]h']h!]h#]uh)0Create an external neutron network called nova.
hMNhDj  hhh.j  ubj  )}(h:hh4]h)}(h:hh4]h>$Create a subnet in the nova network.}(h)$Create a subnet in the nova network.hDj  ubah}(h%]h]h']h!]h#]uh)j  hDj  hMKQh.hubah}(h%]h]h']h!]h#]uh)%Create a subnet in the nova network.
hMNhDj  hhh.j  ubj  )}(h:hh4]h)}(h:hh4]h>}Create a test stack called tenant-stack, using heat, which spawns a guest
in the overcloud and attach it to the nova network.}(h)}Create a test stack called tenant-stack, using heat, which spawns a guest
in the overcloud and attach it to the nova network.hDj  ubah}(h%]h]h']h!]h#]uh)j  hDj  hMKSh.hubah}(h%]h]h']h!]h#]uh)~Create a test stack called tenant-stack, using heat, which spawns a guest
in the overcloud and attach it to the nova network.
hMNhDj  hhh.j  ubj  )}(h:hh4]h)}(h:hh4]h>7Ping the floating IP address assigned to the new guest.}(h)7Ping the floating IP address assigned to the new guest.hDj  ubah}(h%]h]h']h!]h#]uh)j%  hDj  hMKVh.hubah}(h%]h]h']h!]h#]uh)8Ping the floating IP address assigned to the new guest.
hMNhDj  hhh.j  ubeh}(h]bullet-h!]h#]h%]h']uh)h*hDj  hMKMhhh.j  ubh)}(h:hh4]h>2After the test, the created resources are deleted.}(h)2After the test, the created resources are deleted.h:NhMNhDj;  hhubah}(h%]h]h']h!]h#]uh)jB  hDj  hMKXhhh.hubeh}(h%]h]hah']hah!]h#]uh)h*hMK!hDj;  hhh.hzubh{)}(h:hh4](h)}(h:hh4]h>Environment variables}(h)Environment variablesh:NhMNhDjR  hhubah}(h%]h]h']h!]h#]uh)jY  hMK\hDjO  hhh.hubh)}(h:hh4](h>QCertain values and assumptions can be changed via environment variables. See
the }(h)QCertain values and assumptions can be changed via environment variables. See
the h:NhMNhDj`  hhubhb)}(h)``tripleo.sh
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh>`_hDj`  h4]h>
tripleo.sh}(h)h*hDjh  ubah.hah}(h]h!]h#]h%]hPhttp://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.shname
tripleo.shh']uubh)}(h4]h}(h]id2ah!]h#]h%]
tripleo.sharefuriju  h']uh)S
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh>hKhDj`  h.hubh>
source code for details.}(h)
source code for details.h:NhMNhDj`  hhubeh}(h%]h]h']h!]h#]uh)Certain values and assumptions can be changed via environment variables. See
the `tripleo.sh
<http://git.openstack.org/cgit/openstack-infra/tripleo-ci/tree/scripts/tripleo.sh>`_
source code for details.hDjO  hMK^hhh.hubeh}(h%]h]hah']hah!]h#]uh)h*hMK\hDj;  hhh.hzubeh}(h%]h]hah']hah!]h#]uh)h*hMKhDh|hhh.hzubeh}(h%]hah]
tripleo-shah']h!]h#]uh)h*hMKhKhDhhhh.hzube
decorationN	nametypes}(hNhhNhNhhNhhureporterNcurrent_sourceNautofootnote_refs]h}(hhhj  hj;  hjO  hje  hhj  h|hj  j~  jy  hhusymbol_footnote_refs]indirect_targets]autofootnotes]footnote_refs}parse_messages](h system_message)}(h:hh4]h)}(h4]h>1Duplicate implicit target name: “tripleo.sh”.}(h)h*hDj  ubah}(h%]h]h']h!]h#]uh)-Duplicate implicit target name: "tripleo.sh".hDj  h.hubah}(sourcehh]levelKh!]hah#]h%]typeINFOlineKh']uh)h*hMKhDh|hhh.j  ubj  )}(h:hh4]h)}(h4]h>1Duplicate explicit target name: “tripleo.sh”.}(h)h*hDj  ubah}(h%]h]h']h!]h#]uh)-Duplicate explicit target name: "tripleo.sh".hDj  h.hubah}(sourcehh]levelKh!]j~  ah#]h%]typej  lineKh']uh)h*hMKahDjO  hhh.j  uberefnames}id_startKcurrent_lineNsubstitution_defs}(hZhNhvh^hIh8u	citations]substitution_names}(bug_trackerhZbug_tracker_urlhvprojecthIusymbol_footnote_startK settingsdocutils.frontendValues)}(smart_quotes_sourcehdump_internalsNreport_levelKpep_referencesNwarning_streamN
halt_levelKlanguage_codeendump_transformsN
source_urlNexpose_internalsNoutput_encodingutf-8_disable_configNstrip_commentsNrfc_referencesNrecord_dependenciesN	tracebackstrict_visitorN_config_files]	id_prefixh*character_level_inline_markuprfc_base_urlhttps://tools.ietf.org/html/auto_id_prefixiderror_encodingUTF-8sectsubtitle_xformenvN	datestampNdump_pseudo_xmlNembed_stylesheetexit_status_levelKoutput_encoding_error_handlerstrictfootnote_backlinksKdocinfo_xformKdump_settingsNpep_file_url_templatepep-%04dtrim_footnote_reference_spaceinput_encoding_error_handlerj)  _destinationN	tab_widthKsmartquotes_locales]file_insertion_enabledinput_encoding	utf-8-sigtoc_backlinksentrygettext_compactsyntax_highlightlongsource_linkNerror_encoding_error_handlerbackslashreplacecloak_email_addressesconfigNraw_enabledKstrip_elements_with_classesNpep_base_url https://www.python.org/dev/peps/hNstrip_classesNdoctitle_xformdebugN	generatorNsectnum_xformKubub.