Re: "PRE-RELEASE/TESTING"

Vendula Poncova <[email protected]> Wed, 4 Sep 2019 14:38:47 +0200
Newsgroups gmane.linux.redhat.anaconda.devel
Message-ID <CAAmygTR=bOU1P_dUmc2ROc=xsbScEfM21WCtoBNSDkU7o3x-Ug@mail.gmail.com>
--===============4147860649161017758==
Content-Type: multipart/alternative; boundary="0000000000002ebf220591b97deb"

--0000000000002ebf220591b97deb
Content-Type: text/plain; charset="UTF-8"

On Tue, Sep 3, 2019 at 7:29 PM Danishka Navin <[email protected]> wrote:

>
>
> On Tue, Sep 3, 2019 at 6:16 PM Vendula Poncova <[email protected]>
> wrote:
>
>>
>> On Mon, Sep 2, 2019 at 9:56 AM Danishka Navin <[email protected]> wrote:
>>
>>> Hi Jirka,
>>>
>>> I used the following command but did't use --product and --version at
>>> all.
>>> Btw, does livecd-creator read from /etc/os-release when we ignore both
>>> --product and --version?
>>>
>>> livecd-creator --verbose --config=hanthana-live-workstation.ks
>>> --fslabel=h30 --cache=cache --tmpdir=tmp
>>>
>>> Then I copied fresh kisktars shipped by fedora and rerun with my custom
>>> configs.
>>> I could not reproduce the issue.
>>>
>>> I wonder if the issue caused by following entries in the /etc/os-release
>>> file.
>>>
>>> REDHAT_BUGZILLA_PRODUCT="Fedora"
>>> REDHAT_SUPPORT_PRODUCT="Fedora"
>>>
>>>
>>> Btw, there is a new issue occurred.
>>> As in this image, Anaconda keeps duplicating the values of
>>> redhat-release file.
>>> I am not sure if its a bug or I mage a mistake.
>>>
>>> https://pasteboard.co/IvvT4nf.png
>>>
>>> Added Hanthana Workstation (Vishwa)' in to the redhat-release file.
>>> https://pasteboard.co/IvvSiU5.png
>>>
>>> If you have digital at the end, it only repeats the digit.
>>> When using "Hanthana 30"
>>> https://pasteboard.co/IvvTyBT.png
>>>
>>>
>>>
Anaconda reads the product name and the product version from
/etc/system-release on Live ISO or from the .buildstamp file in network
installations. See my comment about the .buildstamp file below. I think
that all these problems are related.


