Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-06-29 Thread Andrew Coggins
Fixed my issue. I fixed up the hosts file according to this 
documentation: 
http://docs.puppetlabs.com/pe/latest/release_notes_known_issues.html#debianubuntu-local-hostname-issue

I had puppet pointing to 127.0.0.1 in the hosts file. Changing this to the 
private IP of the ec2 instance resolved the issue.

On Monday, June 29, 2015 at 11:40:02 AM UTC+10, Andrew Coggins wrote:

 The above steps fixed my installer issues on Ubuntu 14.04 running on a 
 VirtualBox VM, however moving to AWS and going through the steps again, I 
 can't successfully install puppet 3.8.1.

 The unusual thing is I don't see any issues logged in puppetserver.log and 
 telnet to localhost 8140 works. Any ideas?

 Thanks

 On Saturday, May 2, 2015 at 4:17:29 AM UTC+10, Martin Alfke wrote:

 I have created a blog posting with PE 3.8 installation issues and fixes 
 on Debian 6 and 7, CentOS 6 and 7, SLES 11 and 12, Ubuntu 12.04 and 14.10: 

 http://tuxmea.blogspot.de/2015/05/puppet-enterprise-38-installation-steps.html
  

 On 01 May 2015, at 19:58, Martin Alfke tux...@gmail.com wrote: 

  Confirmed. 
  This package list also solves installation issue on Ubuntu 14.10 
  
  Many thanks, 
  
  Martin 
  
  On 01 May 2015, at 19:49, Jay Benner long...@gmail.com wrote: 
  
  Nailed it!  Not sure which package did the trick, but smooth sailing 
 after installing these. 
  
  On Thursday, April 30, 2015 at 5:21:20 PM UTC-7, Kamil Keski wrote: 
  Scratch 2.1.5 as the issue.  Quick lsof shows that everything is still 
 using the 1.9.1 binary pulled in the install.  Only other thing I installed 
 was the following packages as they are my default pulls for a ruby build. 
  
  zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev 
 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev 
 python-software-properties 
  I'm not going any deeper than that on this one.  I'm tired of drudging 
 through .rb's and am leaving this as is. 
  
  Still, on a pure fresh Ubuntu 12.04 or 14.04 install there is a 
 dependency that the PE installer is not pulling down. 
  
  If you're a user and need a quick fix just install the above packages. 
  
  Puppet devs, if you can track down which and package that into the 
 installer that would be fantastic. 
  
  Thanks, 
  K 
  
  On Thursday, April 30, 2015 at 3:43:27 PM UTC-6, Kamil Keski wrote: 
  Going to answer my own question here as there is likely no way a fresh 
 install of PE 3.8 will succeed on Ubuntu 12.04 or 14.04.  Ruby comes 
 preinstalled with the distro's with a version of 1.9 (old for sure). 
  However this should be known.  I Installed 2.1.5, made global and the 
 installation of PE 3.8 succeeded. 
  
  I'd like to see the PE install updated to pull a version of Ruby that 
 it requires (who knows, 2.0 may be sufficient).  At minimum listing that 
 you have a minimum version of Ruby installed as a prerequisite. 
  
  On Thursday, April 30, 2015 at 12:50:27 PM UTC-6, Kamil Keski wrote: 
  Yes, I've added the temp path arg to the pe-puppetserver init as well. 
  No go. 
  
  Has anyone installed successfully from scratch using an ubuntu 12.04 
 or 14.04 distro?  Not an existing one, but a nice fresh build? 
  
  On Thursday, April 30, 2015 at 11:49:29 AM UTC-6, Martin Alfke wrote: 
  Hi Kamil, 
  
  have you tried setting the path attribute at the exec resource? 
  Puppet exec starts with an empty environment and you are using several 
 Unix commands without full path. 
  
  hth, 
  Martin 
  
  On Apr 30, 2015 7:29 PM, Kamil Keski ka...@inthetelling.com 
 wrote: 
  Thanks for the reply Josh.  I worked through this and other posts I 
 found pointing to the tmp issue.  However I don't have /tmp or /usr/tmp 
 mounted, they are just dir's on the root mount. 
  
  fstab: 
  
  # file system mount point   type  options   dump  pass 
  /dev/mapper/ITTPuppet--vg-root /   ext4   
  errors=remount-ro 0   1 
  # /boot was on /dev/sda1 during installation 
  UUID=89c2c14f-03a6-4f43-9935-25061c52e4f9 /boot   ext2   
  defaults0   2 
  /dev/mapper/ITTPuppet--vg-swap_1 noneswapsw   
