Monday, May 3, 2021

Introduction to OKIT oracle cloud infrastructure

Before we provision any resources, we should have the framework of the architecture and the design of it. Out of the many tools available, OKIT is one such type of tool which will allow us to draw the architecture. Also it translates the design it to a working solution. The OCI Designer Toolkit (OKIT) is basically a standalone / offline browser-based design tool for OCI which helps in representing the OCI Infrastructure. And then, terraform/ansible script can be generated to build the Oracle cloud infrastructure which has been designed earlier

I have divided the article into 3 parts

1. i have tried to demonstrate how we can install OKIT

2. i will cover how we can draw a basic topology using OKIT

3. how we can build the infrastructure for a remote tenancy using the OKIT which has been installed, altogether in a separate tenancy for Oracle Cloud infrastructure.


OKIT Image after initial Installation:-




First Part:-

 

Keep the following details ready from OCI

user=ocid1.user.oc1..***********************

fingerprint=0c:65:cd:01*****************

key_file=/root/.oci/oci_api_key.pem

tenancy=ocid1.tenancy.oc1..******************

region=us-ashburn-1

Install OCI CLI to the source compute instance (This is located in a different tenancy and in different region)

Note: Using OKIT, we will provision resources in target tenancy which is located in another region

 

Installing Python

 

Using root user

 

yum install gcc libffi-devel python-devel openssl-devel

 

yum install python36

 

ln -s /usr/bin/python36 /usr/bin/python3

 

 

[root@cloud opc]# python3 --version

Python 3.6.8

 

 

Install OCI CLI

 

bash -c "$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)"

 

Configuring CLI

Note: We are using root user as Docker and container will be running using root user

Note: Value passed below are for the target instance where we want to deploy the resources. My target is running in ashburn region and source is in frankfurt region.

     [root@toolkit .oci]# ./oci setup config

    This command provides a walkthrough of creating a valid CLI config file.

 

    The following links explain where to find the information required by this

    script:

 

    User API Signing Key, OCID and Tenancy OCID:

 

        https://docs.cloud.oracle.com/Content/API/Concepts/apisigningkey.htm#Other

 

    Region:

 

        https://docs.cloud.oracle.com/Content/General/Concepts/regions.htm

 

    General config documentation:

 

        https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm

 

 

Enter a location for your config [/root/.oci/config]:

Enter a user OCID: ocid1.user.oc1..***************

Enter a tenancy OCID: ocid1.tenancy.oc1..********************

Enter a region by index or name(e.g.

1: ap-chiyoda-1, 2: ap-chuncheon-1, 3: ap-hyderabad-1, 4: ap-melbourne-1, 5: ap-mumbai-1,

6: ap-osaka-1, 7: ap-seoul-1, 8: ap-sydney-1, 9: ap-tokyo-1, 10: ca-montreal-1,

11: ca-toronto-1, 12: eu-amsterdam-1, 13: eu-frankfurt-1, 14: eu-zurich-1, 15: me-dubai-1,

16: me-jeddah-1, 17: sa-santiago-1, 18: sa-saopaulo-1, 19: uk-cardiff-1, 20: uk-gov-cardiff-1,

21: uk-gov-london-1, 22: uk-london-1, 23: us-ashburn-1, 24: us-gov-ashburn-1, 25: us-gov-chicago-1,

26: us-gov-phoenix-1, 27: us-langley-1, 28: us-luke-1, 29: us-phoenix-1, 30: us-sanjose-1): us-ashburn-1

Do you want to generate a new API Signing RSA key pair? (If you decline you will be asked to supply the path to an existing key.) [Y/n]: Y

Enter a directory for your keys to be created [/root/.oci]:

Enter a name for your key [oci_api_key]:

Public key written to: /root/.oci/oci_api_key_public.pem

Enter a passphrase for your private key (empty for no passphrase):

Private key written to: /root/.oci/oci_api_key.pem

Fingerprint: 0c:65:cd:01:95:***********************

Config written to /root/.oci/config

 Upload the public key to the API AUTH section in console to get the fingerprint. This has to be uploaded to the relevant user section under the target instance which is Ashburn in my case.






Check if OCI CLI is working fine or not

oci iam availability-domain list

 

Install GIT

yum install git

 

Last metadata expiration check: 0:15:45 ago on Tue 16 Mar 2021 04:36:46 AM GMT.

Dependencies resolved.

=============================================================================================================================================================================================

 Package                                          Architecture                           Version                                         Repository                                     Size

=============================================================================================================================================================================================

Installing:

 git                                              x86_64                                 2.27.0-1.el8                                    ol8_appstream                                 164 k

Installing dependencies:

 git-core                                         x86_64                                 2.27.0-1.el8                                    ol8_appstream                                 5.7 M

 git-core-doc                                     noarch                                 2.27.0-1.el8                                    ol8_appstream                                 2.5 M

 perl-Error                                       noarch                                 1:0.17025-2.el8                                 ol8_appstream                                  46 k

 perl-Git                                         noarch                                 2.27.0-1.el8                                    ol8_appstream                                  78 k

 perl-TermReadKey                                 x86_64                                 2.37-7.el8                                      ol8_appstream                                  40 k

 

Transaction Summary

=============================================================================================================================================================================================

Install  6 Packages

 

Total download size: 8.5 M

Installed size: 45 M

Is this ok [y/N]: y

Downloading Packages:

(1/6): perl-Error-0.17025-2.el8.noarch.rpm                                                                                                                   644 kB/s |  46 kB     00:00

(2/6): perl-TermReadKey-2.37-7.el8.x86_64.rpm                                                                                                                412 kB/s |  40 kB     00:00

(3/6): perl-Git-2.27.0-1.el8.noarch.rpm                                                                                                                      1.3 MB/s |  78 kB     00:00

(4/6): git-core-doc-2.27.0-1.el8.noarch.rpm                                                                                                                   29 MB/s | 2.5 MB     00:00

(5/6): git-2.27.0-1.el8.x86_64.rpm                                                                                                                           1.8 MB/s | 164 kB     00:00

(6/6): git-core-2.27.0-1.el8.x86_64.rpm                                                                                                                       16 MB/s | 5.7 MB     00:00

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total                                                                                                                                                         20 MB/s | 8.5 MB     00:00

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                                                                                                     1/1

  Installing       : git-core-2.27.0-1.el8.x86_64                                                                                                                                        1/6

  Installing       : git-core-doc-2.27.0-1.el8.noarch                                                                                                                                    2/6

  Installing       : perl-TermReadKey-2.37-7.el8.x86_64                                                                                                                                  3/6

  Installing       : perl-Error-1:0.17025-2.el8.noarch                                                                                                                                   4/6

  Installing       : git-2.27.0-1.el8.x86_64                                                                                                                                             5/6

  Installing       : perl-Git-2.27.0-1.el8.noarch                                                                                                                                        6/6

  Running scriptlet: perl-Git-2.27.0-1.el8.noarch                                                                                                                                        6/6

  Verifying        : perl-Error-1:0.17025-2.el8.noarch                                                                                                                                   1/6

  Verifying        : perl-TermReadKey-2.37-7.el8.x86_64                                                                                                                                  2/6

  Verifying        : git-core-2.27.0-1.el8.x86_64                                                                                                                                        3/6

  Verifying        : perl-Git-2.27.0-1.el8.noarch                                                                                                                                        4/6

  Verifying        : git-core-doc-2.27.0-1.el8.noarch                                                                                                                                    5/6

  Verifying        : git-2.27.0-1.el8.x86_64                                                                                                                                             6/6

 

Installed:

  git-2.27.0-1.el8.x86_64 git-core-2.27.0-1.el8.x86_64 git-core-doc-2.27.0-1.el8.noarch perl-Error-1:0.17025-2.el8.noarch perl-Git-2.27.0-1.el8.noarch perl-TermReadKey-2.37-7.el8.x86_64

 

Complete!

 

[root@toolkit ~]# which git

/usr/bin/git

 Install docker engine

[root@toolkit ~]# yum remove docker                   docker-client                   docker-client-latest                   docker-common                   docker-latest                   docker-latest-logrotate                   docker-logrotate                   docker-engine

No match for argument: docker

No match for argument: docker-client

No match for argument: docker-client-latest

No match for argument: docker-common

No match for argument: docker-latest

No match for argument: docker-latest-logrotate

No match for argument: docker-logrotate

No match for argument: docker-engine

No packages marked for removal.

Dependencies resolved.

Nothing to do.

Complete!

 

[root@toolkit ~]# yum install -y yum-utils

Last metadata expiration check: 1:27:15 ago on Tue 16 Mar 2021 03:08:52 AM GMT.

Package yum-utils-4.0.17-5.el8.noarch is already installed.

Dependencies resolved.

Nothing to do.

Complete!

 

[root@toolkit ~]# yum-config-manager \

>     --add-repo \

>     https://download.docker.com/linux/centos/docker-ce.repo

Adding repo from: https://download.docker.com/linux/centos/docker-ce.repo

 

 

[root@toolkit ~]# yum install docker-ce docker-ce-cli containerd.io

Docker CE Stable - x86_64                                                                                                                                    125 kB/s |  11 kB     00:00

Dependencies resolved.

=============================================================================================================================================================================================

 Package                                         Architecture                 Version                                                          Repository                               Size

=============================================================================================================================================================================================

Installing:

 containerd.io                                   x86_64                       1.4.4-3.1.el8                                                    docker-ce-stable                         33 M

 docker-ce                                       x86_64                       3:20.10.5-3.el8                                                  docker-ce-stable                         27 M

 docker-ce-cli                                   x86_64                       1:20.10.5-3.el8                                                  docker-ce-stable                         33 M

