← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1764530] Re: Verify operation in nova

 

I'm trying to get some guidance in the mailing list:

http://lists.openstack.org/pipermail/openstack-
dev/2018-April/129574.html

Marking as Opinion for now.

** Changed in: nova
       Status: New => Opinion

** Changed in: nova
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1764530

Title:
  Verify operation in nova

Status in OpenStack Compute (nova):
  Opinion

Bug description:

  This bug tracker is for errors with the documentation, use the
  following as a template and remove or add fields as you see fit.
  Convert [ ] into [x] to check boxes:

  - [x] This doc is inaccurate in this way:


  When say to run the command:
  nova-status upgrade check

  it fails unless I run it as a root. But the documentation doesn't say it.
  I don't know if I make a mistake during the install, or if I should run it as a root.

  
  When run as unprivileged user the output is:

  $ nova-status upgrade check
  Error:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/nova/cmd/status.py", line 459, in main
      ret = fn(*fn_args, **fn_kwargs)
    File "/usr/lib/python2.7/dist-packages/nova/cmd/status.py", line 389, in check
      result = func(self)
    File "/usr/lib/python2.7/dist-packages/nova/cmd/status.py", line 133, in _check_cellsv2
      meta.bind = db_session.get_api_engine()
    File "/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.py", line 152, in get_api_engine
      return api_context_manager.get_legacy_facade().get_engine()
    File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 791, in get_legacy_facade
      return self._factory.get_legacy_facade()
    File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 342, in get_legacy_facade
      self._start()
    File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 484, in _start
      engine_args, maker_args)
    File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py", line 506, in _setup_for_connection
      "No sql_connection parameter is established")
  CantStartEngineError: No sql_connection parameter is establishe

  
  When run as root the output is:

  # nova-status upgrade check
  +---------------------------+
  | Upgrade Check Results     |
  +---------------------------+
  | Check: Cells v2           |
  | Result: Success           |
  | Details: None             |
  +---------------------------+
  | Check: Placement API      |
  | Result: Success           |
  | Details: None             |
  +---------------------------+
  | Check: Resource Providers |
  | Result: Success           |
  | Details: None             |
  +---------------------------+


  
  - [ ] This is a doc addition request.
  - [ ] I have a fix to the document that I can paste below including example: input and output. 

  If you have a troubleshooting or support issue, use the following
  resources:

   - Ask OpenStack: http://ask.openstack.org
   - The mailing list: http://lists.openstack.org
   - IRC: 'openstack' channel on Freenode

  -----------------------------------
  Release: 17.0.3.dev7 on 2018-04-13 23:03
  SHA: fda768b304e05821f7479f9698c59d18bf3d3516
  Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/install/verify.rst
  URL: https://docs.openstack.org/nova/queens/install/verify.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1764530/+subscriptions


References