0   0 
  /dev/fd0/media/floppy0  autorw,user,noauto,exec,utf8 0 
   0 
  
  Pretty vanilla stuff here, so noexecute should not be an issue in this 
 instance.  For good measure I tried creating a new dir (/usr/tmp) with 777 
 and defined -Djava.io.tmpdir=/usr/tmp globally via my /bashrc profile for 
 the user I'm running under and root.  Verified that was picked up via java 
 -version. 
  
  Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/usr/tmp 
  java version 1.6.0_35 
  OpenJDK Runtime Environment (IcedTea6 1.13.7) 
 (6b35-1.13.7-1ubuntu0.12.04.2) 
  OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) 
  
  Still same behavior.  I don't see how anyone has worked through a 
 fresh install on Ubuntu at this point. 
  
  Thanks, 
  K 
  
  On Wednesday, April 29, 2015 at 4:03:13 PM UTC-6, Josh Cooper wrote: 
  
  
  On Wed, 

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-06-28 Thread Andrew Coggins
The above steps fixed my installer issues on Ubuntu 14.04 running on a 
VirtualBox VM, however moving to AWS and going through the steps again, I 
can't successfully install puppet 3.8.1.

The unusual thing is I don't see any issues logged in puppetserver.log and 
telnet to localhost 8140 works. Any ideas?

Thanks

On Saturday, May 2, 2015 at 4:17:29 AM UTC+10, Martin Alfke wrote:

 I have created a blog posting with PE 3.8 installation issues and fixes on 
 Debian 6 and 7, CentOS 6 and 7, SLES 11 and 12, Ubuntu 12.04 and 14.10: 

 http://tuxmea.blogspot.de/2015/05/puppet-enterprise-38-installation-steps.html
  

 On 01 May 2015, at 19:58, Martin Alfke tux...@gmail.com javascript: 
 wrote: 

  Confirmed. 
  This package list also solves installation issue on Ubuntu 14.10 
  
  Many thanks, 
  
  Martin 
  
  On 01 May 2015, at 19:49, Jay Benner long...@gmail.com javascript: 
 wrote: 
  
  Nailed it!  Not sure which package did the trick, but smooth sailing 
 after installing these. 
  
  On Thursday, April 30, 2015 at 5:21:20 PM UTC-7, Kamil Keski wrote: 
  Scratch 2.1.5 as the issue.  Quick lsof shows that everything is still 
 using the 1.9.1 binary pulled in the install.  Only other thing I installed 
 was the following packages as they are my default pulls for a ruby build. 
  
  zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev 
 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev 
 python-software-properties 
  I'm not going any deeper than that on this one.  I'm tired of drudging 
 through .rb's and am leaving this as is. 
  
  Still, on a pure fresh Ubuntu 12.04 or 14.04 install there is a 
 dependency that the PE installer is not pulling down. 
  
  If you're a user and need a quick fix just install the above packages. 
  
  Puppet devs, if you can track down which and package that into the 
 installer that would be fantastic. 
  
  Thanks, 
  K 
  
  On Thursday, April 30, 2015 at 3:43:27 PM UTC-6, Kamil Keski wrote: 
  Going to answer my own question here as there is likely no way a fresh 
 install of PE 3.8 will succeed on Ubuntu 12.04 or 14.04.  Ruby comes 
 preinstalled with the distro's with a version of 1.9 (old for sure). 
  However this should be known.  I Installed 2.1.5, made global and the 
 installation of PE 3.8 succeeded. 
  
  I'd like to see the PE install updated to pull a version of Ruby that 
 it requires (who knows, 2.0 may be sufficient).  At minimum listing that 
 you have a minimum version of Ruby installed as a prerequisite. 
  
  On Thursday, April 30, 2015 at 12:50:27 PM UTC-6, Kamil Keski wrote: 
  Yes, I've added the temp path arg to the pe-puppetserver init as well. 
  No go. 
  
  Has anyone installed successfully from scratch using an ubuntu 12.04 or 
 14.04 distro?  Not an existing one, but a nice fresh build? 
  
  On Thursday, April 30, 2015 at 11:49:29 AM UTC-6, Martin Alfke wrote: 
  Hi Kamil, 
  
  have you tried setting the path attribute at the exec resource? 
  Puppet exec starts with an empty environment and you are using several 
 Unix commands without full path. 
  
  hth, 
  Martin 
  
  On Apr 30, 2015 7:29 PM, Kamil Keski ka...@inthetelling.com wrote: 
  Thanks for the reply Josh.  I worked through this and other posts I 
 found pointing to the tmp issue.  However I don't have /tmp or /usr/tmp 
 mounted, they are just dir's on the root mount. 
  
  fstab: 
  
  # file system mount point   type  options   dump  pass 
  /dev/mapper/ITTPuppet--vg-root /   ext4   
  errors=remount-ro 0   1 
  # /boot was on /dev/sda1 during installation 
  UUID=89c2c14f-03a6-4f43-9935-25061c52e4f9 /boot   ext2   
  defaults0   2 
  /dev/mapper/ITTPuppet--vg-swap_1 noneswapsw 
  0   0 
  /dev/fd0/media/floppy0  autorw,user,noauto,exec,utf8 0 
   0 
  
  Pretty vanilla stuff here, so noexecute should not be an issue in this 
 instance.  For good measure I tried creating a new dir (/usr/tmp) with 777 
 and defined -Djava.io.tmpdir=/usr/tmp globally via my /bashrc profile for 
 the user I'm running under and root.  Verified that was picked up via java 
 -version. 
  
  Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/usr/tmp 
  java version 1.6.0_35 
  OpenJDK Runtime Environment (IcedTea6 1.13.7) 
 (6b35-1.13.7-1ubuntu0.12.04.2) 
  OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) 
  
  Still same behavior.  I don't see how anyone has worked through a fresh 
 install on Ubuntu at this point. 
  
  Thanks, 
  K 
  
  On Wednesday, April 29, 2015 at 4:03:13 PM UTC-6, Josh Cooper wrote: 
  
  
  On Wed, Apr 29, 2015 at 1:10 PM, Kamil Keski ka...@inthetelling.com 
 wrote: 
  Clean slate install on Ubuntu 14.04 produces the following error and 
 will not proceed. 
  
  ** HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= curl --tlsv1 -s 
 https://puppetmaster.local:8140 
  
  ** HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= curl --tlsv1 -s 
  

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-05-26 Thread Martin Alfke
Hi Paolo,

the answer was a few mails earlier:

install the following package list:
zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev 
libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev 
python-software-properties 

Also see 
http://tuxmea.blogspot.de/2015/05/puppet-enterprise-38-installation-steps.html 
for other Ubuntu related installation issues.

Best,

Martin

On 26 May 2015, at 00:53, Paolo Marin marinpa...@gmail.com wrote:

 I am having the same issue. 
 Installing PE 3.8 to ubuntu 12.04.
 Installer fail with the following:
 
  ** cp /opt/puppet/share/installer/install_log.lastrun.FQDN.log 
 /var/log/pe-installer
 ** sed s/^\(q_.*password\)=.*/#\1=REDACTED/g  
 /tmp/pe-installer-wU0wqDPV/install/answers.lastrun.FQDN  
 /var/log/pe-installer/answers.install
 !! ERROR: The puppet master service failed to start within 120
seconds; unable to proceed
 
 
 I have tried 3 times and I thing this is a bug with the product.
 
 Please advice of any solution.
 Thanks
 
 
 On Saturday, May 2, 2015 at 3:58:39 AM UTC+10, Martin Alfke wrote:
 Confirmed. 
 This package list also solves installation issue on Ubuntu 14.10 
 
 Many thanks, 
 
 Martin 
 
 On 01 May 2015, at 19:49, Jay Benner long...@gmail.com wrote: 
 
  Nailed it!  Not sure which package did the trick, but smooth sailing after 
  installing these. 
  
  On Thursday, April 30, 2015 at 5:21:20 PM UTC-7, Kamil Keski wrote: 
  Scratch 2.1.5 as the issue.  Quick lsof shows that everything is still 
  using the 1.9.1 binary pulled in the install.  Only other thing I installed 
  was the following packages as they are my default pulls for a ruby build. 
  
  zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev 
  libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev 
  python-software-properties 
  I'm not going any deeper than that on this one.  I'm tired of drudging 
  through .rb's and am leaving this as is. 
  
  Still, on a pure fresh Ubuntu 12.04 or 14.04 install there is a dependency 
  that the PE installer is not pulling down. 
  
  If you're a user and need a quick fix just install the above packages. 
  
  Puppet devs, if you can track down which and package that into the 
  installer that would be fantastic. 
  
  Thanks, 
  K 
  
  On Thursday, April 30, 2015 at 3:43:27 PM UTC-6, Kamil Keski wrote: 
  Going to answer my own question here as there is likely no way a fresh 
  install of PE 3.8 will succeed on Ubuntu 12.04 or 14.04.  Ruby comes 
  preinstalled with the distro's with a version of 1.9 (old for sure).  
  However this should be known.  I Installed 2.1.5, made global and the 
  installation of PE 3.8 succeeded. 
  
  I'd like to see the PE install updated to pull a version of Ruby that it 
  requires (who knows, 2.0 may be sufficient).  At minimum listing that you 
  have a minimum version of Ruby installed as a prerequisite. 
  
  On Thursday, April 30, 2015 at 12:50:27 PM UTC-6, Kamil Keski wrote: 
  Yes, I've added the temp path arg to the pe-puppetserver init as well.  No 
  go. 
  
  Has anyone installed successfully from scratch using an ubuntu 12.04 or 
  14.04 distro?  Not an existing one, but a nice fresh build? 
  
  On Thursday, April 30, 2015 at 11:49:29 AM UTC-6, Martin Alfke wrote: 
  Hi Kamil, 
  
  have you tried setting the path attribute at the exec resource? 
  Puppet exec starts with an empty environment and you are using several Unix 
  commands without full path. 
  
  hth, 
  Martin 
  
  On Apr 30, 2015 7:29 PM, Kamil Keski ka...@inthetelling.com wrote: 
  Thanks for the reply Josh.  I worked through this and other posts I found 
  pointing to the tmp issue.  However I don't have /tmp or /usr/tmp mounted, 
  they are just dir's on the root mount. 
  
  fstab: 
  
  # file system mount point   type  options   dump  pass 
  /dev/mapper/ITTPuppet--vg-root /   ext4errors=remount-ro 0  
   1 
  # /boot was on /dev/sda1 during installation 
  UUID=89c2c14f-03a6-4f43-9935-25061c52e4f9 /boot   ext2defaults  
0   2 
  /dev/mapper/ITTPuppet--vg-swap_1 noneswapsw  0  
   0 
  /dev/fd0/media/floppy0  autorw,user,noauto,exec,utf8 0   0 
  
  Pretty vanilla stuff here, so noexecute should not be an issue in this 
  instance.  For good measure I tried creating a new dir (/usr/tmp) with 777 
  and defined -Djava.io.tmpdir=/usr/tmp globally via my /bashrc profile for 
  the user I'm running under and root.  Verified that was picked up via java 
  -version. 
  
  Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/usr/tmp 
  java version 1.6.0_35 
  OpenJDK Runtime Environment (IcedTea6 1.13.7) 
  (6b35-1.13.7-1ubuntu0.12.04.2) 
  OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) 
  
  Still same behavior.  I don't see how anyone has worked through a fresh 
  install on Ubuntu at this point. 
  
  Thanks, 
  K 
  
  On Wednesday, April 29, 2015 at 4:03:13 PM UTC-6, Josh 

Re: [Puppet Users] Fresh Puppet PE 3.8 install error

2015-05-25 Thread Paolo Marin
I am having the same issue. 
Installing PE 3.8 to ubuntu 12.04.
Installer fail with the following:

 ** cp /opt/puppet/share/installer/install_log.lastrun.FQDN.log 
/var/log/pe-installer

** sed s/^\(q_.*password\)=.*/#\1=REDACTED/g  
/tmp/pe-installer-wU0wqDPV/install/answers.lastrun.FQDN  
/var/log/pe-installer/answers.install
!! ERROR: The puppet master service failed to start within 120
   seconds; unable to proceed


I have tried 3 times and I thing this is a bug with the product.

Please advice of any solution.
Thanks


