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

Re: ose 3 installation issue

Hi Brenton,

Actually when i run utility for master and node both in single instance,it works fine.

do we need to do extra configuration in node hosts so that nodes can connect to masters. 

I have tried adding IP and DNS name in /etc/hosts file inside node, but that also doesn't seem to work.

Can you give any pointers on this??

Thanku so much!! 

On Thu, Oct 1, 2015 at 8:35 AM, priyanka Gupta <priyanka4openshift gmail com> wrote:
Hi Brenton,

Thanks,Yes it looks correct to me , below is the output , it shows private ip of instances first in "validated_facts" like:

masters: []
nodes: [,]
  private_ip_node1: {hostname: -.internal, ip:,
    public_hostname: -.compute.amazonaws.com, public_ip:}
  private_ip_master1: {hostname: ip--.compute.internal, ip:,
    public_hostname: --.amazonaws.com, public_ip:}

As mentioned by you I am supplying private ips only during installation. Here I am using 1 node and 1 master but it shows two nodes(one master itself and other defined node) , is it the expected behavior??

Do let me know if I need to check or configure something else.

On Wed, Sep 30, 2015 at 11:27 PM, Brenton Leanhardt <bleanhar redhat com> wrote:
If you look in ~/.config/openshift/installer.cfg.yml on the system
where you ran the installer does the "validated_facts" section look

Here's an example:

  ose3-master.example.com: {hostname: ose3-master.example.com, ip:,
    public_hostname: ose3-master.example.com, public_ip:}
  ose3-node1.example.com: {hostname: ose3-node1.example.com, ip:, public_hostname: ose3-node1.example.com,

The key is the name of the host from the installer's perspective.
Here's some additional notes from the installer's output when you're
asked to supply the values:

 * The installation host is the hostname from the installer's perspective.
 * The IP of the host should be the internal IP of the instance.
 * The public IP should be the externally accessible IP associated
with the instance
 * The hostname should resolve to the internal IP from the instances
 * The public hostname should resolve to the external ip from hosts outside of
   the cloud.

On Wed, Sep 30, 2015 at 11:59 AM, priyanka Gupta
<priyanka4openshift gmail com> wrote:
> Hi,
> I am installing ose v3 using "sh <(curl -s
> https://install.openshift.com/ose/)" for installation. I am using one node
> and one master setup. I have followed all prerequisites on both the hosts.
> But when I run the utililty, it just fails at:
> TASK: [openshift_manage_node | Wait for Node Registration]
> ********************
> changed: [1--.10.0.898] => (item=ip-1---10-0-00.--east-2.compute.internal)
> failed: [1--.10.0.898] => (item=ip----10-0-00.--east-2.compute.internal) =>
> {"attempts": 10, "changed": true, "cmd": ["oc", "get", "node",
> "ip----10-0-00.--east-2.compute.internal"], "delta": "0:00:00.215592",
> "end": "2015-09-30 08:08:20.860288", "failed": true, "item":
> "ip----10-0-00.--east-2.compute.internal", "rc": 1, "start": "2015-09-30
> 08:08:20.644696", "warnings": []}
> stderr: Error from server: node "ip----10-0-00.--east-2.compute.internal"
> not found
> msg: Task failed as maximum retries was encountered
> FATAL: all hosts have already failed -- aborting
> 1--.10.0.898        : ok=151  changed=45   unreachable=0    failed=1
> I have already googled out similar issues and tried resolution but nothing
> worked.
> though I can ping each instances though private/public ip.
> Here I am not using any DNS name ,just IP addresses.
> Not sure what is going wrong?
> Can anyone take a look at it and tell me what could be the issue?
> hope to get help soon.
> Thanks much in advance
> _______________________________________________
> 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]