[Spacewalk-list] Kickstart CentOS 7

Waldirio Manhães Pinheiro waldirio at gmail.com
Tue Nov 4 16:06:09 UTC 2014


Friends

Before finish my download, I did the steps bellow

1. Change to my directory (tree) of centos7/repodata
2. Remove all files (rm -rf *)
3. Download all metadata from a repo (
http://mirror.globo.com/centos/7/os/x86_64/repodata/) with line bellow

[root at spacewalk repodata]# pwd
/var/satellite/rhn/kickstart/centos_7.0_x86-64/repodata
[root at spacewalk repodata]# rm -rf *
[root at spacewalk repodata]#  for b in $(elinks --source
http://mirror.globo.com/centos/7/os/x86_64/repodata/|grep href|cut -d"\""
-f2); do wget http://mirror.globo.com/centos/7/os/x86_64/repodata/$b; done

After this, works fine the kickstart installation.


Ps.: Downloading yet the dvd, after I'll test.

Thanks and Enjoy!


______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Tue, Nov 4, 2014 at 1:54 PM, Waldirio Manhães Pinheiro <
waldirio at gmail.com> wrote:

> Bob and friends, good afternoon
>
> Bob, I've found a bz (https://bugzilla.redhat.com/show_bug.cgi?id=1121990)
> and make sense, if work, probably the official dvd media have a little
> problem in metadata files.
>
> The idea is prepare the centos7 tree using the
> CentOS-7.0-1406-x86_64-Everything.iso media.
>
> Talking about the difference between them
> #####
> CentOS-7.0-1406-x86_64-DVD.iso
>   This DVD image contains all the packages that can be installed using the
>   installer. This is the recommended image for most users.
>
> CentOS-7.0-1406-x86_64-Everything.iso
>   This image contains the complete set of packages for CentOS 7. It can be
>   used for installing or populating a local mirror. This image needs a
> dual
>   layer DVD or an 8GB USB flash drive.
> #####
>
> I'm just downloading the .iso to test.
>
> B' Regards
>
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
> On Tue, Nov 4, 2014 at 1:26 PM, Waldirio Manhães Pinheiro <
> waldirio at gmail.com> wrote:
>
>> Hello Bob
>>
>> Ok, relax, when working I'll post news!
>>
>> Take Care
>>
>> ______________
>> Atenciosamente
>> Waldirio
>> msn: waldirio at gmail.com
>> Skype: waldirio
>> Site: www.waldirio.com.br
>> Blog: blog.waldirio.com.br
>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>> PGP: www.waldirio.com.br/public.html
>>
>> On Tue, Nov 4, 2014 at 1:14 PM, Jones, Robert W. (Bob) (rwj5d) <
>> rwj5d at eservices.virginia.edu> wrote:
>>
>>>  So I sent in a message last week about the very same problem, received
>>> one response and still no solution.  Please post if you find a solution as
>>> my forehead is already bloody from banging my head against that wall for so
>>> long.
>>>
>>>>>> Bob Jones
>>> UNIX Systems Senior Engineer
>>> ITS Systems and Storage Services
>>>
>>>  On Nov 4, 2014, at 8:00 AM, Waldirio Manhães Pinheiro <
>>> waldirio at gmail.com> wrote:
>>>
>>>  Hello Friends
>>>
>>>  I'm testing centos7 in my SW 2.2, just created base channel, epel,
>>> update and sw_client (all for centos7/rhel7).
>>>
>>>  When I'm doing the kickstart (pxe or .iso boot passing parameter
>>> ks=....), after the stage / message bellow, I receive the error message:
>>>
>>>  ####
>>> Starting package installation process
>>> =======================================
>>> =======================================
>>> Error
>>>
>>>  The following software marked for installation has errors. This is
>>> likely caused by an error with your installation source.
>>>
>>>  rhn-client-tools-2.2.6-1.el7.noarch requires python-dmidecode
>>> rhn-client-tools-2.2.6-1.el7.noarch requires python-gudev
>>>  rhn-client-tools-2.2.6-1.el7.noarch requires python-hwdata
>>> Press enter to exit.
>>>
>>>  ####
>>>
>>>  So what I did.
>>>
>>>  1. Files checked and ok (spacewalk-data-fsck too)
>>> 2. Removed files, spacewalk-data-fsck using -F -v parameters, after this
>>> sync in the channel again, all 3 files synced.
>>>
>>>  ###
>>>  [root at spacewalk satellite]# spacewalk-data-fsck -F -v
>>> Checking if packages from database are present on filesystem
>>> File missing:
>>> /var/satellite/redhat/1/698/python-hwdata/1.7.3-4.el7/noarch/69844bcc46fc70205d1d4e0ac058255d523e5edb75cc663135ec8cce4796ac2a/python-hwdata-1.7.3-4.el7.noarch.rpm
>>> File missing:
>>> /var/satellite/redhat/1/9bb/python-dmidecode/3.10.13-11.el7/x86_64/9bb2af97aed1c115b36d253817f015d54479021dd3fcede9f73638399e7da6e1/python-dmidecode-3.10.13-11.el7.x86_64.rpm
>>> File missing:
>>> /var/satellite/redhat/1/445/python-gudev/147.2-7.el7/x86_64/445c5ebc9f0c72c0816785c6943713966720d8496307d1e5ec91310fef1b151f/python-gudev-147.2-7.el7.x86_64.rpm
>>> 38166 files scanned
>>> ERROR:     3 files missing on disk
>>> Checking if packages from filesystem are present in database
>>> 38166 files scanned
>>> [root at spacewalk satellite]#
>>>  ###
>>>
>>>  3. When I try to download the file directly from SW url, the download
>>> come normally (
>>> http://spacewalk.network.biz/ks/dist/centos_7.0_x86-64/python-dmidecode-3.10.13-11.el7.x86_64.rpm
>>> )
>>>
>>>
>>>  After all checks / changes, the problem persist.
>>>
>>>  Any idea !?
>>>
>>>  B' Regards
>>>
>>>  ______________
>>> Atenciosamente
>>> Waldirio
>>> msn: waldirio at gmail.com
>>> Skype: waldirio
>>> Site: www.waldirio.com.br
>>> Blog: blog.waldirio.com.br
>>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>>> PGP: www.waldirio.com.br/public.html
>>>   _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141104/b6af1291/attachment.htm>


More information about the Spacewalk-list mailing list