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 5 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. install.iso contains

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

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

  • installed RPMs with dib (disk image build)
  • tar files:


    FileAvailable on aarch64
    1./var/lib/caas/images/flannel:0.11.0-4.tar
    2./var/lib/caas/images/chartrepo:1.0.0-6.tar
    3./var/lib/caas/images/chartrepo:1.0.0-6.tar
    4./var/lib/caas/images/cpupooler:0.3.0-1.tar
    5./var/lib/caas/images/sriovdp:2.0.0-4.tar
    6./var/lib/caas/images/kubernetespause:1.15.1-0.tar
    7./var/lib/caas/images/hyperkube:1.15.1-0.tar
    8./var/lib/caas/images/netwatcher:3.3.0-3.tar
    9./var/lib/caas/images/swift:2.21.0-5.tar
    10./var/lib/caas/images/kubedns:1.15.4-2.tar
    11./var/lib/caas/images/custom_metrics:0.5.0-1.tar
    12./var/lib/caas/images/svcwatcher:3.3.0-3.tar
    13./var/lib/caas/images/metrics_server:0.3.3-1.tar
    14./var/lib/caas/images/prometheus:2.10.0-0.tar
    15./var/lib/caas/images/elasticsearch:7.2.0-0.tar
    16./var/lib/caas/images/registry:2.7.1-4.tar
    17./var/lib/caas/images/tiller:2.14.1-1.tar
    18./var/lib/caas/images/etcd:3.3.13-4.tar
    19./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:


PackageAvailable on aarch64
1

PyYAML.x86_64 0:3.10-11.el7


2diskimage-builder.noarch 0:2.16.0-1.el7
3e2fsprogs.x86_64 0:1.42.9-13.el7
4git.x86_64 0:1.8.3.1-20.el7
5parted.x86_64 0:3.1-29.el7
6sudo.x86_64 0:1.8.23-3.el7
7wget.x86_64 0:1.14-18.el7_6.1
8which.x86_64 0:2.20-7.el7
9xfsprogs.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:


