| Summary: | Attempt to run puppet apply --verbose configure_origin.pp fails with Invalid parameter node_fqdn at /tmp/configure_origin.pp:47 on node broker.example.com | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Jan Pazdziora <jpazdziora> |
| Component: | Pod | Assignee: | Krishna Raman <kraman> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | chunchen, jpazdziora, kraman, lmeyer, mfisher, s.madathilthattantav |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-30 00:46:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Pazdziora
2013-11-06 06:44:37 UTC
The puppet parameters have changed. Try the guide again; it's been updated in the last couple days. However, I can't guarantee that everything will work anyway. (In reply to Luke Meyer from comment #2) > The puppet parameters have changed. Try the guide again; it's been updated > in the last couple days. However, I can't guarantee that everything will > work anyway. Thank you for the heads up. Now the puppet apply run with just the following warnings/errors: Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults Notice: Scope(Class[Ntp]): autoupdate parameter has been deprecated and replaced with package_ensure. Set this to latest for the same behavior as autoupdate => true. [...] Error: Could not find command '/usr/bin/htpasswd' Error: /Stage[main]/Openshift_origin::Plugins::Auth::Htpasswd/Exec[set first OpenShift user password]/returns: change from notrun to 0 failed: Could not find command '/usr/bin/htpasswd' [...] Warning: Augeas[network-scripts](provider=augeas): Loading failed for one or more files, see debug for /augeas//error output When attempting to access the console then, I see [Wed Nov 20 02:05:38.331456 2013] [authn_file:error] [pid 32188] (2)No such file or directory: [client 127.0.0.1:15345] AH01620: Could not open password file: /etc/openshift/htpasswd and I cannot log in. Also, it seems strange that the original install_repo is no longer listed / shown in the configure_origin.pp template on that page. The installation on Fedora 19 proceeded fine so I assume some repo was used fine but since the page http://openshift.github.io/documentation/oo_deployment_guide_puppet.html starts with The OpenShift Origin RPMs can be available from: listing various repositories, it might be good to show what values should be specified for the values shown in http://openshift.github.io/documentation/oo_deployment_guide_puppet.html#install_method (In reply to Jan Pazdziora from comment #3) > > Error: Could not find command '/usr/bin/htpasswd' > Error: /Stage[main]/Openshift_origin::Plugins::Auth::Htpasswd/Exec[set first > OpenShift user password]/returns: change from notrun to 0 failed: Could not > find command '/usr/bin/htpasswd' [...] > [Wed Nov 20 02:05:38.331456 2013] [authn_file:error] [pid 32188] (2)No such > file or directory: [client 127.0.0.1:15345] AH01620: Could not open password > file: /etc/openshift/htpasswd > > and I cannot log in. When I install /usr/bin/htpasswd (== httpd-tools-2.4.6-2.fc19.x86_64) manually, the puppet error changes to Notice: /Stage[main]/Openshift_origin::Plugins::Auth::Htpasswd/Exec[set first OpenShift user password]/returns: /usr/bin/htpasswd: cannot modify file /etc/openshift/htpasswd; use '-c' to create it Error: /usr/bin/htpasswd -b /etc/openshift/htpasswd openshift password returned 1 instead of one of [0] Error: /Stage[main]/Openshift_origin::Plugins::Auth::Htpasswd/Exec[set first OpenShift user password]/returns: change from notrun to 0 failed: /usr/bin/htpasswd -b /etc/openshift/htpasswd openshift password returned 1 instead of one of [0] and the access to the console still fails [Wed Nov 20 22:12:48.626005 2013] [authn_file:error] [pid 3943] (2)No such file or directory: [client 127.0.0.1:24383] AH01620: Could not open password file: /etc/openshift/htpasswd Hi I am alos facing the same issue following the latest guide http://openshift.github.io/documentation/oo_deployment_guide_puppet.html#enterprise-prerequisites I am trying origin install in ec2 (RHEL6) while running puppet apply --verbose configure_origin.pp I hit a lot of errors Error: Could not find command '/usr/bin/htpasswd' Error: /Stage[main]/Openshift_origin::Plugins::Auth::Htpasswd/Exec[set first OpenShift user password]/returns: change from notrun to 0 failed: Could not find command '/usr/bin/htpasswd' ^C ^CExiting Error: /Stage[main]/Openshift_origin::Plugins::Frontend::Apache_mod_rewrite/Package[rubygem-openshift-origin-frontend-apache-mod-rewrite]/ensure: change from absent to present failed: exit Please help!!! Shabna Back to the node_fqdn issue -- when I try to install OpenShift Origin release 2 using the documentation from https://mirror.openshift.com/pub/openshift-origin/release/2/documentation/oo_deployment_guide_puppet.html, the original Error: Invalid parameter node_fqdn at /tmp/configure_origin.pp:47 on node broker.example.com is back / still there. It's primarily caused by the fact that the openshift/openshift_origin is not versioned and since it has changed from the state when release 2 went out, it is now not usable to install release 2. What is the proper way to install release 2 using puppet? On a related note, I confirm that the htpasswd issue has been fixed in latest puppet content for OpenShift nightly. It's fixed, try to install OpenShift Origin on Fedora 19 using the documentation at http://openshift.github.io/documentation/oo_deployment_guide_puppet.html, will not meet this errors, please refer to the following results: # puppet apply --verbose configure_origin.pp | grep -i error Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults Warning: Augeas[network-scripts](provider=augeas): Loading failed for one or more files, see debug for /augeas//error output |