Adding or editing a virtual machine resource using Conga produces a 'Error 500' message in RHEL 6

Solution Unverified - Updated -

Issue

  • When trying to add a vm as cluster-service using Conga, I get an error 500
  • The following traceback is seen in /var/log/luci/luci.log:

    Error - <type 'exceptions.AttributeError'>: 'Vm' object has no attribute 'setIndependentSubtree'
    URL: https://luci.example.com:8084/cluster/cs-rh6cluster/services_cmd?command=Create
    File '/usr/lib/python2.6/site-packages/weberror/errormiddleware.py', line 162 in __call__
      app_iter = self.application(environ, sr_checker)
    File '/usr/lib/python2.6/site-packages/tg/configuration.py', line 655 in wrapper
      return app(environ, start_response)
    File '/usr/lib/python2.6/site-packages/tg/configuration.py', line 555 in remover
      return app(environ, start_response)
    File '/usr/lib/python2.6/site-packages/repoze/tm/__init__.py', line 19 in __call__
      result = self.application(environ, save_status_and_headers)
    File '/usr/lib/python2.6/site-packages/tw/core/middleware.py', line 43 in __call__
      return self.wsgi_app(environ, start_response)
    File '/usr/lib/python2.6/site-packages/tw/core/middleware.py', line 68 in wsgi_app
      resp = req.get_response(self.application)
    File '/usr/lib/python2.6/site-packages/webob/__init__.py', line 1325 in get_response
      application, catch_exc_info=False)
    File '/usr/lib/python2.6/site-packages/webob/__init__.py', line 1293 in call_application
      app_iter = application(self.environ, start_response)
    File '/usr/lib/python2.6/site-packages/tw/core/resource_injector.py', line 68 in _injector
      resp = req.get_response(app)
    File '/usr/lib/python2.6/site-packages/webob/__init__.py', line 1325 in get_response
      application, catch_exc_info=False)
    File '/usr/lib/python2.6/site-packages/webob/__init__.py', line 1293 in call_application
      app_iter = application(self.environ, start_response)
    File '/usr/lib/python2.6/site-packages/beaker/middleware.py', line 73 in __call__
      return self.app(environ, start_response)
    File '/usr/lib/python2.6/site-packages/beaker/middleware.py', line 152 in __call__
      return self.wrap_app(environ, session_start_response)
    File '/usr/lib/python2.6/site-packages/routes/middleware.py', line 130 in __call__
      response = self.app(environ, start_response)
    File '/usr/lib/python2.6/site-packages/pylons/wsgiapp.py', line 125 in __call__
      response = self.dispatch(controller, environ, start_response)
    File '/usr/lib/python2.6/site-packages/pylons/wsgiapp.py', line 324 in dispatch
      return controller(environ, start_response)
    File '/usr/lib64/python2.6/site-packages/luci/controllers/root.py', line 48 in __call__
      return BaseController.__call__(self, environ, start_response)
    File '/usr/lib64/python2.6/site-packages/luci/lib/base.py', line 48 in __call__
      return TGController.__call__(self, environ, start_response)
    File '/usr/lib/python2.6/site-packages/pylons/controllers/core.py', line 221 in __call__
      response = self._dispatch_call()
    File '/usr/lib/python2.6/site-packages/pylons/controllers/core.py', line 172 in _dispatch_call
      response = self._inspect_call(func)
    File '/usr/lib/python2.6/site-packages/pylons/controllers/core.py', line 107 in _inspect_call
      result = self._perform_call(func, args)
    File '/usr/lib/python2.6/site-packages/tg/controllers.py', line 857 in _perform_call
      self, controller, params, remainder=remainder)
    File '/usr/lib/python2.6/site-packages/tg/controllers.py', line 172 in _perform_call
      output = controller(*remainder, **dict(params))
    File '/usr/lib64/python2.6/site-packages/luci/controllers/cluster.py', line 609 in services_cmd
      vret = validate_clusvc_form(self.model, **kw)
    File '/usr/lib64/python2.6/site-packages/luci/widget_validators/validate_resource.py', line 625 in validate_clusvc_form
      resObj.setIndependentSubtree(True)
    AttributeError: 'Vm' object has no attribute 'setIndependentSubtree'
    

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat High Availability or Resilient Storage add-on
  • luci

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In