[Pulp-list] Moving /var/lib/pulp

2016-03-30 Thread Sparks, Alan
Is there a best way to move the content of /var/lib/pulp to a different file 
system?   I've tried tar'ing the data over, with -"-selinux --acls -xattrs" 
switches, and then symlinking /var/lib/pulp to the new location.   Triggers all 
sorts of selinux issues, even after changing the type of the symlink I wind up 
with lots of messages from celery tasks (like denied search from "/data" and 
even "/").

In the end, all my sync/publish tasks end up with a
Task Failed
[Errno 13] Permission denied: '/var/lib/pulp/published'

I know that all the published subdirectories have symlinks to the original 
locations (under /var/lib/pulp).   I can use a bind mount to solve it, but 
wondered if there's a procedure to move the data and change the configuration 
to use the new location.
___
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

[Pulp-list] Pulp 2.8.1 Release Candidate is available

2016-03-30 Thread Sean Myers
The Pulp 2.8.1 *release candidate* has been published to the beta repositories:

https://repos.fedorapeople.org/repos/pulp/pulp/beta/2.8/

Changes
===

The following Redmine (pulp.plan.io) issues are addressed in 2.8.1:

  Pulp
1734The Pulp streamer logs a traceback when a ConnectionError 
occurs.
1764SELinux denial on Celery attempting to read resolv.conf
1737The checksum/checksum_type is not being included in the lazy 
catalog
1735Downloading the CentOS base repository fails with lazy and 
--verify-all
1776sync_complete response has changed

  Puppet Support
1607Puppet install distributor fails when deleting repository if 
not published

  RPM Support
1138Install applicable errata consumer task does not report kernel 
packages were updated
1366Advisory package list doesn't match packages in the repository
1548published errata contain packages not in repo
1789Sync fills up /var/cache/pulp/ with rpms

More details regarding these issues can be found in Redmine at the following 
URL:

http://bit.ly/1LHtwWp

Aside from rpm version numbers, no changes to 2.8.1 took place between the
2.8.1 beta release and this release candidate.

RHEL/CentOS 6 Users
===

There is an issue with the el6 qpid COPR repository that impacts qpid
installations, and so it also impacts el6 pulp installations using qpid.
This issue is not directly related to the 2.8.1 release, but may affect
users upgrading to this rc and so I've included it here.

More details on this issue and how to work around it until the proper fix
is put in place can be found in a message sent to pulp-list yesterday
by mhrivnak, "qpid on el6 fails to install". That mail can also be seen in
the list archive here:

https://www.redhat.com/archives/pulp-list/2016-March/msg00087.html



signature.asc
Description: OpenPGP digital signature
___
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

Re: [Pulp-list] Moving /var/lib/pulp

2016-03-30 Thread Brian Bouterse
A symlink issue was introduced with 2.8.0, but it's symptom is
observable when serving content and not with sync/publish issues[0].

This looks like a separate issue. Can you file an issue against Pulp and
include the specific AVC denials you are encountering? Also showing the
symlink link and target POSIX and selinux labels with `ls -laZ` would be
helpful.

[0]: https://pulp.plan.io/issues/1791

-Brian

On 03/30/2016 01:47 PM, Sparks, Alan wrote:
> Is there a best way to move the content of /var/lib/pulp to a different
> file system?   I’ve tried tar’ing the data over, with –“-selinux --acls
> –xattrs” switches, and then symlinking /var/lib/pulp to the new
> location.   Triggers all sorts of selinux issues, even after changing
> the type of the symlink I wind up with lots of messages from celery
> tasks (like denied search from “/data” and even “/”).
> 
>  
> 
> In the end, all my sync/publish tasks end up with a
> 
> Task Failed
> 
> [Errno 13] Permission denied: '/var/lib/pulp/published'
> 
>  
> 
> I know that all the published subdirectories have symlinks to the
> original locations (under /var/lib/pulp).   I can use a bind mount to
> solve it, but wondered if there’s a procedure to move the data and
> change the configuration to use the new location.
> 
> 
> 
> ___
> Pulp-list mailing list
> Pulp-list@redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
> 

___
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list


[Pulp-list] Stuck repo sync job

2016-03-30 Thread Matthew Madey
I have a job that mistakenly thinks it's still running..

# pulp-admin -u admin -p  rpm repo sync run
--repo-id=rhel-x86_64-server-7-base-tools
+--+
   Synchronizing Repository [rhel-x86_64-server-7-base-tools]
+--+

A sync task is already in progress for this repository. Its progress will be
tracked below.

This command may be exited via ctrl+c without affecting the request.

[/]
Waiting to begin...


I checked all running processes and there is no repo sync currently
running. I have even gone so far as to delete the repo and recreate it..
same issue. I have also tried running pulp-admin orphan remove --all, which
executes successfully, but does not fix the problem. I have also tried
rebooting the server, bouncing all pulp services.. still no joy. I'm
guessing there is a file somewhere that tracks pending tasks? How can I
clear this so I can successfully run the job again? I'm running Pulp 2.7.1-1
___
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list

[Pulp-list] repo sync: download skipped issue

2016-03-30 Thread Lin Yuan
Hi,

I have a local repo sync from external epel repo daily. But recently I
found my local repo is far from complete, so I checked log and found some
errors like this:

Mar 31 09:33:51 depulpsrv01 pulp:
requests.packages.urllib3.connectionpool:INFO: Resetting dropped
connection: mirror.23media.de
Mar 31 09:33:52 depulpsrv01 pulp:
requests.packages.urllib3.connectionpool:INFO: Resetting dropped
connection: mirror.23media.de
Mar 31 09:33:52 depulpsrv01 pulp: nectar.downloaders.threaded:WARNING:
Connection Error -
http://download.fedoraproject.org/pub/epel/6/x86_64/proftpd-postgresql-1.3.3g-8.el6.x86_64.rpm
could not be reached.


And then I checked sync history, I can see all packages after "Connection
Error" are skipped:

"error_details": [{"url": "
http://download.fedoraproject.org/pub/epel/6/x86_64/proftpd-postgresql-1.3.3g-8.el6.x86_64.rpm";,
"errors": ["A connection error occurred"]}, {"url": "
http://download.fedoraproject.org/pub/epel/6/x86_64/proj-4.7.0-1.el6.i686.rpm";,
"errors": ["Download skipped"]}, {"url": "
http://download.fedoraproject.org/pub/epel/6/x86_64/proj-4.7.0-1.el6.x86_64.rpm";,
"errors": ["Download skipped"]}, {"url": "
http://download.fedoraproject.org/pub/epel/6/x86_64/proj-devel-4.7.0-1.el6.i686.rpm";,
"errors": ["Download skipped"]},...


It is similar to this issue https://pulp.plan.io/issues/1629. Is there a
workaround to fix this?

I am using pulp 2.7.1 in Centos 6 x86_64

Best regards

Lynn
___
Pulp-list mailing list
Pulp-list@redhat.com
https://www.redhat.com/mailman/listinfo/pulp-list