[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Installing Openshift Origins on CentOS 6 Minimal Install



Yup, that fixed that issue.

There are so many configs now that are whitespace neutral these days, you forget that it used to matter for more enduring technologies.

I'll be sure to post my final results and methods for CentOS 6.3 after I finish my preliminary testing here. If I have more issues that I can't solve i'll post them here.

Thanks for the assistance. Cheers.

On Fri, Jan 18, 2013 at 8:19 AM, Luke Meyer <lmeyer redhat com> wrote:
The named config file is sensitive to whitespace and named won't start if it's wrong. I have definitely seen this before. /var/named/dynamic/example.com.db should look like the following:

$ORIGIN .
$TTL 1  ; 1 second
example.com             IN SOA  ns1.example.com. hostmaster.example.com. (
                                2011112908 ; serial
                                60         ; refresh (1 minute)
                                15         ; retry (15 seconds)
                                1800       ; expire (30 minutes)
                                10         ; minimum (10 seconds)
                                )
                        NS      ns1.example.com.
                        MX      10 mail.example.com.
$ORIGIN example.com.
[... records for individual hosts here...]

Note that the NS and MX lines are indented - they are a continuation of the example.com record. The error below I think indicates yours aren't indented, probably a copy/paste error.

Looking forward to seeing how well this works on CentOS - no reason it shouldn't, but just haven't tried it. If you run into further problems, could you run this diagnostics script on your hosts and include the output with your questions?

https://raw.github.com/openshift/origin-server/master/util/oo-diagnostics

Also note that you can request a free supported eval of OpenShift Enterprise on RHEL - which is pretty much what you're doing, just supported and more current.

Cheers,
Luke

----- Original Message -----
From: "Dennis Kirkpatrick" <dennis kirkpatrick gorillalogic com>
To: dev lists openshift redhat com
Sent: Thursday, January 17, 2013 6:40:45 PM
Subject: Re: Installing Openshift Origins on CentOS 6 Minimal Install


OK, that openshift.ks was very slick. and I have been able to get the broker and nodes installed and generally configured. However, named still won't start. Here is the error that I am getting--

[root broker dynamic]# service named start
Starting named:
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
dynamic/example.com.db:10: ignoring out-of-zone data (NS)
dynamic/example.com.db:10: unknown RR type ' ns1.example.com .'
dynamic/example.com.db:11: ignoring out-of-zone data (MX)
dynamic/example.com.db:11: unknown RR type ' mail.example.com .'
zone example.com/IN : loading from master file dynamic/example.com.db failed: unknown class/type
zone example.com/IN : not loaded due to errors.
_default/ example.com/IN : unknown class/type

Any clues? Thanks.


On Wed, Jan 16, 2013 at 6:18 PM, Mohd Izhar Firdaus Ismail < kagesenshi 87 gmail com > wrote:


Hi Dennis,

I just successfully setup an OpenShift deployment with separate broker
& node VM configuration last night. I found that the easiest and
quickest way to set this up is through simply using the kickstart
provided here : https://gist.github.com/4053956 (do remember to change
all passwords there)

to use the kickstart:

- download the kickstart file, update and serve it in a local httpd
- ensure that your network have DHCP for the installer to
automatically have network connection,
- boot the CentOS installer, and at the grub screen, press Tab key
For the broker host :
- add ks= http://url.to.kickstart/file.ks
install_components=broker,named,activemq,datastore
For the node host :
- add ks= http://url.to.kickstart/file.ks install_components=node

once both are installed, ensure that the node host uses the broker
host as DNS, and add the node using the command here
https://openshift.redhat.com/community/wiki/build-your-own#Create_a_DNS_Record_for_the_Node

you might also need to ensure that the CentOS machine is using the
latest kernel else you might stumble upon issue of missing
cpu.cfs_quota_us .. at least in my case, the updates that happened
during kickstart did not add the grub entry for the latest kernel, so
i had to uninstall and reinstall the latest kernel through yum.

thats pretty much what i can recall from the stuff i did last night ..
goodluck! ..



On Thu, Jan 17, 2013 at 8:45 AM, Dennis Kirkpatrick
< dennis kirkpatrick gorillalogic com > wrote:
> I've been trying to get Openshift Origins setup on CentOS 6. I'm stuck at
> the DNS
> setup, where I get "${domain}.key file not found" error. I've setup the
> domain as a global variable in /etc/profile.d, but alas....
>
> Anyone seen this issue before. Also, if someone has defined a
> CentOS6-specific standard install that they can share that would be great
> too.
>
> Thanks.

> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
>

_______________________________________________
dev mailing list
dev lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]