[documentation] don't described required rights for vmware integration for non priveleged user

Bug #1616843 reported by Oleg Ilin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
New
High
Partner Centric Engineering

Bug Description

Detailed bug description:

There are missed required access right in documentation for integrate vmware into openstack with dvs plugin.
link: http://docs.openstack.org/mitaka/config-reference/compute/hypervisor-vmware.html

If we want to change user which communicate with vcenter we should add more access right:
1.
   virtual machine - > configuration -> Modify device settings
2.
   virtual machine -> provisioning -> create template from virtual machine

there are incorrect place of section "Session", it doesn't placed in "Virtual machine" section,
 it presents in main level
   not virtual machine -> session -> "validate session" | "view and stop session"
      but in
   session -> "validate session" | "view and stop session"

Steps to reproduce:
configure vmware with dvs plugin using instruction http://docs.openstack.org/mitaka/config-reference/compute/hypervisor-vmware.html with user who don't have root privilege

Expected results:
ostf successfull performs tests

Actual result:
test fails
 in log files:

2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher incoming.message))
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 3523, in initialize_connection
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher connector)
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/cinder/volume/manager.py", line 1473, in initialize_connection
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher raise exception.VolumeBackendAPIException(data=err_msg)
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Driver initialize connection failed (error: Permission to perform this operation was denied.
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher Cause: Server raised fault: 'Permission to perform this operation was denied.'
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher Faults: [NoPermission]
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher Details: {'privilegeId': 'VirtualMachine.Config.Resource', 'object': 'vm-105'}).
2016-08-04 12:05:43.003 21823 ERROR oslo_messaging.rpc.dispatcher
2016-08-04 12:05:43.006 21823 ERROR oslo_messaging._drivers.common [req-ed19873c-6662-43e4-abd9-ca426773e61d 19443dac073e4a00a1d28a142207f7eb 53961f0586fb4e739cd6952a5d724e6b - - -] Returning

2016-08-04T11:00:42.312052+00:00 err: 2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher [req-3ba8c7ad-8302-4d79-ad93-69aeb5559c45 eb81970ed00d425eb2a8925b57617154 a1ad0278eac64be9b36255390ad1302c - - -] Exception during message handling: Permission to perform this operation was denied.
Cause: Server raised fault: 'Permission to perform this operation was denied.'
Faults: [NoPermission]
Details: {'privilegeId': 'VirtualMachine.Provisioning.CreateTemplateFromVM', 'object': 'vm-112'}
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher incoming.message))
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 185, in _dispatch
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher return self._do_dispatch(endpoint, method, ctxt, args)
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, **new_args)
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 110, in wrapped
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher payload)
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher self.force_reraise()
2016-08-04 11:00:42.309 9285 ERROR oslo_messaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-08-04T11:01:00.851325+00:00 debug: 2016-08-04 11:01:00.849 9285 DEBUG oslo_service.periodic_task [req-f1034d7c-c062-4d1f-8be6-f02f11236f5a - - - - -] Running periodic task ComputeManager.update_available_resource run_periodic_tasks /usr/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215

Reproducibility: always

Changed in fuel:
assignee: nobody → Partner Centric Engineering (fuel-partner-engineering)
importance: Undecided → High
milestone: none → 9.1
Oleg Ilin (oilyin)
Changed in fuel:
assignee: Partner Centric Engineering (fuel-partner-engineering) → nobody
tags: added: area-docs area-pce-vcenter
Changed in fuel:
assignee: nobody → Partner Centric Engineering (fuel-partner-engineering)
Revision history for this message
Oleg Ilin (oilyin) wrote :

changes in doc was commited https://review.openstack.org/#/c/362045/

Oleg Ilin (oilyin)
description: updated
Revision history for this message
Oleg Ilin (oilyin) wrote :

I was asked about " the proper place for creating bugs for the openstack-manuals is as follows: https://launchpad.net/openstack-manuals"
So, I created new one in the proper place
https://bugs.launchpad.net/openstack-manuals/+bug/1618020
and commited it again
https://review.openstack.org/#/c/362107/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.