Re: [foreman-users] Running playbook role in Foreman 1.15.6 / ansible pluging 1.4.5 / ansible 2.4.1 return an error

2017-12-05 Thread Ondrej Prazak
Hi,
the error seems like missing permissions to access something on a file
system to me. Could you take a look what permissions does the
/usr/share/foreman/.ansible have? If it is missing, try:

sudo mkdir -p /usr/share/foreman/.ansible
sudo chown foreman:foreman /usr/share/foreman/.ansible

You can configure the user that Ansible uses to connect to the target
system under Settings -> Ansible.

Hope this helps,
O.


On Tue, Dec 5, 2017 at 4:50 PM,  wrote:

> Hi,
>
> Running a playbook in WebGUI Foreman return an error but work in shell
>
>  [WARNING]: Unable to set correct type for configuration entry:
> DEFAULT_LOCAL_TMP
>
> PLAY [all] 
> *
>
> TASK [Gathering Facts] 
> *
> An exception occurred during task execution. To see the full traceback, use 
> -vvv. The error was: OSError: [Errno 13] Permission denied: '~'
> fatal: [sergeylab01.intra.sepaq.com]: FAILED! => {"failed": true, "msg": 
> "Unexpected failure during module execution.", "stdout": ""}
>   to retry, use: --limit 
> @/tmp/d20171205-29739-1syu1wj/foreman-playbook-4d580b6c-738d-4297-9da6-8a5a8e980c95.retry
>
> PLAY RECAP 
> *sergeylab01.intra.sepaq.com
>  : ok=0changed=0unreachable=0failed=1
>
>
> OSError : Permission denied so maybe the user that run the playbook in the
> WebGUI isn't allow to connect to the remote host but where can I fix that.
>
> Thanks
>
> Daniel
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Unable to join server to Katello

2017-12-05 Thread Philippe Conway
Hi John,

I download and installed the cert from the Katello server:
wget -O /tmp/katello-ca-consumer-latest.noarch.rpm http:
//katello/pub/katello-ca-consumer-latest.noarch.rpm
yum -y localinstall /tmp/katello-ca-consumer-latest.noarch.rpm


Then I attempt to join the client to the Katello server:
subscription-manager register --org="Default_Organization" --activationkey=
"Base_Key_C7" --force

Both the Katello server and Client are running CentOS 7.4



On Tuesday, December 5, 2017 at 1:56:05 PM UTC-8, John Mitsch wrote:
>
> Philippe,
>
> Can you go over the steps you are using to setup the client?
>
> -John
>
> John Mitsch
> Red Hat Engineering
> (860)-967-7285
> irc: jomitsch
>
> On Tue, Dec 5, 2017 at 2:50 PM, Philippe Conway  > wrote:
>
>> So I actually went ahead and regenerated the certs on the Katello server. 
>> However, I am still getting the same error. :(
>>
>>
>> On Tuesday, December 5, 2017 at 9:19:35 AM UTC-8, Philippe Conway wrote:
>>>
>>> Hi Lukas,
>>>
>>> I have imported my Cert located in http://katello/pub, however I am 
>>> still getting the same error. Any other ideas? Is it possible to regenerate 
>>> the cert?
>>>
>>>
>>> On Tuesday, December 5, 2017 at 12:44:52 AM UTC-8, Lukas Zapletal wrote:

 Hello, 

 the error message says it all. Your client does not know server's 
 certificate. Import it, it's available in http://katello/pub for 
 download. 

 LZ 

 On Tue, Dec 5, 2017 at 1:58 AM, Philippe Conway 
  wrote: 
 > Hello, 
 > 
 > I am having issues joining a server to our Katello server. 
 > 
 > I receive the following error: 
 > 
 > Unable to verify server's identity: [SSL: TLSV1_ALERT_UNKNOWN_CA] 
 tlsv1 
 > alert unknown ca (_ssl.c:579) 
 > 
 > I am running Katello 3.4 on CentOS 7.4. The server I am trying to 
 joing the 
 > Katello server to is also a CentOS 7.4 server. 
 > 
 > I am guessing this is an SSL cert error, but I'm not sure how I could 
 be 
 > getting this since I am using the cert provided by the Katello server 
 > itself. 
 > 
 > Any ideas? Any help would be greatly appreciated. Thank you. 
 > 
 > -- 
 > You received this message because you are subscribed to the Google 
 Groups 
 > "Foreman users" group. 
 > To unsubscribe from this group and stop receiving emails from it, 
 send an 
 > email to foreman-user...@googlegroups.com. 
 > To post to this group, send email to forema...@googlegroups.com. 
 > Visit this group at https://groups.google.com/group/foreman-users. 
 > For more options, visit https://groups.google.com/d/optout. 



 -- 
 Later, 
   Lukas @lzap Zapletal 

>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Foreman users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to foreman-user...@googlegroups.com .
>> To post to this group, send email to forema...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Unable to install Foreman on my puppet master server.

2017-12-05 Thread Greg Sutcliffe
On 05/12/17 12:37, Diego Lucas Jiménez wrote:
> That's the version Foreman deploys with their repo.
> foreman-installer (1.5.1-1)
> Both in Ubuntu and CentOS. Just follow the how-to in their webpage and
> that's the one you'll get.

We can't be held responsible for how-to's that we didn't write. All
documents on the internet tend to age fast. 1.5 is over 3 years (and 11
major releases) out of date.

> Where can I download the latest version?

We always recommend using *our* documentation and quickstart guides for
new installs. You should start at https://theforeman.org and click the
Quickstart link at the top.

Greg


-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Unable to join server to Katello

2017-12-05 Thread John Mitsch
Philippe,

Can you go over the steps you are using to setup the client?

-John

John Mitsch
Red Hat Engineering
(860)-967-7285
irc: jomitsch

On Tue, Dec 5, 2017 at 2:50 PM, Philippe Conway 
wrote:

> So I actually went ahead and regenerated the certs on the Katello server.
> However, I am still getting the same error. :(
>
>
> On Tuesday, December 5, 2017 at 9:19:35 AM UTC-8, Philippe Conway wrote:
>>
>> Hi Lukas,
>>
>> I have imported my Cert located in http://katello/pub, however I am
>> still getting the same error. Any other ideas? Is it possible to regenerate
>> the cert?
>>
>>
>> On Tuesday, December 5, 2017 at 12:44:52 AM UTC-8, Lukas Zapletal wrote:
>>>
>>> Hello,
>>>
>>> the error message says it all. Your client does not know server's
>>> certificate. Import it, it's available in http://katello/pub for
>>> download.
>>>
>>> LZ
>>>
>>> On Tue, Dec 5, 2017 at 1:58 AM, Philippe Conway
>>>  wrote:
>>> > Hello,
>>> >
>>> > I am having issues joining a server to our Katello server.
>>> >
>>> > I receive the following error:
>>> >
>>> > Unable to verify server's identity: [SSL: TLSV1_ALERT_UNKNOWN_CA]
>>> tlsv1
>>> > alert unknown ca (_ssl.c:579)
>>> >
>>> > I am running Katello 3.4 on CentOS 7.4. The server I am trying to
>>> joing the
>>> > Katello server to is also a CentOS 7.4 server.
>>> >
>>> > I am guessing this is an SSL cert error, but I'm not sure how I could
>>> be
>>> > getting this since I am using the cert provided by the Katello server
>>> > itself.
>>> >
>>> > Any ideas? Any help would be greatly appreciated. Thank you.
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google
>>> Groups
>>> > "Foreman users" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> > email to foreman-user...@googlegroups.com.
>>> > To post to this group, send email to forema...@googlegroups.com.
>>> > Visit this group at https://groups.google.com/group/foreman-users.
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> --
>>> Later,
>>>   Lukas @lzap Zapletal
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Upgrading 1.15.6 -> 1.16.0 causes 'no such middleware error'

2017-12-05 Thread Tyler Gregory

Here it is.

```
foreman-rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
API controllers newer than Apipie cache! Run apipie:cache rake task to 
regenerate cache.

rake aborted!
TypeError: no implicit conversion of nil into String
/usr/share/foreman/config/initializers/assets.rb:73:in `join'
/usr/share/foreman/config/initializers/assets.rb:73:in `block (4 levels) 
in '

/usr/share/foreman/config/initializers/assets.rb:72:in `map'
/usr/share/foreman/config/initializers/assets.rb:72:in `block (3 levels) 
in '

/usr/share/foreman/config/initializers/assets.rb:69:in `each'
/usr/share/foreman/config/initializers/assets.rb:69:in `block (2 levels) 
in '
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/lazy_load_hooks.rb:36:in 
`call'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/lazy_load_hooks.rb:36:in 
`execute_hook'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/lazy_load_hooks.rb:45:in 
`block in run_load_hooks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/lazy_load_hooks.rb:44:in 
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/lazy_load_hooks.rb:44:in 
`run_load_hooks'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:62:in 
`block in '
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in 
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in 
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in 
`block in run_initializers'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:226:in `block in 
tsort_each'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:348:in `block (2 levels) 
in each_strongly_connected_component'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:429:in 
`each_strongly_connected_component_from'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:347:in `block in 
each_strongly_connected_component'

/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:in `each'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:in `call'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:345:in 
`each_strongly_connected_component'

/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:224:in `tsort_each'
/opt/rh/rh-ruby22/root/usr/share/ruby/tsort.rb:203:in `tsort_each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in 
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in 
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in 
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in 
`method_missing'

/usr/share/foreman/config/environment.rb:5:in `'
/opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in 
`require'
/opt/rh/rh-ruby22/root/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:54:in 
`require'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in 
`block in require'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in 
`load_dependency'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in 
`require'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in 
`require_environment!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in 
`block in run_tasks_blocks'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in 
`call'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:240:in 
`block in execute'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in 
`each'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:235:in 
`execute'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:179:in 
`block in invoke_with_call_chain'
/opt/rh/rh-ruby22/root/usr/share/ruby/monitor.rb:211:in 
`mon_synchronize'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:172:in 
`invoke_with_call_chain'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:201:in 
`block in invoke_prerequisites'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:199:in 
`each'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:199:in 
`invoke_prerequisites'
/opt/rh/rh-ruby22/root/usr/share/gems/gems/rake-10.4.2/lib/rake/task.rb:178:in 
`block in invoke_with_call_chain'
/opt/rh/rh-ruby22/root/usr/share/ruby/monitor.rb:211:in 
`mon_synchronize'

Re: [foreman-users] Upgrading 1.15.6 -> 1.16.0 causes 'no such middleware error'

2017-12-05 Thread Ivan Necas
On Tue, 5 Dec 2017 at 20:02, Tyler Gregory  wrote:

> We use the following plugins:
>
>- Memcache
>- Setup
>- xen
>- default hostgroup
>
> I uninstalled the Memcache plugin, and the error changed into:
>
>
> TypeError: no implicit conversion of nil into String
>
> I assume this is because there is some sort of data remaining in the
> database from that plugin? Any idea how to get rid of that?
>

The memcache plugin looks quite simply, it might be just some completely
different issue. Please share the full backtrace for this particular issue

-- Ivan

>
> Thanks
>
> On Tuesday, December 5, 2017 at 12:19:56 PM UTC-6, Ivan Necas wrote:
>
>> There was a suspicion on the original issue, that it might be
>> connected to the foreman_memcache: could you
>> check if you have this plugin installed and trying it without it? Any
>> other plugins/tunings on the setup?
>>
>> -- Ivan
>>
>> On Tue, Dec 5, 2017 at 3:48 PM, Tyler Gregory  wrote:
>> > All,
>> >
>> > I upgraded one of our Foreman installs from 1.14.3 -> 1.15.6 -> 1.16.0
>> > yesterday, and when attempting to run foreman-rake db:migrate the rake
>> task
>> > throws:
>> >
>> > I see that there’s a similar issue open for Rails 5, not sure if that’s
>> > related in any way.
>> >
>> > foreman-rake db:migrate
>> > API controllers newer than Apipie cache! Run apipie:cache rake task to
>> > regenerate cache.
>> > rake aborted!
>> > No such middleware to insert after:
>> > ActionDispatch::Session::ActiveRecordStore
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/stack.rb:125:in
>>
>> > `assert_index'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/stack.rb:96:in
>>
>> > `insert_after'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:68:in
>>
>> > `block in merge_into'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:67:in
>>
>> > `each'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:67:in
>>
>> > `merge_into'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:501:in
>>
>> > `app'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:34:in
>>
>> > `block in '
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
>>
>> > `instance_exec'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
>>
>> > `run'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
>>
>> > `block in run_initializers'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
>>
>> > `run_initializers'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
>>
>> > `initialize!'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
>>
>> > `public_send'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
>>
>> > `method_missing'
>> > /usr/share/foreman/config/environment.rb:5:in `'
>> > /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-
>> 4.2.5.1/lib/active_support/dependencies.rb:274:in
>> > `block in require'
>> > /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-
>> 4.2.5.1/lib/active_support/dependencies.rb:240:in
>> > `load_dependency'
>> > /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-
>> 4.2.5.1/lib/active_support/dependencies.rb:274:in
>> > `require'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
>>
>> > `require_environment!'
>> >
>> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in
>>
>> > `block in run_tasks_blocks'
>> > Tasks: TOP => db:migrate => environment
>> > (See full trace by running task with --trace)
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups
>> > "Foreman users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an
>>
> > email to foreman-user...@googlegroups.com.
>> > To post to this group, send email to forema...@googlegroups.com.
>>
> > Visit this group at https://groups.google.com/group/foreman-users.
>> > For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, 

Re: [foreman-users] Unable to join server to Katello

2017-12-05 Thread Philippe Conway
So I actually went ahead and regenerated the certs on the Katello server. 
However, I am still getting the same error. :(

On Tuesday, December 5, 2017 at 9:19:35 AM UTC-8, Philippe Conway wrote:
>
> Hi Lukas,
>
> I have imported my Cert located in http://katello/pub, however I am still 
> getting the same error. Any other ideas? Is it possible to regenerate the 
> cert?
>
>
> On Tuesday, December 5, 2017 at 12:44:52 AM UTC-8, Lukas Zapletal wrote:
>>
>> Hello, 
>>
>> the error message says it all. Your client does not know server's 
>> certificate. Import it, it's available in http://katello/pub for 
>> download. 
>>
>> LZ 
>>
>> On Tue, Dec 5, 2017 at 1:58 AM, Philippe Conway 
>>  wrote: 
>> > Hello, 
>> > 
>> > I am having issues joining a server to our Katello server. 
>> > 
>> > I receive the following error: 
>> > 
>> > Unable to verify server's identity: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 
>> > alert unknown ca (_ssl.c:579) 
>> > 
>> > I am running Katello 3.4 on CentOS 7.4. The server I am trying to joing 
>> the 
>> > Katello server to is also a CentOS 7.4 server. 
>> > 
>> > I am guessing this is an SSL cert error, but I'm not sure how I could 
>> be 
>> > getting this since I am using the cert provided by the Katello server 
>> > itself. 
>> > 
>> > Any ideas? Any help would be greatly appreciated. Thank you. 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups 
>> > "Foreman users" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an 
>> > email to foreman-user...@googlegroups.com. 
>> > To post to this group, send email to forema...@googlegroups.com. 
>> > Visit this group at https://groups.google.com/group/foreman-users. 
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>
>>
>> -- 
>> Later, 
>>   Lukas @lzap Zapletal 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Upgrading 1.15.6 -> 1.16.0 causes 'no such middleware error'

2017-12-05 Thread Ivan Necas
There was a suspicion on the original issue, that it might be
connected to the foreman_memcache: could you
check if you have this plugin installed and trying it without it? Any
other plugins/tunings on the setup?

-- Ivan

On Tue, Dec 5, 2017 at 3:48 PM, Tyler Gregory  wrote:
> All,
>
> I upgraded one of our Foreman installs from 1.14.3 -> 1.15.6 -> 1.16.0
> yesterday, and when attempting to run foreman-rake db:migrate the rake task
> throws:
>
> I see that there’s a similar issue open for Rails 5, not sure if that’s
> related in any way.
>
> foreman-rake db:migrate
> API controllers newer than Apipie cache! Run apipie:cache rake task to
> regenerate cache.
> rake aborted!
> No such middleware to insert after:
> ActionDispatch::Session::ActiveRecordStore
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/stack.rb:125:in
> `assert_index'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/stack.rb:96:in
> `insert_after'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:68:in
> `block in merge_into'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:67:in
> `each'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:67:in
> `merge_into'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:501:in
> `app'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:34:in
> `block in '
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
> `instance_exec'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in
> `run'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in
> `block in run_initializers'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in
> `run_initializers'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in
> `initialize!'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
> `public_send'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in
> `method_missing'
> /usr/share/foreman/config/environment.rb:5:in `'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
> `block in require'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in
> `load_dependency'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in
> `require'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in
> `require_environment!'
> /opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in
> `block in run_tasks_blocks'
> Tasks: TOP => db:migrate => environment
> (See full trace by running task with --trace)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] Running playbook role in Foreman 1.15.6 / ansible pluging 1.4.5 / ansible 2.4.1 return an error

2017-12-05 Thread daniel
Hi,

Running a playbook in WebGUI Foreman return an error but work in shell

 [WARNING]: Unable to set correct type for configuration entry:
DEFAULT_LOCAL_TMP

PLAY [all] *

TASK [Gathering Facts] *
An exception occurred during task execution. To see the full traceback, use 
-vvv. The error was: OSError: [Errno 13] Permission denied: '~'
fatal: [sergeylab01.intra.sepaq.com]: FAILED! => {"failed": true, "msg": 
"Unexpected failure during module execution.", "stdout": ""}
to retry, use: --limit 
@/tmp/d20171205-29739-1syu1wj/foreman-playbook-4d580b6c-738d-4297-9da6-8a5a8e980c95.retry

PLAY RECAP *
sergeylab01.intra.sepaq.com : ok=0changed=0unreachable=0failed=1   


OSError : Permission denied so maybe the user that run the playbook in the 
WebGUI isn't allow to connect to the remote host but where can I fix that.

Thanks

Daniel


-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Foreman / Katello and Redhat Licensing

2017-12-05 Thread Andreas Davour

Could you please describe the procedure? I have done it before, and right 
now I can not find my way around the RH portal, as I think they have 
changed the layout.

-andreas

On Tuesday, December 5, 2017 at 3:09:02 PM UTC+1, bk wrote:
>
> Right now you can get manifests without a satellite subscription. That 
> could change, but for now these manifests would work with the upstream 
> project. 
>
> -- bk 
>
>
> On 12/05/2017 04:25 AM, Lukas Zapletal wrote: 
> > It will be best to talk to Red Hat representative about this, but from 
> > the project perspective - you can do whatever you want as long as this 
> > is aligned with open source licenses we use. Check all your plugins 
> > and backends you want to use, but the biggest ones are: 
> > 
> > https://github.com/theforeman/foreman/blob/develop/LICENSE 
> > https://github.com/Katello/katello/blob/master/LICENSE.txt 
> > https://github.com/pulp/pulp/blob/master/LICENSE 
> > http://www.candlepinproject.org/ is GNU GPLv2, not in code, I filed a 
> > BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1520831 
> > 
> > I am not sure if Red Hat portal will give you satellite manifests if 
> > you don't have satellite subscription tho. Talk to Red Hat in this 
> > case, without manifest you can't access Red Hat content from Katello. 
> > 
> > LZ 
> > 
> > On Mon, Dec 4, 2017 at 6:05 PM, Luke Miller  > wrote: 
> >> I want to use Foreman / Katello as a replacement for Satellite to 
> manage our 
> >> systems and Redhat patching. What licensing do I need from Redhat for 
> this? 
> >> Do I need the Smart Management licenses or will regular Redhat Licenses 
> work 
> >> as well? 
> >> 
> >> I have a Satellite license right now but our plan is to let it expire. 
> Will 
> >> I have any issues creating or maintaining a subscription manifest after 
> it 
> >> expires? 
> >> 
> >> Thanks a lot! 
> >> Luke 
> >> 
> >> -- 
> >> You received this message because you are subscribed to the Google 
> Groups 
> >> "Foreman users" group. 
> >> To unsubscribe from this group and stop receiving emails from it, send 
> an 
> >> email to foreman-user...@googlegroups.com . 
> >> To post to this group, send email to forema...@googlegroups.com 
> . 
> >> Visit this group at https://groups.google.com/group/foreman-users. 
> >> For more options, visit https://groups.google.com/d/optout. 
> > 
> > 
> > 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] Result of a successful playbook role callback to Foreman as an error (Applied = 1 Error = 0) WebGUI

2017-12-05 Thread daniel
Hi,

All the result of successful playbook return as err in the WebGUI (Foreman) 
event if it say Applied = 1 and Error = 0

err common : create dir {"_ansible_parsed": true, "group": "root", "uid": 
0, "_ansible_no_log": false, "changed": false, "owner": "root", "failed": 
false, "state": "directory", "gid": 0, "secontext": 
"unconfined_u:object_r:user_tmp_t:s0", "mode": "0755", "diff": {"after": 
{"path": "/tmp/backup"}, "before": {"path": "/tmp/backup"}}, "invocation": 
{"module_args": {"directory_mode": null, "force": false, "remote_src": 
null, "path": "/tmp/backup", "owner": null, "follow": false, "group": null, 
"unsafe_writes": null, "state": "directory", "content": null, "serole": 
null, "diff_peek": null, "setype": null, "selevel": null, 
"original_basename": null, "regexp": null, "validate": null, "src": null, 
"seuser": null, "recurse": false, "delimiter": null, "mode": 493, 
"attributes": null, "backup": null}}, "path": "/tmp/backup", "size": 36}


This is just a role that create a directory under /tmp and everything work 
but the WebGUI always report err ?

Is there something that I missed here ?

Thanks




-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Foreman / Katello and Redhat Licensing

2017-12-05 Thread Bryan Kearney
Nothing in the tool will break based on access to smart management or not.

-- bk


On 12/05/2017 10:36 AM, Luke Miller wrote:
> Great, that's good to know. Do you know if I need Smart Management
> licenses on all my RHEL licenses or if regular RHEL licenses will work?
> 
> Thanks,
> Luke
> 
> 
> On Tuesday, December 5, 2017 at 6:09:02 AM UTC-8, bk wrote:
> 
> Right now you can get manifests without a satellite subscription. That
> could change, but for now these manifests would work with the upstream
> project.
> 
> -- bk
> 
> 
> On 12/05/2017 04:25 AM, Lukas Zapletal wrote:
> > It will be best to talk to Red Hat representative about this, but
> from
> > the project perspective - you can do whatever you want as long as
> this
> > is aligned with open source licenses we use. Check all your plugins
> > and backends you want to use, but the biggest ones are:
> >
> > https://github.com/theforeman/foreman/blob/develop/LICENSE
> 
> > https://github.com/Katello/katello/blob/master/LICENSE.txt
> 
> > https://github.com/pulp/pulp/blob/master/LICENSE
> 
> > http://www.candlepinproject.org/
>  is GNU GPLv2, not in code, I filed a
> > BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1520831
> 
> >
> > I am not sure if Red Hat portal will give you satellite manifests if
> > you don't have satellite subscription tho. Talk to Red Hat in this
> > case, without manifest you can't access Red Hat content from Katello.
> >
> > LZ
> >
> > On Mon, Dec 4, 2017 at 6:05 PM, Luke Miller 
> wrote:
> >> I want to use Foreman / Katello as a replacement for Satellite to
> manage our
> >> systems and Redhat patching. What licensing do I need from Redhat
> for this?
> >> Do I need the Smart Management licenses or will regular Redhat
> Licenses work
> >> as well?
> >>
> >> I have a Satellite license right now but our plan is to let it
> expire. Will
> >> I have any issues creating or maintaining a subscription manifest
> after it
> >> expires?
> >>
> >> Thanks a lot!
> >> Luke
> >>
> >> --
> >> You received this message because you are subscribed to the
> Google Groups
> >> "Foreman users" group.
> >> To unsubscribe from this group and stop receiving emails from it,
> send an
> >> email to foreman-user...@googlegroups.com.
> >> To post to this group, send email to forema...@googlegroups.com.
> >> Visit this group at https://groups.google.com/group/foreman-users
> .
> >> For more options, visit https://groups.google.com/d/optout
> .
> >
> >
> >
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to foreman-users+unsubscr...@googlegroups.com
> .
> To post to this group, send email to foreman-users@googlegroups.com
> .
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Unable to join server to Katello

2017-12-05 Thread Philippe Conway
Hi Lukas,

I have imported my Cert located in http://katello/pub, however I am still 
getting the same error. Any other ideas? Is it possible to regenerate the 
cert?


On Tuesday, December 5, 2017 at 12:44:52 AM UTC-8, Lukas Zapletal wrote:
>
> Hello, 
>
> the error message says it all. Your client does not know server's 
> certificate. Import it, it's available in http://katello/pub for 
> download. 
>
> LZ 
>
> On Tue, Dec 5, 2017 at 1:58 AM, Philippe Conway 
>  wrote: 
> > Hello, 
> > 
> > I am having issues joining a server to our Katello server. 
> > 
> > I receive the following error: 
> > 
> > Unable to verify server's identity: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 
> > alert unknown ca (_ssl.c:579) 
> > 
> > I am running Katello 3.4 on CentOS 7.4. The server I am trying to joing 
> the 
> > Katello server to is also a CentOS 7.4 server. 
> > 
> > I am guessing this is an SSL cert error, but I'm not sure how I could be 
> > getting this since I am using the cert provided by the Katello server 
> > itself. 
> > 
> > Any ideas? Any help would be greatly appreciated. Thank you. 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Foreman users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to foreman-user...@googlegroups.com . 
> > To post to this group, send email to forema...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/foreman-users. 
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Later, 
>   Lukas @lzap Zapletal 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Unable to install Foreman on my puppet master server.

2017-12-05 Thread Diego Lucas Jiménez
That's the version Foreman deploys with their repo.
foreman-installer (1.5.1-1)
Both in Ubuntu and CentOS. Just follow the how-to in their webpage and 
that's the one you'll get.
Where can I download the latest version?

Thanks!

On Monday, 9 October 2017 14:07:36 UTC+2, Greg Sutcliffe wrote:
>
> On Fri, 2017-10-06 at 23:33 -0700, Masoom Shaikh wrote: 
> > foreman-installer-1.5.1-1.el6.noarch 
>
> This is an extremely old version of Foreman, I'd recommend retrying 
> with the latest version (1.15.4) 
>
> Greg 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] Upgrading 1.15.6 -> 1.16.0 causes 'no such middleware error'

