[Spacewalk-list] How to create local repo on Spacewalk

2018-09-27 Thread Harshal Lakare
You can simple run script to add your local repo in kickstart file.


Regards,

Harshal Lakare
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] import older errata

2018-09-27 Thread Harshal Lakare
Hello,

I recently encountered with spacewalk's errata , i noticed or i did not
able to find a way to import older errata than 2018. Our internal security
scanner has reported CVE than 2018 (once CVE i found from 1990 ) . How do i
import those into spacewalk ?


Regards,

Harshal Lakare
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] RHN channel into spacewalk

2016-07-25 Thread Harshal Lakare
Hello Guys,

Is it legal to import RHN channel into spacewalk using mrepo or someanother
way ?

-- 
Harshal Lakare
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

[Spacewalk-list] RHEL in Spacewalk

2016-07-18 Thread Harshal Lakare
Hello,

How do i import RHN channels into my local spacewalk server so i can update
my RHEL machines from it.

-- 
Harshal Lakare
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Centos-7 kickstart problem

2016-07-12 Thread Harshal Lakare
>
>
> Sorry for late response from my side, by adding   @^ Server with GUI helps
> me and now its working, i'm still not able to find reason about repo.xml.
> --
>
> Message: 2
> Date: Fri, 1 Jul 2016 02:55:19 -0400 (EDT)
> From: Ales Dujicek <aduji...@redhat.com>
> To: spacewalk-list@redhat.com
> Subject: Re: [Spacewalk-list] Centos-7 kickstart problem
> Message-ID:
> <713737072.1377223.1467356119602.javamail.zim...@redhat.com>
> Content-Type: text/plain; charset=utf-8
>
> Hello,
>
> if you want to install "Server with GUI" group you may have to to use
> @^ Server with GUI
>
> because it is environment group:
>
> # yum grouplist
> ...
> Available Environment Groups:
>Server with GUI
> ...
> Available Groups:
> ...
>
> # man yum
> ... If the name
> starts with @^ then it is treated as an environment group (group
> install  @^foo),  an  @  character  and  it's treated as a group
> (plain group install).
> ...
>
> repomd.xml is downloaded by yum automatically, it looks like networking
> problem
>
> Regards,
> Ales
>
>
>
> - Original Message -
> From: "Harshal Lakare" <harshal.lak...@gmail.com>
> To: spacewalk-list@redhat.com
> Sent: Monday, June 27, 2016 8:09:57 PM
> Subject: Re: [Spacewalk-list] Centos-7 kickstart problem
>
> Is there anything wrong with my setup, i'm following standard setup
> instruction ? and where do i need to place that repomd.xml (Client/server)
> ?.
>
>
> repomd.xml issue most probably depends on your setup.
>
> I can download the repomd.xml:
>
> $ wget http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> --2016-06-27 14:12:59--
> http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> Resolving mirror.centos.org ( mirror.centos.org )... 2604:6600:0:1f::2,
> 216.172.56.29
> Connecting to mirror.centos.org ( mirror.centos.org
> )|2604:6600:0:1f::2|:80... failed: Connection refused.
> Connecting to mirror.centos.org ( mirror.centos.org )| 216.172.56.29
> |:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 3735 (3.6K) [text/xml]
> Saving to: ?repomd.xml?
>
> repomd.xml
> 100%[=>]
> 3.65K --.-KB/s in 0s
>
> 2016-06-27 14:12:59 (287 MB/s) - ?repomd.xml? saved [3735/3735]
>
> however, I see the first attempt failed, as ipv6 address was used:
>
> $ wget -6 http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> --2016-06-27 14:14:23--
> http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> Resolving mirror.centos.org ( mirror.centos.org )... 2605:9000:401:103::2
> Connecting to mirror.centos.org ( mirror.centos.org
> )|2605:9000:401:103::2|:80... failed: Connection refused.
>
> Using the ipv4 works as expected:
>
> $ wget -4 http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> --2016-06-27 14:14:44--
> http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> Resolving mirror.centos.org ( mirror.centos.org )... 65.182.107.60
> Connecting to mirror.centos.org ( mirror.centos.org
> )|65.182.107.60|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 3735 (3.6K) [text/xml]
> Saving to: ?repomd.xml.1?
>
> repomd.xml.1
> 100%[=========>]
> 3.65K --.-KB/s in 0s
>
> 2016-06-27 14:14:45 (231 MB/s) - ?repomd.xml.1? saved [3735/3735]
>
>
> Regards,
> --
> Tomas Lestach
> Red Hat Satellite Engineering, Red Hat
>
>
> - Original Message -----
> > From: "Harshal Lakare" < harshal.lak...@gmail.com >
> > To: spacewalk-list@redhat.com
> > Sent: Monday, June 27, 2016 1:52:42 PM
> > Subject: Re: [Spacewalk-list] Centos-7 kickstart problem
> >
> >
> >
> >
> >
> >
> > Thank You Thomas for replying. But adding @Server with GUI did not
> > help also any idea about that that repodata xml error ?
> >
> >
> > Regards,
> > Harshal Lakare
> >
> >
> >
> >
> > --
> >
> > Message: 3
> > Date: Mon, 27 Jun 2016 05:51:16 -0400 (EDT)
> > From: Tomas Lestach < tlest...@redhat.com >
> > To: spacewalk-list@redhat.com
> > Subject: Re: [Spacewalk-list] Centos-7 kickstart problem
> > Message-ID:
> > <
> > 5299284.31752.1467021074929.javamail.tlest...@well.usersys.redhat.com
> > >
> 

