VMware Cloud Community
TCP
Enthusiast
Enthusiast

VCB v.51389 Problem

Hi All.

I have a problem with vcb.

Then I try to use vcbMounter I recieve the following error codes:

Could not obtain inquiry page 0 for

device on path 0, target 0, lun 0

Sending SCSI inquiry failed: Unknow

n error. (No proper error code was returned.)

Could not obtain inquiry page 131 f

or device on path 0, target 0, lun 0

Sending SCSI inquiry failed: Unknow

n error. (No proper error code was returned.)

Could not obtain inquiry page 128 f

or device on path 0, target 0, lun 0

Sending SCSI inquiry failed: Unknow

n error. (No proper error code was returned.)

Unsetting unknown

path: /vmomi/

No permission to perform this a

ction.

Error: Failed to open the disk

: Unspecified error

An error occurred, cleaning up

...

Snapshot deletion failed. At

tempting to clean up snapshot database...

All LUNs mapped correctly.

Please help to solve this problem.

THNX.

VCP3, VCP4
Reply
0 Kudos
7 Replies
TCP
Enthusiast
Enthusiast

I'm find a solution:

Backup user must have Administrative permissions on Host & Clusters.

VCP3, VCP4
Reply
0 Kudos
dconvery
Champion
Champion

TCP -

That is not true. Don't forget, config.js is a text file, so you have a security issue with having a VCB user with admin priveleges. You should create a vcbuser with the following privileges:

VirtualMachine/Configuration/DiskLease

VirtualMachine/State/CreateSnapshot

VirtualMachine/State/RemoveSnapshot

VirtualMachine/Provisioning/Allow Virtual Machine Download

That is all that is needed.

Dave

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
Reply
0 Kudos
TCP
Enthusiast
Enthusiast

I'm using cmd: vcbmounter -h 10.10.10.212 -u Backup -p Pass -a name:esx1-r e:\mnt1\esx1 -t fullvm -m san -L 6

and then i try to use backup user with administrative permissions only on Datacenter error mesage appears:

Scanning snapshot Consolidate Helper

Creating snapshot

============BEGIN FAILED METHOD CALL DUMP============

Invoking on

Arg name:

"_VCB-BACKUP_"

Arg description:

"Automatically created by VCB Framework on host vcbproxy at Fri Sep 28 12:00:44 2007

(UTC)."

Arg memory:

false

Arg quiesce:

true

Fault Msg: "Permission to perform this operation was denied."

=============END FAILED METHOD CALL DUMP=============

Error: No permission to perform this action.

An error occurred, cleaning up...

Shutting down VMDB service...

Unregistering callback...

...done

When i'm using backup user with administrative permissions on Hosts & Clusters all good.

How to explain this situation bug?

VCP3, VCP4
Reply
0 Kudos
TCP
Enthusiast
Enthusiast

DConvery,

I'm a technician and examination it's my life.

I'm create a user Backup with permissions on DataCentre:

VirtualMachine/Configuration/DiskLease

VirtualMachine/State/CreateSnapshot

VirtualMachine/State/RemoveSnapshot

VirtualMachine/Provisioning/Allow Virtual Machine Download

Result:

Current working directory: C:\Documents and Settings\Administrator.ESX

HOSTINFO: Seeing Intel CPU, numCoresPerCPU 1 numThreadsPerCore 2.

HOSTINFO: This machine has 1 physical CPUS, 1 total cores, and 2 logical CPUs.

Initializing SSL context

Using system libcrypto, version 90703F

Vmacore::InitSSL: doVersionCheck = true, handshakeTimeoutUs = 120000000

Connecting to host 10.10.10.212 on port 902

Connected to stream:

Unsetting unknown path: /vmomi/

Authenticating user Backup

Logged in!

Attempting cache lookup.

Attempting traversal search.

Found VM using traversal search.

Got VM MoRef

Got access method

Got coordinator object

Attempting data access.

Scanning snapshot Consolidate Helper

Creating snapshot

============BEGIN FAILED METHOD CALL DUMP============