Installing dependencies:

 container-selinux                               noarch                       2:2.155.0-1.module+el8.3.1+9659+c1901784                         ol8_appstream                            51 k

 docker-ce-rootless-extras                       x86_64                       20.10.5-3.el8                                                    docker-ce-stable                        9.1 M

 fuse-common                                     x86_64                       3.2.1-12.0.3.el8                                                 ol8_baseos_latest                        22 k

 fuse-overlayfs                                  x86_64                       1.3.0-2.module+el8.3.1+9659+c1901784                             ol8_appstream                            72 k

 fuse3                                           x86_64                       3.2.1-12.0.3.el8                                                 ol8_baseos_latest                        51 k

 fuse3-libs                                      x86_64                       3.2.1-12.0.3.el8                                                 ol8_baseos_latest                        95 k

 libcgroup                                       x86_64                       0.41-19.el8                                                      ol8_baseos_latest                        70 k

 libslirp                                        x86_64                       4.3.1-1.module+el8.3.1+9659+c1901784                             ol8_appstream                            69 k

 slirp4netns                                     x86_64                       1.1.8-1.module+el8.3.1+9659+c1901784                             ol8_appstream                            51 k

Enabling module streams:

 container-tools                                                              ol8

 

Transaction Summary

=============================================================================================================================================================================================

Install  12 Packages

 

Total download size: 103 M

Installed size: 425 M

Is this ok [y/N]: y

Downloading Packages:

(1/12): docker-ce-20.10.5-3.el8.x86_64.rpm                                                                                                                   2.9 MB/s |  27 MB     00:09

(2/12): containerd.io-1.4.4-3.1.el8.x86_64.rpm                                                                                                               2.3 MB/s |  33 MB     00:14

(3/12): libcgroup-0.41-19.el8.x86_64.rpm                                                                                                                     1.1 MB/s |  70 kB     00:00

(4/12): fuse-common-3.2.1-12.0.3.el8.x86_64.rpm                                                                                                              561 kB/s |  22 kB     00:00

(5/12): fuse3-3.2.1-12.0.3.el8.x86_64.rpm                                                                                                                    1.4 MB/s |  51 kB     00:00

(6/12): fuse3-libs-3.2.1-12.0.3.el8.x86_64.rpm                                                                                                               2.5 MB/s |  95 kB     00:00

(7/12): container-selinux-2.155.0-1.module+el8.3.1+9659+c1901784.noarch.rpm                                                                                  957 kB/s |  51 kB     00:00

(8/12): libslirp-4.3.1-1.module+el8.3.1+9659+c1901784.x86_64.rpm                                                                                             2.0 MB/s |  69 kB     00:00

(9/12): fuse-overlayfs-1.3.0-2.module+el8.3.1+9659+c1901784.x86_64.rpm                                                                                       1.8 MB/s |  72 kB     00:00

(10/12): slirp4netns-1.1.8-1.module+el8.3.1+9659+c1901784.x86_64.rpm                                                                                         1.5 MB/s |  51 kB     00:00

(11/12): docker-ce-rootless-extras-20.10.5-3.el8.x86_64.rpm                                                                                                  1.0 MB/s | 9.1 MB     00:08

(12/12): docker-ce-cli-20.10.5-3.el8.x86_64.rpm                                                                                                              1.8 MB/s |  33 MB     00:18

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Total                                                                                                                                                        5.6 MB/s | 103 MB     00:18

warning: /var/cache/dnf/docker-ce-stable-fa9dc42ab4cec2f4/packages/containerd.io-1.4.4-3.1.el8.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY

Docker CE Stable - x86_64                                                                                                                                     94 kB/s | 1.6 kB     00:00

Importing GPG key 0x621E9F35:

 Userid     : "Docker Release (CE rpm) <docker@docker.com>"

 Fingerprint: 060A 61C5 1B55 8A7F 742B 77AA C52F EB6B 621E 9F35

 From       : https://download.docker.com/linux/centos/gpg

Is this ok [y/N]: y

Key imported successfully

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                                                                                                     1/1

  Running scriptlet: container-selinux-2:2.155.0-1.module+el8.3.1+9659+c1901784.noarch                                                                                                  1/12

  Installing       : container-selinux-2:2.155.0-1.module+el8.3.1+9659+c1901784.noarch                                                                                                  1/12

  Running scriptlet: container-selinux-2:2.155.0-1.module+el8.3.1+9659+c1901784.noarch                                                                                                  1/12

 

  Installing       : containerd.io-1.4.4-3.1.el8.x86_64                                                                                                                                 2/12

  Running scriptlet: containerd.io-1.4.4-3.1.el8.x86_64                                                                                                                                 2/12

  Installing       : libslirp-4.3.1-1.module+el8.3.1+9659+c1901784.x86_64                                                                                                               3/12

  Installing       : slirp4netns-1.1.8-1.module+el8.3.1+9659+c1901784.x86_64                                                                                                            4/12

  Installing       : fuse3-libs-3.2.1-12.0.3.el8.x86_64                                                                                                                                 5/12

  Running scriptlet: fuse3-libs-3.2.1-12.0.3.el8.x86_64                                                                                                                                 5/12

  Installing       : fuse-common-3.2.1-12.0.3.el8.x86_64                                                                                                                                6/12

  Installing       : fuse3-3.2.1-12.0.3.el8.x86_64                                                                                                                                      7/12

  Installing       : fuse-overlayfs-1.3.0-2.module+el8.3.1+9659+c1901784.x86_64                                                                                                         8/12

  Running scriptlet: fuse-overlayfs-1.3.0-2.module+el8.3.1+9659+c1901784.x86_64                                                                                                         8/12

  Running scriptlet: libcgroup-0.41-19.el8.x86_64                                                                                                                                       9/12

  Installing       : libcgroup-0.41-19.el8.x86_64                                                                                                                                       9/12

  Running scriptlet: libcgroup-0.41-19.el8.x86_64                                                                                                                                       9/12

  Installing       : docker-ce-cli-1:20.10.5-3.el8.x86_64                                                                                                                              10/12

  Running scriptlet: docker-ce-cli-1:20.10.5-3.el8.x86_64                                                                                                                              10/12

  Installing       : docker-ce-rootless-extras-20.10.5-3.el8.x86_64                                                                                                                    11/12

  Running scriptlet: docker-ce-rootless-extras-20.10.5-3.el8.x86_64                                                                                                                    11/12

  Installing       : docker-ce-3:20.10.5-3.el8.x86_64                                                                                                                                  12/12

  Running scriptlet: docker-ce-3:20.10.5-3.el8.x86_64                                                                                                                                  12/12

  Running scriptlet: container-selinux-2:2.155.0-1.module+el8.3.1+9659+c1901784.noarch                                                                                                 12/12

  Running scriptlet: docker-ce-3:20.10.5-3.el8.x86_64                                                                                                                                  12/12

  Verifying        : containerd.io-1.4.4-3.1.el8.x86_64                                                                                                                                 1/12

  Verifying        : docker-ce-3:20.10.5-3.el8.x86_64                                                                                                                                   2/12

  Verifying        : docker-ce-cli-1:20.10.5-3.el8.x86_64                                                                                                                               3/12

  Verifying        : docker-ce-rootless-extras-20.10.5-3.el8.x86_64                                                                                                                     4/12

  Verifying        : libcgroup-0.41-19.el8.x86_64                                                                                                                                       5/12

  Verifying        : fuse-common-3.2.1-12.0.3.el8.x86_64                                                                                                                                6/12

  Verifying        : fuse3-3.2.1-12.0.3.el8.x86_64                                                                                                                                      7/12

  Verifying        : fuse3-libs-3.2.1-12.0.3.el8.x86_64                                                                                                                                 8/12

  Verifying        : container-selinux-2:2.155.0-1.module+el8.3.1+9659+c1901784.noarch                                                                                                  9/12

  Verifying        : libslirp-4.3.1-1.module+el8.3.1+9659+c1901784.x86_64                                                                                                              10/12

  Verifying        : fuse-overlayfs-1.3.0-2.module+el8.3.1+9659+c1901784.x86_64                                                                                                        11/12

  Verifying        : slirp4netns-1.1.8-1.module+el8.3.1+9659+c1901784.x86_64                                                                                                           12/12

 

Installed:

  container-selinux-2:2.155.0-1.module+el8.3.1+9659+c1901784.noarch     containerd.io-1.4.4-3.1.el8.x86_64                       docker-ce-3:20.10.5-3.el8.x86_64

  docker-ce-cli-1:20.10.5-3.el8.x86_64                                  docker-ce-rootless-extras-20.10.5-3.el8.x86_64           fuse-common-3.2.1-12.0.3.el8.x86_64

  fuse-overlayfs-1.3.0-2.module+el8.3.1+9659+c1901784.x86_64            fuse3-3.2.1-12.0.3.el8.x86_64                            fuse3-libs-3.2.1-12.0.3.el8.x86_64

  libcgroup-0.41-19.el8.x86_64                                          libslirp-4.3.1-1.module+el8.3.1+9659+c1901784.x86_64     slirp4netns-1.1.8-1.module+el8.3.1+9659+c1901784.x86_64

 

Complete!

[root@toolkit ~]#

 

[root@toolkit ~]# yum list docker-ce --showduplicates | sort -r

Last metadata expiration check: 0:03:18 ago on Tue 16 Mar 2021 04:36:46 AM GMT.

Installed Packages

docker-ce.x86_64               3:20.10.5-3.el8                 docker-ce-stable

docker-ce.x86_64               3:20.10.5-3.el8                 @docker-ce-stable

docker-ce.x86_64               3:20.10.4-3.el8                 docker-ce-stable

docker-ce.x86_64               3:20.10.3-3.el8                 docker-ce-stable

docker-ce.x86_64               3:20.10.2-3.el8                 docker-ce-stable

docker-ce.x86_64               3:20.10.1-3.el8                 docker-ce-stable

docker-ce.x86_64               3:20.10.0-3.el8                 docker-ce-stable

docker-ce.x86_64               3:19.03.15-3.el8                docker-ce-stable

docker-ce.x86_64               3:19.03.14-3.el8                docker-ce-stable

docker-ce.x86_64               3:19.03.13-3.el8                docker-ce-stable

Available Packages

[root@toolkit ~]# which docker

/usr/bin/docker

 

Start the docker

[root@toolkit ~]# systemctl start docker

[root@toolkit ~]# docker run hello-world

Unable to find image 'hello-world:latest' locally

latest: Pulling from library/hello-world

b8dfde127a29: Pull complete

Digest: sha256:308866a43596e83578c7dfa15e27a73011bdd402185a84c5cd7f32a88b501a24

Status: Downloaded newer image for hello-world:latest

 

Hello from Docker!

This message shows that your installation appears to be working correctly.

 

To generate this message, Docker took the following steps:

 1. The Docker client contacted the Docker daemon.

 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.

    (amd64)

 3. The Docker daemon created a new container from that image which runs the

    executable that produces the output you are currently reading.

 4. The Docker daemon streamed that output to the Docker client, which sent it

    to your terminal.

 

To try something more ambitious, you can run an Ubuntu container with:

 $ docker run -it ubuntu bash

 

Share images, automate workflows, and more with a free Docker ID:

 https://hub.docker.com/

 

For more examples and ideas, visit:

 https://docs.docker.com/get-started/

 

 

 

[opc@toolkit ~]$ ps -ef|grep docker

root      351562       1  1 04:55 ?        00:00:00 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

opc       352010  200577  0 04:56 pts/0    00:00:00 grep --color=auto docker


 

Download OKIT repository

 

unzipped the file under:

/home/oracle/.oci

 

Build Docker container

cd /home/oracle/.oci/oci-designer-toolkit-master

ls -lrt

total 88

drwxr-xr-x. 10 oracle oinstall   152 Mar  3 17:16 visualiser

-rw-r--r--.  1 oracle oinstall 40096 Mar  3 17:16 THIRD_PARTY_LICENSES.txt

-rw-r--r--.  1 oracle oinstall   231 Mar  3 17:16 sonar-project.properties

drwxr-xr-x.  3 oracle oinstall    59 Mar  3 17:16 skeletons

-rw-r--r--.  1 oracle oinstall   165 Mar  3 17:16 requirements.txt

-rw-r--r--.  1 oracle oinstall  6958 Mar  3 17:16 README.md

drwxr-xr-x.  4 oracle oinstall   158 Mar  3 17:16 okitweb

-rw-r--r--.  1 oracle oinstall  1844 Mar  3 17:16 LICENSE.txt

drwxr-xr-x.  3 oracle oinstall   152 Mar  3 17:16 documentation

-rw-r--r--.  1 oracle oinstall  2396 Mar  3 17:16 Dockerfile

-rw-r--r--.  1 oracle oinstall  2064 Mar  3 17:16 CONTRIBUTING.md

drwxr-xr-x.  9 oracle oinstall   101 Mar  3 17:16 containers

-rw-r--r--.  1 oracle oinstall 17095 Mar  3 17:16 CHANGELOG.md

 

Using root user:

cd /home/oracle/.oci/oci-designer-toolkit-master


 

docker build --tag okit .

 

 

Sending build context to Docker daemon  10.62MB

Step 1/10 : FROM oraclelinux:7-slim

7-slim: Pulling from library/oraclelinux

a61503a3b32e: Pull complete

Digest: sha256:66f74c1e1a3a34bb118b8ebb71e4602b712edbc1795ac6d1142a8e220e8d65cc

Status: Downloaded newer image for oraclelinux:7-slim

 ---> 9c40195a3ff2

Step 2/10 : LABEL "provider"="Oracle"       "issues"="https://github.com/oracle/oci-designer-toolkit/issues"       "version"="0.18.0"       "description"="OKIT Web Server Container."       "copyright"="Copyright (c) 2020, 2021, Oracle and/or its affiliates."

 ---> Running in 5cd90fa555ad

Removing intermediate container 5cd90fa555ad

 ---> 8155125ac895

Step 3/10 : SHELL ["/bin/bash", "-c"]

 ---> Running in 02b3f8a8878a

Removing intermediate container 02b3f8a8878a

 ---> d6d3746323bb

Step 4/10 : ENV PYTHONIOENCODING=utf8     PYTHONPATH=":/okit/visualiser:/okit/okitweb:/okit"     FLASK_APP=okitweb     FLASK_DEBUG=1     LANG=en_GB.UTF-8     LANGUAGE=en_GB:en     LC_ALL=en_GB.UTF-8     PATH=/root/bin:${PATH}

 ---> Running in ca9da6c94850

Removing intermediate container ca9da6c94850

 ---> a87a89d7ecd6

Step 5/10 : EXPOSE 80

 ---> Running in ecc0fa86c555

Removing intermediate container ecc0fa86c555

 ---> c2bb8ed4dd90

Step 6/10 : EXPOSE 443

 ---> Running in bec309811c57

Removing intermediate container bec309811c57

 ---> 31557a54bb24

Step 7/10 : COPY containers/oci/* /root/.oci/

 ---> 667593dfcf64

Step 8/10 : COPY containers/docker/run-server.sh /root/bin/

 ---> b705dd77a1ac

Step 9/10 : RUN yum install -y     oracle-softwarecollection-release-el7     oraclelinux-developer-release-el7  && yum-config-manager --disable ol7_ociyum_config  && yum update -y  && yum install -y         git         openssl         python36         python3-pip  && rm -rf /var/cache/yum  && python3 -m pip install --upgrade pip  && pip3 install --no-cache-dir         authlib==0.15.3         flask==1.1.1         gitpython==3.1.11         git-url-parse==1.2.2         gunicorn==20.0.4         oci         openpyxl==3.0.5         pandas==1.1.2         python-magic==0.4.18         pyyaml==5.3.1         requests==2.24.0         xlsxwriter==1.3.6  && mkdir -p /github  && git clone https://github.com/oracle/oci-designer-toolkit.git /github/oci-designer-toolkit  && mkdir -p /okit/{log,workspace,ssl}  && openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /okit/ssl/okit.key -out /okit/ssl/okit.crt -subj "/C=GB/ST=Berkshire/L=Reading/O=Oracle/OU=OKIT/CN=www.oci_okit.com"  && ln -sv /github/oci-designer-toolkit/okitweb /okit/okitweb  && ln -sv /github/oci-designer-toolkit/visualiser /okit/visualiser  && mkdir -p /okit/okitweb/static/okit/templates  && ln -sv /okit/templates /okit/okitweb/static/okit/templates/user  && chmod a+x /root/bin/run-server.sh

 ---> Running in 5f0442e2b299

Loaded plugins: ovl

Resolving Dependencies

--> Running transaction check

---> Package oracle-softwarecollection-release-el7.x86_64 0:1.0-4.el7 will be installed

--> Processing Dependency: oraclelinux-release-el7 >= 1.0-14 for package: oracle-softwarecollection-release-el7-1.0-4.el7.x86_64

---> Package oraclelinux-developer-release-el7.x86_64 0:1.0-6.el7 will be installed

--> Running transaction check

---> Package oraclelinux-release-el7.x86_64 0:1.0-13.1.el7 will be updated

---> Package oraclelinux-release-el7.x86_64 0:1.0-15.el7 will be an update

--> Finished Dependency Resolution

 

Dependencies Resolved

 

================================================================================

 Package                                Arch    Version       Repository   Size

================================================================================

Installing:

 oracle-softwarecollection-release-el7  x86_64  1.0-4.el7     ol7_latest   14 k

 oraclelinux-developer-release-el7      x86_64  1.0-6.el7     ol7_latest   14 k

Updating for dependencies:

 oraclelinux-release-el7                x86_64  1.0-15.el7    ol7_latest   22 k

 

Transaction Summary

================================================================================

Install  2 Packages

Upgrade             ( 1 Dependent package)

 

Total download size: 51 k

Downloading packages:

Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

--------------------------------------------------------------------------------

Total                                               48 kB/s |  51 kB  00:01

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Updating   : oraclelinux-release-el7-1.0-15.el7.x86_64                    1/4

warning: /etc/yum.repos.d/uek-ol7.repo created as /etc/yum.repos.d/uek-ol7.repo.rpmnew

  Installing : oraclelinux-developer-release-el7-1.0-6.el7.x86_64           2/4

  Installing : oracle-softwarecollection-release-el7-1.0-4.el7.x86_64       3/4

  Cleanup    : oraclelinux-release-el7-1.0-13.1.el7.x86_64                  4/4

  Verifying  : oraclelinux-developer-release-el7-1.0-6.el7.x86_64           1/4

  Verifying  : oracle-softwarecollection-release-el7-1.0-4.el7.x86_64       2/4

  Verifying  : oraclelinux-release-el7-1.0-15.el7.x86_64                    3/4

  Verifying  : oraclelinux-release-el7-1.0-13.1.el7.x86_64                  4/4

 

Installed:

  oracle-softwarecollection-release-el7.x86_64 0:1.0-4.el7

  oraclelinux-developer-release-el7.x86_64 0:1.0-6.el7

 

Dependency Updated:

  oraclelinux-release-el7.x86_64 0:1.0-15.el7

 

Complete!

Loaded plugins: ovl

Loaded plugins: ovl

Resolving Dependencies

--> Running transaction check

---> Package python.x86_64 0:2.7.5-90.0.1.el7 will be updated

---> Package python.x86_64 0:2.7.5-90.0.3.el7 will be an update

---> Package python-chardet.noarch 0:2.2.1-3.el7 will be obsoleted

---> Package python-libs.x86_64 0:2.7.5-90.0.1.el7 will be updated

---> Package python-libs.x86_64 0:2.7.5-90.0.3.el7 will be an update

---> Package python2-chardet.noarch 0:3.0.4-3.el7 will be obsoleting

--> Finished Dependency Resolution

 

Dependencies Resolved

 

================================================================================

 Package             Arch       Version                 Repository         Size

================================================================================

Installing:

 python2-chardet     noarch     3.0.4-3.el7             ol7_developer     185 k

     replacing  python-chardet.noarch 2.2.1-3.el7

Updating:

 python              x86_64     2.7.5-90.0.3.el7        ol7_latest         96 k

 python-libs         x86_64     2.7.5-90.0.3.el7        ol7_latest        5.6 M

 

Transaction Summary

================================================================================

Install  1 Package

Upgrade  2 Packages

 

Total download size: 5.9 M

Downloading packages:

Delta RPMs disabled because /usr/bin/applydeltarpm not installed.

--------------------------------------------------------------------------------

Total                                              3.2 MB/s | 5.9 MB  00:01

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Updating   : python-libs-2.7.5-90.0.3.el7.x86_64                          1/6

  Updating   : python-2.7.5-90.0.3.el7.x86_64                               2/6

  Installing : python2-chardet-3.0.4-3.el7.noarch                           3/6

  Erasing    : python-chardet-2.2.1-3.el7.noarch                            4/6

  Cleanup    : python-2.7.5-90.0.1.el7.x86_64                               5/6

  Cleanup    : python-libs-2.7.5-90.0.1.el7.x86_64                          6/6

  Verifying  : python-libs-2.7.5-90.0.3.el7.x86_64                          1/6

  Verifying  : python-2.7.5-90.0.3.el7.x86_64                               2/6

  Verifying  : python2-chardet-3.0.4-3.el7.noarch                           3/6

  Verifying  : python-libs-2.7.5-90.0.1.el7.x86_64                          4/6

  Verifying  : python-chardet-2.2.1-3.el7.noarch                            5/6

  Verifying  : python-2.7.5-90.0.1.el7.x86_64                               6/6

 

Installed:

  python2-chardet.noarch 0:3.0.4-3.el7

 

Updated:

  python.x86_64 0:2.7.5-90.0.3.el7     python-libs.x86_64 0:2.7.5-90.0.3.el7

 

Replaced:

  python-chardet.noarch 0:2.2.1-3.el7

 

Complete!

Loaded plugins: ovl

Resolving Dependencies

--> Running transaction check

---> Package git.x86_64 0:1.8.3.1-23.el7_8 will be installed

--> Processing Dependency: perl-Git = 1.8.3.1-23.el7_8 for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl >= 5.008 for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(strict) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(File::stat) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(lib) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(Term::ReadKey) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(File::Find) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: openssh-clients for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(File::Copy) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: less for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(File::Path) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(File::Basename) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(Git) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(File::Spec) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(Error) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(Exporter) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(File::Temp) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: rsync for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: /usr/bin/perl for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(vars) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(Getopt::Long) for package: git-1.8.3.1-23.el7_8.x86_64

--> Processing Dependency: perl(warnings) for package: git-1.8.3.1-23.el7_8.x86_64

---> Package openssl.x86_64 1:1.0.2k-21.el7_9 will be installed

--> Processing Dependency: make for package: 1:openssl-1.0.2k-21.el7_9.x86_64

---> Package python3.x86_64 0:3.6.8-18.0.3.el7 will be installed

--> Processing Dependency: python3-libs(x86-64) = 3.6.8-18.0.3.el7 for package: python3-3.6.8-18.0.3.el7.x86_64

--> Processing Dependency: python3-setuptools for package: python3-3.6.8-18.0.3.el7.x86_64

--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-18.0.3.el7.x86_64

---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed

--> Running transaction check

---> Package less.x86_64 0:458-9.el7 will be installed

--> Processing Dependency: groff-base for package: less-458-9.el7.x86_64

---> Package make.x86_64 1:3.82-24.el7 will be installed

---> Package openssh-clients.x86_64 0:7.4p1-21.0.1.el7 will be installed

--> Processing Dependency: openssh = 7.4p1-21.0.1.el7 for package: openssh-clients-7.4p1-21.0.1.el7.x86_64

--> Processing Dependency: fipscheck-lib(x86-64) >= 1.3.0 for package: openssh-clients-7.4p1-21.0.1.el7.x86_64

--> Processing Dependency: libfipscheck.so.1()(64bit) for package: openssh-clients-7.4p1-21.0.1.el7.x86_64

--> Processing Dependency: libedit.so.0()(64bit) for package: openssh-clients-7.4p1-21.0.1.el7.x86_64

---> Package perl.x86_64 4:5.16.3-299.el7_9 will be installed

--> Processing Dependency: perl-libs = 4:5.16.3-299.el7_9 for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Scalar::Util) >= 1.10 for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Socket) >= 1.3 for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Pod::Simple::Search) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Storable) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl-libs for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(threads) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(threads::shared) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Time::HiRes) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Socket) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Carp) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Scalar::Util) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Pod::Simple::XHTML) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl-macros for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Filter::Util::Call) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(constant) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: perl(Time::Local) for package: 4:perl-5.16.3-299.el7_9.x86_64

--> Processing Dependency: libperl.so()(64bit) for package: 4:perl-5.16.3-299.el7_9.x86_64

---> Package perl-Error.noarch 1:0.17020-2.el7 will be installed

---> Package perl-Exporter.noarch 0:5.68-3.el7 will be installed

---> Package perl-File-Path.noarch 0:2.09-2.el7 will be installed

---> Package perl-File-Temp.noarch 0:0.23.01-3.el7 will be installed

---> Package perl-Getopt-Long.noarch 0:2.40-3.el7 will be installed

--> Processing Dependency: perl(Pod::Usage) >= 1.14 for package: perl-Getopt-Long-2.40-3.el7.noarch

--> Processing Dependency: perl(Text::ParseWords) for package: perl-Getopt-Long-2.40-3.el7.noarch

---> Package perl-Git.noarch 0:1.8.3.1-23.el7_8 will be installed

---> Package perl-PathTools.x86_64 0:3.40-5.el7 will be installed

---> Package perl-TermReadKey.x86_64 0:2.30-20.el7 will be installed

---> Package python3-libs.x86_64 0:3.6.8-18.0.3.el7 will be installed

--> Processing Dependency: libtirpc.so.1()(64bit) for package: python3-libs-3.6.8-18.0.3.el7.x86_64

---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed

---> Package rsync.x86_64 0:3.1.2-10.el7 will be installed

--> Processing Dependency: systemd-units for package: rsync-3.1.2-10.el7.x86_64

--> Running transaction check

---> Package fipscheck-lib.x86_64 0:1.4.1-6.el7 will be installed

--> Processing Dependency: /usr/bin/fipscheck for package: fipscheck-lib-1.4.1-6.el7.x86_64

---> Package groff-base.x86_64 0:1.22.2-8.el7 will be installed

---> Package libedit.x86_64 0:3.0-12.20121213cvs.el7 will be installed

---> Package libtirpc.x86_64 0:0.2.4-0.16.el7 will be installed

---> Package openssh.x86_64 0:7.4p1-21.0.1.el7 will be installed

--> Processing Dependency: /sbin/nologin for package: openssh-7.4p1-21.0.1.el7.x86_64

---> Package perl-Carp.noarch 0:1.26-244.el7 will be installed

---> Package perl-Filter.x86_64 0:1.49-3.el7 will be installed

---> Package perl-Pod-Simple.noarch 1:3.28-4.el7 will be installed

--> Processing Dependency: perl(Pod::Escapes) >= 1.04 for package: 1:perl-Pod-Simple-3.28-4.el7.noarch

--> Processing Dependency: perl(Encode) for package: 1:perl-Pod-Simple-3.28-4.el7.noarch

---> Package perl-Pod-Usage.noarch 0:1.63-3.el7 will be installed

--> Processing Dependency: perl(Pod::Text) >= 3.15 for package: perl-Pod-Usage-1.63-3.el7.noarch

--> Processing Dependency: perl-Pod-Perldoc for package: perl-Pod-Usage-1.63-3.el7.noarch

---> Package perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 will be installed

---> Package perl-Socket.x86_64 0:2.010-5.el7 will be installed

---> Package perl-Storable.x86_64 0:2.45-3.el7 will be installed

---> Package perl-Text-ParseWords.noarch 0:3.29-4.el7 will be installed

---> Package perl-Time-HiRes.x86_64 4:1.9725-3.el7 will be installed

---> Package perl-Time-Local.noarch 0:1.2300-2.el7 will be installed

---> Package perl-constant.noarch 0:1.27-2.el7 will be installed

---> Package perl-libs.x86_64 4:5.16.3-299.el7_9 will be installed

---> Package perl-macros.x86_64 4:5.16.3-299.el7_9 will be installed

---> Package perl-threads.x86_64 0:1.87-4.el7 will be installed

---> Package perl-threads-shared.x86_64 0:1.43-6.el7 will be installed

---> Package systemd.x86_64 0:219-78.0.3.el7_9.3 will be installed

--> Processing Dependency: systemd-libs = 219-78.0.3.el7_9.3 for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: kmod >= 18-4 for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: dbus for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libdw.so.1(ELFUTILS_0.122)(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libkmod.so.2(LIBKMOD_5)(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libdw.so.1(ELFUTILS_0.158)(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libcryptsetup.so.12(CRYPTSETUP_2.0)(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: acl for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libpam.so.0(LIBPAM_1.0)(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libdw.so.1(ELFUTILS_0.130)(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libkmod.so.2()(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: liblz4.so.1()(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libcryptsetup.so.12()(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libqrencode.so.3()(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libdw.so.1()(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Processing Dependency: libpam.so.0()(64bit) for package: systemd-219-78.0.3.el7_9.3.x86_64

--> Running transaction check

---> Package acl.x86_64 0:2.2.51-15.el7 will be installed

---> Package cryptsetup-libs.x86_64 0:2.0.3-6.el7 will be installed

--> Processing Dependency: libdevmapper.so.1.02(DM_1_02_97)(64bit) for package: cryptsetup-libs-2.0.3-6.el7.x86_64

--> Processing Dependency: libdevmapper.so.1.02(Base)(64bit) for package: cryptsetup-libs-2.0.3-6.el7.x86_64

--> Processing Dependency: libjson-c.so.2()(64bit) for package: cryptsetup-libs-2.0.3-6.el7.x86_64

--> Processing Dependency: libdevmapper.so.1.02()(64bit) for package: cryptsetup-libs-2.0.3-6.el7.x86_64

---> Package dbus.x86_64 1:1.10.24-15.0.1.el7 will be installed

--> Processing Dependency: dbus-libs(x86-64) = 1:1.10.24-15.0.1.el7 for package: 1:dbus-1.10.24-15.0.1.el7.x86_64

--> Processing Dependency: libdbus-1.so.3(LIBDBUS_1_3)(64bit) for package: 1:dbus-1.10.24-15.0.1.el7.x86_64

--> Processing Dependency: libdbus-1.so.3(LIBDBUS_PRIVATE_1.10.24)(64bit) for package: 1:dbus-1.10.24-15.0.1.el7.x86_64

--> Processing Dependency: libdbus-1.so.3()(64bit) for package: 1:dbus-1.10.24-15.0.1.el7.x86_64

---> Package elfutils-libs.x86_64 0:0.176-5.el7 will be installed

--> Processing Dependency: default-yama-scope for package: elfutils-libs-0.176-5.el7.x86_64

---> Package fipscheck.x86_64 0:1.4.1-6.el7 will be installed

---> Package kmod.x86_64 0:20-28.0.3.el7 will be installed

--> Processing Dependency: dracut for package: kmod-20-28.0.3.el7.x86_64

--> Processing Dependency: /usr/bin/gzip for package: kmod-20-28.0.3.el7.x86_64

--> Processing Dependency: /usr/bin/xz for package: kmod-20-28.0.3.el7.x86_64

--> Processing Dependency: /usr/bin/nm for package: kmod-20-28.0.3.el7.x86_64

---> Package kmod-libs.x86_64 0:20-28.0.3.el7 will be installed

---> Package lz4.x86_64 0:1.8.3-1.el7 will be installed

---> Package pam.x86_64 0:1.1.8-23.el7 will be installed

--> Processing Dependency: cracklib-dicts >= 2.8 for package: pam-1.1.8-23.el7.x86_64

--> Processing Dependency: libpwquality >= 0.9.9 for package: pam-1.1.8-23.el7.x86_64

--> Processing Dependency: libcrack.so.2()(64bit) for package: pam-1.1.8-23.el7.x86_64

---> Package perl-Encode.x86_64 0:2.51-7.el7 will be installed

---> Package perl-Pod-Escapes.noarch 1:1.04-299.el7_9 will be installed

---> Package perl-Pod-Perldoc.noarch 0:3.20-4.el7 will be installed

--> Processing Dependency: perl(HTTP::Tiny) for package: perl-Pod-Perldoc-3.20-4.el7.noarch

--> Processing Dependency: perl(parent) for package: perl-Pod-Perldoc-3.20-4.el7.noarch

---> Package perl-podlators.noarch 0:2.5.1-3.el7 will be installed

---> Package qrencode-libs.x86_64 0:3.4.1-3.el7 will be installed

---> Package systemd-libs.x86_64 0:219-78.0.3.el7_9.3 will be installed

---> Package util-linux.x86_64 0:2.23.2-65.0.1.el7_9.1 will be installed

--> Processing Dependency: libsmartcols = 2.23.2-65.0.1.el7_9.1 for package: util-linux-2.23.2-65.0.1.el7_9.1.x86_64

--> Processing Dependency: libsmartcols.so.1(SMARTCOLS_2.25)(64bit) for package: util-linux-2.23.2-65.0.1.el7_9.1.x86_64

--> Processing Dependency: libutempter.so.0(UTEMPTER_1.1)(64bit) for package: util-linux-2.23.2-65.0.1.el7_9.1.x86_64

--> Processing Dependency: libsmartcols.so.1()(64bit) for package: util-linux-2.23.2-65.0.1.el7_9.1.x86_64

--> Processing Dependency: libuser.so.1()(64bit) for package: util-linux-2.23.2-65.0.1.el7_9.1.x86_64

--> Processing Dependency: libutempter.so.0()(64bit) for package: util-linux-2.23.2-65.0.1.el7_9.1.x86_64

--> Running transaction check

---> Package binutils.x86_64 0:2.27-44.base.0.3.el7 will be installed

---> Package cracklib.x86_64 0:2.9.0-11.el7 will be installed

---> Package cracklib-dicts.x86_64 0:2.9.0-11.el7 will be installed

---> Package dbus-libs.x86_64 1:1.10.24-15.0.1.el7 will be installed

---> Package device-mapper-libs.x86_64 7:1.02.170-6.0.3.el7_9.3 will be installed

--> Processing Dependency: device-mapper = 7:1.02.170-6.0.3.el7_9.3 for package: 7:device-mapper-libs-1.02.170-6.0.3.el7_9.3.x86_64

---> Package dracut.x86_64 0:033-572.0.3.el7 will be installed

--> Processing Dependency: hardlink for package: dracut-033-572.0.3.el7.x86_64

--> Processing Dependency: tar for package: dracut-033-572.0.3.el7.x86_64

--> Processing Dependency: kpartx for package: dracut-033-572.0.3.el7.x86_64

--> Processing Dependency: procps-ng for package: dracut-033-572.0.3.el7.x86_64

--> Processing Dependency: /usr/bin/pkg-config for package: dracut-033-572.0.3.el7.x86_64

---> Package elfutils-default-yama-scope.noarch 0:0.176-5.el7 will be installed

---> Package gzip.x86_64 0:1.5-10.el7 will be installed

---> Package json-c.x86_64 0:0.11-4.el7_0 will be installed

---> Package libpwquality.x86_64 0:1.2.3-5.el7 will be installed

---> Package libsmartcols.x86_64 0:2.23.2-65.0.1.el7_9.1 will be installed

---> Package libuser.x86_64 0:0.60-9.el7 will be installed

---> Package libutempter.x86_64 0:1.1.6-4.el7 will be installed

---> Package perl-HTTP-Tiny.noarch 0:0.033-3.el7 will be installed

---> Package perl-parent.noarch 1:0.225-244.el7 will be installed

---> Package xz.x86_64 0:5.2.2-1.el7 will be installed

--> Running transaction check

---> Package device-mapper.x86_64 7:1.02.170-6.0.3.el7_9.3 will be installed

---> Package hardlink.x86_64 1:1.0-19.el7 will be installed

---> Package kpartx.x86_64 0:0.4.9-134.0.1.el7_9 will be installed

---> Package pkgconfig.x86_64 1:0.27.1-4.el7 will be installed

---> Package procps-ng.x86_64 0:3.3.10-28.el7 will be installed

---> Package tar.x86_64 2:1.26-35.el7 will be installed

--> Finished Dependency Resolution

 

Dependencies Resolved

 

================================================================================

 Package                     Arch   Version                    Repository  Size

================================================================================

Installing:

 git                         x86_64 1.8.3.1-23.el7_8           ol7_latest 4.4 M

 openssl                     x86_64 1:1.0.2k-21.el7_9          ol7_latest 493 k

 python3                     x86_64 3.6.8-18.0.3.el7           ol7_latest  70 k

 python3-pip                 noarch 9.0.3-8.el7                ol7_latest 1.6 M

Installing for dependencies:

 acl                         x86_64 2.2.51-15.el7              ol7_latest  81 k

 binutils                    x86_64 2.27-44.base.0.3.el7       ol7_latest 5.3 M

 cracklib                    x86_64 2.9.0-11.el7               ol7_latest  79 k

 cracklib-dicts              x86_64 2.9.0-11.el7               ol7_latest 3.6 M

 cryptsetup-libs             x86_64 2.0.3-6.el7                ol7_latest 338 k

 dbus                        x86_64 1:1.10.24-15.0.1.el7       ol7_latest 245 k

 dbus-libs                   x86_64 1:1.10.24-15.0.1.el7       ol7_latest 169 k

 device-mapper               x86_64 7:1.02.170-6.0.3.el7_9.3   ol7_latest 297 k

 device-mapper-libs          x86_64 7:1.02.170-6.0.3.el7_9.3   ol7_latest 325 k

 dracut                      x86_64 033-572.0.3.el7            ol7_latest 331 k

 elfutils-default-yama-scope noarch 0.176-5.el7                ol7_latest  32 k

 elfutils-libs               x86_64 0.176-5.el7                ol7_latest 290 k

 fipscheck                   x86_64 1.4.1-6.el7                ol7_latest  21 k

 fipscheck-lib               x86_64 1.4.1-6.el7                ol7_latest  10 k

 groff-base                  x86_64 1.22.2-8.el7               ol7_latest 933 k

 gzip                        x86_64 1.5-10.el7                 ol7_latest 129 k

 hardlink                    x86_64 1:1.0-19.el7               ol7_latest  14 k

 json-c                      x86_64 0.11-4.el7_0               ol7_latest  30 k

 kmod                        x86_64 20-28.0.3.el7              ol7_latest 125 k

 kmod-libs                   x86_64 20-28.0.3.el7              ol7_latest  53 k

 kpartx                      x86_64 0.4.9-134.0.1.el7_9        ol7_latest  80 k

 less                        x86_64 458-9.el7                  ol7_latest 119 k

 libedit                     x86_64 3.0-12.20121213cvs.el7     ol7_latest  88 k

 libpwquality                x86_64 1.2.3-5.el7                ol7_latest  84 k

 libsmartcols                x86_64 2.23.2-65.0.1.el7_9.1      ol7_latest 142 k

 libtirpc                    x86_64 0.2.4-0.16.el7             ol7_latest  89 k

 libuser                     x86_64 0.60-9.el7                 ol7_latest 400 k

 libutempter                 x86_64 1.1.6-4.el7                ol7_latest  24 k

 lz4                         x86_64 1.8.3-1.el7                ol7_latest  84 k

 make                        x86_64 1:3.82-24.el7              ol7_latest 420 k

 openssh                     x86_64 7.4p1-21.0.1.el7           ol7_latest 510 k

 openssh-clients             x86_64 7.4p1-21.0.1.el7           ol7_latest 654 k

 pam                         x86_64 1.1.8-23.el7               ol7_latest 720 k

 perl                        x86_64 4:5.16.3-299.el7_9         ol7_latest 8.0 M

 perl-Carp                   noarch 1.26-244.el7               ol7_latest  19 k

 perl-Encode                 x86_64 2.51-7.el7                 ol7_latest 1.5 M

 perl-Error                  noarch 1:0.17020-2.el7            ol7_latest  31 k

 perl-Exporter               noarch 5.68-3.el7                 ol7_latest  28 k

 perl-File-Path              noarch 2.09-2.el7                 ol7_latest  26 k

 perl-File-Temp              noarch 0.23.01-3.el7              ol7_latest  56 k

 perl-Filter                 x86_64 1.49-3.el7                 ol7_latest  76 k

 perl-Getopt-Long            noarch 2.40-3.el7                 ol7_latest  55 k

 perl-Git                    noarch 1.8.3.1-23.el7_8           ol7_latest  55 k

 perl-HTTP-Tiny              noarch 0.033-3.el7                ol7_latest  38 k

 perl-PathTools              x86_64 3.40-5.el7                 ol7_latest  82 k

 perl-Pod-Escapes            noarch 1:1.04-299.el7_9           ol7_latest  51 k

 perl-Pod-Perldoc            noarch 3.20-4.el7                 ol7_latest  86 k

 perl-Pod-Simple             noarch 1:3.28-4.el7               ol7_latest 216 k

 perl-Pod-Usage              noarch 1.63-3.el7                 ol7_latest  26 k

 perl-Scalar-List-Utils      x86_64 1.27-248.el7               ol7_latest  35 k

 perl-Socket                 x86_64 2.010-5.el7                ol7_latest  48 k

 perl-Storable               x86_64 2.45-3.el7                 ol7_latest  76 k

 perl-TermReadKey            x86_64 2.30-20.el7                ol7_latest  30 k

 perl-Text-ParseWords        noarch 3.29-4.el7                 ol7_latest  13 k

 perl-Time-HiRes             x86_64 4:1.9725-3.el7             ol7_latest  44 k

 perl-Time-Local             noarch 1.2300-2.el7               ol7_latest  24 k

 perl-constant               noarch 1.27-2.el7                 ol7_latest  18 k

 perl-libs                   x86_64 4:5.16.3-299.el7_9         ol7_latest 689 k

 perl-macros                 x86_64 4:5.16.3-299.el7_9         ol7_latest  44 k

 perl-parent                 noarch 1:0.225-244.el7            ol7_latest  12 k

 perl-podlators              noarch 2.5.1-3.el7                ol7_latest 111 k

 perl-threads                x86_64 1.87-4.el7                 ol7_latest  48 k

 perl-threads-shared         x86_64 1.43-6.el7                 ol7_latest  38 k

 pkgconfig                   x86_64 1:0.27.1-4.el7             ol7_latest  53 k

 procps-ng                   x86_64 3.3.10-28.el7              ol7_latest 291 k

 python3-libs                x86_64 3.6.8-18.0.3.el7           ol7_latest 6.9 M

 python3-setuptools          noarch 39.2.0-10.el7              ol7_latest 628 k

 qrencode-libs               x86_64 3.4.1-3.el7                ol7_latest  49 k

 rsync                       x86_64 3.1.2-10.el7               ol7_latest 404 k

 systemd                     x86_64 219-78.0.3.el7_9.3         ol7_latest 5.1 M

 systemd-libs                x86_64 219-78.0.3.el7_9.3         ol7_latest 419 k

 tar                         x86_64 2:1.26-35.el7              ol7_latest 845 k

 util-linux                  x86_64 2.23.2-65.0.1.el7_9.1      ol7_latest 2.0 M

 xz                          x86_64 5.2.2-1.el7                ol7_latest 228 k

 

Transaction Summary

================================================================================

Install  4 Packages (+74 Dependent packages)

 

Total download size: 51 M

Installed size: 195 M

Downloading packages:

--------------------------------------------------------------------------------

Total                                              5.0 MB/s |  51 MB  00:10

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Installing : fipscheck-1.4.1-6.el7.x86_64                                1/78

  Installing : fipscheck-lib-1.4.1-6.el7.x86_64                            2/78

  Installing : gzip-1.5-10.el7.x86_64                                      3/78

  Installing : cracklib-2.9.0-11.el7.x86_64                                4/78

  Installing : cracklib-dicts-2.9.0-11.el7.x86_64                          5/78

  Installing : xz-5.2.2-1.el7.x86_64                                       6/78

  Installing : groff-base-1.22.2-8.el7.x86_64                              7/78

  Installing : lz4-1.8.3-1.el7.x86_64                                      8/78

  Installing : 1:perl-parent-0.225-244.el7.noarch                          9/78

  Installing : perl-HTTP-Tiny-0.033-3.el7.noarch                          10/78

  Installing : perl-podlators-2.5.1-3.el7.noarch                          11/78

  Installing : perl-Pod-Perldoc-3.20-4.el7.noarch                         12/78

  Installing : 1:perl-Pod-Escapes-1.04-299.el7_9.noarch                   13/78

  Installing : perl-Encode-2.51-7.el7.x86_64                              14/78

  Installing : perl-Text-ParseWords-3.29-4.el7.noarch                     15/78

  Installing : perl-Pod-Usage-1.63-3.el7.noarch                           16/78

  Installing : 4:perl-macros-5.16.3-299.el7_9.x86_64                      17/78

  Installing : perl-Storable-2.45-3.el7.x86_64                            18/78

  Installing : perl-Exporter-5.68-3.el7.noarch                            19/78

  Installing : perl-constant-1.27-2.el7.noarch                            20/78

  Installing : perl-Socket-2.010-5.el7.x86_64                             21/78

  Installing : perl-Time-Local-1.2300-2.el7.noarch                        22/78

  Installing : perl-Carp-1.26-244.el7.noarch                              23/78

  Installing : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      24/78

  Installing : perl-PathTools-3.40-5.el7.x86_64                           25/78

  Installing : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 26/78

  Installing : 1:perl-Pod-Simple-3.28-4.el7.noarch                        27/78

  Installing : perl-File-Temp-0.23.01-3.el7.noarch                        28/78

  Installing : perl-File-Path-2.09-2.el7.noarch                           29/78

  Installing : perl-threads-shared-1.43-6.el7.x86_64                      30/78

  Installing : perl-threads-1.87-4.el7.x86_64                             31/78

  Installing : 4:perl-libs-5.16.3-299.el7_9.x86_64                        32/78

  Installing : perl-Filter-1.49-3.el7.x86_64                              33/78

  Installing : perl-Getopt-Long-2.40-3.el7.noarch                         34/78

  Installing : 4:perl-5.16.3-299.el7_9.x86_64                             35/78

  Installing : 1:perl-Error-0.17020-2.el7.noarch                          36/78

  Installing : perl-TermReadKey-2.30-20.el7.x86_64                        37/78

  Installing : less-458-9.el7.x86_64                                      38/78

  Installing : libpwquality-1.2.3-5.el7.x86_64                            39/78

  Installing : pam-1.1.8-23.el7.x86_64                                    40/78

  Installing : libuser-0.60-9.el7.x86_64                                  41/78

  Installing : json-c-0.11-4.el7_0.x86_64                                 42/78

  Installing : 1:hardlink-1.0-19.el7.x86_64                               43/78

  Installing : libedit-3.0-12.20121213cvs.el7.x86_64                      44/78

  Installing : 2:tar-1.26-35.el7.x86_64                                   45/78

  Installing : kmod-libs-20-28.0.3.el7.x86_64                             46/78

  Installing : binutils-2.27-44.base.0.3.el7.x86_64                       47/78

  Installing : 1:make-3.82-24.el7.x86_64                                  48/78

  Installing : libsmartcols-2.23.2-65.0.1.el7_9.1.x86_64                  49/78

  Installing : qrencode-libs-3.4.1-3.el7.x86_64                           50/78

  Installing : 1:pkgconfig-0.27.1-4.el7.x86_64                            51/78

  Installing : acl-2.2.51-15.el7.x86_64                                   52/78

  Installing : libutempter-1.1.6-4.el7.x86_64                             53/78

  Installing : util-linux-2.23.2-65.0.1.el7_9.1.x86_64                    54/78

  Installing : procps-ng-3.3.10-28.el7.x86_64                             55/78

  Installing : kpartx-0.4.9-134.0.1.el7_9.x86_64                          56/78

  Installing : 7:device-mapper-1.02.170-6.0.3.el7_9.3.x86_64              57/78

  Installing : 7:device-mapper-libs-1.02.170-6.0.3.el7_9.3.x86_64         58/78

  Installing : cryptsetup-libs-2.0.3-6.el7.x86_64                         59/78

  Installing : dracut-033-572.0.3.el7.x86_64                              60/78

  Installing : kmod-20-28.0.3.el7.x86_64                                  61/78

  Installing : elfutils-libs-0.176-5.el7.x86_64                           62/78

  Installing : systemd-libs-219-78.0.3.el7_9.3.x86_64                     63/78

  Installing : 1:dbus-libs-1.10.24-15.0.1.el7.x86_64                      64/78

  Installing : systemd-219-78.0.3.el7_9.3.x86_64                          65/78

Failed to get D-Bus connection: Operation not permitted

  Installing : 1:dbus-1.10.24-15.0.1.el7.x86_64                           66/78

  Installing : elfutils-default-yama-scope-0.176-5.el7.noarch             67/78

  Installing : rsync-3.1.2-10.el7.x86_64                                  68/78

  Installing : openssh-7.4p1-21.0.1.el7.x86_64                            69/78

  Installing : openssh-clients-7.4p1-21.0.1.el7.x86_64                    70/78

  Installing : perl-Git-1.8.3.1-23.el7_8.noarch                           71/78

  Installing : git-1.8.3.1-23.el7_8.x86_64                                72/78

  Installing : libtirpc-0.2.4-0.16.el7.x86_64                             73/78

  Installing : python3-pip-9.0.3-8.el7.noarch                             74/78

  Installing : python3-setuptools-39.2.0-10.el7.noarch                    75/78

  Installing : python3-3.6.8-18.0.3.el7.x86_64                            76/78

  Installing : python3-libs-3.6.8-18.0.3.el7.x86_64                       77/78

  Installing : 1:openssl-1.0.2k-21.el7_9.x86_64                           78/78

  Verifying  : fipscheck-lib-1.4.1-6.el7.x86_64                            1/78

  Verifying  : libtirpc-0.2.4-0.16.el7.x86_64                              2/78

  Verifying  : lz4-1.8.3-1.el7.x86_64                                      3/78

  Verifying  : libutempter-1.1.6-4.el7.x86_64                              4/78

  Verifying  : acl-2.2.51-15.el7.x86_64                                    5/78

  Verifying  : perl-HTTP-Tiny-0.033-3.el7.noarch                           6/78

  Verifying  : util-linux-2.23.2-65.0.1.el7_9.1.x86_64                     7/78

  Verifying  : 1:pkgconfig-0.27.1-4.el7.x86_64                             8/78

  Verifying  : perl-threads-shared-1.43-6.el7.x86_64                       9/78

  Verifying  : perl-Storable-2.45-3.el7.x86_64                            10/78

  Verifying  : 1:dbus-1.10.24-15.0.1.el7.x86_64                           11/78

  Verifying  : qrencode-libs-3.4.1-3.el7.x86_64                           12/78

  Verifying  : perl-Exporter-5.68-3.el7.noarch                            13/78

  Verifying  : perl-constant-1.27-2.el7.noarch                            14/78

  Verifying  : perl-PathTools-3.40-5.el7.x86_64                           15/78

  Verifying  : elfutils-default-yama-scope-0.176-5.el7.noarch             16/78

  Verifying  : python3-pip-9.0.3-8.el7.noarch                             17/78

  Verifying  : fipscheck-1.4.1-6.el7.x86_64                               18/78

  Verifying  : perl-Socket-2.010-5.el7.x86_64                             19/78

  Verifying  : gzip-1.5-10.el7.x86_64                                     20/78

  Verifying  : kpartx-0.4.9-134.0.1.el7_9.x86_64                          21/78

  Verifying  : git-1.8.3.1-23.el7_8.x86_64                                22/78

  Verifying  : cryptsetup-libs-2.0.3-6.el7.x86_64                         23/78

  Verifying  : 1:perl-parent-0.225-244.el7.noarch                         24/78

  Verifying  : 4:perl-macros-5.16.3-299.el7_9.x86_64                      25/78

  Verifying  : python3-libs-3.6.8-18.0.3.el7.x86_64                       26/78

  Verifying  : libpwquality-1.2.3-5.el7.x86_64                            27/78

  Verifying  : perl-TermReadKey-2.30-20.el7.x86_64                        28/78

  Verifying  : 7:device-mapper-1.02.170-6.0.3.el7_9.3.x86_64              29/78

  Verifying  : groff-base-1.22.2-8.el7.x86_64                             30/78

  Verifying  : cracklib-2.9.0-11.el7.x86_64                               31/78

  Verifying  : perl-File-Temp-0.23.01-3.el7.noarch                        32/78

  Verifying  : libsmartcols-2.23.2-65.0.1.el7_9.1.x86_64                  33/78

  Verifying  : 1:perl-Pod-Simple-3.28-4.el7.noarch                        34/78

  Verifying  : perl-Time-Local-1.2300-2.el7.noarch                        35/78

  Verifying  : python3-3.6.8-18.0.3.el7.x86_64                            36/78

  Verifying  : 1:make-3.82-24.el7.x86_64                                  37/78

  Verifying  : 1:perl-Pod-Escapes-1.04-299.el7_9.noarch                   38/78

  Verifying  : 1:openssl-1.0.2k-21.el7_9.x86_64                           39/78

  Verifying  : perl-Git-1.8.3.1-23.el7_8.noarch                           40/78

  Verifying  : openssh-7.4p1-21.0.1.el7.x86_64                            41/78

  Verifying  : systemd-libs-219-78.0.3.el7_9.3.x86_64                     42/78

  Verifying  : 1:dbus-libs-1.10.24-15.0.1.el7.x86_64                      43/78

  Verifying  : perl-Carp-1.26-244.el7.noarch                              44/78

  Verifying  : systemd-219-78.0.3.el7_9.3.x86_64                          45/78

  Verifying  : 1:perl-Error-0.17020-2.el7.noarch                          46/78

  Verifying  : binutils-2.27-44.base.0.3.el7.x86_64                       47/78

  Verifying  : xz-5.2.2-1.el7.x86_64                                      48/78

  Verifying  : 4:perl-Time-HiRes-1.9725-3.el7.x86_64                      49/78

  Verifying  : kmod-libs-20-28.0.3.el7.x86_64                             50/78

  Verifying  : perl-Scalar-List-Utils-1.27-248.el7.x86_64                 51/78

  Verifying  : 2:tar-1.26-35.el7.x86_64                                   52/78

  Verifying  : python3-setuptools-39.2.0-10.el7.noarch                    53/78

  Verifying  : perl-Pod-Usage-1.63-3.el7.noarch                           54/78

  Verifying  : perl-Encode-2.51-7.el7.x86_64                              55/78

  Verifying  : perl-Pod-Perldoc-3.20-4.el7.noarch                         56/78

  Verifying  : perl-podlators-2.5.1-3.el7.noarch                          57/78

  Verifying  : dracut-033-572.0.3.el7.x86_64                              58/78

  Verifying  : 4:perl-5.16.3-299.el7_9.x86_64                             59/78

  Verifying  : perl-File-Path-2.09-2.el7.noarch                           60/78

  Verifying  : libuser-0.60-9.el7.x86_64                                  61/78

  Verifying  : kmod-20-28.0.3.el7.x86_64                                  62/78

  Verifying  : libedit-3.0-12.20121213cvs.el7.x86_64                      63/78

  Verifying  : perl-threads-1.87-4.el7.x86_64                             64/78

  Verifying  : 1:hardlink-1.0-19.el7.x86_64                               65/78

  Verifying  : rsync-3.1.2-10.el7.x86_64                                  66/78

  Verifying  : pam-1.1.8-23.el7.x86_64                                    67/78

  Verifying  : openssh-clients-7.4p1-21.0.1.el7.x86_64                    68/78

  Verifying  : perl-Getopt-Long-2.40-3.el7.noarch                         69/78

  Verifying  : perl-Text-ParseWords-3.29-4.el7.noarch                     70/78

  Verifying  : elfutils-libs-0.176-5.el7.x86_64                           71/78

  Verifying  : procps-ng-3.3.10-28.el7.x86_64                             72/78

  Verifying  : 7:device-mapper-libs-1.02.170-6.0.3.el7_9.3.x86_64         73/78

  Verifying  : 4:perl-libs-5.16.3-299.el7_9.x86_64                        74/78

  Verifying  : json-c-0.11-4.el7_0.x86_64                                 75/78

  Verifying  : perl-Filter-1.49-3.el7.x86_64                              76/78

  Verifying  : less-458-9.el7.x86_64                                      77/78

  Verifying  : cracklib-dicts-2.9.0-11.el7.x86_64                         78/78

 

Installed:

  git.x86_64 0:1.8.3.1-23.el7_8           openssl.x86_64 1:1.0.2k-21.el7_9

  python3.x86_64 0:3.6.8-18.0.3.el7       python3-pip.noarch 0:9.0.3-8.el7

 

Dependency Installed:

  acl.x86_64 0:2.2.51-15.el7

  binutils.x86_64 0:2.27-44.base.0.3.el7

  cracklib.x86_64 0:2.9.0-11.el7

  cracklib-dicts.x86_64 0:2.9.0-11.el7

  cryptsetup-libs.x86_64 0:2.0.3-6.el7

  dbus.x86_64 1:1.10.24-15.0.1.el7

  dbus-libs.x86_64 1:1.10.24-15.0.1.el7

  device-mapper.x86_64 7:1.02.170-6.0.3.el7_9.3

  device-mapper-libs.x86_64 7:1.02.170-6.0.3.el7_9.3

  dracut.x86_64 0:033-572.0.3.el7

  elfutils-default-yama-scope.noarch 0:0.176-5.el7

  elfutils-libs.x86_64 0:0.176-5.el7

  fipscheck.x86_64 0:1.4.1-6.el7

  fipscheck-lib.x86_64 0:1.4.1-6.el7

  groff-base.x86_64 0:1.22.2-8.el7

  gzip.x86_64 0:1.5-10.el7

  hardlink.x86_64 1:1.0-19.el7

  json-c.x86_64 0:0.11-4.el7_0

  kmod.x86_64 0:20-28.0.3.el7

  kmod-libs.x86_64 0:20-28.0.3.el7

  kpartx.x86_64 0:0.4.9-134.0.1.el7_9

  less.x86_64 0:458-9.el7

  libedit.x86_64 0:3.0-12.20121213cvs.el7

  libpwquality.x86_64 0:1.2.3-5.el7

  libsmartcols.x86_64 0:2.23.2-65.0.1.el7_9.1

  libtirpc.x86_64 0:0.2.4-0.16.el7

  libuser.x86_64 0:0.60-9.el7

  libutempter.x86_64 0:1.1.6-4.el7

  lz4.x86_64 0:1.8.3-1.el7

  make.x86_64 1:3.82-24.el7

  openssh.x86_64 0:7.4p1-21.0.1.el7

  openssh-clients.x86_64 0:7.4p1-21.0.1.el7

  pam.x86_64 0:1.1.8-23.el7

  perl.x86_64 4:5.16.3-299.el7_9

  perl-Carp.noarch 0:1.26-244.el7

  perl-Encode.x86_64 0:2.51-7.el7

  perl-Error.noarch 1:0.17020-2.el7

  perl-Exporter.noarch 0:5.68-3.el7

  perl-File-Path.noarch 0:2.09-2.el7

  perl-File-Temp.noarch 0:0.23.01-3.el7

  perl-Filter.x86_64 0:1.49-3.el7

  perl-Getopt-Long.noarch 0:2.40-3.el7

  perl-Git.noarch 0:1.8.3.1-23.el7_8

  perl-HTTP-Tiny.noarch 0:0.033-3.el7

  perl-PathTools.x86_64 0:3.40-5.el7

  perl-Pod-Escapes.noarch 1:1.04-299.el7_9

  perl-Pod-Perldoc.noarch 0:3.20-4.el7

  perl-Pod-Simple.noarch 1:3.28-4.el7

  perl-Pod-Usage.noarch 0:1.63-3.el7

  perl-Scalar-List-Utils.x86_64 0:1.27-248.el7

  perl-Socket.x86_64 0:2.010-5.el7

  perl-Storable.x86_64 0:2.45-3.el7

  perl-TermReadKey.x86_64 0:2.30-20.el7

  perl-Text-ParseWords.noarch 0:3.29-4.el7

  perl-Time-HiRes.x86_64 4:1.9725-3.el7

  perl-Time-Local.noarch 0:1.2300-2.el7

  perl-constant.noarch 0:1.27-2.el7

  perl-libs.x86_64 4:5.16.3-299.el7_9

  perl-macros.x86_64 4:5.16.3-299.el7_9

  perl-parent.noarch 1:0.225-244.el7

  perl-podlators.noarch 0:2.5.1-3.el7

  perl-threads.x86_64 0:1.87-4.el7

  perl-threads-shared.x86_64 0:1.43-6.el7

  pkgconfig.x86_64 1:0.27.1-4.el7

  procps-ng.x86_64 0:3.3.10-28.el7

  python3-libs.x86_64 0:3.6.8-18.0.3.el7

  python3-setuptools.noarch 0:39.2.0-10.el7

  qrencode-libs.x86_64 0:3.4.1-3.el7

  rsync.x86_64 0:3.1.2-10.el7

  systemd.x86_64 0:219-78.0.3.el7_9.3

  systemd-libs.x86_64 0:219-78.0.3.el7_9.3

  tar.x86_64 2:1.26-35.el7

  util-linux.x86_64 0:2.23.2-65.0.1.el7_9.1

  xz.x86_64 0:5.2.2-1.el7

 

Complete!

WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead.

Collecting pip

  Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB)

Installing collected packages: pip

Successfully installed pip-21.0.1

Collecting authlib==0.15.3

  Downloading Authlib-0.15.3-py2.py3-none-any.whl (203 kB)

Collecting flask==1.1.1

  Downloading Flask-1.1.1-py2.py3-none-any.whl (94 kB)

Collecting gitpython==3.1.11

  Downloading GitPython-3.1.11-py3-none-any.whl (159 kB)

Collecting git-url-parse==1.2.2

  Downloading git_url_parse-1.2.2-py3-none-any.whl (5.6 kB)

Collecting gunicorn==20.0.4

  Downloading gunicorn-20.0.4-py2.py3-none-any.whl (77 kB)

Collecting oci

  Downloading oci-2.32.1-py2.py3-none-any.whl (7.9 MB)

Collecting openpyxl==3.0.5

  Downloading openpyxl-3.0.5-py2.py3-none-any.whl (242 kB)

Collecting pandas==1.1.2

  Downloading pandas-1.1.2-cp36-cp36m-manylinux1_x86_64.whl (10.5 MB)

Collecting python-magic==0.4.18

  Downloading python_magic-0.4.18-py2.py3-none-any.whl (8.6 kB)

Collecting pyyaml==5.3.1

  Downloading PyYAML-5.3.1.tar.gz (269 kB)

Collecting requests==2.24.0

  Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)

Collecting xlsxwriter==1.3.6

  Downloading XlsxWriter-1.3.6-py2.py3-none-any.whl (144 kB)

Collecting cryptography

  Downloading cryptography-3.4.6-cp36-abi3-manylinux2014_x86_64.whl (3.2 MB)

Collecting itsdangerous>=0.24

  Downloading itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB)

Collecting Werkzeug>=0.15

  Downloading Werkzeug-1.0.1-py2.py3-none-any.whl (298 kB)

Collecting click>=5.1

  Downloading click-7.1.2-py2.py3-none-any.whl (82 kB)

Collecting Jinja2>=2.10.1

  Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)

Collecting pbr

  Downloading pbr-5.5.1-py2.py3-none-any.whl (106 kB)

Collecting gitdb<5,>=4.0.1

  Downloading gitdb-4.0.5-py3-none-any.whl (63 kB)

Requirement already satisfied: setuptools>=3.0 in /usr/lib/python3.6/site-packages (from gunicorn==20.0.4) (39.2.0)

Collecting jdcal

  Downloading jdcal-1.4.1-py2.py3-none-any.whl (9.5 kB)

Collecting et-xmlfile

  Downloading et_xmlfile-1.0.1.tar.gz (8.4 kB)

Collecting python-dateutil>=2.7.3

  Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB)

Collecting numpy>=1.15.4

  Downloading numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)

Collecting pytz>=2017.2

  Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB)

Collecting idna<3,>=2.5

  Downloading idna-2.10-py2.py3-none-any.whl (58 kB)

Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1

  Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)

Collecting chardet<4,>=3.0.2

  Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)

Collecting certifi>=2017.4.17

  Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)

Collecting smmap<4,>=3.0.1

  Downloading smmap-3.0.5-py2.py3-none-any.whl (25 kB)

Collecting MarkupSafe>=0.23

  Downloading MarkupSafe-1.1.1-cp36-cp36m-manylinux2010_x86_64.whl (32 kB)

Collecting six>=1.5

  Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)

Collecting pyOpenSSL<=19.1.0,>=17.5.0

  Downloading pyOpenSSL-19.1.0-py2.py3-none-any.whl (53 kB)

Collecting cryptography

  Downloading cryptography-3.2.1-cp35-abi3-manylinux2010_x86_64.whl (2.6 MB)

Collecting configparser==4.0.2

  Downloading configparser-4.0.2-py2.py3-none-any.whl (22 kB)

Collecting cffi!=1.11.3,>=1.8

  Downloading cffi-1.14.5-cp36-cp36m-manylinux1_x86_64.whl (401 kB)

Collecting pycparser

  Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB)

Using legacy 'setup.py install' for pyyaml, since package 'wheel' is not installed.

Using legacy 'setup.py install' for et-xmlfile, since package 'wheel' is not installed.

Installing collected packages: pycparser, six, cffi, smmap, MarkupSafe, cryptography, Werkzeug, urllib3, pytz, python-dateutil, pyOpenSSL, pbr, numpy, Jinja2, jdcal, itsdangerous, idna, gitdb, et-xmlfile, configparser, click, chardet, certifi, xlsxwriter, requests, pyyaml, python-magic, pandas, openpyxl, oci, gunicorn, gitpython, git-url-parse, flask, authlib

    Running setup.py install for et-xmlfile: started

    Running setup.py install for et-xmlfile: finished with status 'done'

    Running setup.py install for pyyaml: started

    Running setup.py install for pyyaml: finished with status 'done'

Successfully installed Jinja2-2.11.3 MarkupSafe-1.1.1 Werkzeug-1.0.1 authlib-0.15.3 certifi-2020.12.5 cffi-1.14.5 chardet-3.0.4 click-7.1.2 configparser-4.0.2 cryptography-3.2.1 et-xmlfile-1.0.1 flask-1.1.1 git-url-parse-1.2.2 gitdb-4.0.5 gitpython-3.1.11 gunicorn-20.0.4 idna-2.10 itsdangerous-1.1.0 jdcal-1.4.1 numpy-1.19.5 oci-2.32.1 openpyxl-3.0.5 pandas-1.1.2 pbr-5.5.1 pyOpenSSL-19.1.0 pycparser-2.20 python-dateutil-2.8.1 python-magic-0.4.18 pytz-2021.1 pyyaml-5.3.1 requests-2.24.0 six-1.15.0 smmap-3.0.5 urllib3-1.25.11 xlsxwriter-1.3.6

Cloning into '/github/oci-designer-toolkit'...

Generating a 2048 bit RSA private key

...+++

...................................................+++

writing new private key to '/okit/ssl/okit.key'

-----

‘/okit/okitweb’ -> ‘/github/oci-designer-toolkit/okitweb’

‘/okit/visualiser’ -> ‘/github/oci-designer-toolkit/visualiser’

‘/okit/okitweb/static/okit/templates/user’ -> ‘/okit/templates’

Removing intermediate container 5f0442e2b299

 ---> d62bb6a8a128

Step 10/10 : CMD ["run-server.sh"]

 ---> Running in 157cc4ddc0bc

Removing intermediate container 157cc4ddc0bc

 ---> 2a58a203a2cc

Successfully built 2a58a203a2cc

Successfully tagged okit:latest

 

[root@toolkit oci-designer-toolkit-master]# docker images

REPOSITORY    TAG       IMAGE ID       CREATED          SIZE

okit          latest    2a58a203a2cc   11 minutes ago   634MB

oraclelinux   7-slim    9c40195a3ff2   6 days ago       132MB

hello-world   latest    d1165f221234   10 days ago      13.3kB

 

Run container

docker run -d --rm -p 80:80 --volume /root/.oci/okit/user/templates:/okit/templates --volume /root/.oci:/root/.oci --volume /root/.ssh:/root/.ssh --name okit okit

 

bc8c033ca0cde20da4275531fad5ce5311443334c799797a3a473cb784d0dba8

 

Check if it is listening on port 80

[root@toolkit .oci]# netstat -an|grep 80

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN

tcp        0      0 10.0.0.6:59356          169.254.169.254:80      ESTABLISHED

tcp        1      0 10.0.0.6:59010          169.254.169.254:80      CLOSE_WAIT

tcp        0      0 10.0.0.6:59352          169.254.169.254:80      ESTABLISHED

tcp        1      0 10.0.0.6:59012          169.254.169.254:80      CLOSE_WAIT

unix  2      [ ACC ]     STREAM     LISTENING     1075670  /run/containerd/s/8dd111718b3647f0802561298c8e9ca6905698abca2c74565387fbd26085177b

unix  3      [ ]         STREAM     CONNECTED     27680

unix  3      [ ]         STREAM     CONNECTED     782780

unix  3      [ ]         STREAM     CONNECTED     1074712  /run/containerd/s/8dd111718b3647f0802561298c8e9ca6905698abca2c74565387fbd26085177b

unix  2      [ ]         STREAM     CONNECTED     1008010

 

Access OKIT now


In the browser,

Type the public ip of the compute instance in which OKIT has been installed.

http://130.**.***.****/


In my next post, we will see how we can draw a basic topology using OKIT.


References:-

https://www.ateam-oracle.com/introduction-to-okit-the-oci-designer-toolkit#:~:text=The%20OCI%20Designer%20Tool,build%20what%20has%20been%20designed.




No comments:

Post a Comment