Hi All, Im trying to install but with no luck. Any idea what I did wrong ? ** mkdir -p /var/log/pe-console-auth ** touch /var/log/pe-console-auth/cas.log ** touch /var/log/pe-console-auth/auth.log ** chmod 770 /var/log/pe-console-auth ** chmod 660 /var/log/pe-console-auth/auth.log ** touch /var/log/pe-console-auth/cas_client.log ** chmod 660 /var/log/pe-console-auth/cas_client.log ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth ** chown puppet-dashboard:puppet-dashboard /opt/puppet/share/live-management/config.ru ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru ** service pe-httpd restart Stopping pe-httpd: [ OK ] Starting pe-httpd: [ OK ] ** chown root:root /var/opt/lib/pe-puppet/lib ** cd /opt/puppet/share/puppet-dashboard; PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production cert:create_key_pair (in /opt/puppet/share/puppet-dashboard) ** /opt/puppet/bin/passenger-status ----------- General information ----------- max = 6 count = 0 active = 0 inactive = 0 Waiting on global queue: 0 ----------- Domains ----------- ** cd /opt/puppet/share/puppet-dashboard; PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production cert:request rake aborted! 400 "Bad Request" (See full trace by running task with --trace) (in /opt/puppet/share/puppet-dashboard) ============================================================================================================================================================ There was an error running the installation. Please see the last few lines of output for more info. tia, -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
I''ve CCed the pe-users list as I think it is probably a better place for this PE specific question. The rake 400 error you see can be caused by a couple of issues. The most common ones I''ve seen are - the hostname you gave for the master isn''t reachable (you may need to add an entry to /etc/hosts or to dns for the master) - the console has already requested and gotten signed a cert with the same name HTH On Tue, Jan 29, 2013 at 12:06 PM, brutuz <jerome.m@gmail.com> wrote:> Hi All, > > Im trying to install but with no luck. Any idea what I did wrong ? > > ** mkdir -p /var/log/pe-console-auth > ** touch /var/log/pe-console-auth/cas.log > ** touch /var/log/pe-console-auth/auth.log > ** chmod 770 /var/log/pe-console-auth > ** chmod 660 /var/log/pe-console-auth/auth.log > ** touch /var/log/pe-console-auth/cas_client.log > ** chmod 660 /var/log/pe-console-auth/cas_client.log > ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth > ** chown puppet-dashboard:puppet-dashboard > /opt/puppet/share/live-management/config.ru > ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru > ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru > ** service pe-httpd restart > Stopping pe-httpd: [ OK ] > Starting pe-httpd: [ OK ] > ** chown root:root /var/opt/lib/pe-puppet/lib > ** cd /opt/puppet/share/puppet-dashboard; > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production > cert:create_key_pair > (in /opt/puppet/share/puppet-dashboard) > ** /opt/puppet/bin/passenger-status > ----------- General information ----------- > max = 6 > count = 0 > active = 0 > inactive = 0 > Waiting on global queue: 0 > > ----------- Domains ----------- > ** cd /opt/puppet/share/puppet-dashboard; > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production > cert:request > rake aborted! > 400 "Bad Request" > > (See full trace by running task with --trace) > (in /opt/puppet/share/puppet-dashboard) > > ============================================================================================================================================================> > > There was an error running the installation. Please see the last few > lines of output for more info. > > > tia, > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > >-- Matthaus Owens Release Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
I got this error.. == PluginPuppetBaselineAddIndexingToSuportCreateBaseline: migrating =========-- execute("CREATE INDEX index_on_baseline_id_resource_type_and_title ON baseline_resources (baseline_id, resorake aborted! An error has occurred, all later migrations canceled: Mysql::Error: Specified key was too long; max key length is 1000 bytes: CREATE INDEX index_on_baseline_id_resource_type_and_title ON baseline_resources (baseline_id, resource_type, title(512)) Im googling the error but incase someone has a quick answer I would appreciate it. tia, On Tuesday, January 29, 2013 3:22:24 PM UTC-5, Matthaus Litteken wrote:> > I''ve CCed the pe-users list as I think it is probably a better place > for this PE specific question. > > The rake 400 error you see can be caused by a couple of issues. The > most common ones I''ve seen are > > - the hostname you gave for the master isn''t reachable (you may need > to add an entry to /etc/hosts or to dns for the master) > - the console has already requested and gotten signed a cert with the same > name > > HTH > > On Tue, Jan 29, 2013 at 12:06 PM, brutuz wrote: > > Hi All, > > > > Im trying to install but with no luck. Any idea what I did wrong ? > > > > ** mkdir -p /var/log/pe-console-auth > > ** touch /var/log/pe-console-auth/cas.log > > ** touch /var/log/pe-console-auth/auth.log > > ** chmod 770 /var/log/pe-console-auth > > ** chmod 660 /var/log/pe-console-auth/auth.log > > ** touch /var/log/pe-console-auth/cas_client.log > > ** chmod 660 /var/log/pe-console-auth/cas_client.log > > ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth > > ** chown puppet-dashboard:puppet-dashboard > > /opt/puppet/share/live-management/config.ru > > ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru > > ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru > > ** service pe-httpd restart > > Stopping pe-httpd: [ OK ] > > Starting pe-httpd: [ OK ] > > ** chown root:root /var/opt/lib/pe-puppet/lib > > ** cd /opt/puppet/share/puppet-dashboard; > > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production > > cert:create_key_pair > > (in /opt/puppet/share/puppet-dashboard) > > ** /opt/puppet/bin/passenger-status > > ----------- General information ----------- > > max = 6 > > count = 0 > > active = 0 > > inactive = 0 > > Waiting on global queue: 0 > > > > ----------- Domains ----------- > > ** cd /opt/puppet/share/puppet-dashboard; > > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production > > cert:request > > rake aborted! > > 400 "Bad Request" > > > > (See full trace by running task with --trace) > > (in /opt/puppet/share/puppet-dashboard) > > > > > ============================================================================================================================================================= > > > > > > > There was an error running the installation. Please see the last few > > lines of output for more info. > > > > > > tia, > > > > > -- > Matthaus Owens > Release Manager, Puppet Labs >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
When I''ve seen that error before it indicates that MyISAM is the default engine on mysql. If you update /etc/my.cnf or /etc/mysql/my.cnf to use innodb as the default storage engine, the migration should succeed (add a line with ''default-storage-engine innodb'' to my.cnf in the [mysqld] section). On Thu, Jan 31, 2013 at 6:40 AM, brutuz <jerome.m@gmail.com> wrote:> I got this error.. > > == PluginPuppetBaselineAddIndexingToSuportCreateBaseline: migrating > =========> -- execute("CREATE INDEX index_on_baseline_id_resource_type_and_title ON > baseline_resources (baseline_id, resorake aborted! > An error has occurred, all later migrations canceled: > > Mysql::Error: Specified key was too long; max key length is 1000 bytes: > CREATE INDEX index_on_baseline_id_resource_type_and_title ON > baseline_resources (baseline_id, resource_type, title(512)) > > Im googling the error but incase someone has a quick answer I would > appreciate it. > > tia, > > > On Tuesday, January 29, 2013 3:22:24 PM UTC-5, Matthaus Litteken wrote: >> >> I''ve CCed the pe-users list as I think it is probably a better place >> for this PE specific question. >> >> The rake 400 error you see can be caused by a couple of issues. The >> most common ones I''ve seen are >> >> - the hostname you gave for the master isn''t reachable (you may need >> to add an entry to /etc/hosts or to dns for the master) >> - the console has already requested and gotten signed a cert with the same >> name >> >> HTH >> >> On Tue, Jan 29, 2013 at 12:06 PM, brutuz wrote: >> > Hi All, >> > >> > Im trying to install but with no luck. Any idea what I did wrong ? >> > >> > ** mkdir -p /var/log/pe-console-auth >> > ** touch /var/log/pe-console-auth/cas.log >> > ** touch /var/log/pe-console-auth/auth.log >> > ** chmod 770 /var/log/pe-console-auth >> > ** chmod 660 /var/log/pe-console-auth/auth.log >> > ** touch /var/log/pe-console-auth/cas_client.log >> > ** chmod 660 /var/log/pe-console-auth/cas_client.log >> > ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth >> > ** chown puppet-dashboard:puppet-dashboard >> > /opt/puppet/share/live-management/config.ru >> > ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru >> > ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru >> > ** service pe-httpd restart >> > Stopping pe-httpd: [ OK ] >> > Starting pe-httpd: [ OK ] >> > ** chown root:root /var/opt/lib/pe-puppet/lib >> > ** cd /opt/puppet/share/puppet-dashboard; >> > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >> > cert:create_key_pair >> > (in /opt/puppet/share/puppet-dashboard) >> > ** /opt/puppet/bin/passenger-status >> > ----------- General information ----------- >> > max = 6 >> > count = 0 >> > active = 0 >> > inactive = 0 >> > Waiting on global queue: 0 >> > >> > ----------- Domains ----------- >> > ** cd /opt/puppet/share/puppet-dashboard; >> > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >> > cert:request >> > rake aborted! >> > 400 "Bad Request" >> > >> > (See full trace by running task with --trace) >> > (in /opt/puppet/share/puppet-dashboard) >> > >> > >> > ============================================================================================================================================================>> > >> > >> > There was an error running the installation. Please see the last few >> > lines of output for more info. >> > >> > >> > tia, >> > >> >> >> -- >> Matthaus Owens >> Release Manager, Puppet Labs > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to puppet-users+unsubscribe@googlegroups.com. > To post to this group, send email to puppet-users@googlegroups.com. > Visit this group at http://groups.google.com/group/puppet-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > >-- Matthaus Owens Release Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Please disregard this issue I found a fix.. On Tuesday, January 29, 2013 3:06:32 PM UTC-5, brutuz wrote:> > Hi All, > > Im trying to install but with no luck. Any idea what I did wrong ? > > ** mkdir -p /var/log/pe-console-auth > ** touch /var/log/pe-console-auth/cas.log > ** touch /var/log/pe-console-auth/auth.log > ** chmod 770 /var/log/pe-console-auth > ** chmod 660 /var/log/pe-console-auth/auth.log > ** touch /var/log/pe-console-auth/cas_client.log > ** chmod 660 /var/log/pe-console-auth/cas_client.log > ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth > ** chown puppet-dashboard:puppet-dashboard > /opt/puppet/share/live-management/config.ru > ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru > ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru > ** service pe-httpd restart > Stopping pe-httpd: [ OK ] > Starting pe-httpd: [ OK ] > ** chown root:root /var/opt/lib/pe-puppet/lib > ** cd /opt/puppet/share/puppet-dashboard; > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production > cert:create_key_pair > (in /opt/puppet/share/puppet-dashboard) > ** /opt/puppet/bin/passenger-status > ----------- General information ----------- > max = 6 > count = 0 > active = 0 > inactive = 0 > Waiting on global queue: 0 > > ----------- Domains ----------- > ** cd /opt/puppet/share/puppet-dashboard; > PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production > cert:request > rake aborted! > 400 "Bad Request" > > (See full trace by running task with --trace) > (in /opt/puppet/share/puppet-dashboard) > > > ============================================================================================================================================================> > > There was an error running the installation. Please see the last few > lines of output for more info. > > > tia, >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Might post what the fix was, in case others find this thread. On Thursday, January 31, 2013 11:24:39 AM UTC-8, brutuz wrote:> > Please disregard this issue I found a fix.. > > > > On Tuesday, January 29, 2013 3:06:32 PM UTC-5, brutuz wrote: >> >> Hi All, >> >> Im trying to install but with no luck. Any idea what I did wrong ? >> >> ** mkdir -p /var/log/pe-console-auth >> ** touch /var/log/pe-console-auth/cas.log >> ** touch /var/log/pe-console-auth/auth.log >> ** chmod 770 /var/log/pe-console-auth >> ** chmod 660 /var/log/pe-console-auth/auth.log >> ** touch /var/log/pe-console-auth/cas_client.log >> ** chmod 660 /var/log/pe-console-auth/cas_client.log >> ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth >> ** chown puppet-dashboard:puppet-dashboard >> /opt/puppet/share/live-management/config.ru >> ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru >> ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru >> ** service pe-httpd restart >> Stopping pe-httpd: [ OK ] >> Starting pe-httpd: [ OK ] >> ** chown root:root /var/opt/lib/pe-puppet/lib >> ** cd /opt/puppet/share/puppet-dashboard; >> PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >> cert:create_key_pair >> (in /opt/puppet/share/puppet-dashboard) >> ** /opt/puppet/bin/passenger-status >> ----------- General information ----------- >> max = 6 >> count = 0 >> active = 0 >> inactive = 0 >> Waiting on global queue: 0 >> >> ----------- Domains ----------- >> ** cd /opt/puppet/share/puppet-dashboard; >> PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >> cert:request >> rake aborted! >> 400 "Bad Request" >> >> (See full trace by running task with --trace) >> (in /opt/puppet/share/puppet-dashboard) >> >> >> ============================================================================================================================================================>> >> >> There was an error running the installation. Please see the last few >> lines of output for more info. >> >> >> tia, >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Would love to know what the fix was, having the same issue when installing on CentOS 6.3 On Thursday, January 31, 2013 2:15:07 PM UTC-7, Ellison Marks wrote:> > Might post what the fix was, in case others find this thread. > > On Thursday, January 31, 2013 11:24:39 AM UTC-8, brutuz wrote: >> >> Please disregard this issue I found a fix.. >> >> >> >> On Tuesday, January 29, 2013 3:06:32 PM UTC-5, brutuz wrote: >>> >>> Hi All, >>> >>> Im trying to install but with no luck. Any idea what I did wrong ? >>> >>> ** mkdir -p /var/log/pe-console-auth >>> ** touch /var/log/pe-console-auth/cas.log >>> ** touch /var/log/pe-console-auth/auth.log >>> ** chmod 770 /var/log/pe-console-auth >>> ** chmod 660 /var/log/pe-console-auth/auth.log >>> ** touch /var/log/pe-console-auth/cas_client.log >>> ** chmod 660 /var/log/pe-console-auth/cas_client.log >>> ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth >>> ** chown puppet-dashboard:puppet-dashboard >>> /opt/puppet/share/live-management/config.ru >>> ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru >>> ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru >>> ** service pe-httpd restart >>> Stopping pe-httpd: [ OK ] >>> Starting pe-httpd: [ OK ] >>> ** chown root:root /var/opt/lib/pe-puppet/lib >>> ** cd /opt/puppet/share/puppet-dashboard; >>> PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >>> cert:create_key_pair >>> (in /opt/puppet/share/puppet-dashboard) >>> ** /opt/puppet/bin/passenger-status >>> ----------- General information ----------- >>> max = 6 >>> count = 0 >>> active = 0 >>> inactive = 0 >>> Waiting on global queue: 0 >>> >>> ----------- Domains ----------- >>> ** cd /opt/puppet/share/puppet-dashboard; >>> PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >>> cert:request >>> rake aborted! >>> 400 "Bad Request" >>> >>> (See full trace by running task with --trace) >>> (in /opt/puppet/share/puppet-dashboard) >>> >>> >>> ============================================================================================================================================================>>> >>> >>> There was an error running the installation. Please see the last few >>> lines of output for more info. >>> >>> >>> tia, >>> >>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Any suggestion of a fix would be appreciated. I had the same error while using the PE installer (v2.8.1) on AWS and CentOS 6.3 64bit. Yet it worked fine on Amazon Linux AMI. Cheers. On Friday, 1 February 2013 05:47:48 UTC, Mike Beauchamp wrote:> > Would love to know what the fix was, having the same issue when installing > on CentOS 6.3 > > > On Thursday, January 31, 2013 2:15:07 PM UTC-7, Ellison Marks wrote: >> >> Might post what the fix was, in case others find this thread. >> >> On Thursday, January 31, 2013 11:24:39 AM UTC-8, brutuz wrote: >>> >>> Please disregard this issue I found a fix.. >>> >>> >>> >>> On Tuesday, January 29, 2013 3:06:32 PM UTC-5, brutuz wrote: >>>> >>>> Hi All, >>>> >>>> Im trying to install but with no luck. Any idea what I did wrong ? >>>> >>>> ** mkdir -p /var/log/pe-console-auth >>>> ** touch /var/log/pe-console-auth/cas.log >>>> ** touch /var/log/pe-console-auth/auth.log >>>> ** chmod 770 /var/log/pe-console-auth >>>> ** chmod 660 /var/log/pe-console-auth/auth.log >>>> ** touch /var/log/pe-console-auth/cas_client.log >>>> ** chmod 660 /var/log/pe-console-auth/cas_client.log >>>> ** chown -R pe-auth:puppet-dashboard /var/log/pe-console-auth >>>> ** chown puppet-dashboard:puppet-dashboard >>>> /opt/puppet/share/live-management/config.ru >>>> ** chown pe-auth:pe-auth /opt/puppet/share/console-auth/config.ru >>>> ** chown pe-auth:pe-auth /opt/puppet/share/rubycas-server/config.ru >>>> ** service pe-httpd restart >>>> Stopping pe-httpd: [ OK ] >>>> Starting pe-httpd: [ OK ] >>>> ** chown root:root /var/opt/lib/pe-puppet/lib >>>> ** cd /opt/puppet/share/puppet-dashboard; >>>> PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >>>> cert:create_key_pair >>>> (in /opt/puppet/share/puppet-dashboard) >>>> ** /opt/puppet/bin/passenger-status >>>> ----------- General information ----------- >>>> max = 6 >>>> count = 0 >>>> active = 0 >>>> inactive = 0 >>>> Waiting on global queue: 0 >>>> >>>> ----------- Domains ----------- >>>> ** cd /opt/puppet/share/puppet-dashboard; >>>> PATH=/opt/puppet/sbin:/opt/puppet/bin:$PATH rake RAILS_ENV=production >>>> cert:request >>>> rake aborted! >>>> 400 "Bad Request" >>>> >>>> (See full trace by running task with --trace) >>>> (in /opt/puppet/share/puppet-dashboard) >>>> >>>> >>>> ============================================================================================================================================================>>>> >>>> >>>> There was an error running the installation. Please see the last few >>>> lines of output for more info. >>>> >>>> >>>> tia, >>>> >>>-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.