Re: [Spacewalk-list] Centos-7 kickstart problem

2016-06-27 Thread Harshal Lakare
Is there anything wrong with my setup, i'm following standard setup
instruction  ? and where do i need to place that repomd.xml (Client/server)
?.


> repomd.xml issue most probably depends on your setup.
>
> I can download the repomd.xml:
>
> $ wget http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> --2016-06-27 14:12:59--
> http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> Resolving mirror.centos.org (mirror.centos.org)... 2604:6600:0:1f::2,
> 216.172.56.29
> Connecting to mirror.centos.org (mirror.centos.org)|2604:6600:0:1f::2|:80...
> failed: Connection refused.
> Connecting to mirror.centos.org (mirror.centos.org)|216.172.56.29|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 3735 (3.6K) [text/xml]
> Saving to: ?repomd.xml?
>
> repomd.xml
> 100%[=>]
>  3.65K  --.-KB/sin 0s
>
> 2016-06-27 14:12:59 (287 MB/s) - ?repomd.xml? saved [3735/3735]
>
> however, I see the first attempt failed, as ipv6 address was used:
>
> $ wget -6 http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> --2016-06-27 14:14:23--
> http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> Resolving mirror.centos.org (mirror.centos.org)... 2605:9000:401:103::2
> Connecting to mirror.centos.org 
> (mirror.centos.org)|2605:9000:401:103::2|:80...
> failed: Connection refused.
>
> Using the ipv4 works as expected:
>
> $ wget -4 http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> --2016-06-27 14:14:44--
> http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
> Resolving mirror.centos.org (mirror.centos.org)... 65.182.107.60
> Connecting to mirror.centos.org (mirror.centos.org)|65.182.107.60|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 3735 (3.6K) [text/xml]
> Saving to: ?repomd.xml.1?
>
> repomd.xml.1
> 100%[=>]
>  3.65K  --.-KB/sin 0s
>
> 2016-06-27 14:14:45 (231 MB/s) - ?repomd.xml.1? saved [3735/3735]
>
>
> Regards,
> --
> Tomas Lestach
> Red Hat Satellite Engineering, Red Hat
>
>
> - Original Message -
> > From: "Harshal Lakare" <harshal.lak...@gmail.com>
> > To: spacewalk-list@redhat.com
> > Sent: Monday, June 27, 2016 1:52:42 PM
> > Subject: Re: [Spacewalk-list] Centos-7 kickstart problem
> >
> >
> >
> >
> >
> >
> > Thank You Thomas for replying. But adding @Server with GUI did not
> > help also any idea about that that repodata xml error ?
> >
> >
> > Regards,
> > Harshal Lakare
> >
> >
> >
> >
> > --
> >
> > Message: 3
> > Date: Mon, 27 Jun 2016 05:51:16 -0400 (EDT)
> > From: Tomas Lestach < tlest...@redhat.com >
> > To: spacewalk-list@redhat.com
> > Subject: Re: [Spacewalk-list] Centos-7 kickstart problem
> > Message-ID:
> > <
> > 5299284.31752.1467021074929.javamail.tlest...@well.usersys.redhat.com
> > >
> >
> > Content-Type: text/plain; charset="utf-8"
> >
> > > Hello,
> > >
> > >
> > > I'm facing two issue with my Kickstart based Centos-7.7
> > > installation.
> > >
> >
> > I suppose Centos-7.7 is a typo. :-)
> >
> > >
> > > 1) I want to install "Server with GUI" but whenver i add "@Server
> > > with GUI" it give me error at the time of installation. Here is the
> > > error
> >
> >
> > Does it help, if you specify @"Server with GUI"?
> >
> > Regards,
> > --
> > Tomas Lestach
> > Red Hat Satellite Engineering, Red Hat
> >
> >
> > >
> > >
> > > Inline images 1
> > >
> > >
> > >
> > >
> > > 2) After saying yes to above question installation went successful
> > > but when i do yum check-update its gives me below error.
> > >
> > >
> > >
> > > [root@rooottooo ~]# yum check-update
> > > Loaded plugins: fastestmirror, langpacks, rhnplugin
> > > This system is receiving updates from RHN Classic or Red Hat
> > > Satellite.
> > > base | 3.6 kB 00:00:00
> > > extras | 3.4 kB 00:00:00
> > > updates | 3.4 kB 00:00:00
> > > Loading mirror speeds from cached hostfile
> > > * base: centos.mirror

[Spacewalk-list] Centos-7 kickstart problem

2016-06-24 Thread Harshal Lakare
Hello,

I'm facing two issue with my Kickstart based Centos-7.7 installation.

1)  I want to install "Server with GUI" but whenver i add "@Server with
GUI" it give me error at the time of installation. Here is the error

  [image: Inline images 1]


2) After saying yes to above question installation went successful but when
i do yum check-update its gives me below error.

[root@rooottooo ~]# yum check-update
Loaded plugins: fastestmirror, langpacks, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
base
   | 3.6 kB  00:00:00
extras
   | 3.4 kB  00:00:00
updates
  | 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
 * base: centos.mirror.net.in
 * extras: mirrors.vonline.vn
 * updates: mirrors.vonline.vn


 One of the configured repositories failed (Unknown),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

 1. Contact the upstream for the repository and get them to fix the
problem.

 2. Reconfigure the baseurl/etc. for the repository, to point to a
working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).

 3. Disable the repository, so yum won't use it by default. Yum will
then
just ignore the repository until you permanently enable it again or
use
--enablerepo for temporary usage:

yum-config-manager --disable 

 4. Configure the failing repository to be skipped, if it is
unavailable.
Note that yum will try to contact the repo. when it runs most
commands,
so will have to try and fail each time (and thus. yum will be be
much
slower). If it is a very temporary problem though, this is often a
nice
compromise:

yum-config-manager --save
--setopt=.skip_if_unavailable=true

failed to retrieve repodata/repomd.xml from centos7-x86_64
error was [Errno 14] curl#51 - "Unable to communicate securely with peer:
requested domain name does not match the server's certificate."
[root@rooottooo ~]#


Is there anything thing wrong i'm doing ?

-- 
Harshal Lakare
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Re: [Spacewalk-list] Spacewalk-list Digest, Vol 97, Issue 24

2016-06-19 Thread Harshal Lakare
This has been resolved by editing these parameters in /etc/cobbler/settings

next_server:
redhat_management_server:
server:


