Closed LalatenduMohanty closed 7 years ago
budhram@DESKTOP-8MV1CPM /cygdrive/d/redhat/adb-atomic-developer-bundle/components/centos/centos-mesos-marathon-singlenode-setup
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'projectatomic/adb'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: centos-mesos-marathon-singlenode-setup_default_1481202501412_16302
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default: Warning: Remote connection disconnect. Retrying...
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default:
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
==> default: Configuring and enabling network interfaces...
==> default: Automatic installation for Landrush IP not enabled
==> default: Copying TLS certificates to D:/redhat/adb-atomic-developer-bundle/components/centos/centos-mesos-marathon-singlenode-setup/.vagrant/machines/default/virtualbox/docker
==> default: Docker service configured successfully...
==> default: Mounting SSHFS shared folder...
==> default: Mounting folder via SSHFS: C:/Users/budhram => /c/Users/budhram
==> default: Checking Mount..
==> default: Checking Mount..
==> default: Checking Mount..
==> default: Folder Successfully Mounted!
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-
==> default: : manager
==> default: This system is not registered with Subscription Management. You can use subscription-manager to register.
==> default: Determining fastest mirrors
==> default: * base: mirror.fibergrid.in
==> default: * extras: mirror.fibergrid.in
==> default: * updates: mirror.fibergrid.in
==> default: Resolving Dependencies
==> default: --> Running transaction check
==> default: ---> Package epel-release.noarch 0:7-6 will be installed
==> default: --> Finished Dependency Resolution
==> default:
==> default: Dependencies Resolved
==> default:
==> default: ================================================================================
==> default: Package Arch Version Repository Size
==> default: ================================================================================
==> default: Installing:
==> default: epel-release noarch 7-6 extras 14 k
==> default:
==> default: Transaction Summary
==> default: ================================================================================
==> default: Install 1 Package
==> default: Total download size: 14 k
==> default: Installed size: 24 k
==> default: Downloading packages:
==> default: warning: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
==> default: Public key for epel-release-7-6.noarch.rpm is not installed
==> default: Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
==> default: Importing GPG key 0xF4A80EB5:
==> default: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
==> default: Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
==> default: Package : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda)
==> default: From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
==> default: Running transaction check
==> default: Running transaction test
==> default: Transaction test succeeded
==> default: Running transaction
==> default: Installing : epel-release-7-6.noarch 1/1
==> default:
==> default: Verifying : epel-release-7-6.noarch 1/1
==> default:
==> default:
==> default: Installed:
==> default: epel-release.noarch 0:7-6
==> default:
==> default: Complete!
==> default: Loaded plugins: fastestmirror, product-id, search-disabled-repos, subscription-
==> default: : manager
==> default: This system is not registered with Subscription Management. You can use subscription-manager to register.
==> default: http://epel.mirror.net.in/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: https://mirror.pregi.net/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://mirror.premi.st/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://ftp.riken.jp/Linux/fedora/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: https://epel.mirror.angkasa.id/pub/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://kartolo.sby.datautama.net.id/EPEL/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://mirror2.totbb.net/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: https://free.nchc.org.tw/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2001:e10:3c00:8::e274: Network is unreachable"
==> default: Trying other mirror.
==> default: http://mirror01.idc.hinet.net/EPEL/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://kodeterbuka.beritagar.id/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://mirror.rise.ph/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: http://epel.scopesky.iq/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default: https://mirror.lzu.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: Trying other mirror.
==> default:
==> default:
==> default: One of the configured repositories failed (Extra Packages for Enterprise Linux 7 - x86_64),
==> default: and yum doesn't have enough cached data to continue. At this point the only
==> default: safe thing yum can do is fail. There are a few ways to work "fix" this:
==> default:
==> default: 1. Contact the upstream for the repository and get them to fix the problem.
==> default:
==> default: 2. Reconfigure the baseurl/etc. for the repository, to point to a working
==> default: upstream. This is most often useful if you are using a newer
==> default: distribution release than is supported by the repository (and the
==> default: packages for the previous distribution release still work).
==> default:
==> default: 3. Disable the repository, so yum won't use it by default. Yum will then
==> default: just ignore the repository until you permanently enable it again or use
==> default: --enablerepo for temporary usage:
==> default:
==> default: yum-config-manager --disable epel
==> default:
==> default: 4. Configure the failing repository to be skipped, if it is unavailable.
==> default: Note that yum will try to contact the repo. when it runs most commands,
==> default: so will have to try and fail each time (and thus. yum will be be much
==> default: slower). If it is a very temporary problem though, this is often a nice
==> default: compromise:
==> default:
==> default: yum-config-manager --save --setopt=epel.skip_if_unavailable=true
==> default:
==> default: failure: repodata/repomd.xml from epel: [Errno 256] No more mirrors to try.
==> default: http://epel.mirror.net.in/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: https://mirror.pregi.net/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://mirror.premi.st/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://ftp.riken.jp/Linux/fedora/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: https://epel.mirror.angkasa.id/pub/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://kartolo.sby.datautama.net.id/EPEL/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://mirror2.totbb.net/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: https://mirrors.tuna.tsinghua.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: https://free.nchc.org.tw/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2001:e10:3c00:8::e274: Network is unreachable"
==> default: http://mirror01.idc.hinet.net/EPEL/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://kodeterbuka.beritagar.id/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://mirror.rise.ph/fedora-epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: http://epel.scopesky.iq/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: https://mirror.lzu.edu.cn/epel/7/x86_64/repodata/repomd.xml: [Errno -1] repomd.xml does not match metalink for epel
==> default: sudo: ansible-playbook: command not found
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
@budhrg CentOS has released 7.3 updates, so need to rebuild the box.
@budhrg Are you able to run applications in OpenShift. Because I am hitting https://bugzilla.redhat.com/show_bug.cgi?id=1312665 with SELinux enabled.
I have tested RC1 again today and found that docker pull for centos/php-56-centos7
is failing through Openshift.
However, separately, docker pull centos/php-56-centos7
is working fine.
[vagrant@adb ~]$ oc new-app cakephp-example
--> Deploying template "cakephp-example" in project "openshift" for "cakephp-example"
With parameters:
Name=cakephp-example
Namespace=openshift
Memory Limit=512Mi
Git Repository URL=https://github.com/openshift/cakephp-ex.git
Git Reference=
Context Directory=
Application Hostname=
GitHub Webhook Secret=1dXWgDSDMehfAaD02tuWcauQq57IDxmegcWoxcj2 # generated
Database Service Name=
Database Engine=
Database Name=
Database User=
Database Password=
CakePHP Secret Token=Ol5WoUYEeYvdP3kSJotvOami8Bvf7kd2li0Jxb4rSrDgjRzM2X # generated
CakePHP Security Salt=nGedXWsY2kGufsIxjrjwObLC1sqNbBWg1Ol7posj # generated
CakePHP Security Cipher Seed=074183444028101253674006885828 # generated
OPcache Revalidation Frequency=2
Custom Composer Mirror URL=
--> Creating resources with label app=cakephp-example ...
service "cakephp-example" created
route "cakephp-example" created
imagestream "cakephp-example" created
buildconfig "cakephp-example" created
deploymentconfig "cakephp-example" created
--> Success
Build scheduled, use 'oc logs -f bc/cakephp-example' to track its progress.
Run 'oc status' to view your app.
[vagrant@adb ~]$ oc logs -f bc/cakephp-example
I1221 06:34:13.181299 1 docker.go:351] Image "centos/php-56-centos7@sha256:18b93adf0fb58dbd28bd6f5c87093717dfea11f021f295cc24d01fbcd1fc47d6" not available locally, pulling ...
I1221 06:34:23.263941 1 docker.go:351] Image "centos/php-56-centos7@sha256:18b93adf0fb58dbd28bd6f5c87093717dfea11f021f295cc24d01fbcd1fc47d6" not available locally, pulling ...
F1221 06:34:28.610644 1 builder.go:204] Error: build error: unable to get centos/php-56-centos7@sha256:18b93adf0fb58dbd28bd6f5c87093717dfea11f021f295cc24d01fbcd1fc47d6
[vagrant@adb ~]$ docker pull centos/php-56-centos7
Using default tag: latest
Trying to pull repository docker.io/centos/php-56-centos7 ...
latest: Pulling from docker.io/centos/php-56-centos7
45a2e645736c: Pull complete
3f92963ff97b: Pull complete
d6d897d19b25: Pull complete
50d0864be036: Pull complete
f6719f497d56: Pull complete
c1cba3e9f16a: Pull complete
227912486010: Pull complete
7b1086f98e35: Pull complete
Digest: sha256:bcbff94e97e8fb888ccb89232700f93368da999fd771355497da1f6dc66a648a
Status: Downloaded newer image for docker.io/centos/php-56-centos7:latest
After bit investigating, found that centos/php-56-centos7
image has been recently updated.
Is that the issue?
Release candidate build:
RC 2 : https://cbs.centos.org/koji/taskinfo?taskID=148437 (rebuilt with CentOS 7.3 bits)
Planned release date: 26th December 2016