> On Mon, Sep 2, 2019 at 1:06 PM <[email protected]> wrote:
>>>
>>>> Hello,
>>>>
>>>> You have probably used bad parameters when you were invoking lorax. You
>>>> have to use correct --product and --version parameters otherwise we will be
>>>> handling your ISO as Rawhide.
>>>>
>>>> Could you please tell us what command did you used to create your ISO?
>>>>
>>>> Regards,
>>>> Jirka
>>>>
>>>> On Sat, 2019-08-31 at 18:12 +0530, Danishka Navin wrote:
>>>>
>>>> Hi there,
>>>>
>>>> When I was trying to install f30 based remixed ISO,
>>>> "PRE-RELEASE/TESTING" text appearing in top-right hand side of anaconda GUI.
>>>> May I know what could cause this?
>>>>
>>>>
>> Hello,
>>
>> for Live ISO, there is a little crazy logic that sets up the flag for a
>> final release:
>>
>> https://github.com/rhinstaller/anaconda/blob/master/data/liveinst/liveinst#L93
>>
>> Basically, it is determined by a version of a package that provides
>> system-release, so I would check that.
>>
>> What is the output of these commands, when you run them on your ISO?
>> rpm -q  --whatprovides system-release
>> rpm -q --qf '%{Release}' --whatprovides system-release
>>
>
>
> $ rpm -q  --whatprovides system-release
> fedora-release-workstation-30-900.noarch
> $ rpm -q --qf '%{Release}' --whatprovides system-release
> 900[
>
>
It seems to be correct. The liveinst script should set the environment
variable ANACONDA_ISFINAL to True before Anaconda is started.

Network installations use the IsFinal attribute of the .buildstamp file to
determine the value of the flag, but Live ISO shouldn't have this file and
should use ANACONDA_ISFINAL instead. The path to the .buildstamp file can
be /.buildstamp, /tmp/product/.buildstamp or set by the environment
variable PRODBUILDPATH. Could you check that these files do not exist on
your ISO?

Otherwise, I would recommend to report a bug at https://bugzilla.redhat.com/
and attach the Anaconda logs from the installation.


>
>
>> Vendy
>>
>>
>>> both os-release and redhat-release updated and I can see given values.
>>>> both fedora and fedora-update repos used during the ISO build along
>>>> with few 3rd party repos.
>>>>
>>>> Regards,
>>>> --
>>>> Danishka Navin
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>>
>>>> Anaconda-devel-list mailing list
>>>>
>>>> [email protected]
>>>>
>>>>
>>>> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>>>>
>>>> _______________________________________________
>>>> Anaconda-devel-list mailing list
>>>> [email protected]
>>>> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>>>
>>>
>>>
>>> --
>>> Danishka Navin
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Anaconda-devel-list mailing list
>>> [email protected]
>>> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>>
>> _______________________________________________
>> Anaconda-devel-list mailing list
>> [email protected]
>> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>
>
>
> --
> Danishka Navin
>
>
>
>
>
> _______________________________________________
> Anaconda-devel-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

--0000000000002ebf220591b97deb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"></div><br><div class=3D"gmail_quote"><div=
 dir=3D"ltr" class=3D"gmail_attr">On Tue, Sep 3, 2019 at 7:29 PM Danishka N=
avin &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; w=
rote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0p=
x 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Tue, Sep 3, 2019 at 6:16 PM Vendula Poncov=
a &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">vponcova@red=
hat.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex"><div dir=3D"ltr"><div dir=3D"ltr"></div><br><div class=3D"gmail_quot=
e"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Sep 2, 2019 at 9:56 AM Dan=
ishka Navin &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">dan=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pad=
ding-left:1ex"><div dir=3D"ltr"><div>Hi Jirka,</div><div><br></div><div>I u=
sed the following command but did&#39;t use --product and --version at all.=
</div><div>Btw, does livecd-creator read from /etc/os-release when we ignor=
e both --product and --version?</div><div><br></div><div>livecd-creator --v=
erbose --config=3Dhanthana-live-workstation.ks --fslabel=3Dh30 --cache=3Dca=
che --tmpdir=3Dtmp</div><div><br></div><div>Then I copied fresh kisktars sh=
ipped by fedora and rerun with my custom configs.</div><div>I could not rep=
roduce the issue.</div><div><br></div><div>I wonder if the issue caused by =
following entries in the /etc/os-release file. <br></div><div><br></div><di=
v>REDHAT_BUGZILLA_PRODUCT=3D&quot;Fedora&quot;<br>REDHAT_SUPPORT_PRODUCT=3D=
&quot;Fedora&quot;<br></div><div><br></div><div><br></div><div>Btw, there i=
s a new issue occurred.</div><div>As in this image, Anaconda keeps duplicat=
ing the values of redhat-release file.</div><div>I am not sure if its a bug=
 or I mage a mistake.<br></div><div><div></div><div><br></div><div><a href=
=3D"https://pasteboard.co/IvvT4nf.png" target=3D"_blank">https://pasteboard=
.co/IvvT4nf.png</a></div></div><div><br></div><div><div>Added Hanthana Work=
station (Vishwa)&#39; <span class=3D"gmail-m_5351033641258905841gmail-m_104=
6459357742151579gmail-m_2206052769215585751gmail-gr_ gmail-m_53510336412589=
05841gmail-m_1046459357742151579gmail-m_2206052769215585751gmail-gr_655 gma=
il-m_5351033641258905841gmail-m_1046459357742151579gmail-m_2206052769215585=
751gmail-gr-alert gmail-m_5351033641258905841gmail-m_1046459357742151579gma=
il-m_2206052769215585751gmail-gr_spell gmail-m_5351033641258905841gmail-m_1=
046459357742151579gmail-m_2206052769215585751gmail-gr_inline_cards gmail-m_=
5351033641258905841gmail-m_1046459357742151579gmail-m_2206052769215585751gm=
ail-gr_run_anim gmail-m_5351033641258905841gmail-m_1046459357742151579gmail=
-m_2206052769215585751gmail-ContextualSpelling gmail-m_5351033641258905841g=
mail-m_1046459357742151579gmail-m_2206052769215585751gmail-multiReplace" id=
=3D"gmail-m_5351033641258905841gmail-m_1046459357742151579gmail-m_220605276=
9215585751gmail-655">in to</span> the <span class=3D"gmail-m_53510336412589=
05841gmail-m_1046459357742151579gmail-m_2206052769215585751gmail-gr_ gmail-=
m_5351033641258905841gmail-m_1046459357742151579gmail-m_2206052769215585751=
gmail-gr_653 gmail-m_5351033641258905841gmail-m_1046459357742151579gmail-m_=
2206052769215585751gmail-gr-alert gmail-m_5351033641258905841gmail-m_104645=
9357742151579gmail-m_2206052769215585751gmail-gr_spell gmail-m_535103364125=
8905841gmail-m_1046459357742151579gmail-m_2206052769215585751gmail-gr_inlin=
e_cards gmail-m_5351033641258905841gmail-m_1046459357742151579gmail-m_22060=
52769215585751gmail-gr_run_anim gmail-m_5351033641258905841gmail-m_10464593=
57742151579gmail-m_2206052769215585751gmail-ContextualSpelling gmail-m_5351=
033641258905841gmail-m_1046459357742151579gmail-m_2206052769215585751gmail-=
ins-del gmail-m_5351033641258905841gmail-m_1046459357742151579gmail-m_22060=
52769215585751gmail-multiReplace" id=3D"gmail-m_5351033641258905841gmail-m_=
1046459357742151579gmail-m_2206052769215585751gmail-653">redhat</span>-rele=
ase file.</div></div><div><a href=3D"https://pasteboard.co/IvvSiU5.png" tar=
get=3D"_blank">https://pasteboard.co/IvvSiU5.png</a></div><div><br></div><d=
iv>If you have digital at the end, it only repeats the digit.</div><div>Whe=
n using &quot;Hanthana 30&quot; <br></div><div></div><div><a href=3D"https:=
//pasteboard.co/IvvTyBT.png" target=3D"_blank">https://pasteboard.co/IvvTyB=
T.png</a></div><div><br></div></div><br></blockquote></div></div></blockquo=
te></div></div></blockquote><div><br></div><div>Anaconda reads the product =
name and the product version from /etc/system-release on Live ISO or from t=
he .buildstamp file in network installations. See my comment about the .bui=
ldstamp file below. I think that all these problems are related.<br></div><=
div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex"><div class=3D"gmail_quote"><div dir=3D"ltr" c=
lass=3D"gmail_attr">On Mon, Sep 2, 2019 at 1:06 PM &lt;<a href=3D"mailto:jk=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex"><div style=3D"text-=
align:left;direction:ltr"><div>Hello,</div><div><br></div><div>You have pro=
bably used bad parameters when you were invoking lorax. You have to use cor=
rect --product and --version parameters otherwise we will be handling your =
ISO as Rawhide.</div><div><br></div><div>Could you please tell us what comm=
and did you used to create your ISO?</div><div><br></div><div>Regards,</div=
><div>Jirka</div><div><br></div><div>On Sat, 2019-08-31 at 18:12 +0530, Dan=
ishka Navin wrote:</div><blockquote type=3D"cite" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div dir=
=3D"ltr"><div>Hi there,</div><div><br></div><div>When I was trying to insta=
ll f30 based remixed ISO,=C2=A0 &quot;PRE-RELEASE/TESTING&quot; text appear=
ing in top-right hand side of anaconda GUI.</div><div>May I know what could=
 cause this?</div><div><br></div></div></blockquote></div></blockquote></di=
v></blockquote><div><br></div><div>Hello,</div><div><br></div><div>for Live=
 ISO, there is a little crazy logic that sets up the flag for a final relea=
se:</div><div><a href=3D"https://github.com/rhinstaller/anaconda/blob/maste=
r/data/liveinst/liveinst#L93" target=3D"_blank">https://github.com/rhinstal=
ler/anaconda/blob/master/data/liveinst/liveinst#L93</a></div><div><br></div=
><div>Basically, <span class=3D"gmail-m_5351033641258905841gmail-m_10464593=
57742151579gmail-tlid-translation gmail-m_5351033641258905841gmail-m_104645=
9357742151579gmail-translation" lang=3D"en"><span title=3D"" class=3D"gmail=
-m_5351033641258905841gmail-m_1046459357742151579gmail-">it is determined b=
y</span></span> a version of a package that provides system-release, so I w=
ould check that.</div><div><br></div><div>What is the output of these comma=
nds, when you run them on your ISO?</div><div></div><div></div><div>rpm -q =
=C2=A0--whatprovides system-release</div><div><span class=3D"gmail-m_535103=
3641258905841gmail-m_1046459357742151579gmail-pl-s">rpm -q --qf <span class=
=3D"gmail-m_5351033641258905841gmail-m_1046459357742151579gmail-pl-s"><span=
 class=3D"gmail-m_5351033641258905841gmail-m_1046459357742151579gmail-pl-pd=
s">&#39;</span>%{Release}<span class=3D"gmail-m_5351033641258905841gmail-m_=
1046459357742151579gmail-pl-pds">&#39;</span></span> --whatprovides system-=
release</span></div></div></div></blockquote><div><br></div><div><br></div>=
<div>$ rpm -q =C2=A0--whatprovides system-release<br>fedora-release-worksta=
tion-30-900.noarch<br>$ rpm -q --qf &#39;%{Release}&#39; --whatprovides sys=
tem-release<br>900[</div><div><br></div></div></div></blockquote><div><br><=
/div><div>It seems to be correct. The liveinst script should set the enviro=
nment variable <span class=3D"gmail-pl-s">ANACONDA_ISFINAL<span class=3D"gm=
ail-pl-pds"> to True before Anaconda is started.</span></span></div><br><di=
v>Network installations use the IsFinal attribute of the .buildstamp file t=
o determine the value of the flag, but Live ISO shouldn&#39;t have this fil=
e and should use <span class=3D"gmail-pl-s">ANACONDA_ISFINAL instead. The p=
ath to the .buildstamp file can be /.buildstamp<span class=3D"gmail-pl-pds"=
></span></span>, <span class=3D"gmail-pl-s"><span class=3D"gmail-pl-pds"></=
span>/tmp/product/.buildstamp</span> or set by the environment variable <sp=
an class=3D"gmail-pl-s"><span class=3D"gmail-pl-pds"></span>PRODBUILDPATH<s=
pan class=3D"gmail-pl-pds"></span></span>. Could you check that these files=
 do not exist on your ISO?</div><div><br></div><div>Otherwise, I would reco=
mmend to report a bug at <a href=3D"https://bugzilla.redhat.com/">https://b=
ugzilla.redhat.com/</a> and attach the Anaconda logs from the installation.=
<br></div><div><span class=3D"gmail-pl-s"><span class=3D"gmail-pl-pds"></sp=
an></span></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><div></div><div> <br></=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div=
 class=3D"gmail_quote"><div><span class=3D"gmail-m_5351033641258905841gmail=
-m_1046459357742151579gmail-pl-s"><span class=3D"gmail-m_535103364125890584=
1gmail-m_1046459357742151579gmail-pl-pds"></span></span></div><div><br></di=
v><div>Vendy<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padd=
ing-left:1ex"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex"><div style=3D"text-align:left;direction:ltr"><blockquote ty=
pe=3D"cite" style=3D"margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114=
,159,207);padding-left:1ex"><div dir=3D"ltr"><div></div><div>both os-releas=
e and redhat-release updated and I can see given values.</div><div>both fed=
ora and fedora-update repos used during the ISO build along with few 3rd pa=
rty repos.=C2=A0 <br></div><div><br></div><div>Regards,<br></div><div>-- <b=
r><div dir=3D"ltr" class=3D"gmail-m_5351033641258905841gmail-m_104645935774=
2151579gmail-m_2206052769215585751gmail-m_-1168110158043345670gmail_signatu=
re"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>Danishka Navin<br><br><br><=
br><br><br></div></div></div></div></div></div></div>
<pre>_______________________________________________</pre><pre>Anaconda-dev=
el-list mailing list</pre><a href=3D"mailto:[email protected]"=
 target=3D"_blank"><pre>[email protected]</pre></a><pre><br></=
pre><a href=3D"https://www.redhat.com/mailman/listinfo/anaconda-devel-list"=
 target=3D"_blank"><pre>https://www.redhat.com/mailman/listinfo/anaconda-de=
vel-list</pre></a></blockquote></div>______________________________________=
_________<br>Anaconda-devel-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Anacond=
[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/anaconda-devel-list" rel=
=3D"noreferrer" target=3D"_blank">https://www.redhat.com/mailman/listinfo/a=
naconda-devel-list</a></blockquote></div><br clear=3D"all"><br>-- <br><div =
dir=3D"ltr" class=3D"gmail-m_5351033641258905841gmail-m_1046459357742151579=
gmail-m_2206052769215585751gmail_signature"><div dir=3D"ltr"><div><div dir=
=3D"ltr"><div>Danishka Navin<br><br><br><br><br><br></div></div></div></div=
></div>_______________________________________________<br>Anaconda-devel-li=
st mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Anacond=
[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/anaconda-devel-list" rel=
=3D"noreferrer" target=3D"_blank">https://www.redhat.com/mailman/listinfo/a=
naconda-devel-list</a></blockquote></div></div>____________________________=
___________________<br>Anaconda-devel-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Anacond=
[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/anaconda-devel-list" rel=
=3D"noreferrer" target=3D"_blank">https://www.redhat.com/mailman/listinfo/a=
naconda-devel-list</a></blockquote></div><br clear=3D"all"><br>-- <br><div =
dir=3D"ltr" class=3D"gmail-m_5351033641258905841gmail_signature"><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div>Danishka Navin<br><br><br><br><br><br><=
/div></div></div></div></div></div>
_______________________________________________<br>
Anaconda-devel-list mailing list<br>
<a href=3D"mailto:[email protected]" target=3D"_blank">Anacond=
[email protected]</a><br>
<a href=3D"https://www.redhat.com/mailman/listinfo/anaconda-devel-list" rel=
=3D"noreferrer" target=3D"_blank">https://www.redhat.com/mailman/listinfo/a=
naconda-devel-list</a></blockquote></div></div>

--0000000000002ebf220591b97deb--


--===============4147860649161017758==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Anaconda-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
--===============4147860649161017758==--