Ask Your Question
0

Error after install RHEL on AWS EC2 (no error message though)

asked 2015-11-04 06:12:27 -0500

rightly_left gravatar image

updated 2015-11-04 15:30:10 -0500

GregLarkin gravatar image

Good morning guys, I've come across a problem whilst installing PE on a cloud Linux machine.

Initially, I had tried this with Ubuntu, where I had some networking errors, but ended up with this particular error as well.

So now, in trying to install it on RHEL instead (7.1 HVM), I get the same error. BUT, as far as I'm able to ascertain, I can't see the error message.

So here's the steps I've taken on the latest environment I've spun up:

  • Create EC2 instance RHEL 7.1 HVM
  • Ensure all ports are open, that need to be.
  • SSH in, modify /etc/environment to use our company's proxy so I can access the net.
  • Do a Yum update/upgrade
  • Install wget, emacs, screen using Yum
  • Wget PE package (definitely using the correct distro/version) - I simply download this to my home/ec2_user folder
  • sudo install, and select yes when asked if I want to use a guided install.
  • Go to the https link provided on a separate Windows 2012 R2 jump server.
  • Click through the options, selecting Monolithic install, putting in my EC2 private name in the first box, and using a variety of DNS names (I've stopped trying to be selective, as I'm convinced this is the problem...) including ones created for me, public DNS, and private DNS names. All separated with commas.
  • review, and install - I get green on all checklist items, except for space and CPU cores (Using this for PoC, so using a smaller instance for now).
  • Click install, and wait for the install to do its thing.

NOW! Here's where I get the errors (I think?), but the log is a little beyond me... The part I think is relevant is at the end, as it seems the install completes but....

***************************
STEP 5: DONE
INFO
INFO Thanks for installing Puppet Enterprise!
INFO
INFO To learn more and get started using Puppet Enterprise, refer to
INFO the Puppet Enterprise Quick Start Guide
INFO (http://docs.puppetlabs.com/pe/latest/quick_start.html) and the
INFO Puppet Enterprise Deployment Guide
INFO (http://docs.puppetlabs.com/guides/deployment_guide/index.html).
INFO
INFO The console can be reached at the following URI:
INFO *  https://ip-xx-xx-xx-xx.eu-west-1.compute.internal
INFO
INFO ========================================================================
INFO
INFO ## NOTES
INFO
INFO Puppet Enterprise has been installed to "/opt/puppetlabs," and
INFO its configuration files are located in "/etc/puppetlabs".
INFO
INFO Answers from this session saved to
INFO '/tmp/pe-installer-HEw05ElY/install/answers.lastrun.ip-xx-xx-xx-xx.aws.XX.XX.com'
INFO In addition, auto-generated database users and passwords have
INFO been saved to '/etc/puppetlabs/installer/database_info.*'
INFO !!! WARNING: Do not discard these files! All auto-generated
INFO database users and passwords have been saved in them. You will
INFO need this information to configure the console role during
INFO installation.
INFO
INFO If you have a firewall running, please ensure the following TCP
INFO ports are open: 443, 4433, 8140, 61613
INFO
INFO !!! WARNING: Installer failed to ...
(more)
edit retag flag offensive close merge delete

Comments

I should also mention that when I'm trying to access the install web interface on Chrome from the 2012R2 jump server, I can't access it at the address given by the installer... I have to manually change this from (e.g.) https://ip-xx-xx-xx-xx.uk.aws....com:3000, to https://ip-xx-xx-xx-xx:3000.

rightly_left gravatar imagerightly_left ( 2015-11-04 09:05:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-11-04 15:32:43 -0500

GregLarkin gravatar image

What size ec2 instance are you using? If it doesn't have enough memory, then the PE components will not start successfully or very slowly, and you'll likely run into errors like the ones shown.

Can you post a link to a pastebin of the contents of the log files found in /var/log/puppetlabs/console-services/? That might help point to a solution.

edit flag offensive delete link more

Comments

Hi Greg, I've tried with t2.medium, t2.large, and I thought the same thing regarding RAM, so I used another one (can't remember) which, =had 4 cores and 7.5/8 GB RAM. console_services.log: http://pastebin.com/PTBHykGS console-services-access.log: http://pastebin.com/sauwmA4A Thanks!

rightly_left gravatar imagerightly_left ( 2015-11-05 03:15:05 -0500 )edit

Hmm, that's the only thing that comes to mind as a possible cause. Are you a paying PE customer? If so, I would suggest calling in to Support to see if they can help.

GregLarkin gravatar imageGregLarkin ( 2015-11-05 22:22:53 -0500 )edit

Thanks for helping though - sadly I'm not as I was trying to trial this for my company. It's fine though, it's not mega important, and I'm sure I'll figure it out one day :) Again, thanks for trying!

rightly_left gravatar imagerightly_left ( 2015-11-06 03:33:35 -0500 )edit

I'm not experienced with PE, but is it the JRuby backed version of puppet server? If so, do you have to manually increase the heap size that JRuby uses?

DarylW gravatar imageDarylW ( 2015-11-13 08:55:15 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2015-11-04 06:12:27 -0500

Seen: 100 times

Last updated: Nov 04 '15