PackageAvailable on aarch64
1python-libs-2.7.5-80.el7_6.x86_64                          
2 python-2.7.5-80.el7_6.x86_64                 
3 python2-setuptools-22.0.5-1.el7.noarch                     y
4 libcom_err-1.42.9-13.el7.x86_64                            
5 glusterfs-libs-3.12.2-18.el7.x86_64                        
6 fipscheck-1.4.1-6.el7.x86_64     
7 fipscheck-lib-1.4.1-6.el7.x86_64                           
8 libquadmath-4.8.5-36.el7_6.2.x86_64                        
9 libgfortran-4.8.5-36.el7_6.2.x86_64                        
10 boost-system-1.53.0-27.el7.x86_64                         
11 boost-thread-1.53.0-27.el7.x86_64                         
12 atlas-3.10.1-12.el7.x86_64                                
13 python2-pbr-3.1.1-8.el7.noarch                            y
14 python2-six-1.10.0-9.el7.noarch                           y
15 boost-random-1.53.0-27.el7.x86_64                         
16 boost-iostreams-1.53.0-27.el7.x86_64                      
17 1:librados2-10.2.5-4.el7.x86_64                      
18 groff-base-1.22.2-8.el7.x86_64                            
19 less-458-9.el7.x86_64                                     
20 1:perl-parent-0.225-244.el7.noarch                        y
21 perl-HTTP-Tiny-0.033-3.el7.noarch        y
22 perl-podlators-2.5.1-3.el7.noarch                         y
23 perl-Pod-Perldoc-3.20-4.el7.noarch                        y
24 1:perl-Pod-Escapes-1.04-294.el7_6.noarch                  y
25 perl-Text-ParseWords-3.29-4.el7.noarch                    y
26 perl-Encode-2.51-7.el7.x86_64                             
27 perl-Pod-Usage-1.63-3.el7.noarch                          y
28 4:perl-libs-5.16.3-294.el7_6.x86_64                       
29 perl-Socket-2.010-4.el7.x86_64                            
30 4:perl-Time-HiRes-1.9725-3.el7.x86_64                     
31 perl-threads-1.87-4.el7.x86_64                            
32 perl-Storable-2.45-3.el7.x86_64                           
33 perl-Carp-1.26-244.el7.noarch                             y
34 perl-Filter-1.49-3.el7.x86_64                             
35 perl-Exporter-5.68-3.el7.noarch                           y
36 perl-constant-1.27-2.el7.noarch                           y
37 perl-Time-Local-1.2300-2.el7.noarch                       y
38 4:perl-macros-5.16.3-294.el7_6.x86_64                     
39 perl-threads-shared-1.43-6.el7.x86_64                     
40 perl-File-Temp-0.23.01-3.el7.noarch                       y
41 perl-File-Path-2.09-2.el7.noarch                          y
42 perl-PathTools-3.40-5.el7.x86_64                          
43 perl-Scalar-List-Utils-1.27-248.el7.x86_64           
44 1:perl-Pod-Simple-3.28-4.el7.noarch                       y
45 perl-Getopt-Long-2.40-3.el7.noarch                        y
46 4:perl-5.16.3-294.el7_6.x86_64                            
47 1:perl-Error-0.17020-2.el7.noarch        y
48 perl-TermReadKey-2.30-20.el7.x86_64                       
49 1:librbd1-10.2.5-4.el7.x86_64                             
50 python2-stevedore-1.28.0-1.el7.noarch                     y
51 openssh-7.4p1-16.el7.x86_64  
52 glusterfs-3.12.2-18.el7.x86_64                            
53 glusterfs-client-xlators-3.12.2-18.el7.x86_64             
54 glusterfs-api-3.12.2-18.el7.x86_64        
55 libss-1.42.9-13.el7.x86_64                                
56 e2fsprogs-libs-1.42.9-13.el7.x86_64                       
57 python2-pycodestyle-2.0.0-5.el7.noarch                    y
58 python-nose-1.3.7-7.el7.noarchy
59 1:python2-numpy-1.11.2-2.el7.x86_64                       
60 python2-scipy-0.18.0-3.el7.x86_64                         
61 pyflakes-0.9.2-1.el7.noarch                               y
62 python-decorator-3.4.0-3.el7.noarch                       y
63 python-mccabe-0.2.1-4.el7.noarch                          y
64 python2-flake8-2.6.2-1.el7.noarch                         y
65 pytz-2016.10-2.el7.noarch                                 y
66 python2-babel-2.3.4-1.el7.noarch                          y
67 python2-pyparsing-2.1.10-7.el7.noarch                     y
68 rsync-3.1.2-6.el7_6.1.x86_64                              
69 libyaml-0.1.4-11.el7_0.x86_64                             
70 PyYAML-3.10-11.el7.x86_64                                 
71 python-networkx-core-1.10-1.el7.noarch                    y
72 python-networkx-1.10-1.el7.noarch                    y
73 libiscsi-1.9.0-7.el7.x86_64                               
74 libaio-0.3.109-13.el7.x86_64                              
75 gperftools-libs-2.6.1-1.el7.x86_64                        
76 10:qemu-img-1.5.3-160.el7_6.2.x86_64     
77 libedit-3.0-12.20121213cvs.el7.x86_64                     
78 openssh-clients-7.4p1-16.el7.x86_64                       
79 perl-Git-1.8.3.1-20.el7.noarch                            y
80 git-1.8.3.1-20.el7.x86_64    
81 dib-utils-0.0.11-1.el7.noarch                             y
82 diskimage-builder-2.16.0-1.el7.noarch                     y
83 e2fsprogs-1.42.9-13.el7.x86_64                            
84 xfsprogs-4.5.0-19.el7_6.x86_64                            
85 parted-3.1-29.el7.x86_64                                  
86 findutils-4.5.11-6.el7.x86_64                           
87 wget-1.14-18.el7_6.1.x86_64                               
88 sudo-1.8.23-3.el7.x86_64                                  
89 which-2.20-7.el7.x86_64                                   
90 python-2.7.5-68.el7.x86_64                                
91 python-libs-2.7.5-68.el7.x86_64                           
92 1:findutils-4.5.11-5.el7.x86_64                           
93 libcom_err-1.42.9-12.el7_5.x86_64                         
94python2-libs-2.7.15-4.fc27.x86_64                    
95python2-pip-9.0.3-2.fc27.noarch                      y
96python2-setuptools-37.0.0-2.fc27.noarch              y
97python2-2.7.15-4.fc27.x86_64                         
98rpm-4.14.2.1-1.fc27.x86_64                           
99rpm-plugin-selinux-4.14.2.1-1.fc27.x86_64            
100rpm-libs-4.14.2.1-1.fc27.x86_64                      
101rpm-libs-4.14.2.1-1.fc27.x86_64                      
102rpm-build-libs-4.14.2.1-1.fc27.x86_64                
103rpm-build-libs-4.14.2.1-1.fc27.x86_64                
104python2-rpm-4.14.2.1-1.fc27.x86_64                   
105python2-kitchen-1.2.4-7.fc27.noarch                 y
106pyliblzma-0.5.3-19.fc27.x86_64 
107python2-pygpgme-0.3-25.fc27.x86_64                  
108pyxattr-0.5.3-12.fc27.x86_64                        
109yum-metadata-parser-1.1.4-20.fc27.x86_64            
110python2-pycurl-7.43.0-9.fc27.x86_64            
111python-urlgrabber-3.10.1-12.fc27.noarch             y
112python2-six-1.11.0-1.fc27.noarch                    y
113python2-iniparse-0.4-26.fc27.noarch                 y
114cpio-2.12-6.fc27.x86_64                             
115cpio-2.12-6.fc27.x86_64                             
116yum-3.4.3-513.fc27.noarch                           y
117yum-3.4.3-513.fc27.noarch                           y
118yum-utils-1.1.31-514.fc27.noarch                    y
119python3-rpm-4.14.2.1-1.fc27.x86_64                  
120rpm-plugin-systemd-inhibit-4.14.2.1-1.fc27.x86_64   
121wget-1.19.5-1.fc27.x86_64                           
122wget-1.19.5-1.fc27.x86_64                           
123python3-rpm-4.14.1-1.fc27.x86_64                    
124rpm-build-libs-4.14.1-1.fc27.x86_64                 
125rpm-build-libs-4.14.1-1.fc27.x86_64                 
126rpm-plugin-systemd-inhibit-4.14.1-1.fc27.x86_64     
127rpm-libs-4.14.1-1.fc27.x86_64                       
128rpm-libs-4.14.1-1.fc27.x86_64                       
129rpm-4.14.1-1.fc27.x86_64                            
130rpm-plugin-selinux-4.14.1-1.fc27.x86_64             