Invoking on

Arg name:

"_VCB-BACKUP_"

Arg description:

"Automatically created by VCB Framework on host vcbproxy at Fri Sep 28 12:00:44 2007

(UTC)."

Arg memory:

false

Arg quiesce:

true

Fault Msg: "Permission to perform this operation was denied."

=============END FAILED METHOD CALL DUMP=============

Error: No permission to perform this action.

An error occurred, cleaning up...

Shutting down VMDB service...

Unregistering callback...

...done

user with same rights but on Host&Clusters result:

007-09-28 22:10:34.812 'App' 3056 warning] Could not obtain inquiry page 0 for device on path 0, target 0, lun 0

Sending SCSI inquiry failed: Unknown error. (No proper error code was returned.)

Could not obtain inquiry page 131 for device on path 0, target 0, lun 0

Sending SCSI inquiry failed: Unknown error. (No proper error code was returned.)

Could not obtain inquiry page 128 for device on path 0, target 0, lun 0

Sending SCSI inquiry failed: Unknown error. (No proper error code was returned.)

Evaluating 1 paths.

Trying to open path
?\scsi#disk&ven_sun&prod_storedge_3510&rev_415g#6&414092a&0&000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}.

Now using Path
?\scsi#disk&ven_sun&prod_storedge_3510&rev_415g#6&414092a&0&000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}.

Reading 32256 bytes from offset 0.

Found 1 partition(s) on this device.

Partition #1 is a VMFS partition.

Reading 1574400 bytes from offset 1114112.

Found an ESX LVM v3 signature on partition 1.

Found logical volume 4697cbb7-9cf69acf-43c2-00145e3f.

Evaluating 1 paths.

Trying to open path
?\scsi#disk&ven_sun&prod_storedge_3510&rev_415g#6&414092a&0&001#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}.

Now using Path
?\scsi#disk&ven_sun&prod_storedge_3510&rev_415g#6&414092a&0&001#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}.

Reading 32256 bytes from offset 0.

Found 1 partition(s) on this device.

Obtained list of SCSI disk devices.

Establishing new connection for 10.10.10.212:Backup

Initializing SSL context

Connecting to host 10.10.10.212 on port 902

Connected to stream:

Unsetting unknown path: /vmomi/

Authenticating user Backup

Logged in!

Attempting to open LVID:4697cbb8-5359bbc1-a5cb-00145e3ff2c4/4697cbb7-9cf69acf-43c2-00145e3ff2c4/1.

Evaluating 1 paths.

Trying to open path
?\scsi#disk&ven_sun&prod_storedge_3510&rev_415g#6&414092a&0&000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}.

Now using Path
?\scsi#disk&ven_sun&prod_storedge_3510&rev_415g#6&414092a&0&000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}.

Converting "e:\mnt1\esx1\scsi0-0-0-esx1 - Primary DC.vmdk" (compact file):

0%=====================50%=====================100%

********************************************************************************

Closing connection 10.10.10.212:Backup

Shutting down VMDB service...

Unregistering callback...

...done

Disk export complete

Successfully exported data to directory e:\mnt1\esx1.

Operation completed successfully

Shutting down VMDB service...

Unregistering callback...

...done

Please explain?

P.S. If my English is bad ...sorry..., but VCB English is perfect!

VCP3, VCP4
Reply
0 Kudos
dconvery
Champion
Champion

TCP -

It should work the same way when it is applied at the datacenter or at the cluster level. Maybe there was a permission set up lower in the tree removing these permissions? I usually do this setting at the datacenter level with no issues.

Dave

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
Reply
0 Kudos
TCP
Enthusiast
Enthusiast

It's Clear.

It's classic.

In my situation all permissions of Backup user propagates to child objects, but correctly "vcbmounter" works if permission exists only on Datacenters level.

VCP3, VCP4
Reply
0 Kudos
espi3030
Expert
Expert

I know this is an old post, but how do you assign Administrative permission on host via console command? Thank you

Reply
0 Kudos