[Katello] New Configuration Setup -- Update your development environment

All,

You may notice when you next pull master that there are no obvious errors
but things are broken when you try to use the application. This is because
I have recently merged [1] work that removes Katello's custom configuration
and aligned it to use the standard configuration structure provided by
Foreman and used by all other plugins. To update your environment do the
following:

cd foreman
mkdir config/settings.plugins.d/
cp …/katello/config/katello.yaml.example config/settings.plugins.d/

Now open your previous katello.yml file and the new katello.yaml file and
update katello.yaml with your specific configuration (e.g. oauth, URLs to
Pulp).

Please let me know if you have questions or issues with your environment.
Both installers have been updated for this change and will show in
nightlies within 24 hours.

[1] https://github.com/Katello/katello/pull/5257

··· -- Eric D. Helms Red Hat Engineering Ph.D. Student - North Carolina State University

> All,
>
> You may notice when you next pull master that there are no obvious errors
> but things are broken when you try to use the application. This is because
> I have recently merged [1] work that removes Katello's custom configuration
> and aligned it to use the standard configuration structure provided by
> Foreman and used by all other plugins. To update your environment do the
> following:
>
> cd foreman
> mkdir config/settings.plugins.d/
> cp …/katello/config/katello.yaml.example config/settings.plugins.d/
>

Apologies, this should be:

cp …/katello/config/katello.yaml.example
config/settings.plugins.d/katello.yaml

··· On Wed, Oct 14, 2015 at 12:45 PM, Eric D Helms wrote:

Now open your previous katello.yml file and the new katello.yaml file and
update katello.yaml with your specific configuration (e.g. oauth, URLs to
Pulp).

Please let me know if you have questions or issues with your environment.
Both installers have been updated for this change and will show in
nightlies within 24 hours.

[1] https://github.com/Katello/katello/pull/5257


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University

katello pipeline[1] is red so perhaps these are all fixed and waiting to land…

Currently a dev deploy fails being unable to run rake db:seed. Candlepin oauth errors. Perhaps this is due to the katello.yaml update not making it through, but when I hand-create the katello.yaml I still cannot run db:seed as it fails w/ oauth against pulp.

For dev installs at least, rpm pulp-nodes-parent is missing and so products cannot be created.

This is a centos7-devel vagrant box run from git katello-deploy w/ katello-installer subdir.

Not really sure how to proceed. Suggestions welcome.

[1] http://ci.theforeman.org/view/Katello%20Pipeline/job/release_repoclosure_katello/188/label=rpmbuild,os=el6/

··· ----- Original Message ----- > On Wed, Oct 14, 2015 at 12:45 PM, Eric D Helms wrote: > > > All, > > > > You may notice when you next pull master that there are no obvious errors > > but things are broken when you try to use the application. This is because > > I have recently merged [1] work that removes Katello's custom configuration > > and aligned it to use the standard configuration structure provided by > > Foreman and used by all other plugins. To update your environment do the > > following: > > > > cd foreman > > mkdir config/settings.plugins.d/ > > cp ../katello/config/katello.yaml.example config/settings.plugins.d/ > > > > Apologies, this should be: > > cp ../katello/config/katello.yaml.example > config/settings.plugins.d/katello.yaml > > > > > > Now open your previous katello.yml file and the new katello.yaml file and > > update katello.yaml with your specific configuration (e.g. oauth, URLs to > > Pulp). > > > > Please let me know if you have questions or issues with your environment. > > Both installers have been updated for this change and will show in > > nightlies within 24 hours. > > > > > > [1] https://github.com/Katello/katello/pull/5257 > > > > -- > > Eric D. Helms > > Red Hat Engineering > > Ph.D. Student - North Carolina State University > > > > > > -- > Eric D. Helms > Red Hat Engineering > Ph.D. Student - North Carolina State University > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. >

I'm also seeing an issue.

I have my oauth set in foreman/config/settings.plugins.d/katello.yaml [1] but I still get this:

1.9.3-p448 :002 > SETTINGS[:katello][:candlepin][:oauth_key]
=> "katello"
1.9.3-p448 :003 > SETTINGS[:katello][:candlepin][:oauth_secret]
=> "katello"
1.9.3-p448 :007 > SETTINGS[:katello][:pulp][:oauth_key]
=> "katello"
1.9.3-p448 :008 > SETTINGS[:katello][:pulp][:oauth_secret]
=> "katello"
1.9.3-p448 :009

What am I missing?

Thanks,
Walden

[1] https://gist.github.com/waldenraines/2c419f6dd3ccc06d60a2

··· ----- Original Message ----- From: "Tom McKay" To: foreman-dev@googlegroups.com Sent: Friday, October 16, 2015 5:37:09 PM Subject: Re: [foreman-dev] Re: [Katello] New Configuration Setup -- Update your development environment

katello pipeline[1] is red so perhaps these are all fixed and waiting to land…

Currently a dev deploy fails being unable to run rake db:seed. Candlepin oauth errors. Perhaps this is due to the katello.yaml update not making it through, but when I hand-create the katello.yaml I still cannot run db:seed as it fails w/ oauth against pulp.

For dev installs at least, rpm pulp-nodes-parent is missing and so products cannot be created.

This is a centos7-devel vagrant box run from git katello-deploy w/ katello-installer subdir.

Not really sure how to proceed. Suggestions welcome.

[1] http://ci.theforeman.org/view/Katello%20Pipeline/job/release_repoclosure_katello/188/label=rpmbuild,os=el6/

----- Original Message -----

On Wed, Oct 14, 2015 at 12:45 PM, Eric D Helms ericdhelms@gmail.com wrote:

All,

You may notice when you next pull master that there are no obvious errors
but things are broken when you try to use the application. This is because
I have recently merged [1] work that removes Katello’s custom configuration
and aligned it to use the standard configuration structure provided by
Foreman and used by all other plugins. To update your environment do the
following:

cd foreman
mkdir config/settings.plugins.d/
cp …/katello/config/katello.yaml.example config/settings.plugins.d/

Apologies, this should be:

cp …/katello/config/katello.yaml.example
config/settings.plugins.d/katello.yaml

Now open your previous katello.yml file and the new katello.yaml file and
update katello.yaml with your specific configuration (e.g. oauth, URLs to
Pulp).

Please let me know if you have questions or issues with your environment.
Both installers have been updated for this change and will show in
nightlies within 24 hours.

[1] https://github.com/Katello/katello/pull/5257


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University


Eric D. Helms
Red Hat Engineering
Ph.D. Student - North Carolina State University


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


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