[Starlingx-discuss] document outdated
https://docs.starlingx.io/developer_guide/index.html#setup-repository-docker... After executing "cd $HOME/stx-tools/centos-mirror-tools/", cannot find Dockerfile at this directory; then execute "docker build --tag $USER:centos-mirror-repository --file Dockerfile" failed.
Hi Wang Guo,
https://docs.starlingx.io/developer_guide/index.html#setup-repository- docker-container
After executing "cd $HOME/stx-tools/centos-mirror-tools/", cannot find Dockerfile at this directory; then execute "docker build --tag $USER:centos- mirror-repository --file Dockerfile" failed.
The required changes are being reviewed https://review.openstack.org/#/c/619043/ We will post them no later than tomorrow. For now please refer to http://git.openstack.org/cgit/openstack/stx-tools/tree/README.rst
Hi Abraham, I'm trying to build ISO by following the document you said. When command "build-pkgs" is executed in the builder container, some files seem not found. As bellows is the console output and the build log "build-std.log" is attached. ``` [ubuntu@ecc232b348f8 /]$ build-pkgs ... ... ... 03:28:27 b0: ===== Build SRPM for 'update-motd' ===== 03:28:27 b0: PKG_BASE=/localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/utilities/update-motd 03:28:27 b0: WORK_BASE=/localdisk/loadbuild/ubuntu/starlingx/std/inputs/stx/stx-integ/utilities/update-motd 03:28:27 b0: RPMBUILD_BASE=/localdisk/loadbuild/ubuntu/starlingx/std/inputs/stx/stx-integ/utilities/update-motd/rpmbuild 03:28:27 b0: Wrote: /localdisk/loadbuild/ubuntu/starlingx/std/rpmbuild/SOURCES/update-motd/srpm_input.md5 03:28:27 b0: SRPM build not required for '/localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/utilities/update-motd' 03:28:27 b0: ===== Build complete for 'update-motd' ===== 03:28:27 b0: 03:28:28 ERROR: reaper (1301): Failed to build src.rpm from source at 'b1' 03:28:28 b0: ===== Build SRPM for 'python' ===== 03:28:28 b0: PKG_BASE=/localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/python/python-2.7.5 03:28:28 b0: BUILD_DIR=python/rpmbuild 03:28:28 b0: SRPM_DIR=/localdisk/loadbuild/ubuntu/starlingx/std/srpm_assemble/python/rpmbuild/SRPMS 03:28:28 b0: Wrote: /localdisk/loadbuild/ubuntu/starlingx/std/rpmbuild/SOURCES/python/srpm_input.md5 03:28:28 b0: SRPM build not required for '/localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/python/python-2.7.5' 03:28:28 b0: ===== Build complete for 'python' ===== 03:28:28 b0: 03:28:28 ============ Build failed ============= 03:28:28 b1: ===== Build SRPM for 'qemu-kvm-ev' ===== 03:28:28 b1: PKG_BASE=/localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/virt/qemu 03:28:28 b1: WORK_BASE=/localdisk/loadbuild/ubuntu/starlingx/std/inputs/stx/stx-integ/virt/qemu 03:28:28 b1: RPMBUILD_BASE=/localdisk/loadbuild/ubuntu/starlingx/std/inputs/stx/stx-integ/virt/qemu/rpmbuild 03:28:28 b1: ERROR: md5sums_from_input_vars (107): readlink -f '/localdisk/designer/ubuntu/starlingx/cgcs-root/stx/downloads/kvm-unit-tests.git-4ea7633.tar.bz2 /localdisk/designer/ubuntu/starlingx/cgcs-root/stx/downloads/keycodemapdb-16e5b07.tar.gz centos/files/* /localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/virt/qemu/qemu/qemu_clean /localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/virt/qemu/qemu/qemu_clean.service /localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/virt/qemu/qemu/qemu-system-x86.conf' -type f 03:28:28 b1: ERROR: build_dir_spec (974): md5sums_from_input_vars 'spec' '/localdisk/designer/ubuntu/starlingx/cgcs-root/stx/stx-integ/virt/qemu/centos/qemu-kvm.spec' '/localdisk/loadbuild/ubuntu/starlingx/std/rpmbuild/SOURCES/qemu-kvm-ev' 03:28:28 ERROR: reaper (1303): Failed to build src.rpm from source at 'b1' 03:28:28 ######## Mon Jan 14 03:28:28 UTC 2019: build-srpm-parallel --std failed with rc=1 ubuntu@gw-test:~/stx-tools$ ll ~/starlingx/mirror/CentOS/pike/downloads/kvm-unit-tests.git-4ea7633.tar.bz2 -rw-r--r-- 1 ubuntu ubuntu 316542 Jan 14 02:01 /home/ubuntu/starlingx/mirror/CentOS/pike/downloads/kvm-unit-tests.git-4ea7633.tar.bz2 ``` Thanks a lot. - Wang Arce Moreno, Abraham <abraham.arce.moreno@intel.com> 于2019年1月10日周四 上午3:24写道:
Hi Wang Guo,
https://docs.starlingx.io/developer_guide/index.html#setup-repository- docker-container
After executing "cd $HOME/stx-tools/centos-mirror-tools/", cannot find Dockerfile at this directory; then execute "docker build --tag $USER:centos- mirror-repository --file Dockerfile" failed.
The required changes are being reviewed https://review.openstack.org/#/c/619043/
We will post them no later than tomorrow. For now please refer to http://git.openstack.org/cgit/openstack/stx-tools/tree/README.rst
participants (2)
-
Arce Moreno, Abraham
-
wang guo