Error adding channels to install rhevm 3.1

Latest response

I previously had rhevm 3.0 on my server but atempted to upgrade to 3.1... this didn't work and broke my installation. So I reinstalled RHEL 6.3, and attempted to follow the guide here to install rhevm 3.1...

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/html-single/Installation_Guide/index.html#sect-Subscribing_to_the_Red_Hat_Enterprise_Virtualization_Channels

 

However when attempting to add the channels thusly:

 

# rhn-channel --add --channel=rhel-x86_64-server-6
# rhn-channel --add --channel=rhel-x86_64-server-supplementary-6
# rhn-channel --add --channel=rhel-x86_64-server-6-rhevm-3.1
# rhn-channel --add --channel=jbappplatform-6-x86_64-server-6-rpm

I get an error...

[root@rhevman ~]# rhn-channel --add --channel=rhel-x86_64-server-6
Username: USERNAME
Password: 
An error has occurred:
<type 'exceptions.TypeError'>
See /var/log/up2date for more information
 
/var/log/up2date and error message posted on pastebin here: http://pastebin.com/f05qpuZU
 
Is this a problem with my installation or config? Have I done something wrong or is this a known bug (I find that unlikely as they've just released 3.1 after Beta testing). Any assistance appreciated.

 

[root@rhevman ~]# rhn-channel --add --channel=rhel-x86_64-server-6
Username: USERNAME
Password: 
An error has occurred:
<type 'exceptions.TypeError'>
See /var/log/up2date for more information

Responses

First: ensure that your subscription has the entitlement.  If you have your own satellite server, you need to do a channel import on the newer release (3.1 won't automatically be sync'd). 

1.  Get the list of available channels

2.  Make sure the channels are in that list.

3. Add the channel(s) that are missing (You can also do this from your Satellite portal, by clicking on the host and clicking 'Alter Subscription')

[root@pdgllprhvsrv01 ~]# rhn-channel -u jradtke --available-channels > /tmp/rhn-channel--available-channels
Password:
[root@pdgllprhvsrv01 ~]# egrep --color=always ' rhel-x86_64-server-6|rhel-x86_64-server-supplementary-6|rhel-x86_64-server-6-rhevm-3.1|jbappplatform-6-x86_64-server-6-rpm' /tmp/rhn-channel--available-channels
jbappplatform-6-x86_64-server-6-rpm
rhel-x86_64-server-6-rhevm-3.1
rhel-x86_64-server-supplementary-6
rhel-x86_64-server-supplementary-6-debuginfo

[root@pdgllprhvsrv01 ~]# rhn-channel -v -u jradtake -a -c rhel-x86_64-server-6 -a -c rhel-x86_64-server-supplementary-6
 -a -c rhel-x86_64-server-6-rhevm-3.1 -a -c jbappplatform-6-x86_64-server-6-rpm
 

Thanks James,

Seems the channels as shown in the guide are shown differently in the customer portal, not sure if this makes a difference but hunting each down on the portal manually (as opposed to c/p from the guide) finally worked.

I am now having a new problem, adding my AD domain to rhevm results in an error that didn't occur last time using the exact same command....

# rhevm-manage-domains -action=add -domain='mydomain.here' -user='iamuser' -interactive

Argument provider is required.
 
 
 
any ideas? Can't find anything on about this online...
 

If you run rhevm-manage-domains --help you will see all the -provider options listed

Thanks Dan, that helped a lot, there's now the '-provider' key that needs to be entered, whcih wasn't the case under 3.0 iirc. :-)

 

now I have a whole new error, yay for progress.

There are a number of documents that guide you to install RHEV - 2.x, 3.0, 3.0 eval, 3.1 beta, 3.1, etc... and they seem to differ slightly.  Each version has it's own channel, based on the release.

I find the most straight-forward method is to login to your Satellite/RHN Portal and add the channels from there.

To answer your concern, you should try to use the install doc which coincides with the channels you have available. (i.e. if your susbscription only has the eval channels, I would follow the eval documentation to build your environment.)

Hopefully this all made sense ;-)

Regarding your AD question: you will have a difficult time finding someone more knowledgeable than Dan - so, you are in great hands with his response.

One thing I caution everyone: you MUST have functioning and accurate DNS in your environment if you want things to work correctly.  Also - accurate date/time on your servers is important.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.