|
Return-Path: <bvijaycom@gmail.com>
|
|
Received: from mi029.mc1.hosteurope.de ([80.237.138.226]) by wp245.webpack.hosteurope.de running ExIM with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) id 1YSWk9-0003MP-Gs; Mon, 02 Mar 2015 21:15:09 +0100
|
|
Received: from mail-wg0-f50.google.com ([74.125.82.50]) by mx0.webpack.hosteurope.de (mi029.mc1.hosteurope.de) with esmtps (TLSv1.2:AES128-GCM-SHA256:128) id 1YSWk8-0003aE-Hx for dropbox+pulp+c71e@plan.io; Mon, 02 Mar 2015 21:15:09 +0100
|
|
Received: by wghb13 with SMTP id b13so35806245wgh.0 for <dropbox+pulp+c71e@plan.io>; Mon, 02 Mar 2015 12:15:08 -0800
|
|
Received: by 10.28.95.133 with HTTP; Mon, 02 Mar 2015 12:15:08 -0800
|
|
Date: Tue, 03 Mar 2015 01:45:08 +0530
|
|
From: Vijayabalan Balakrishnan <bvijaycom@gmail.com>
|
|
To: Pulp <dropbox+pulp+c71e@plan.io>
|
|
Message-ID: <CAMkwSOOFmVyx4aEbYY6cbXt+Jj5BbcLOoN7QcasWxuMn_BFQvg@mail.gmail.com>
|
|
In-Reply-To: <redmine.journal-1731.20150302195722.dcd6a3d51f58c4d7@plan.io>
|
|
References: <redmine.issue-721.20150302180520@plan.io>
|
|
<redmine.journal-1731.20150302195722.dcd6a3d51f58c4d7@plan.io>
|
|
Subject: Re: [RPM Support - Issue #721] Export ISO file retention Limitation.
|
|
Mime-Version: 1.0
|
|
Content-Type: multipart/alternative;
|
|
boundary=089e011823c8e5bd7c051053dff6;
|
|
charset=UTF-8
|
|
Content-Transfer-Encoding: 7bit
|
|
Delivery-date: Mon, 02 Mar 2015 21:15:09 +0100
|
|
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
|
|
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
|
|
:content-type; bh=ndgVR+xTItoWwXQiqNrByr96RdSQEIR8Q+EahZA5PuA=;
|
|
b=P1xmk3Z+ph7NQ1cQdcd1MUqF8Rgbzz2b7JtAvE2cqBHFFWhaGkcijJSbW1ZLWfatzI
|
|
S5krE0tw7SXW/6YMCkn6RXfNs+K5MSXytdJ+grUJ1wpWJL9TLlSUsprr8ow8IdT8IBg0
|
|
u/O3kqF2Ct1lwkwwecAVPOATZdkrotczhrCDFy4+14vXRYhM0XtM3Z/O8GnqONVDEvrv
|
|
nqPCTbZDfvup3PA+SosfRb46Jb5QOizqoJjzMy2BChqNMdmEl8KgfuhLRaNdCmb9QmFu
|
|
zB0VoepBnnG4gKIoDUWMu+6YayaICAa6cuHnBLBGAqYIo+/GhfklZsPNGDFkpynlk1Tz Ye6g==
|
|
X-Received: by 10.194.120.40 with SMTP id kz8mr62881655wjb.21.1425327308256;
|
|
Mon, 02 Mar 2015 12:15:08 -0800 (PST)
|
|
X-HE-Spam-Level: +
|
|
X-HE-Spam-Score: 1.8
|
|
X-HE-Spam-Report: Content analysis details: (1.8 points) pts rule name
|
|
description ---- ----------------------
|
|
-------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL:
|
|
Sender listed at http://www.dnswl.org/, low trust [74.125.82.50 listed in
|
|
list.dnswl.org] 2.5 RCVD_IN_SORBS_HTTP RBL: SORBS: sender is open HTTP proxy
|
|
server [74.125.82.50 listed in dnsbl.sorbs.net] 0.0 FREEMAIL_FROM Sender email
|
|
is commonly abused enduser mail provider (bvijaycom[at]gmail.com) 0.1
|
|
HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a
|
|
valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at
|
|
least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK
|
|
signature, not necessarily valid
|
|
X-HE-SPF: PASSED
|
|
Envelope-to: dropbox+pulp+c71e@plan.io
|
|
|
|
|
|
--089e011823c8e5bd7c051053dff6
|
|
Content-Type: text/plain;
|
|
charset=UTF-8
|
|
Content-Transfer-Encoding: 7bit
|
|
|
|
Hi,
|
|
|
|
I have changed the selinux similer to /var/lib/pulp for /test directory.Now
|
|
I am able to execute the export command.However in /test directory there is
|
|
no ISO file getting created.The RPM files getting downloaded.
|
|
|
|
Here the logs are
|
|
|
|
[root@test1053 1425327013.27]# pwd
|
|
/var/lib/pulp/published/yum/master/export_distributor/custom_repo1/1425327013.27
|
|
[root@test1053 1425327013.27]# ls -ltr
|
|
total 1468
|
|
-rw-r--r--. 1 apache apache 1501184 Mar 2 15:10
|
|
custom_repo1-2015-03-02T15.10-01.iso
|
|
[root@test1053 1425327013.27]# cd /test
|
|
[root@test1053 test]# ls -ltr
|
|
total 4
|
|
drwxr-xr-x. 3 apache apache 59 Mar 2 15:09 custom_repo1
|
|
-rw-r--r--. 1 apache apache 12 Mar 2 15:09 listing
|
|
[root@test1053 test]# cd custom_repo1/
|
|
[root@test1053 custom_repo1]# ls -ltr
|
|
total 1100
|
|
-rw-r--r--. 1 apache apache 1122292 Feb 25 16:41
|
|
engrampa-1.8.1-1.el7.x86_64.rpm
|
|
drwxr-x---. 2 apache apache 4096 Mar 2 15:09 repodata
|
|
[root@test1053 custom_repo1]# ls -ldZ /test/
|
|
drwxrwxrwx. apache apache unconfined_u:object_r:httpd_sys_rw_content_t:s0
|
|
/test/
|
|
[root@test1053 custom_repo1]# ls -ldZ /var/lib/pulp/
|
|
drwxr-xr-x. apache apache system_u:object_r:httpd_sys_rw_content_t:s0
|
|
/var/lib/pulp/
|
|
[root@test1053 custom_repo1]#
|
|
|
|
|
|
On Tue, Mar 3, 2015 at 1:27 AM, Pulp <dropbox+pulp+c71e@plan.io> wrote:
|
|
|
|
> --- Please write your response above this line ---
|
|
> Issue #721 has been updated by Barnaby Court.
|
|
>
|
|
>
|
|
> Hi, for the use of the /test directory, is it possible you have selinux
|
|
> enabled and have not added an selinux permissions for the apache user on
|
|
> the /test directory?
|
|
> ------------------------------
|
|
> Issue #721: Export ISO file retention Limitation.
|
|
> <https://pulp.plan.io/issues/721#change-1731>
|
|
>
|
|
> - Author: vijaybalan balakrishnan
|
|
> - Status: NEW
|
|
> - Priority: High
|
|
> - Assignee:
|
|
> - Category:
|
|
> - Sprint/Milestone:
|
|
> - Triaged: No
|
|
> - Bugzilla Link:
|
|
> - Target Release:
|
|
> - Severity: High
|
|
> - Backwards Incompatible: No
|
|
> - Tags:
|
|
> - Version:
|
|
> - QA Contact:
|
|
>
|
|
> Hi Team,
|
|
>
|
|
> Today I have created pulp server in DMZ subnet and from our master server
|
|
> tried to export as an ISO file. So that from disconnected server I can
|
|
> recreate whenever I need to replicate. However the problem is pulp is
|
|
> always keep n version. Second time if we execute export command the current
|
|
> exported ISO file and directory getting deleted before the new ISO file
|
|
> creation. Is there any way to put retention files (I mean number files) on
|
|
> my own?
|
|
>
|
|
> My pulp version is
|
|
>
|
|
> [root@server1]# rpm -q pulp-server
|
|
> pulp-server-2.5.3-1.el7.noarch
|
|
>
|
|
> I understand that this export to different directory can be achieved
|
|
> through --export-dir tag.However i just tested the same command and added
|
|
> with --export-dir option.
|
|
>
|
|
> Now i have 2 issues
|
|
>
|
|
> 1. I have created directory under / called test.I have changed the
|
|
> ownership to apache:apache and executed the export command with
|
|
> --export-dir pointing to this directory.I have received permission denied
|
|
> error.Is there any limitation in pulp that ,pulp will understand only
|
|
> inside /var/lib/pulp directory ?
|
|
>
|
|
> 2. However now i have created the directory called export inside
|
|
> /var/lib/pulp/ and changed the ownership to apache:apache. Now if i run
|
|
> export command pointing to this directory,only rpm's are getting downloaded
|
|
> instead of single ISO file.
|
|
>
|
|
> Now i am looking for some solutions for the below scenarios in the future
|
|
> releases...
|
|
>
|
|
> 1. Through --export-dir option if we give external directory it should be
|
|
> allowed in pulp for creating ISO file.
|
|
> 2. If i give /var/lip/pulp/export directory in --export-dir tag,why
|
|
> instead ISO single file rpm's are getting downloaded.
|
|
> 3. Also if the customer wants to retain n number of iso exported files
|
|
> under /var/lib/pulp/published/yum/master/export_distributor/ directory
|
|
> itself then there should be command option
|
|
>
|
|
> Here i have attached the log file.
|
|
>
|
|
> Thanks,
|
|
> BVIJAY
|
|
> Files export ISO to test directory-permission denied.txt
|
|
> <https://pulp.plan.io/attachments/download/79/export%20ISO%20to%20test%20directory-permission%20denied.txt>
|
|
> (11.6 KB)
|
|
> export ISO to test directory-permission denied.txt
|
|
> <https://pulp.plan.io/attachments/download/78/export%20ISO%20to%20test%20directory-permission%20denied.txt>
|
|
> (11.6 KB)
|
|
> ------------------------------
|
|
>
|
|
> You have received this notification because you have either subscribed to
|
|
> or are involved in a project on Pulp Planio.
|
|
> To change your notification preferences, please click here:
|
|
> https://pulp.plan.io/my/account
|
|
>
|
|
> This notification was cheerfully delivered by <https://plan.io/>
|
|
> [image: Planio] <https://plan.io/>
|
|
>
|
|
|
|
--089e011823c8e5bd7c051053dff6
|
|
Content-Type: text/html;
|
|
charset=UTF-8
|
|
Content-Transfer-Encoding: quoted-printable
|
|
|
|
<div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I have changed the sel=
|
|
inux similer to /var/lib/pulp for /test directory.Now I am able to execut=
|
|
e the export command.However in /test directory there is no ISO file gett=
|
|
ing created.The RPM files getting downloaded.</div><div><br></div><div>He=
|
|
re the logs are </div><div><br></div><div>[root@test1053 1425327013.27]# =
|
|
pwd<br>/var/lib/pulp/published/yum/master/export_distributor/custom_repo1=
|
|
/1425327013.27<br>[root@test1053 1425327013.27]# ls -ltr<br>total 1468<br=
|
|
>-rw-r--r--. 1 apache apache 1501184 Mar=C2=A0 2 15:10 custom_repo1-2015-=
|
|
03-02T15.10-01.iso<br>[root@test1053 1425327013.27]# cd /test<br>[root@te=
|
|
st1053 test]# ls -ltr<br>total 4<br>drwxr-xr-x. 3 apache apache 59 Mar=C2=
|
|
=A0 2 15:09 custom_repo1<br>-rw-r--r--. 1 apache apache 12 Mar=C2=A0 2 15=
|
|
:09 listing<br>[root@test1053 test]# cd custom_repo1/<br>[root@test1053 c=
|
|
ustom_repo1]# ls -ltr<br>total 1100<br>-rw-r--r--. 1 apache apache 112229=
|
|
2 Feb 25 16:41 engrampa-1.8.1-1.el7.x86_64.rpm<br>drwxr-x---. 2 apache ap=
|
|
ache=C2=A0=C2=A0=C2=A0 4096 Mar=C2=A0 2 15:09 repodata<br>[root@test1053 =
|
|
custom_repo1]# ls -ldZ /test/<br>drwxrwxrwx. apache apache unconfined_u:o=
|
|
bject_r:httpd_sys_rw_content_t:s0 /test/<br>[root@test1053 custom_repo1]#=
|
|
ls -ldZ /var/lib/pulp/<br>drwxr-xr-x. apache apache system_u:object_r:ht=
|
|
tpd_sys_rw_content_t:s0 /var/lib/pulp/<br>[root@test1053 custom_repo1]#<b=
|
|
r></div><div><br></div></div><div class=3D"gmail_extra"><br><div class=3D=
|
|
"gmail_quote">On Tue, Mar 3, 2015 at 1:27 AM, Pulp <span dir=3D"ltr"><=
|
|
<a href=3D"mailto:dropbox+pulp+c71e@plan.io" target=3D"_blank">dropbox+pu=
|
|
lp+c71e@plan.io</a>></span> wrote:<br><blockquote class=3D"gmail_quote=
|
|
" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
|
|
>
|
|
|
|
|
|
|
|
<div>
|
|
<table width=3D"100%">
|
|
<tbody><tr><td style=3D"width:100%;text-align:center;color:rgb(215,215,21=
|
|
5);font-family:MarketWeb,Verdana,sans-serif;font-size:0.8em"><p>--- Pleas=
|
|
e write your response above this line ---</p></td></tr>
|
|
<tr><td>Issue #721 has been updated by Barnaby Court.
|
|
|
|
<ul>
|
|
</ul>
|
|
|
|
<p>Hi, for the use of the /test directory, is it possible you have selinu=
|
|
x enabled and have not added an selinux permissions for the apache user o=
|
|
n the /test directory?</p><div><div class=3D"h5">
|
|
<hr>
|
|
<h1><a href=3D"https://pulp.plan.io/issues/721#change-1731" target=3D"_bl=
|
|
ank">Issue #721: Export ISO file retention Limitation.</a></h1>
|
|
|
|
<ul><li>Author: vijaybalan balakrishnan</li>
|
|
<li>Status: NEW</li>
|
|
<li>Priority: High</li>
|
|
<li>Assignee: </li>
|
|
<li>Category: </li>
|
|
<li>Sprint/Milestone: </li>
|
|
<li>Triaged: No</li>
|
|
<li>Bugzilla Link: </li>
|
|
<li>Target Release: </li>
|
|
<li>Severity: High</li>
|
|
<li>Backwards Incompatible: No</li>
|
|
<li>Tags: </li>
|
|
<li>Version: </li>
|
|
<li>QA Contact: </li></ul>
|
|
|
|
<p>Hi Team,</p>
|
|
|
|
|
|
<p>Today I have created pulp server in DMZ subnet and from our master se=
|
|
rver tried to export as an ISO file. So that from disconnected server I c=
|
|
an recreate whenever I need to replicate. However the problem is pulp is =
|
|
always keep n version. Second time if we execute export command the curre=
|
|
nt exported ISO file and directory getting deleted before the new ISO fil=
|
|
e creation. Is there any way to put retention files (I mean number files)=
|
|
on my own?</p>
|
|
|
|
|
|
<p>My pulp version is</p>
|
|
|
|
|
|
<p>[root@server1]# rpm -q pulp-server<br>pulp-server-2.5.3-1.el7.noarch<=
|
|
/p>
|
|
|
|
|
|
<p>I understand that this export to different directory can be achieved =
|
|
through --export-dir tag.However i just tested the same command and added=
|
|
with --export-dir option.</p>
|
|
|
|
|
|
<p>Now i have 2 issues</p>
|
|
|
|
|
|
<p>1. I have created directory under / called test.I have changed the ow=
|
|
nership to apache:apache and executed the export command with --export-di=
|
|
r pointing to this directory.I have received permission denied error.Is t=
|
|
here any limitation in pulp that ,pulp will understand only inside /var/l=
|
|
ib/pulp directory ?</p>
|
|
|
|
|
|
<p>2. However now i have created the directory called export inside /var=
|
|
/lib/pulp/ and changed the ownership to apache:apache. Now if i run expor=
|
|
t command pointing to this directory,only rpm's are getting downloade=
|
|
d instead of single ISO file.</p>
|
|
|
|
|
|
<p>Now i am looking for some solutions for the below scenarios in the fu=
|
|
ture releases...</p>
|
|
|
|
|
|
<p>1. Through --export-dir option if we give external directory it shoul=
|
|
d be allowed in pulp for creating ISO file.<br>2. If i give /var/lip/pulp=
|
|
/export directory in --export-dir tag,why instead ISO single file rpm'=
|
|
;s are getting downloaded.<br>3. Also if the customer wants to retain n n=
|
|
umber of iso exported files under /var/lib/pulp/published/yum/master/expo=
|
|
rt_distributor/ directory itself then there should be command option</p>=
|
|
|
|
|
|
|
|
<p>Here i have attached the log file.</p>
|
|
|
|
|
|
<p>Thanks,<br>BVIJAY</p>
|
|
|
|
<fieldset><legend>Files</legend>
|
|
<a href=3D"https://pulp.plan.io/attachments/download/79/export%20ISO%=
|
|
20to%20test%20directory-permission%20denied.txt" target=3D"_blank">export=
|
|
ISO to test directory-permission denied.txt</a>
|
|
(11.6 KB)<br>
|
|
<a href=3D"https://pulp.plan.io/attachments/download/78/export%20ISO%=
|
|
20to%20test%20directory-permission%20denied.txt" target=3D"_blank">export=
|
|
ISO to test directory-permission denied.txt</a>
|
|
(11.6 KB)<br>
|
|
</fieldset>
|
|
|
|
|
|
|
|
</div></div></td></tr>
|
|
<tr><td style=3D"width:100%;font-size:0.8em"><hr><p>You have received thi=
|
|
s notification because you have either subscribed to or are involved in a=
|
|
project on Pulp Planio.<br>To change your notification preferences, plea=
|
|
se click here: <a href=3D"https://pulp.plan.io/my/account" target=3D"_bla=
|
|
nk">https://pulp.plan.io/my/account</a></p><td></td></td></tr>
|
|
<tr><td style=3D"width:100%;text-align:center;color:rgb(215,215,215);font=
|
|
-family:MarketWeb,Verdana,sans-serif;font-size:1.2em"><br><div><a style=3D=
|
|
"color:rgb(215,215,215);text-decoration:none" href=3D"https://plan.io/" t=
|
|
arget=3D"_blank">This notification was cheerfully delivered by</a></div><=
|
|
td></td></td></tr>
|
|
<tr><td style=3D"width:100%;text-align:center"><a title=3D"Planio" href=3D=
|
|
"https://plan.io/" target=3D"_blank"><img width=3D"102" height=3D"25" sty=
|
|
le=3D"vertical-align: middle;" alt=3D"Planio" src=3D"https://assets.plan.=
|
|
io/images/planio_logo_gray_204x50.png"></a></td></tr>
|
|
</tbody></table>
|
|
</div>
|
|
|
|
</blockquote></div><br></div>
|
|
|
|
--089e011823c8e5bd7c051053dff6--
|