Packages included in ISO ta/manifest/packages.yaml and configuration. Looks like these are generated from packages.yaml


PackageAvaliable on aarch64
1access-management
2activators
3ansible-2.4.4.0-1.el7.ans.noarchy
4ansible-role-ntp
5bash-completion
6caas-chartrepo
7caas-cpupooler
8caas-custom_metrics
9caas-danm
10caas-elasticsearch
11caas-etcd
12caas-flannel
13caas-fluentd
14caas-helm
15caas-infra-charts
16caas-instantiate
17caas-kubedns
18caas-kubernetes
19caas-lcm
20caas-metrics_server
21caas-netwatcher
22caas-prometheus
23caas-registry
24caas-security
25caas-sriovdp
26caas-svcwatcher
27caas-swift
28caas-utils
29ceph
30ceph-ansible-3.0.24
31ceph-base
32ceph-common
33ceph-mds
34ceph-mgr
35ceph-mon
36ceph-radosgw
37config-encoder-macros
38config-manager
39containerd.io-1.2.6-3.3.el7.x86_64
40distributed-state-server
41docker-ce-18.09.7-3.el7.x86_64
42docker-ce-cli-18.09.7-3.el7.x86_64
43dosfstools
44dpdk-tools
45etcd
46facter
47galera
48genisoimage
49haproxy
50hostcli
51hw-detector
52image-provision
53infra-ansible
54inventoryhandlers
55ipa-deployer
56iptables-services
57ironic-virtmedia-driver
58kernel-4.14.106-200.el7.x86_64
59lockcli
60m2crypto
61mariadb
62mariadb-devel
63mariadb-errmsg
64mariadb-server-galera
65memcached
66monitoring
67nginx
68ntp
69openstack-ansible
70openstack-ansible-galera_client
71openstack-ansible-galera_server
72openstack-ansible-haproxy_server
73openstack-ansible-memcached_server
74openstack-ansible-openstack_openrc
75openstack-ansible-os_ironic
76openstack-ansible-os_keystone
77openstack-ansible-plugins
78openstack-ansible-rabbitmq_server
79openstack-ansible-rsyslog_client
80openstack-ironic-api
81openstack-ironic-conductor
82openstack-ironic-inspector
83openstack-keystone
84os-net-config
85partfs_rootdisk
86product-manifest
87python-ilorest-library
88python-keystone
89python2-peewee
90python2-shade
91python2-virtualbmc
92qemu-kvm-common-ev
93rabbitmq-server
94recuserconfighandlers
95redis
96start-menu
97userconfighandlers
98uwsgi
99uwsgi-plugin-python2
100validators
101vim-enhanced
102xinetd
103yarf


  • No labels