Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The main ISO image is install.iso.

The bootcd.iso image is used only when deploying via the Akraino Regional Controller using the Telco Appliance Remote Installer, also, can be ignored when following the manual procedure.

REC deployer copies the install.iso to the first controller and reads user_config.yaml to deploy base OS.


1.iso contains

  • EFI images  isolinux  rpms  TBL
  • guest-image.img is a QEMU QCOW Image which is build using build_images.shsh

2. guest-image.img is a Centos 7 image which contains

  • installed RPMs with dib (disk image build)
  • tar files: ./var/lib/caas/images/flannel:0.11.0-4.tar; ./var/lib/caas/images/chartrepo:1.0.0-6.tar; ./var/lib/caas/images/cpupooler:0.3.0-1.tar; ./var/lib/caas/images/sriovdp:2.0.0-4.tar; ./var/lib/caas/images/kubernetespause:1.15.1-0.tar; ./var/lib/caas/images/hyperkube:1.15.1-0.tar ;./var/lib/caas/images/netwatcher:3.3.0-3.tar; ./var/lib/caas/images/swift:2.21.0-5.tar; ./var/lib/caas/images/kubedns:1.15.4-2.tar; ./var/lib/caas/images/custom_metrics:0.5.0-1.tar;./var/lib/caas/images/svcwatcher:3.3.0-3.tar; ./var/lib/caas/images/metrics_server:0.3.3-1.tar; ./var/lib/caas/images/prometheus:2.10.0-0.tar; ./var/lib/caas/images/elasticsearch:7.2.0-0.tar; ./var/lib/caas/images/registry:2.7.1-4.tar; ./var/lib/caas/images/tiller:2.14.1-1.tar; ./var/lib/caas/images/etcd:3.3.13-4.tar; ./var/lib/caas/images/fluentd:1.6.0-0.tar
  • anisble installation, in /etc/ansible/roles there are
    • docker
    • flannel
    • and more

3. Packages identified so far when running commands in build_images.sh :

3.1. yum install --nogpgcheck -y diskimage-builder         git         python         wget         which         findutils         systemd-udev         PyYAML         parted         e2fsprogs         xfsprogs

Installed:

PyYAML.x86_64 0:3.10-11.el7         diskimage-builder.noarch 0:2.16.0-1.el7  

e2fsprogs.x86_64 0:1.42.9-13.el7    git.x86_64 0:1.8.3.1-20.el7              

parted.x86_64 0:3.1-29.el7          sudo.x86_64 0:1.8.23-3.el7               

wget.x86_64 0:1.14-18.el7_6.1       which.x86_64 0:2.20-7.el7                

xfsprogs.x86_64 0:4.5.0-19.el7_

3.2. docker build -f /w/workspace/ta-ci-build/ta/build-tools/docker-context/Dockerfile-dib -t dib /w/workspace/ta-ci-build/ta/build-tools/docker-context    --> Create dib docker image

docker build -f /w/workspace/ta-ci-build/ta/build-tools/docker-context/Dockerfile-buildtools -t buildtools /w/workspace/ta-ci-build/ta/build-tools/docker-context  --> Create buildtools docker image

3.3. /w/workspace/ta-ci-build/ta/build-tools/create_manifest_rpm.sh

rpm_macros=/w/workspace/ta-ci-build/work/tmp/manifest-work/rpmmacros

/w/workspace/ta-ci-build/ta/build-tools/mock2rpmbuild_config.py --mock-config /w/workspace/ta-ci-build/work/tmp/manifest-work/mock_config/mock.cfg --output-file-path /w/workspace/ta-ci-build/work/tmp/manifest-work/rpmmacros

docker run --rm -v /w/workspace/ta-ci-build/work/tmp/manifest-work/rpmmacros:/root/.rpmmacros -v /w/workspace/ta-ci-build/work/tmp/manifest-work:/work alpine:3.9.4 sh -c '\

apk add rpm && \

