Skip to content

Preparing to Deploy process stuck #11

Description

@alizaidis

When deploying services, the page doesn't move further than step 3. This is what it looks like:
screenshot

I'm attaching the tail from /var/log/ambari-server/ambari-server.log on the main docker node (n=3, port 8080) for this attempt here:
stacktrace.txt

I've tried this using various versions of Ambari on CentOS 6 and CentOS 7, to similar effect. Using the 2.2.2 it does go through, but give several errors during the process, for instance:

  1. "Consistency check failed on Ambari" (detailed here, checked solutions, error persisted)
  2. "Error in persisting web client state at ambari server: Error 0"

Eventually once everything is installed, when you go back to the Ambari dashboard, you can see the services are installed but the hosts are no longer available (the default group is showing 0 nodes)

It's also worth mentioning that early in the Ambari setup process, when we're registering the hosts, it warns that iptables is running and that ntpd is not. I was not able to make it work after fiddling with iptables, since I wasn't able to disable them all together, but running something like

iptables -I INPUT -j ACCEPT

should theoretically work. I was able to get ntpd running by adding the following to the Dockerfile right after Supervisor is installed:

RUN yum -y install initscripts && yum clean all
ADD ntpdconfig /etc/sysconfig/ntpd
RUN service ntpd restart
RUN ntpdate -u pool.ntp.org

Where ntpdconfig looks like this:

# Drop root to id 'ntp:ntp' by default.
#OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid"

# Set to 'yes' to sync hw clock after successful ntpdate
SYNC_HWCLOCK=no

# Additional options for ntpdate
NTPDATE_OPTIONS=""

Any help or direction you could provide would be awesome! Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions