Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Installing RHEV-M on a system using certificate-based RHN

    Posted on

    I was attempting to follow the RHEV-M installation instructions in the RHEV 3.0 Installation Guide, but I got stuck in section 2.2.3.2 (Red Hat Network Configuration) with the "rhn-channel --add ..." commands. 

     

    http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Virtualization/3.0/html/Installation_Guide/Tasks_RHEV_Red_Hat_Network_Subscription.html

     

    These fail with a python traceback:

     

    # rhn-channel --add --channel=rhel-x86_64-server-6-rhevm-3
    Username: [username]
    Password:

    Traceback (most recent call last):
      File "/usr/sbin/rhn-channel", line 157, in
        main()
      File "/usr/sbin/rhn-channel", line 121, in main
        result = subscribeChannels(OPTIONS.channel, OPTIONS.user, OPTIONS.password)
      File "/usr/share/rhn/up2date_client/rhnChannel.py", line 128, in subscribeChannels
        passwd)
      File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
        return rpcServer.doCall(method, *args, **kwargs)
      File "/usr/share/rhn/up2date_client/rpcServer.py", line 206, in doCall
        ret = method(*args, **kwargs)
      File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
        return self.__send(self.__name, args)
      File "/usr/share/rhn/up2date_client/rpcServer.py", line 39, in _request1
        ret = self._request(methodname, params)
      File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 379, in _request
        request = self._req_body(self._strip_characters(params), methodname)
      File "/usr/lib/python2.6/site-packages/rhn/rpclib.py", line 234, in _req_body
        return xmlrpclib.dumps(params, methodname, encoding=self._encoding)
      File "/usr/lib64/python2.6/xmlrpclib.py", line 1132, in dumps
        data = m.dumps(params)
      File "/usr/lib64/python2.6/xmlrpclib.py", line 677, in dumps
        dump(v, write)
      File "/usr/lib64/python2.6/xmlrpclib.py", line 699, in __dump
        f(self, value, write)
      File "/usr/lib64/python2.6/xmlrpclib.py", line 703, in dump_nil
        raise TypeError, "cannot marshal None unless allow_none is enabled"
    TypeError: cannot marshal None unless allow_none is enabled
     

     

    I'm guessing this may have something to do with the fact that this system (running RHEL 6.2) was registered with the new certificate-based RHN, whereas the instructions seem to assume a system using the older "RHN Classic" method.  My understanding is that "channels" no longer exist under the new certificate-based RHN.  Can anyone confirm this?  Are there updated instructions somewhere that explain how to give a machine access to the RHEV-M software using the new certificate-based RHN?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat