From mboxrd@z Thu Jan 1 00:00:00 1970 From: nokia ceph Subject: Recompiling source code - to find exact RPM Date: Tue, 21 Mar 2017 19:56:13 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1296649818==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ceph-users-bounces-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org Sender: "ceph-users" To: Ceph Users , ceph-devel List-Id: ceph-devel.vger.kernel.org --===============1296649818== Content-Type: multipart/alternative; boundary=f4030437951c101edc054b3e6d8c --f4030437951c101edc054b3e6d8c Content-Type: text/plain; charset=UTF-8 Hello, I made some changes in the below file on ceph kraken v11.2.0 source code as per this article https://github.com/ceph/ceph-ci/commit/wip-prune-past-intervals-kraken ..src/osd/PG.cc ..src/osd/PG.h Is there any way to find which rpm got affected by these two files. I believe it should be ceph-osd-11.2.0-0.el7.x86_64.rpm . Can you confirm please ? I failed to find it from the ceph.spec file. Could anyone please guide me the right procedure to check this. The main intention is that if we find the exact rpm affected by these files, we can simply overwrite it with the old rpm. Awaiting for comments. Thanks --f4030437951c101edc054b3e6d8c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I made some changes in the below= file on ceph kraken v11.2.0 source code as per this article=C2=A0


..src/osd/PG.cc
..src/osd/PG.h

Is there any way to fi= nd which rpm got affected by these two files. I believe it should be ceph-o= sd-11.2.0-0.el7.x86_64.rpm . Can you confirm please ?

<= div>I failed to find it from the ceph.spec file.=C2=A0

=
Could anyone please guide me the right procedure to check this.
<= div>
The main intention is that if we find the exact rpm affe= cted by these files, we can simply overwrite it with the old rpm. =C2=A0

Awaiting for comments.

Than= ks

--f4030437951c101edc054b3e6d8c-- --===============1296649818== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ceph-users mailing list ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com --===============1296649818==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brad Hubbard Subject: Re: Recompiling source code - to find exact RPM Date: Wed, 22 Mar 2017 10:17:59 +1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ceph-users-bounces-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org Sender: "ceph-users" To: nokia ceph Cc: Ceph Users , ceph-devel List-Id: ceph-devel.vger.kernel.org Based solely on the information given the only rpms with this specific commit in them would be here https://shaman.ceph.com/builds/ceph/wip-prune-past-intervals-kraken/ (specifically https://4.chacra.ceph.com/r/ceph/wip-prune-past-intervals-kraken/8263140fe539f9c3241c1c0f6ee9cfadde9178c0/centos/7/flavors/default/x86_64/). These are test rpms, not official releases. Note that the branch "wip-prune-past-intervals-kraken" exists only in the ceph-ci repo and *not* the main ceph repo and that the particular commit above does not seem to have made it into the "ceph" repo. $ git log -S _simplify_past_intervals $ git log --grep="_simplify_past_intervals" $ Given this commit is not in the ceph repo I would suggest we have never shipped an official rpm that contains this commit. It's not totally clear to me exactly what you are trying to achieve, maybe you could have another go at describing your objective? On Wed, Mar 22, 2017 at 12:26 AM, nokia ceph wrote: > Hello, > > I made some changes in the below file on ceph kraken v11.2.0 source code as > per this article > > https://github.com/ceph/ceph-ci/commit/wip-prune-past-intervals-kraken > > ..src/osd/PG.cc > ..src/osd/PG.h > > Is there any way to find which rpm got affected by these two files. I > believe it should be ceph-osd-11.2.0-0.el7.x86_64.rpm . Can you confirm > please ? > > I failed to find it from the ceph.spec file. > > Could anyone please guide me the right procedure to check this. > > The main intention is that if we find the exact rpm affected by these files, > we can simply overwrite it with the old rpm. > > Awaiting for comments. > > Thanks > > > _______________________________________________ > ceph-users mailing list > ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- Cheers, Brad From mboxrd@z Thu Jan 1 00:00:00 1970 From: nokia ceph Subject: Re: Recompiling source code - to find exact RPM Date: Thu, 23 Mar 2017 18:11:55 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0199286409==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ceph-users-bounces-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org Sender: "ceph-users" To: Brad Hubbard Cc: Ceph Users , ceph-devel List-Id: ceph-devel.vger.kernel.org --===============0199286409== Content-Type: multipart/alternative; boundary=001a113ad706c53310054b6533df --001a113ad706c53310054b6533df Content-Type: text/plain; charset=UTF-8 Hey brad, Thanks for the info. Yea we know that these are test rpm's. The idea behind my question is if I made any changes in the ceph source code, then I recompile it. Then I need to find which is the appropriate rpm mapped to that changed file. If I find the exact RPM, then apply that RPM in our existing ceph cluster instead of applying/overwriting all the compiled rpms. I hope this cleared your doubt. Thanks On Wed, Mar 22, 2017 at 5:47 AM, Brad Hubbard wrote: > Based solely on the information given the only rpms with this specific > commit in > them would be here > https://shaman.ceph.com/builds/ceph/wip-prune-past-intervals-kraken/ > (specifically > https://4.chacra.ceph.com/r/ceph/wip-prune-past-intervals-kraken/ > 8263140fe539f9c3241c1c0f6ee9cfadde9178c0/centos/7/flavors/default/x86_64/ > ). > These are test rpms, not official releases. > > Note that the branch "wip-prune-past-intervals-kraken" exists only in the > ceph-ci repo and *not* the main ceph repo and that the particular commit > above > does not seem to have made it into the "ceph" repo. > > $ git log -S _simplify_past_intervals > $ git log --grep="_simplify_past_intervals" > $ > > Given this commit is not in the ceph repo I would suggest we have never > shipped > an official rpm that contains this commit. > > It's not totally clear to me exactly what you are trying to achieve, maybe > you > could have another go at describing your objective? > > On Wed, Mar 22, 2017 at 12:26 AM, nokia ceph > wrote: > > Hello, > > > > I made some changes in the below file on ceph kraken v11.2.0 source code > as > > per this article > > > > https://github.com/ceph/ceph-ci/commit/wip-prune-past-intervals-kraken > > > > ..src/osd/PG.cc > > ..src/osd/PG.h > > > > Is there any way to find which rpm got affected by these two files. I > > believe it should be ceph-osd-11.2.0-0.el7.x86_64.rpm . Can you confirm > > please ? > > > > I failed to find it from the ceph.spec file. > > > > Could anyone please guide me the right procedure to check this. > > > > The main intention is that if we find the exact rpm affected by these > files, > > we can simply overwrite it with the old rpm. > > > > Awaiting for comments. > > > > Thanks > > > > > > _______________________________________________ > > ceph-users mailing list > > ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org > > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > > > > > > -- > Cheers, > Brad > --001a113ad706c53310054b6533df Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey brad,

Thanks for the info.=C2=A0

Yea we know that these are test rpm's.=C2=A0

The idea behind my question is if I made any changes = in the ceph source code, then I recompile it. Then I need to find which is = the appropriate rpm mapped to that changed file. If I find the exact RPM, t= hen apply that RPM in our existing ceph cluster instead of applying/overwri= ting =C2=A0all the compiled rpms.

I hope this clea= red your doubt.

Thanks



On Wed, Mar 22, 2017 at 5:47 AM, Brad Hubbard <bhubbard@redh= at.com> wrote:
Based solely= on the information given the only rpms with this specific commit in
them would be here
https://shaman.ceph.com/bui= lds/ceph/wip-prune-past-intervals-kraken/
(specifically
https://4.chacra.ceph.com/r/ceph= /wip-prune-past-intervals-kraken/8263140fe539f9c3241c1c0f6ee9cfadde9178c0/centos/7/flavors/default/x86_64/).
These are test rpms, not official releases.

Note that the branch "wip-prune-past-intervals-kraken" exist= s only in the
ceph-ci repo and *not* the main ceph repo and that the particular commit ab= ove
does not seem to have made it into the "ceph" repo.

$ git log -S _simplify_past_intervals
$ git log --grep=3D"_simplify_past_intervals"
$

Given this commit is not in the ceph repo I would suggest we have never shi= pped
an official rpm that contains this commit.

It's not totally clear to me exactly what you are trying to achieve, ma= ybe you
could have another go at describing your objective?

On Wed, Mar 22, 2017 at 12:26 AM, nokia ceph <nokiacephusers-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello,
>
> I made some changes in the below file on ceph kraken v11.2.0 source co= de as
> per this article
>
> https://github.com/ceph/c= eph-ci/commit/wip-prune-past-intervals-kraken
>
> ..src/osd/PG.cc
> ..src/osd/PG.h
>
> Is there any way to find which rpm got affected by these two files. I<= br> > believe it should be ceph-osd-11.2.0-0.el7.x86_64.rpm . Can you c= onfirm
> please ?
>
> I failed to find it from the ceph.spec file.
>
> Could anyone please guide me the right procedure to check this.
>
> The main intention is that if we find the exact rpm affected by these = files,
> we can simply overwrite it with the old rpm.
>
> Awaiting for comments.
>
> Thanks
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org=
> http://lists.ceph.com/listinfo.cgi/c= eph-users-ceph.com
>



--
Cheers,
Brad

--001a113ad706c53310054b6533df-- --===============0199286409== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ceph-users mailing list ceph-users-idqoXFIVOFJgJs9I8MT0rw@public.gmane.org http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com --===============0199286409==--