>
> --
>
> Message: 1
> Date: Sun, 19 Jun 2016 11:09:45 +0530
> From: Harshal Lakare <harshal.lak...@gmail.com>
> To: spacewalk-list@redhat.com
> Subject: [Spacewalk-list] Re :Re: spacewalk kickstart failed to
> resolvedhostname
> Message-ID:
> <
> ca+-uep2nkg6qkqv5vvckgr4uc1g0jw1omos-6xfxo9b3rv4...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I dont think its related to dhcp, it has something to realate with
> spacewalk or kickstart itself, because in kickstart its referring to search
> domain not to FQDN. You can see in screenshot below its referring to
> http://spacewalk/ks/dist/org/1/centos7-7 , its should have refer to FQDN.
>
> [image: Inline images 1]
>
>
> > ------
> >
> > Message: 1
> > Date: Sat, 18 Jun 2016 13:09:51 +0530
> > From: Harshal Lakare <harshal.lak...@gmail.com>
> > To: spacewalk-list@redhat.com
> > Subject: [Spacewalk-list] Re :Re: Spacewalk-list Digest, Vol 97, Issue
> > 22
> > Message-ID:
> > <CA+-UEp3HGP_sy7M2KuD==cOkEwF=V72UFCcuZoB=
> > hua8apf...@mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Oh but my DNS have FQDN for my spacewalk server. How do force spacewalk
> to
> > use FQDN instate of short name, like its using http://spacewalk/ks/ but
> > how
> > we can force to use it as http://spacewalk.mydoaminname.com ?  i know
> this
> > is kinda silly question but i'm bit new in linux and spacewalk stuff.
> >
> >
> > >1. Re: spacewalk kickstart failed to resolved hostname
> > >   (Paul Robert Marino)
> > >
> > >
> > > --
> > >
> > > Message: 1
> > > Date: Fri, 17 Jun 2016 14:58:25 -0400
> > > From: Paul Robert Marino <prmari...@gmail.com>
> > > To: "spacewalk-list@redhat.com" <spacewalk-list@redhat.com>
> > > Subject: Re: [Spacewalk-list] spacewalk kickstart failed to resolved
> > > hostname
> > > Message-ID:
> > > <
> > > capjdpdbw61zptbaqqphoewbdpmmk0ud4rwaz0eonck3xq6n...@mail.gmail.com>
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > Thats not an FQDN (Fully Qualified Domain Name).
> > > If it is a hostname within the search domain list in /etc/resolve.conf
> on
> > > the other host you tested from then yes it would work on the host, but
> > not
> > > in the installer.
> > > The installer does not support using search domains to lookup hosts, it
> > > must be a FQDN.
> > > if you don't have a DNS available or for some reason don't want to use
> > the
> > > one provided you by whoever manages your DNS then you can rename your
> > > spacewalk server to its ip address I've done this on physically
> isolated
> > > lab lans with no external network access before (No internet so why do
> > you
> > > need a DNS?).
> > >
> > > On Fri, Jun 17, 2016 at 2:23 PM, Harshal Lakare <
> > harshal.lak...@gmail.com>
> > > wrote:
> > >
> > > > Hello Guys,
> > > >
> > > > I have configured spacewalk 2.4 and want to use to to provision new
> vms
> > > or
> > > > machines. I have successfully created a cobbler config from web
> > > interface.
> > > > At the time of PXE installation it fails at this point (PFA
> snapshot).
> > > >
> > > > [image: Inline images 1]
> > > >
> > > >
> > > > I check for DNS resolution is working fine, i can resolve it from
> > another
> > > > machine. is there anything wrong with my configuration ?
> > > >
> > > > --
> > > > Harshal Lakare
> > > > --
> > > > Harshal Lakare
> > > >
> > > > ___
> > > > Spacewalk-list mailing list
> > > > Spacewalk-list@redhat.com
> > > > https://www.redhat.com/mailman/listinfo/spacewalk-list
> > > >
> > > -- next part --
> > > An HTML attachment was scrubbed...
> > > URL: <
> > >
> >
> https://www.redhat.com/archives/

[Spacewalk-list] spacewalk kickstart failed to resolved hostname

2016-06-17 Thread Harshal Lakare
Hello Guys,

I have configured spacewalk 2.4 and want to use to to provision new vms or
machines. I have successfully created a cobbler config from web interface.
At the time of PXE installation it fails at this point (PFA snapshot).

[image: Inline images 1]


I check for DNS resolution is working fine, i can resolve it from another
machine. is there anything wrong with my configuration ?

-- 
Harshal Lakare
-- 
Harshal Lakare
___
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list