Comments (15)
@14kosta Apologies for the late response.
Can you try to comment out "type=Disk.HostBusAdapterType.SCSI," when creating the Disk.CreateSpec?
If it's still not working. Could you please post the stacktrace from /var/log/vmware/vpxd/vpxd.log so we get more info?
from vsphere-automation-sdk-python.
Hi tianhao64,
Commenting out "type=Disk.HostBusAdapterType.SCSI," doesn't help - I get the same error.
Attaching vpxd.log
vpxd.zip
Thank you
from vsphere-automation-sdk-python.
@14kosta Hmm. the log doesn't have related error message. Will ask the storage expert to take a look. Meanwhile, can you check this post? https://cormachogan.com/2013/04/08/microsoft-clustering-on-vsphere-incompatible-device-errors/
from vsphere-automation-sdk-python.
Hi tianhao64,
I looked at the sent by you link. My configuration is the following: I have SCSI device /vmfs/devices/disks/eui.57df0280647efa2de9751c5d0000000 that is seen on three ESXi hosts. Then I attaching it to VM that is on one of ESXi hosts and the command fails thru SDK, but succeeded thru PowerCli and Web client. Situation described in the sent link looks for me a little bit different.
Thank you
from vsphere-automation-sdk-python.
I filed a SR against the storage team. Will keep you posted. Can you check hostd.log see if you see related error message?
from vsphere-automation-sdk-python.
Command "find / -name hostd" doesn't return any hostd.log on vCenter or ESXi. Where to search for it?
BTW, in debugger I see that the error comes from requests module i.e. really comes from a server side.
from vsphere-automation-sdk-python.
Modern versions of ESXi keep the hostd.log in /var/run/log. Generally when you pull down a vm-support, the files will be gzip'ed
from vsphere-automation-sdk-python.
when I run RDM mapping in the file /var/log/hostd.log (which is the link to /var/run/log/hostd.log) appears the following error:
2019-01-13T10:02:19.576Z info hostd[2099318] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5bdb7b78-27334b79-c9e6-2c600c66a3ff/RHEL70_thick13/RHEL70_thick13.vmx opID=2aebc039-01-e6-9f95 user=vpxuser:AUTO01.LOCAL\Administrator] Send config update invoked
2019-01-13T10:02:19.611Z info hostd[2099318] [Originator@6876 sub=Libs opID=2aebc039-01-e6-9f95 user=vpxuser:AUTO01.LOCAL\Administrator] DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
2019-01-13T10:02:19.611Z info hostd[2099318] [Originator@6876 sub=Libs opID=2aebc039-01-e6-9f95 user=vpxuser:AUTO01.LOCAL\Administrator] Could not expand environment variable HOME.
2019-01-13T10:02:19.611Z info hostd[2099318] [Originator@6876 sub=Libs opID=2aebc039-01-e6-9f95 user=vpxuser:AUTO01.LOCAL\Administrator] DictionaryLoad: Cannot open file "~/.vmware/config": No such file or directory.
2019-01-13T10:02:19.614Z info hostd[2099318] [Originator@6876 sub=Vimsvc.TaskManager opID=2aebc039-01-e6-9f95 user=vpxuser:AUTO01.LOCAL\Administrator] Task Completed : haTask-5-vim.VirtualMachine.reconfigure-1122499 Status error
2019-01-13T10:02:19.614Z warning hostd[2099318] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5bdb7b78-27334b79-c9e6-2c600c66a3ff/RHEL70_thick13/RHEL70_thick13.vmx opID=2aebc039-01-e6-9f95 user=vpxuser:AUTO01.LOCAL\Administrator] Reconfigure failed
from vsphere-automation-sdk-python.
Hi tianhao64,
I run RDM mapping and simultaneously took vpxd.log (attached to this message) and hostd.log
(see the previous message).
In the current vpxd.log appears "Incompatible device backing specified for device '0'.":
vim.fault.InvalidDeviceBacking:
--> Result:
--> (vim.fault.InvalidDeviceBacking) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = ,
--> property = ,
--> deviceIndex = 0
--> msg = "Incompatible device backing specified for device '0'."
--> }
vpxd.zip
from vsphere-automation-sdk-python.
Hi tianhao64,
Any news about this issue?
from vsphere-automation-sdk-python.
No update from the feature team yet. Will ping them again.
from vsphere-automation-sdk-python.
@tianhao64 , thank you!
from vsphere-automation-sdk-python.
@tianhao64
Was there any progress from the feature team?
@14kosta
Do you know if this issue still exists with the latest SDK?
from vsphere-automation-sdk-python.
from vsphere-automation-sdk-python.
@14kosta
I am very sorry to hear that. The teams are distributed and features sometimes don't make it to the priority list and are kept hanging. We will try to fix this gap in the future.
Glad you were able to resolve with powercli.
from vsphere-automation-sdk-python.
Related Issues (20)
- [question] how to list custom_attributes for vm? HOT 1
- Air Gap Installation Issue HOT 3
- No LICENSE.txt file in the package HOT 4
- Support communication with vCenter Server via kerberos authenticated proxy sever HOT 1
- pip install vsphere-automation-sdk-python is broken. HOT 3
- vcenter.iso.iso_path.get_datastore_path() missing HOT 3
- from vmware.vapi.vsphere.client import create_vsphere_client HOT 8
- How to get VM Hardware of a OVF Template in Content Library HOT 5
- Not able to create ticket for Web console for newly created VM HOT 6
- Possible problem with Python 3.12? HOT 7
- Use "com" folder as an implicit namespace HOT 2
- How to get list of running Tasks ? HOT 2
- How to get list of running Tasks using vsphere-automation-sdk-python? HOT 1
- Add "Rename" to VM operations HOT 1
- issue with installation HOT 2
- How to Get VM current CPU and Memory Usage by Python SDK HOT 1
- Outdated pip package HOT 1
- No Module Named 'vmware' HOT 4
- Failure to Create Session with vSphere Client Using Self-Signed Certificate HOT 6
- ModuleNotFoundError: No module named 'vmware.vapi'; 'vmware' is not a package HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vsphere-automation-sdk-python.