[Katello 2.4] Can I sync with a local repository?

Currently our internet proxy is set in
/etc/pulp/server/plugins.conf.d/yum_importer.json. Consequently, an
attempt to sync with a repo on the local subnet, also gets sent to the
proxy. Is there a way round this?

Cheers,
Jamie.

Not that I can think of offhand, as this is a global setting. Within Pulp,
per repo proxies can be set and we have not gotten to that ticket yet.
Setting that on the repo in Pulp through Pulp admin might be a work around.

Eric

··· On Apr 5, 2016 10:57 AM, "JC" wrote:

Currently our internet proxy is set in
/etc/pulp/server/plugins.conf.d/yum_importer.json. Consequently, an
attempt to sync with a repo on the local subnet, also gets sent to the
proxy. Is there a way round this?

Cheers,
Jamie.


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+unsubscribe@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.

See [1], Pulp would need to implement this first. You may be able to
leverage ISS to achieve the same goal [2], Katello 3.0 should hit GA soon;
hopefully :wink:

[1] https://pulp.plan.io/issues/1251
[2] http://www.katello.org/docs/3.0/user_guide/disconnected/

Sean

··· On Tue, Apr 5, 2016 at 3:57 PM, JC wrote:

Currently our internet proxy is set in
/etc/pulp/server/plugins.conf.d/yum_importer.json. Consequently, an
attempt to sync with a repo on the local subnet, also gets sent to the
proxy. Is there a way round this?

Cheers,
Jamie.


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+unsubscribe@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.

Oh no, I was assuming I'd just missed something obvious.

OK, thanks for the thoughts (and to Sean too - I'll watch that ticket
and play with 3.0 when it goes solid).

I've an idea on how to fudge this and will report back if I get it to work.

··· On 5 April 2016 at 16:14, Eric D Helms wrote: > Not that I can think of offhand, as this is a global setting. Within Pulp, > per repo proxies can be set and we have not gotten to that ticket yet. > Setting that on the repo in Pulp through Pulp admin might be a work around. > > Eric > > On Apr 5, 2016 10:57 AM, "JC" wrote: >> >> Currently our internet proxy is set in >> /etc/pulp/server/plugins.conf.d/yum_importer.json. Consequently, an attempt >> to sync with a repo on the local subnet, also gets sent to the proxy. Is >> there a way round this? >> >> Cheers, >> Jamie. >> >> -- >> 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+unsubscribe@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 a topic in the > Google Groups "Foreman users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/foreman-users/9ADWCgzUJ48/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > foreman-users+unsubscribe@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.

In case this helps anyone else, I have installed squid on our Katello
server to get round this. Katello makes requests to squid, and squid
splits internal and external repo requests (which are sent to a cache_peer,
our proxy). Jamie.

··· On Wednesday, 6 April 2016 10:00:05 UTC+1, JC wrote: > > Oh no, I was assuming I'd just missed something obvious. > > OK, thanks for the thoughts (and to Sean too - I'll watch that ticket > and play with 3.0 when it goes solid). > > I've an idea on how to fudge this and will report back if I get it to > work. > > On 5 April 2016 at 16:14, Eric D Helms wrote: > > Not that I can think of offhand, as this is a global setting. Within > Pulp, > > per repo proxies can be set and we have not gotten to that ticket yet. > > Setting that on the repo in Pulp through Pulp admin might be a work > around. > > > > Eric > > > > On Apr 5, 2016 10:57 AM, "JC" wrote: > >> > >> Currently our internet proxy is set in > >> /etc/pulp/server/plugins.conf.d/yum_importer.json. Consequently, an > attempt > >> to sync with a repo on the local subnet, also gets sent to the proxy. > Is > >> there a way round this? > >> > >> Cheers, > >> Jamie. > >> > >> -- > >> 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+unsubscribe@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 a topic in the > > Google Groups "Foreman users" group. > > To unsubscribe from this topic, visit > > https://groups.google.com/d/topic/foreman-users/9ADWCgzUJ48/unsubscribe. > > > To unsubscribe from this group and all its topics, send an email to > > foreman-users+unsubscribe@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. >

> In case this helps anyone else, I have installed squid on our Katello
> server to get round this. Katello makes requests to squid, and squid
> splits internal and external repo requests (which are sent to a cache_peer,
> our proxy). Jamie.
>

Neat solution, I will note that with Katello 3.0 squid will be installed by
default as it is used for the deferred repository sync strategy. The
Katello feature request for supporting per repo proxies natively is at:

http://projects.theforeman.org/issues/5280

Eric

··· On Mon, Apr 11, 2016 at 10:31 AM, JC wrote:

On Wednesday, 6 April 2016 10:00:05 UTC+1, JC wrote:

Oh no, I was assuming I’d just missed something obvious.

OK, thanks for the thoughts (and to Sean too - I’ll watch that ticket
and play with 3.0 when it goes solid).

I’ve an idea on how to fudge this and will report back if I get it to
work.

On 5 April 2016 at 16:14, Eric D Helms eric.d.helms@gmail.com wrote:

Not that I can think of offhand, as this is a global setting. Within
Pulp,
per repo proxies can be set and we have not gotten to that ticket yet.
Setting that on the repo in Pulp through Pulp admin might be a work
around.

Eric

On Apr 5, 2016 10:57 AM, “JC” mr.jamie.caldwell@gmail.com wrote:

Currently our internet proxy is set in
/etc/pulp/server/plugins.conf.d/yum_importer.json. Consequently, an
attempt

to sync with a repo on the local subnet, also gets sent to the proxy.
Is

there a way round this?

Cheers,
Jamie.


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+unsubscribe@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 a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/9ADWCgzUJ48/unsubscribe.

To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@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+unsubscribe@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.


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