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

Preparing to Deploy process stuck #11

Open
alizaidis opened this issue Jan 10, 2017 · 1 comment
Open

Preparing to Deploy process stuck #11

alizaidis opened this issue Jan 10, 2017 · 1 comment

Comments

@alizaidis
Copy link

alizaidis commented Jan 10, 2017

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!

@MEIerror
Copy link

Have you solved the problem?I had the same problem for a long time.can you help me?

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