On Saturday, May 2, 2015 at 3:58:39 AM UTC+10, Martin Alfke wrote:

 Confirmed. 
 This package list also solves installation issue on Ubuntu 14.10 

 Many thanks, 

 Martin 

 On 01 May 2015, at 19:49, Jay Benner long...@gmail.com javascript: 
 wrote: 

  Nailed it!  Not sure which package did the trick, but smooth sailing 
 after installing these. 
  
  On Thursday, April 30, 2015 at 5:21:20 PM UTC-7, Kamil Keski wrote: 
  Scratch 2.1.5 as the issue.  Quick lsof shows that everything is still 
 using the 1.9.1 binary pulled in the install.  Only other thing I installed 
 was the following packages as they are my default pulls for a ruby build. 
  
  zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev 
 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev 
 python-software-properties 
  I'm not going any deeper than that on this one.  I'm tired of drudging 
 through .rb's and am leaving this as is. 
  
  Still, on a pure fresh Ubuntu 12.04 or 14.04 install there is a 
 dependency that the PE installer is not pulling down. 
  
  If you're a user and need a quick fix just install the above packages. 
  
  Puppet devs, if you can track down which and package that into the 
 installer that would be fantastic. 
  
  Thanks, 
  K 
  
  On Thursday, April 30, 2015 at 3:43:27 PM UTC-6, Kamil Keski wrote: 
  Going to answer my own question here as there is likely no way a fresh 
 install of PE 3.8 will succeed on Ubuntu 12.04 or 14.04.  Ruby comes 
 preinstalled with the distro's with a version of 1.9 (old for sure). 
  However this should be known.  I Installed 2.1.5, made global and the 
 installation of PE 3.8 succeeded. 
  
  I'd like to see the PE install updated to pull a version of Ruby that it 
 requires (who knows, 2.0 may be sufficient).  At minimum listing that you 
 have a minimum version of Ruby installed as a prerequisite. 
  
  On Thursday, April 30, 2015 at 12:50:27 PM UTC-6, Kamil Keski wrote: 
  Yes, I've added the temp path arg to the pe-puppetserver init as well. 
  No go. 
  
  Has anyone installed successfully from scratch using an ubuntu 12.04 or 
 14.04 distro?  Not an existing one, but a nice fresh build? 
  
  On Thursday, April 30, 2015 at 11:49:29 AM UTC-6, Martin Alfke wrote: 
  Hi Kamil, 
  
  have you tried setting the path attribute at the exec resource? 
  Puppet exec starts with an empty environment and you are using several 
 Unix commands without full path. 
  
  hth, 
  Martin 
  
  On Apr 30, 2015 7:29 PM, Kamil Keski ka...@inthetelling.com wrote: 
  Thanks for the reply Josh.  I worked through this and other posts I 
 found pointing to the tmp issue.  However I don't have /tmp or /usr/tmp 
 mounted, they are just dir's on the root mount. 
  
  fstab: 
  
  # file system mount point   type  options   dump  pass 
  /dev/mapper/ITTPuppet--vg-root /   ext4errors=remount-ro 
 0   1 
  # /boot was on /dev/sda1 during installation 
  UUID=89c2c14f-03a6-4f43-9935-25061c52e4f9 /boot   ext2   
  defaults0   2 
  /dev/mapper/ITTPuppet--vg-swap_1 noneswapsw 
  0   0 
  /dev/fd0/media/floppy0  autorw,user,noauto,exec,utf8 0   
 0 
  
  Pretty vanilla stuff here, so noexecute should not be an issue in this 
 instance.  For good measure I tried creating a new dir (/usr/tmp) with 777 
 and defined -Djava.io.tmpdir=/usr/tmp globally via my /bashrc profile for 
 the user I'm running under and root.  Verified that was picked up via java 
 -version. 
  
  Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/usr/tmp 
  java version 1.6.0_35 
  OpenJDK Runtime Environment (IcedTea6 1.13.7) 
 (6b35-1.13.7-1ubuntu0.12.04.2) 
  OpenJDK 64-Bit Server VM (build 23.25-b01, mixed mode) 
  
  Still same behavior.  I don't see how anyone has worked through a fresh 
 install on Ubuntu at this point. 
  
  Thanks, 
  K 
  
  On Wednesday, April 29, 2015 at 4:03:13 PM UTC-6, Josh Cooper wrote: 
  
  
  On Wed, Apr 29, 2015 at 1:10 PM, Kamil Keski ka...@inthetelling.com 
 wrote: 
  Clean slate install on Ubuntu 14.04 produces the following error and 
 will not proceed. 
  
  ** HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= curl --tlsv1 -s 
 https://puppetmaster.local:8140 
  
  ** HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= curl --tlsv1 -s 
  https://puppetmaster.local:8140 
  
  ** HTTP_PROXY= http_proxy= HTTPS_PROXY= https_proxy= curl --tlsv1 -s