rpmbuild --build-in-place --rmspec -ba /work/*.spec && \

find /root/rpmbuild -name "*.rpm" | xargs -I "{}" mv {} /work'

3.4. docker run --rm --privileged -v /dev:/dev -v /w/workspace/ta-ci-build/work:/work -e WORK=/work -v /w/workspace/ta-ci-build/ta/manifest:/manifest -e MANIFEST_PATH=/manifest -v /w/workspace/ta-ci-build/ta/build-tools:/tools dib /tools/create_golden_image.sh    ---> dib image is used to create the image

3.5.

dib-run-parts Sourcing environment file /tmp/in_target.d/install.d/../environment.d/10-bootloader-default-cmdline

+ source /tmp/in_target.d/install.d/../environment.d/10-bootloader-default-cmdline

Installed packages with dependencies:

python-libs-2.7.5-80.el7_6.x86_64                           1/93

 python-2.7.5-80.el7_6.x86_64                                2/93

 python2-setuptools-22.0.5-1.el7.noarch                      3/93

 libcom_err-1.42.9-13.el7.x86_64                             4/93

 glusterfs-libs-3.12.2-18.el7.x86_64                         5/93

 fipscheck-1.4.1-6.el7.x86_64                                6/93

 fipscheck-lib-1.4.1-6.el7.x86_64                            7/93

 libquadmath-4.8.5-36.el7_6.2.x86_64                         8/93

 libgfortran-4.8.5-36.el7_6.2.x86_64                         9/93

 boost-system-1.53.0-27.el7.x86_64                          10/93

 boost-thread-1.53.0-27.el7.x86_64                          11/93

 atlas-3.10.1-12.el7.x86_64                                 12/93

 python2-pbr-3.1.1-8.el7.noarch                             13/93

 python2-six-1.10.0-9.el7.noarch                            14/93

 boost-random-1.53.0-27.el7.x86_64                          15/93

 boost-iostreams-1.53.0-27.el7.x86_64                       16/93

 1:librados2-10.2.5-4.el7.x86_64                            17/93

 groff-base-1.22.2-8.el7.x86_64                             18/93

 less-458-9.el7.x86_64                                      19/93

 1:perl-parent-0.225-244.el7.noarch                         20/93

 perl-HTTP-Tiny-0.033-3.el7.noarch                          21/93

 perl-podlators-2.5.1-3.el7.noarch                          22/93

 perl-Pod-Perldoc-3.20-4.el7.noarch                         23/93

 1:perl-Pod-Escapes-1.04-294.el7_6.noarch                   24/93

 perl-Text-ParseWords-3.29-4.el7.noarch                     25/93

 perl-Encode-2.51-7.el7.x86_64                              26/93

 perl-Pod-Usage-1.63-3.el7.noarch                           27/93

 4:perl-libs-5.16.3-294.el7_6.x86_64                        28/93

 perl-Socket-2.010-4.el7.x86_64                             29/93

 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      30/93

 perl-threads-1.87-4.el7.x86_64                             31/93

 perl-Storable-2.45-3.el7.x86_64                            32/93

 perl-Carp-1.26-244.el7.noarch                              33/93

 perl-Filter-1.49-3.el7.x86_64                              34/93

 perl-Exporter-5.68-3.el7.noarch                            35/93

 perl-constant-1.27-2.el7.noarch                            36/93

 perl-Time-Local-1.2300-2.el7.noarch                        37/93

 4:perl-macros-5.16.3-294.el7_6.x86_64                      38/93

 perl-threads-shared-1.43-6.el7.x86_64                      39/93

 perl-File-Temp-0.23.01-3.el7.noarch                        40/93

 perl-File-Path-2.09-2.el7.noarch                           41/93

 perl-PathTools-3.40-5.el7.x86_64                           42/93

 perl-Scalar-List-Utils-1.27-248.el7.x86_64                 43/93

 1:perl-Pod-Simple-3.28-4.el7.noarch                        44/93

 perl-Getopt-Long-2.40-3.el7.noarch                         45/93

 4:perl-5.16.3-294.el7_6.x86_64                             46/93

 1:perl-Error-0.17020-2.el7.noarch                          47/93

 perl-TermReadKey-2.30-20.el7.x86_64                        48/93

 1:librbd1-10.2.5-4.el7.x86_64                              49/93

 python2-stevedore-1.28.0-1.el7.noarch                      50/93

 openssh-7.4p1-16.el7.x86_64                                51/93

 glusterfs-3.12.2-18.el7.x86_64                             52/93

D-Bus connection: Operation not permitted

 glusterfs-client-xlators-3.12.2-18.el7.x86_64              53/93

 glusterfs-api-3.12.2-18.el7.x86_64                         54/93

 libss-1.42.9-13.el7.x86_64                                 55/93

 e2fsprogs-libs-1.42.9-13.el7.x86_64                        56/93

 python2-pycodestyle-2.0.0-5.el7.noarch                     57/93

 python-nose-1.3.7-7.el7.noarch                             58/93

 1:python2-numpy-1.11.2-2.el7.x86_64                        59/93

 python2-scipy-0.18.0-3.el7.x86_64                          60/93

 pyflakes-0.9.2-1.el7.noarch                                61/93

 python-decorator-3.4.0-3.el7.noarch                        62/93

 python-mccabe-0.2.1-4.el7.noarch                           63/93

 python2-flake8-2.6.2-1.el7.noarch                          64/93

 pytz-2016.10-2.el7.noarch                                  65/93

 python2-babel-2.3.4-1.el7.noarch                           66/93

 python2-pyparsing-2.1.10-7.el7.noarch                      67/93

 rsync-3.1.2-6.el7_6.1.x86_64                               68/93

 libyaml-0.1.4-11.el7_0.x86_64                              69/93

 PyYAML-3.10-11.el7.x86_64                                  70/93

 python-networkx-core-1.10-1.el7.noarch                     71/93

 python-networkx-1.10-1.el7.noarch                          72/93

 libiscsi-1.9.0-7.el7.x86_64                                73/93

 libaio-0.3.109-13.el7.x86_64                               74/93

 gperftools-libs-2.6.1-1.el7.x86_64                         75/93

 10:qemu-img-1.5.3-160.el7_6.2.x86_64                       76/93

 libedit-3.0-12.20121213cvs.el7.x86_64                      77/93

 openssh-clients-7.4p1-16.el7.x86_64                        78/93

 perl-Git-1.8.3.1-20.el7.noarch                             79/93

 git-1.8.3.1-20.el7.x86_64                                  80/93

 dib-utils-0.0.11-1.el7.noarch                              81/93

 diskimage-builder-2.16.0-1.el7.noarch                      82/93

 e2fsprogs-1.42.9-13.el7.x86_64                             83/93

 xfsprogs-4.5.0-19.el7_6.x86_64                             84/93

 parted-3.1-29.el7.x86_64                                   85/93

 1:findutils-4.5.11-6.el7.x86_64                            86/93

 wget-1.14-18.el7_6.1.x86_64                                87/93

No such file or directory for /usr/share/info/wget.info.gz

 sudo-1.8.23-3.el7.x86_64                                   88/93

 which-2.20-7.el7.x86_64                                    89/93

No such file or directory for /usr/share/info/which.info.gz

 python-2.7.5-68.el7.x86_64                                 90/93

 python-libs-2.7.5-68.el7.x86_64                            91/93

 1:findutils-4.5.11-5.el7.x86_64                            92/93

 libcom_err-1.42.9-12.el7_5.x86_64                          93/93


python2-libs-2.7.15-4.fc27.x86_64                     1/30

python2-pip-9.0.3-2.fc27.noarch                       2/30

python2-setuptools-37.0.0-2.fc27.noarch               3/30

python2-2.7.15-4.fc27.x86_64                          4/30

rpm-4.14.2.1-1.fc27.x86_64                            5/30

rpm-plugin-selinux-4.14.2.1-1.fc27.x86_64             6/30

rpm-libs-4.14.2.1-1.fc27.x86_64                       7/30

rpm-libs-4.14.2.1-1.fc27.x86_64                       7/30

rpm-build-libs-4.14.2.1-1.fc27.x86_64                 8/30

rpm-build-libs-4.14.2.1-1.fc27.x86_64                 8/30

python2-rpm-4.14.2.1-1.fc27.x86_64                    9/30

python2-kitchen-1.2.4-7.fc27.noarch                  10/30

pyliblzma-0.5.3-19.fc27.x86_64                       11/30

python2-pygpgme-0.3-25.fc27.x86_64                   12/30

pyxattr-0.5.3-12.fc27.x86_64                         13/30

yum-metadata-parser-1.1.4-20.fc27.x86_64             14/30

python2-pycurl-7.43.0-9.fc27.x86_64                  15/30

python-urlgrabber-3.10.1-12.fc27.noarch              16/30

python2-six-1.11.0-1.fc27.noarch                     17/30

python2-iniparse-0.4-26.fc27.noarch                  18/30

cpio-2.12-6.fc27.x86_64                              19/30

cpio-2.12-6.fc27.x86_64                              19/30

yum-3.4.3-513.fc27.noarch                            20/30

yum-3.4.3-513.fc27.noarch                            20/30

yum-utils-1.1.31-514.fc27.noarch                     21/30

python3-rpm-4.14.2.1-1.fc27.x86_64                   22/30

rpm-plugin-systemd-inhibit-4.14.2.1-1.fc27.x86_64    23/30

wget-1.19.5-1.fc27.x86_64                            24/30

wget-1.19.5-1.fc27.x86_64                            24/30

uch file or directory for /usr/share/info/wget.info.gz

python3-rpm-4.14.1-1.fc27.x86_64                     25/30

rpm-build-libs-4.14.1-1.fc27.x86_64                  26/30

rpm-build-libs-4.14.1-1.fc27.x86_64                  26/30

rpm-plugin-systemd-inhibit-4.14.1-1.fc27.x86_64      27/30

rpm-libs-4.14.1-1.fc27.x86_64                        28/30

rpm-libs-4.14.1-1.fc27.x86_64                        28/30

rpm-4.14.1-1.fc27.x86_64                             29/30

rpm-plugin-selinux-4.14.1-1.fc27.x86_64              30/30

Packages included in ISO ta/manifest/packages.yaml and configuration.

PACKAGES_TO_INSTALL='access-management activators ansible-2.4.4.0-1.el7.ans.noarch ansible-role-ntp bash-completion caas-chartrepo caas-cpupooler caas-custom_metrics caas-danm caas-elasticsearch caas-etcd caas-flannel caas-fluentd caas-helm caas-infra-charts caas-instantiate caas-kubedns caas-kubernetes caas-lcm caas-metrics_server caas-netwatcher caas-prometheus caas-registry caas-security caas-sriovdp caas-svcwatcher caas-swift caas-utils ceph ceph-ansible-3.0.24 ceph-base ceph-common ceph-mds ceph-mgr ceph-mon ceph-radosgw config-encoder-macros config-manager containerd.io-1.2.6-3.3.el7.x86_64 distributed-state-server docker-ce-18.09.7-3.el7.x86_64 docker-ce-cli-18.09.7-3.el7.x86_64 dosfstools dpdk-tools etcd facter galera genisoimage haproxy hostcli hw-detector image-provision infra-ansible inventoryhandlers ipa-deployer iptables-services ironic-virtmedia-driver kernel-4.14.106-200.el7.x86_64 lockcli m2crypto mariadb mariadb-devel mariadb-errmsg mariadb-server-galera memcached monitoring nginx ntp openstack-ansible openstack-ansible-galera_client openstack-ansible-galera_server openstack-ansible-haproxy_server openstack-ansible-memcached_server openstack-ansible-openstack_openrc openstack-ansible-os_ironic openstack-ansible-os_keystone openstack-ansible-plugins openstack-ansible-rabbitmq_server openstack-ansible-rsyslog_client openstack-ironic-api openstack-ironic-conductor openstack-ironic-inspector openstack-keystone os-net-config partfs_rootdisk product-manifest python-ilorest-library python-keystone python2-peewee python2-shade python2-virtualbmc qemu-kvm-common-ev rabbitmq-server recuserconfighandlers redis start-menu userconfighandlers uwsgi uwsgi-plugin-python2 validators vim-enhanced xinetd yarf' (looks like are generated from packages.yaml)

  • No labels