2017-12-05 Thread Tyler Gregory

All,

I upgraded one of our Foreman installs from 1.14.3 -> 1.15.6 -> 1.16.0 
yesterday, and when attempting to run `foreman-rake db:migrate` the rake 
task throws:


I see that there’s a [similar issue open for Rails 
5](http://projects.theforeman.org/issues/20457), not sure if that’s 
related in any way.


```
foreman-rake db:migrate
API controllers newer than Apipie cache! Run apipie:cache rake task to 
regenerate cache.

rake aborted!
No such middleware to insert after: 
ActionDispatch::Session::ActiveRecordStore
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/stack.rb:125:in 
`assert_index'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/stack.rb:96:in 
`insert_after'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:68:in 
`block in merge_into'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:67:in 
`each'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/configuration.rb:67:in 
`merge_into'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/engine.rb:501:in 
`app'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application/finisher.rb:34:in 
`block in '
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in 
`instance_exec'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:30:in 
`run'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:55:in 
`block in run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/initializable.rb:54:in 
`run_initializers'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:352:in 
`initialize!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in 
`public_send'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in 
`method_missing'

/usr/share/foreman/config/environment.rb:5:in `'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in 
`block in require'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:240:in 
`load_dependency'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/activesupport-4.2.5.1/lib/active_support/dependencies.rb:274:in 
`require'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:328:in 
`require_environment!'
/opt/rh/sclo-ror42/root/usr/share/gems/gems/railties-4.2.5.1/lib/rails/application.rb:457:in 
`block in run_tasks_blocks'

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
```

--
You received this message because you are subscribed to the Google Groups "Foreman 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Re: WebUI broken with fresh Setup of Foreman 1.16 + Katello 3.5RC

2017-12-05 Thread Andrew Kofink
We will be sure to test this before 3.5 GA. Thank you for the input, and
thanks for checking out the RC!

On Mon, Dec 4, 2017 at 10:33 AM, Gauthier Delacroix <
gauthier.delacr...@gmail.com> wrote:

> I had the same error with 3.5 RC2. I hoped it came from Foreman 1.16 RC
> but I just tried 3.5 RC with 1.16 final and I get the same result.
>
> I'm afraid we'll have to wait for the final 3.5, which seems to be close:
> https://github.com/Katello/katello/commit/1b2c79c3e747ee23d29b84dee704dc
> 593603b97e
>
> Le samedi 2 décembre 2017 14:45:52 UTC+1, Sven Jansen a écrit :
>>
>> Hi,
>>
>> yesterday i setup a new Foreman installation with Foreman 1.16 and
>> Katello 3.5RC, Puppet 5, several Plugins for compute resources and Ansible.
>> So far the installation setup was successfull. There seems to be a random
>> error in db seed on installation/reconfiguration which got fixed by just
>> running foreman-installer again, i had this issues randomly with my old
>> 1.15.x installation on a different machine.
>>
>> Basic Foreman functionality seems to be okay and stuff seems to be
>> working. The most important part for me is Katello and here everything gui
>> related seems to be broken, here some examples:
>>
>> Trying to create new GPG Key in Katello, GUI Just hangs and does nothing.
>> I can find this error in production.log
>>
>> 2017-12-02 14:08:50 2732f2c2 [app] [I] Started POST
>> "/gpg_keys/katello/api/v2/gpg_keys?organization_id=3" for 10.90.2.41 at
>> 2017-12-02 14:08:50 +0100
>> 2017-12-02 14:08:50 2732f2c2 [app] [F]
>>  | ActionController::RoutingError (No route matches [POST]
>> "/gpg_keys/katello/api/v2/gpg_keys"):
>>  |   lib/middleware/tagged_logging.rb:18:in `call'
>>
>>
>> Trying to Create a Product:
>>
>> 2017-12-02 14:11:19 fecd86a2 [app] [I] Started POST
>> "/products/katello/api/v2/products" for 10.90.2.41 at 2017-12-02
>> 14:11:19 +0100
>> 2017-12-02 14:11:19 fecd86a2 [app] [F]
>>  | ActionController::RoutingError (No route matches [POST]
>> "/products/katello/api/v2/products"):
>>  |   lib/middleware/tagged_logging.rb:18:in `call'
>>
>> Trying to enter a Product created with hammer cli give me a ton of errors
>> in the log and the form is missing repository types and stuff. In the logs
>> i can found lots of errors about bastion missing templates and server error
>> 500.
>>
>> I just started using hammer cli for katello and it looks like stuff
>> working on the cli.
>>
>> Any idea what then issue here? to early to go with katello 3.5?
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Andrew Kofink
akof...@redhat.com
IRC: akofink
Software Engineer
Red Hat Satellite

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Foreman / Katello and Redhat Licensing

2017-12-05 Thread Bryan Kearney
Right now you can get manifests without a satellite subscription. That
could change, but for now these manifests would work with the upstream
project.

-- bk


On 12/05/2017 04:25 AM, Lukas Zapletal wrote:
> It will be best to talk to Red Hat representative about this, but from
> the project perspective - you can do whatever you want as long as this
> is aligned with open source licenses we use. Check all your plugins
> and backends you want to use, but the biggest ones are:
> 
> https://github.com/theforeman/foreman/blob/develop/LICENSE
> https://github.com/Katello/katello/blob/master/LICENSE.txt
> https://github.com/pulp/pulp/blob/master/LICENSE
> http://www.candlepinproject.org/ is GNU GPLv2, not in code, I filed a
> BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1520831
> 
> I am not sure if Red Hat portal will give you satellite manifests if
> you don't have satellite subscription tho. Talk to Red Hat in this
> case, without manifest you can't access Red Hat content from Katello.
> 
> LZ
> 
> On Mon, Dec 4, 2017 at 6:05 PM, Luke Miller  wrote:
>> I want to use Foreman / Katello as a replacement for Satellite to manage our
>> systems and Redhat patching. What licensing do I need from Redhat for this?
>> Do I need the Smart Management licenses or will regular Redhat Licenses work
>> as well?
>>
>> I have a Satellite license right now but our plan is to let it expire. Will
>> I have any issues creating or maintaining a subscription manifest after it
>> expires?
>>
>> Thanks a lot!
>> Luke
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Foreman users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to foreman-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/foreman-users.
>> For more options, visit https://groups.google.com/d/optout.
> 
> 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


[foreman-users] Re: WebUI broken with fresh Setup of Foreman 1.16 + Katello 3.5RC

2017-12-05 Thread Gauthier Delacroix
I had the same error with 3.5 RC2. I hoped it came from Foreman 1.16 RC but 
I just tried 3.5 RC with 1.16 final and I get the same result.

I'm afraid we'll have to wait for the final 3.5, which seems to be 
close: 
https://github.com/Katello/katello/commit/1b2c79c3e747ee23d29b84dee704dc593603b97e

Le samedi 2 décembre 2017 14:45:52 UTC+1, Sven Jansen a écrit :
>
> Hi,
>
> yesterday i setup a new Foreman installation with Foreman 1.16 and Katello 
> 3.5RC, Puppet 5, several Plugins for compute resources and Ansible. So far 
> the installation setup was successfull. There seems to be a random error in 
> db seed on installation/reconfiguration which got fixed by just running 
> foreman-installer again, i had this issues randomly with my old 1.15.x 
> installation on a different machine.
>
> Basic Foreman functionality seems to be okay and stuff seems to be 
> working. The most important part for me is Katello and here everything gui 
> related seems to be broken, here some examples:
>
> Trying to create new GPG Key in Katello, GUI Just hangs and does nothing. 
> I can find this error in production.log
>
> 2017-12-02 14:08:50 2732f2c2 [app] [I] Started POST 
> "/gpg_keys/katello/api/v2/gpg_keys?organization_id=3" for 10.90.2.41 at 
> 2017-12-02 14:08:50 +0100
> 2017-12-02 14:08:50 2732f2c2 [app] [F]
>  | ActionController::RoutingError (No route matches [POST] 
> "/gpg_keys/katello/api/v2/gpg_keys"):
>  |   lib/middleware/tagged_logging.rb:18:in `call'
>
>
> Trying to Create a Product:
>
> 2017-12-02 14:11:19 fecd86a2 [app] [I] Started POST 
> "/products/katello/api/v2/products" for 10.90.2.41 at 2017-12-02 14:11:19 
> +0100
> 2017-12-02 14:11:19 fecd86a2 [app] [F]
>  | ActionController::RoutingError (No route matches [POST] 
> "/products/katello/api/v2/products"):
>  |   lib/middleware/tagged_logging.rb:18:in `call'
>
> Trying to enter a Product created with hammer cli give me a ton of errors 
> in the log and the form is missing repository types and stuff. In the logs 
> i can found lots of errors about bastion missing templates and server error 
> 500.
>
> I just started using hammer cli for katello and it looks like stuff 
> working on the cli.
>
> Any idea what then issue here? to early to go with katello 3.5?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Foreman / Katello and Redhat Licensing

2017-12-05 Thread Lukas Zapletal
It will be best to talk to Red Hat representative about this, but from
the project perspective - you can do whatever you want as long as this
is aligned with open source licenses we use. Check all your plugins
and backends you want to use, but the biggest ones are:

https://github.com/theforeman/foreman/blob/develop/LICENSE
https://github.com/Katello/katello/blob/master/LICENSE.txt
https://github.com/pulp/pulp/blob/master/LICENSE
http://www.candlepinproject.org/ is GNU GPLv2, not in code, I filed a
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1520831

I am not sure if Red Hat portal will give you satellite manifests if
you don't have satellite subscription tho. Talk to Red Hat in this
case, without manifest you can't access Red Hat content from Katello.

LZ

On Mon, Dec 4, 2017 at 6:05 PM, Luke Miller  wrote:
> I want to use Foreman / Katello as a replacement for Satellite to manage our
> systems and Redhat patching. What licensing do I need from Redhat for this?
> Do I need the Smart Management licenses or will regular Redhat Licenses work
> as well?
>
> I have a Satellite license right now but our plan is to let it expire. Will
> I have any issues creating or maintaining a subscription manifest after it
> expires?
>
> Thanks a lot!
> Luke
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.



-- 
Later,
  Lukas @lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.


Re: [foreman-users] Unable to join server to Katello

2017-12-05 Thread Lukas Zapletal
Hello,

the error message says it all. Your client does not know server's
certificate. Import it, it's available in http://katello/pub for
download.

LZ

On Tue, Dec 5, 2017 at 1:58 AM, Philippe Conway
 wrote:
> Hello,
>
> I am having issues joining a server to our Katello server.
>
> I receive the following error:
>
> Unable to verify server's identity: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1
> alert unknown ca (_ssl.c:579)
>
> I am running Katello 3.4 on CentOS 7.4. The server I am trying to joing the
> Katello server to is also a CentOS 7.4 server.
>
> I am guessing this is an SSL cert error, but I'm not sure how I could be
> getting this since I am using the cert provided by the Katello server
> itself.
>
> Any ideas? Any help would be greatly appreciated. Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscr...@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.



-- 
Later,
  Lukas @lzap Zapletal

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.