Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some issues deploying to centos72 VM #20

Closed
ianmiell opened this issue Sep 26, 2016 · 6 comments
Closed

Some issues deploying to centos72 VM #20

ianmiell opened this issue Sep 26, 2016 · 6 comments

Comments

@ianmiell
Copy link
Collaborator

A placeholder for now, but I have a reproduction:

  • I had to download compat resource
  • I had to remove the yum requirement from iptables

Will post more later

@ianmiell
Copy link
Collaborator Author

ianmiell commented Sep 26, 2016

B8N9WpHJ#SSsmoixb> cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core) 
B8N9WpHJ#SSsmoixb> bash <(curl -s https://raw.githubusercontent.com/IshentRas/cookbook-openshift3/master/scripts/origin_deploy.sh)

############################################################
# This installer is suitable for a standalone installation #
# "All in the box" (Master and Node in a server)           #
############################################################

Please enter the FQDN of the server: localhost.localdomain
Please enter the IP of the server (Auto Detect): 10.0.2.15
Please enter the deployment type ([r]pm or [c]ontainer):r

Updating system, please wait...
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
warning: /var/cache/yum/x86_64/7/updates/packages/NetworkManager-team-1.0.6-31.el7_2.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for NetworkManager-team-1.0.6-31.el7_2.x86_64.rpm is not installed
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Created symlink from /etc/systemd/system/sysinit.target.wants/lvm2-lvmpolld.socket to /usr/lib/systemd/system/lvm2-lvmpolld.socket.

Installing prerequisite packages, please wait...
Thank you for installing Chef!
Starting Chef Client, version 12.13.37
[2016-09-26T18:17:20+00:00] WARN: Run List override has been provided.
[2016-09-26T18:17:20+00:00] WARN: Original Run List: []
[2016-09-26T18:17:20+00:00] WARN: Overridden Run List: [recipe[cookbook-openshift3], recipe[cookbook-openshift3::master], recipe[cookbook-openshift3::node]]
resolving cookbooks for run list: ["cookbook-openshift3", "cookbook-openshift3::master", "cookbook-openshift3::node"]

================================================================================
Error Resolving Cookbooks for Run List:
================================================================================

Missing Cookbooks:
------------------
No such cookbook: compat_resource

Expanded Run List:
------------------
* cookbook-openshift3
* cookbook-openshift3::master
* cookbook-openshift3::node

Platform:
---------
x86_64-linux


Running handlers:
[2016-09-26T18:17:21+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-09-26T18:17:21+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 01 seconds
[2016-09-26T18:17:21+00:00] FATAL: Stacktrace dumped to /root/chef-solo-example/cache/chef-stacktrace.out
[2016-09-26T18:17:21+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-09-26T18:17:21+00:00] ERROR: 412 "Precondition Failed"
[2016-09-26T18:17:23+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
/dev/fd/63: line 135: oadm: command not found
/dev/fd/63: line 139: htpasswd: command not found

##### Installation DONE ######
#####                   ######
Your installation of Origin is completed.

A demo user has been created for you.
Password is : 1234

Access the console here : https://console.10.0.2.15.nip.io:8443/console

You can also login via CLI : oc login -u demo

Next steps for you (To be performed as system:admin --> oc login -u system:admin):

1) Deploy registry -> oadm registry --service-account=registry --credentials=/etc/origin/master/openshift-registry.kubeconfig --config=/etc/origin/master/admin.kubeconfig
2) Deploy router -> oadm router --service-account=router --credentials=/etc/origin/master/openshift-router.kubeconfig
3) Read the documentation : https://docs.openshift.org/latest/welcome/index.html

You should disconnect and reconnect so as to get the benefit of bash-completion on commands

@ianmiell
Copy link
Collaborator Author

No longer an issue.

@IshentRas IshentRas reopened this Dec 30, 2016
@IshentRas
Copy link
Owner

I have not fixed that one, I shall have a look very soon :-)

@IshentRas
Copy link
Owner

@IshentRas
Copy link
Owner

@ianmiell Is this still relevant? If not can we close?

@ianmiell
Copy link
Collaborator Author

ianmiell commented Mar 1, 2017

I'm not sure I care anymore :)
I will close.

@ianmiell ianmiell closed this as completed Mar 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants