Remove -T option from build.py
The -T option is no longer necessary to be specified on each build. The defaults work well enough, so remove -T 1000 from the documentation. Change-Id: I13a9a4ac6b3f402d8ca0ba57fa1dbfd19a82ae1f
This commit is contained in:
parent
0292cd2129
commit
138a556ebf
@ -133,20 +133,25 @@ The Kolla community builds and pushes tested images for each tagged release of
|
|||||||
Kolla, but if running from master, it is recommended to build images locally.
|
Kolla, but if running from master, it is recommended to build images locally.
|
||||||
All Docker images can be built as follows.
|
All Docker images can be built as follows.
|
||||||
|
|
||||||
Before running the below intructions, make sure docker dameon is running,
|
Before running the below intructions, ensure the docker daemon is running
|
||||||
or the build process would fail:
|
or the build process would fail:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
tools/build.py -T 1000
|
tools/build.py
|
||||||
|
|
||||||
The -T option specifies how many threads to run concurrently. A docker build
|
A docker build of all containers on Xeon hardware with SSDs and 100mbit network
|
||||||
of all containers on Xeon hardware with SSDs and 100mbit network takes roughly
|
takes roughly 30 minutes. The CentOS mirrors are flakey and the RDO delorean
|
||||||
15 minutes. The CentOS mirrors are flakey and the RDO delorean repository is
|
repository is not mirrored at all. As a result occasionally some containers
|
||||||
not mirrored at all. As a result occasionally some containers will fail to
|
fail to build. To rectify this, the build tool will automatically attempt three
|
||||||
build. If something important fails to bulid, repeat the entire build process
|
retries of a build operation if the first one fails.
|
||||||
again. The Kolla community recognizes this is not ideal and the Kolla community
|
|
||||||
is adding an individual container build option to solve this particular problem.
|
It is also possible to build individual containers. If for some reason the glance
|
||||||
|
containers failed to build, all glance related containers can be rebuilt as follows:
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
tools/build.py glance
|
||||||
|
|
||||||
Starting Kolla
|
Starting Kolla
|
||||||
--------------
|
--------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user