Great to hear. For custom content, start here - http://www.katello.org/docs/user_guide/content/content.html
You'll note that we have a number of user guides for all the major
pieces of Katello that are recommended reading as a starting place.
Eric
···
On Wed, Oct 1, 2014 at 11:06 AM, wrote:
> That did the trick! Now I can see the Enable? check boxes. Thank you!
>
> Now, will I be able to set up other repositories? I.e, for CentOSv5 & v6
> 64-bit - are there instructions for that?
>
> On Wednesday, October 1, 2014 10:47:00 AM UTC-4, jsherril wrote:
>>
>> On 10/01/2014 10:34 AM, marc....@priceline.com wrote:
>> > Where do I enter the proxy information? I'd like to try that....
>>
>> re-run katello-installer with these options:
>>
>> --katello-proxy-url=http://proxy.hostname.com
>> --katello-proxy-port=8080
>> --katello-proxy-password=password
>> --katello-proxy-username=username
>>
>> omitting username and password if they are not needed. Make sure to
>> specify the full url for the proxy URL (not just the hostname)
>>
>> Once that completes, run:
>>
>> service foreman-tasks restart
>>
>> and then try again.
>>
>> -Justin
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
I'm still chugging along on setting up and testing Katello/Foreman… and
now I'm trying to register a host server so that I could manage patching
the system (the purpose of using Katello as a replacement of our Satellite
server). I'm trying to register a CentOS6 64-bit system. I've created a
repository for CentOS6x86_64 and when I follow the instructions to
"Register a Content Host", I get the following error message:
[root@nw-fnx-002 ~]# subscription-manager register --org="Priceline_com"
–environment="Library"
Unable to find Subscription Manager module.
Error: cannot import name create_from_file
Any thoughts what's causing this?
Thanks.
···
On Wednesday, October 1, 2014 11:56:58 AM UTC-4, marc....@priceline.com wrote:
>
> I'm sync'ing the RedHat Packages successfuly now, But, I don't see any
> Errata data being sync'ed? I don't see an Errata check box to enable them?
>
> On Wednesday, October 1, 2014 10:47:00 AM UTC-4, jsherril wrote:
>>
>> On 10/01/2014 10:34 AM, marc....@priceline.com wrote:
>> > Where do I enter the proxy information? I'd like to try that....
>>
>> re-run katello-installer with these options:
>>
>> --katello-proxy-url=http://proxy.hostname.com
>> --katello-proxy-port=8080
>> --katello-proxy-password=password
>> --katello-proxy-username=username
>>
>> omitting username and password if they are not needed. Make sure to
>> specify the full url for the proxy URL (not just the hostname)
>>
>> Once that completes, run:
>>
>> service foreman-tasks restart
>>
>> and then try again.
>>
>> -Justin
>>
>>
>>
That did the trick! Now I can see the Enable? check boxes. Thank you!
Now, will I be able to set up other repositories? I.e, for CentOSv5 & v6
64-bit - are there instructions for that?
···
On Wednesday, October 1, 2014 10:47:00 AM UTC-4, jsherril wrote:
>
> On 10/01/2014 10:34 AM, marc....@priceline.com wrote:
> > Where do I enter the proxy information? I'd like to try that....
>
> re-run katello-installer with these options:
>
> --katello-proxy-url=http://proxy.hostname.com
> --katello-proxy-port=8080
> --katello-proxy-password=password
> --katello-proxy-username=username
>
> omitting username and password if they are not needed. Make sure to
> specify the full url for the proxy URL (not just the hostname)
>
> Once that completes, run:
>
> service foreman-tasks restart
>
> and then try again.
>
> -Justin
>
>
>
I'm sync'ing the RedHat Packages successfuly now, But, I don't see any
Errata data being sync'ed? I don't see an Errata check box to enable them?
···
On Wednesday, October 1, 2014 10:47:00 AM UTC-4, jsherril wrote:
>
> On 10/01/2014 10:34 AM, marc....@priceline.com wrote:
> > Where do I enter the proxy information? I'd like to try that....
>
> re-run katello-installer with these options:
>
> --katello-proxy-url=http://proxy.hostname.com
> --katello-proxy-port=8080
> --katello-proxy-password=password
> --katello-proxy-username=username
>
> omitting username and password if they are not needed. Make sure to
> specify the full url for the proxy URL (not just the hostname)
>
> Once that completes, run:
>
> service foreman-tasks restart
>
> and then try again.
>
> -Justin
>
>
>
>
> Eric, Justin,
>
> I'm still chugging along on setting up and testing Katello/Foreman… and
> now I'm trying to register a host server so that I could manage patching
> the system (the purpose of using Katello as a replacement of our Satellite
> server). I'm trying to register a CentOS6 64-bit system. I've created a
> repository for CentOS6x86_64 and when I follow the instructions to
> "Register a Content Host", I get the following error message:
>
> [root@nw-fnx-002 ~]# subscription-manager register --org="Priceline_com"
> --environment="Library"
> Unable to find Subscription Manager module.
> Error: cannot import name create_from_file
>
> Any thoughts what's causing this?
>
> Thanks.
>
Hi Marc, could you confirm the versions of subscription-manager and
python-rhsm you have installed?
Also could you extract the likely stacktrace from /var/log/rhsm/rhsm.log on
the client system.
Thanks.
···
On Thursday, October 2, 2014 12:00:41 PM UTC-3, marc....@priceline.com wrote:
[root@nw-fnx-002 ~]# ls -tlr /var/log/rhsm/rhsm.log
-rw-r–r-- 1 root root 0 Oct 2 10:45 /var/log/rhsm/rhsm.log
Thanks!
···
On Thursday, October 2, 2014 11:31:33 AM UTC-4, Devan Goodwin wrote:
>
>
>
> On Thursday, October 2, 2014 12:00:41 PM UTC-3, marc....@priceline.com > wrote:
>>
>> Eric, Justin,
>>
>> I'm still chugging along on setting up and testing Katello/Foreman....
>> and now I'm trying to register a host server so that I could manage
>> patching the system (the purpose of using Katello as a replacement of our
>> Satellite server). I'm trying to register a CentOS6 64-bit system. I've
>> created a repository for CentOS6x86_64 and when I follow the instructions
>> to "Register a Content Host", I get the following error message:
>>
>> [root@nw-fnx-002 ~]# subscription-manager register --org="Priceline_com"
>> --environment="Library"
>> Unable to find Subscription Manager module.
>> Error: cannot import name create_from_file
>>
>> Any thoughts what's causing this?
>>
>> Thanks.
>>
>
> Hi Marc, could you confirm the versions of subscription-manager and
> python-rhsm you have installed?
>
> Also could you extract the likely stacktrace from /var/log/rhsm/rhsm.log
> on the client system.
>
> Thanks.
>
>
>
>>
>>
>> On Wednesday, October 1, 2014 11:56:58 AM UTC-4, marc....@priceline.com >> wrote:
>>>
>>> I'm sync'ing the RedHat Packages successfuly now, But, I don't see any
>>> Errata data being sync'ed? I don't see an Errata check box to enable them?
>>>
>>> On Wednesday, October 1, 2014 10:47:00 AM UTC-4, jsherril wrote:
>>>>
>>>> On 10/01/2014 10:34 AM, marc....@priceline.com wrote:
>>>> > Where do I enter the proxy information? I'd like to try that....
>>>>
>>>> re-run katello-installer with these options:
>>>>
>>>> --katello-proxy-url=http://proxy.hostname.com
>>>> --katello-proxy-port=8080
>>>> --katello-proxy-password=password
>>>> --katello-proxy-username=username
>>>>
>>>> omitting username and password if they are not needed. Make sure to
>>>> specify the full url for the proxy URL (not just the hostname)
>>>>
>>>> Once that completes, run:
>>>>
>>>> service foreman-tasks restart
>>>>
>>>> and then try again.
>>>>
>>>> -Justin
>>>>
>>>>
>>>>
>
> Sure Devan, here you go…
>
> [root@nw-fnx-002 ~]# rpm -qa | grep subscr
> subscription-manager-1.13.2-1.el6.x86_64
>
This version of subscription-manager requires python-rhsm >= 1.12.3, your
version is extremely old. yum/rpm would have complained about this, did
you force install some rpms or something like that?
Anyhow upgrade your python-rhsm and you should get past this.
Cheers,
Devan
···
On Thursday, October 2, 2014 12:40:38 PM UTC-3, marc....@priceline.com wrote:
I’m still chugging along on setting up and testing Katello/Foreman…
and now I’m trying to register a host server so that I could manage
patching the system (the purpose of using Katello as a replacement of our
Satellite server). I’m trying to register a CentOS6 64-bit system. I’ve
created a repository for CentOS6x86_64 and when I follow the instructions
to “Register a Content Host”, I get the following error message:
[root@nw-fnx-002 ~]# subscription-manager register --org=“Priceline_com”
–environment=“Library”
Unable to find Subscription Manager module.
Error: cannot import name create_from_file
Any thoughts what’s causing this?
Thanks.
Hi Marc, could you confirm the versions of subscription-manager and
python-rhsm you have installed?
Also could you extract the likely stacktrace from /var/log/rhsm/rhsm.log
on the client system.
And when I search for this package within Foreman for the CentOS6 x86_64
repository, that I had previously synced in Katello, that package doesn't
exist there either.
Where can I find this package (python-rhsm-1.12.3.noarch.rpm or similar)
and I'll be glad to install it!
Thanks.
Marc.
···
On Thursday, October 2, 2014 12:05:38 PM UTC-4, Devan Goodwin wrote:
>
>
>
> On Thursday, October 2, 2014 12:40:38 PM UTC-3, marc....@priceline.com > wrote:
>>
>> Sure Devan, here you go...
>>
>> [root@nw-fnx-002 ~]# rpm -qa | grep subscr
>> subscription-manager-1.13.2-1.el6.x86_64
>>
>
>
> This version of subscription-manager requires python-rhsm >= 1.12.3, your
> version is *extremely* old. yum/rpm would have complained about this, did
> you force install some rpms or something like that?
>
> Anyhow upgrade your python-rhsm and you should get past this.
>
> Cheers,
>
> Devan
>
>
>> [root@nw-fnx-002 ~]# rpm -qa | grep python-rhsm
>> python-rhsm-0.96.4-2.1.noarch
>>
>> That log file is empty:
>>
>> [root@nw-fnx-002 ~]# ls -tlr /var/log/rhsm/rhsm.log
>> -rw-r--r-- 1 root root *0* Oct 2 10:45 /var/log/rhsm/rhsm.log
>>
>> Thanks!
>>
>>
>> On Thursday, October 2, 2014 11:31:33 AM UTC-4, Devan Goodwin wrote:
>>>
>>>
>>>
>>> On Thursday, October 2, 2014 12:00:41 PM UTC-3, marc....@priceline.com >>> wrote:
>>>>
>>>> Eric, Justin,
>>>>
>>>> I'm still chugging along on setting up and testing Katello/Foreman....
>>>> and now I'm trying to register a host server so that I could manage
>>>> patching the system (the purpose of using Katello as a replacement of our
>>>> Satellite server). I'm trying to register a CentOS6 64-bit system. I've
>>>> created a repository for CentOS6x86_64 and when I follow the instructions
>>>> to "Register a Content Host", I get the following error message:
>>>>
>>>> [root@nw-fnx-002 ~]# subscription-manager register
>>>> --org="Priceline_com" --environment="Library"
>>>> Unable to find Subscription Manager module.
>>>> Error: cannot import name create_from_file
>>>>
>>>> Any thoughts what's causing this?
>>>>
>>>> Thanks.
>>>>
>>>
>>> Hi Marc, could you confirm the versions of subscription-manager and
>>> python-rhsm you have installed?
>>>
>>> Also could you extract the likely stacktrace from /var/log/rhsm/rhsm.log
>>> on the client system.
>>>
>>> Thanks.
>>>
>>>
>>>
>>>>
>>>>
>>>> On Wednesday, October 1, 2014 11:56:58 AM UTC-4, marc....@priceline.com >>>> wrote:
>>>>>
>>>>> I'm sync'ing the RedHat Packages successfuly now, But, I don't see
>>>>> any Errata data being sync'ed? I don't see an Errata check box to enable
>>>>> them?
>>>>>
>>>>> On Wednesday, October 1, 2014 10:47:00 AM UTC-4, jsherril wrote:
>>>>>>
>>>>>> On 10/01/2014 10:34 AM, marc....@priceline.com wrote:
>>>>>> > Where do I enter the proxy information? I'd like to try that....
>>>>>>
>>>>>> re-run katello-installer with these options:
>>>>>>
>>>>>> --katello-proxy-url=http://proxy.hostname.com
>>>>>> --katello-proxy-port=8080
>>>>>> --katello-proxy-password=password
>>>>>> --katello-proxy-username=username
>>>>>>
>>>>>> omitting username and password if they are not needed. Make sure to
>>>>>> specify the full url for the proxy URL (not just the hostname)
>>>>>>
>>>>>> Once that completes, run:
>>>>>>
>>>>>> service foreman-tasks restart
>>>>>>
>>>>>> and then try again.
>>>>>>
>>>>>> -Justin
>>>>>>
>>>>>>
>>>>>>
>
> Yes, you're correct, I had to manually install the python-rhsm package,
> because when I search for this package on the web, I found only this one:
>
> http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/python-rhsm
>
> and when I try to upgrade the package, there aren't any available from the
> repo I'm currently connected to:
>
> [root@nw-fnx-002 yum.repos.d]# cat epel.repo
> [epel]
> name=Extra Packages for Enterprise Linux 6 - $basearch
> #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
> mirrorlist=
> https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
> failovermethod=priority
> enabled=1
> gpgcheck=1
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
> proxy=http://nw-iwsva.corp.pcln.com:8080
>
>
> [root@nw-fnx-002 ~]# yum check-update | grep python-rhsm
> [root@nw-fnx-002 ~]#
>
> And when I search for this package within Foreman for the CentOS6 x86_64
> repository, that I had previously synced in Katello, that package doesn't
> exist there either.
>
> Where can I find this package (python-rhsm-1.12.3.noarch.rpm or similar)
> and I'll be glad to install it!
>
> Thanks.
>
> Marc.
>
This version of subscription-manager requires python-rhsm >= 1.12.3, your
version is extremely old. yum/rpm would have complained about this, did
you force install some rpms or something like that?
Anyhow upgrade your python-rhsm and you should get past this.
I’m still chugging along on setting up and testing Katello/Foreman…
and now I’m trying to register a host server so that I could manage
patching the system (the purpose of using Katello as a replacement of our
Satellite server). I’m trying to register a CentOS6 64-bit system. I’ve
created a repository for CentOS6x86_64 and when I follow the instructions
to “Register a Content Host”, I get the following error message:
[root@nw-fnx-002 ~]# subscription-manager register
–org=“Priceline_com” --environment=“Library”
Unable to find Subscription Manager module.
Error: cannot import name create_from_file
Any thoughts what’s causing this?
Thanks.
Hi Marc, could you confirm the versions of subscription-manager and
python-rhsm you have installed?
Also could you extract the likely stacktrace from
/var/log/rhsm/rhsm.log on the client system.
That helped. I downloaded and installed the correct python-rhsm from the
link you provided (I must've missed it before). And I was able to install
the subscription-manager.
Then I was able to register this Content Host server as follows:
[root@nw-fnx-002 tmp]# subscription-manager register --org="Priceline_com"
–environment="Library"
Username: priceline
Password:
The system has been registered with ID:
1df96c83-6c3a-4af3-a56f-cded084f06d8
But, now when I go into Foreman, I can't find this server listed anywhere.
Is there another step? Where did it go?
I appreciate your help!
Marc.
···
On Thursday, October 2, 2014 12:57:48 PM UTC-4, Devan Goodwin wrote:
>
>
>
> On Thursday, October 2, 2014 1:32:42 PM UTC-3, marc....@priceline.com > wrote:
>>
>> Yes, you're correct, I had to manually install the python-rhsm package,
>> because when I search for this package on the web, I found only this one:
>>
>> http://rpm.pbone.net/index.php3/stat/3/srodzaj/1/search/python-rhsm
>>
>> and when I try to upgrade the package, there aren't any available from
>> the repo I'm currently connected to:
>>
>> [root@nw-fnx-002 yum.repos.d]# cat epel.repo
>> [epel]
>> name=Extra Packages for Enterprise Linux 6 - $basearch
>> #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
>> mirrorlist=
>> https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
>> failovermethod=priority
>> enabled=1
>> gpgcheck=1
>> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
>> proxy=http://nw-iwsva.corp.pcln.com:8080
>>
>>
>> [root@nw-fnx-002 ~]# yum check-update | grep python-rhsm
>> [root@nw-fnx-002 ~]#
>>
>> And when I search for this package within Foreman for the CentOS6 x86_64
>> repository, that I had previously synced in Katello, that package doesn't
>> exist there either.
>>
>> Where can I find this package (python-rhsm-1.12.3.noarch.rpm or similar)
>> and I'll be glad to install it!
>>
>> Thanks.
>>
>> Marc.
>>
>
> It should have been in the same location you found subscription-manager,
> but the instructions here are correct:
> http://www.katello.org/docs/user_guide/content_hosts/index.html#installing-subscription-manager
>
> That will end up pointing you at this repo which is where we publish our
> community builds:
> https://repos.fedorapeople.org/repos/candlepin/subscription-manager/epel-6/x86_64/
>
> Cheers,
>
> Devan
>
>
>
>
>
>>
>>
>> On Thursday, October 2, 2014 12:05:38 PM UTC-4, Devan Goodwin wrote:
>>>
>>>
>>>
>>> On Thursday, October 2, 2014 12:40:38 PM UTC-3, marc....@priceline.com >>> wrote:
>>>>
>>>> Sure Devan, here you go...
>>>>
>>>> [root@nw-fnx-002 ~]# rpm -qa | grep subscr
>>>> subscription-manager-1.13.2-1.el6.x86_64
>>>>
>>>
>>>
>>> This version of subscription-manager requires python-rhsm >= 1.12.3,
>>> your version is *extremely* old. yum/rpm would have complained about this,
>>> did you force install some rpms or something like that?
>>>
>>> Anyhow upgrade your python-rhsm and you should get past this.
>>>
>>> Cheers,
>>>
>>> Devan
>>>
>>>
>>>> [root@nw-fnx-002 ~]# rpm -qa | grep python-rhsm
>>>> python-rhsm-0.96.4-2.1.noarch
>>>>
>>>> That log file is empty:
>>>>
>>>> [root@nw-fnx-002 ~]# ls -tlr /var/log/rhsm/rhsm.log
>>>> -rw-r--r-- 1 root root *0* Oct 2 10:45 /var/log/rhsm/rhsm.log
>>>>
>>>> Thanks!
>>>>
>>>>
>>>> On Thursday, October 2, 2014 11:31:33 AM UTC-4, Devan Goodwin wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Thursday, October 2, 2014 12:00:41 PM UTC-3, marc....@priceline.com >>>>> wrote:
>>>>>>
>>>>>> Eric, Justin,
>>>>>>
>>>>>> I'm still chugging along on setting up and testing
>>>>>> Katello/Foreman.... and now I'm trying to register a host server so that I
>>>>>> could manage patching the system (the purpose of using Katello as a
>>>>>> replacement of our Satellite server). I'm trying to register a CentOS6
>>>>>> 64-bit system. I've created a repository for CentOS6x86_64 and when I
>>>>>> follow the instructions to "Register a Content Host", I get the following
>>>>>> error message:
>>>>>>
>>>>>> [root@nw-fnx-002 ~]# subscription-manager register
>>>>>> --org="Priceline_com" --environment="Library"
>>>>>> Unable to find Subscription Manager module.
>>>>>> Error: cannot import name create_from_file
>>>>>>
>>>>>> Any thoughts what's causing this?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>
>>>>> Hi Marc, could you confirm the versions of subscription-manager and
>>>>> python-rhsm you have installed?
>>>>>
>>>>> Also could you extract the likely stacktrace from
>>>>> /var/log/rhsm/rhsm.log on the client system.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wednesday, October 1, 2014 11:56:58 AM UTC-4, >>>>>> marc....@priceline.com wrote:
>>>>>>>
>>>>>>> I'm sync'ing the RedHat Packages successfuly now, But, I don't see
>>>>>>> any Errata data being sync'ed? I don't see an Errata check box to enable
>>>>>>> them?
>>>>>>>
>>>>>>> On Wednesday, October 1, 2014 10:47:00 AM UTC-4, jsherril wrote:
>>>>>>>>
>>>>>>>> On 10/01/2014 10:34 AM, marc....@priceline.com wrote:
>>>>>>>> > Where do I enter the proxy information? I'd like to try that....
>>>>>>>>
>>>>>>>> re-run katello-installer with these options:
>>>>>>>>
>>>>>>>> --katello-proxy-url=http://proxy.hostname.com
>>>>>>>> --katello-proxy-port=8080
>>>>>>>> --katello-proxy-password=password
>>>>>>>> --katello-proxy-username=username
>>>>>>>>
>>>>>>>> omitting username and password if they are not needed. Make sure
>>>>>>>> to
>>>>>>>> specify the full url for the proxy URL (not just the hostname)
>>>>>>>>
>>>>>>>> Once that completes, run:
>>>>>>>>
>>>>>>>> service foreman-tasks restart
>>>>>>>>
>>>>>>>> and then try again.
>>>>>>>>
>>>>>>>> -Justin
>>>>>>>>
>>>>>>>>
>>>>>>>>