That I found a bug in the API? : Adding multiple disks SOAP error

I am able to add the drives linearly as below:

My $vmSpec = VirtualMachineConfigSpec-> new (deviceChange = > [$devSpecs [0]]);

$vmView-> ReconfigVM (spec = > $vmSpec);

My $vmSpec = VirtualMachineConfigSpec-> new (deviceChange = > [$devSpecs [1]]);

$vmView-> ReconfigVM (spec = > $vmSpec);

My $vmSpec = VirtualMachineConfigSpec-> new (deviceChange = > [$devSpecs [2]]);

$vmView-> ReconfigVM (spec = > $vmSpec);

However, when I try to add all disks at the same time I get a SOAP fault

My $vmSpec = VirtualMachineConfigSpec-> new (deviceChange = > \@devSpecs);

$vmView-> ReconfigVM (spec = > $vmSpec);

The error:

SOAP fault:

-----------

Error string: cannot complete the operation because the file or the /vmfs/volumes/ba5e81fe-201a6c4e/paul-vm1/paul-vm1_0_3.vmdk file already exists

Lack of details: FileAlreadyExistsPAULWORK > clear

Is there anyone out there who knows what's going on?

I did a dump as you said, and it was very helpful.  I needed to add the code below to make it work

It turns out that I need a unique key for each disk that I add.  Thank you for your help

my $disk = VirtualDisk-> new)

controllerKey-online $devSpec-> device-> controllerKey,

unitNumber-online $devSpec-> device-> unitNumber,

key            => -1 *($i + 1),

support-online $devSpec-> device-> storage

capacityInKB-online $devSpec-> device-> capacityInKB,

);

$devSpec = VirtualDeviceConfigSpec-> () new

operation-online $devSpec-> operation,

fileOperation-online $devSpec-> fileOperation,

device-online $disk,

);

Is there a better way to do that

Tags: VMware

Similar Questions

  • Xbox will not connect to xbox live and said "Uh Oh, seems to have found a bug in the system.

    So I went to a game on my xbox and it froze, I so stop my xbox 360 and turned it. When it was turned on it says not connected to xbox live, so I did the steps and plugged but it got to the last step where it connects to xbox live, and it said unable to connect to live. So I went on the xbox website and I registered and it says "Uh Oh, seems to have found a bug in the system and it tells me I have no friends and it does not display my photo on the site...» It happened once in October, but has not occurred again until now. I need help please to find what's wrong.

    Try Xbox support:
    http://support.Xbox.com/en-us/

  • I think that there is a bug in the function RT Set CPU pool assignments (SMP)

    I'm trying to configure Symmetric multi Processing on a PXI controller which has 2 CPUs.  I check the number of processors using RT get number of processors (it gives me 2).  I have a constant matrix of wire to the RT Set CPU pool allocations function and create an array of 2 elements with system and reserved as the two values (to assign a single processor for my timed loop and the other for "everything else").

    It works, which means it seems to do the assignment.  But if I look at the assignments of Pool Set CPU error line, it returns-2231, "invalid CPU pool settings. Each pool must contain at least 1 CPU. »

    I do not know what that means, or why I am getting the error (I might just "ignore it", but if the error is 'real', which is not supposed to do).  The entrance to the Pool Set CPU assignment is described in the documentation as "an array of enumerations, with an entry for each CPU.  For me, this means 2 entries, which is what I have.

    Does anyone have a rational explanation of what's going on?  Is this a bug?  The documentation is the problem?  I have attached the front (showing the number of processors and the error output) and the (very simple) block diagram.

    Bob Schor

    Thank you, Bobby.

    I reread carefully the Note help "Specifies the Set of processors available for automatic load balancing".  Now that I know the 'right answer', I can interpret what is written as planned, but it's not easy!

    It is also curious that, although the previous example has generated error-2231, if we deleted the error (or wired never error line), function has, in fact, affect the system and Timed Structures pool to CPU0 (I have a few 'real' testing code that shows CPU0 with Structures Timed cycles).  Given that the function "does the right thing" even if you specify parameters of 'bad', perhaps it should be treated as a warning, not an error (or otherwise make a mistake of 'real' not assigned to a pool - it also wouldn't hurt to have a less obscure the Error Message, or more explicit "be sure to have at least a CPU explicitly assigned to each system and Timed Structures pools") , maybe in "BOLD".

    This code has no error:

    Hereby I give you credit for the 'Solution', but I'll mark my answer as the Solution because it has a photo to help readers who are intrigued by the question and our responses.

  • Bug in the API BES12 setUsersActivationPassword?

    Hello corporate developers!

    While preparing our migration of the device from BES10 to BES12, I've developed some tools with the Web services of BlackBerry BES12.1.1. Everything is running, but I have a problem with the generation and sending of a random activation using the API password "setUsersActivationPassword".

    I call the API and users receive the activation password and user BES12 interface indicates the period of activation as expected. All right, BUT...

    The issue is the registration of the e-mail address of the user with the ID of the PRS in the BlackBerry Infrastructure to allow Enterprise activation simple and straigth forward on the BlackBerry.

    My Java method to manage demand for Activation password and logs:

    private static boolean generateActivationPassword(String accountName, com.rim.ws.enterprise.admin.User user) {
            final String METHOD_NAME = "generateActivationPassword()";
            final String BWS_API_NAME = "_bws.setUsersActivationPassword()";
            logMessage("Entering %s", METHOD_NAME);
            boolean returnValue = false;
    
            SetUsersActivationPasswordRequest request = new SetUsersActivationPasswordRequest();
            request.setMetadata(REQUEST_METADATA);
            // request.setExpiryHours(24); // wird mit Standard = 48 überschrieben
            request.getUsers().add(user);
            request.setGenerateAndEmailRandomPassword(true);
    
            SetUsersActivationPasswordResponse response = null;
            try {
                logRequest(BWS_API_NAME);
                response = _bws.setUsersActivationPassword(request);
                logResponse(BWS_API_NAME, response.getReturnStatus().getCode(), response.getMetadata());
            } catch (WebServiceException e) {
                // Log and re-throw exception.
                logMessage("Exiting %s with exception \"%s\"", METHOD_NAME, e.getMessage());
                throw e;
            }
    
            if (response.getReturnStatus().getCode().equals("SUCCESS")) {
    
                if (response.getIndividualResponses() != null) {
                    for (IndividualResponse individualResponse : response.getIndividualResponses()) {
                        logMessage("Message: %s (Code: %s)", individualResponse.getReturnStatus().getMessage(), individualResponse.getReturnStatus()
                                .getCode());
                        logMessage("Request UID: %s", individualResponse.getUid());
                    }
    
                    returnValue = true;
                }
    
            } else {
                logMessage("Error Message: \"%s\"", response.getReturnStatus().getMessage());
    
                if (response.getIndividualResponses() != null) {
                    for (IndividualResponse individualResponse : response.getIndividualResponses()) {
                        log.error(String.format("Individual Response - Code \"%s\", Message: \"%s\"", individualResponse.getReturnStatus().getCode(),
                                individualResponse.getReturnStatus().getMessage()));
                    }
                }
            }
    
            logMessage("Exiting %s with %s", METHOD_NAME, returnValue);
            return returnValue;
        }
    
    28.07.2015 14:07:27,116 DEBUG : Entering generateActivationPassword()
    28.07.2015 14:07:27,116 DEBUG : Calling _bws.setUsersActivationPassword()...
    28.07.2015 14:07:29,241 DEBUG : ..._bws.setUsersActivationPassword() returned "SUCCESS"
    28.07.2015 14:07:29,241 DEBUG : Execution Time: 0,7531 seconds
    28.07.2015 14:07:29,241 DEBUG : Request UID: b7963c52-a841-419a-976b-05597583d6b2
    28.07.2015 14:07:29,241 DEBUG : Message:  (Code: SUCCESS)
    28.07.2015 14:07:29,241 DEBUG : Request UID: a95f7e29-6388-4b97-bb3a-96645f516255
    28.07.2015 14:07:29,241 DEBUG : Exiting generateActivationPassword() with true
    

    Is there no workaround solution for the registry API information with the BlackBerry infrastructure? Am I doing something wrong or miss some peace of code here?

    Thanks for helping!

    Greetings from the Germany,

    Daniel

    P.S.: Generate a password for the user BES12 interface saves the data in the infrastructure properly!

    It isn't a fix available for this today.  You are a subscriber to BlackBerry TSupport?  If so, I recommend there curious to see if this would be possible.

  • It seems that there is a bug in the version 38. When I open: tools::options:security: saved passwords, windows to open, but nothing moves inside the window.

    the details are in the question.

    Thanks for the test that. If the UI works correctly in safe mode, but not normal Mode, the main suspects would be:

    (1) graphic driver incompatibility
    (2) extensions

    At the address #1:

    Try disabling Firefox to use hardware acceleration:

    "3-bar" menu button (or tools) > Options > advanced

    In the mini ' General' tab, uncheck the box for "use hardware acceleration when available.

    This takes effect the next time you exit Firefox and start it again. Any difference?

    At the address #2:

    Try turning off all non-essential or unrecognized extensions on page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then, in case of doubt, disable (or delete).

    Often, a link will appear above at least an extension disabled to restart Firefox. You can complete your work on the tab and click one of the links in the last step.

  • I found a bug on the adobe website, where should I report?

    Purchase error.jpg

    I will book not to buy because of this error.

    Hi Rohit,

    I checked the same url at our end, and it works fine. Therefore, please try another browser or reset the browser and then try to open the link again.

    Concerning

    Shelly

  • Blocked ConnectionFactory: trying to access the api.

    Problem:

    1. my application uses the ConnectionFactory class for 5.0.x and 6.0.x platforms.

    2. one of the testers reported that the Bold 9700 v5.0.0.169 (Platform 5.1.0.30), it cannot start application. Shows applications message " Application trying to access the api blocked ' where is the name of the application. Also, Tester reported that the previous version of application (where ConnectionFactory served) starts correctly.

    3. I'm sure asking signed correctly, because I was able to install it on several Bold 9700 DeviceAnywhere devices. The only difference I found is that these devices have v5.0.0.174 (Platform 5.1.0.146).

    Can anyone confirm that this is a bug in the previous OS 5.0.x? Is it okay for me to suggest the update of the device to the customer?

    How the application has been installed?  If they use the WAP browser, read on...

    The JAD file used during the download of applications using the Explorer lists the COD file sizes.  These are the sizes previously signed, which tools do not update after signatures have been applied.  In most cases, this won't matter, but some WAP Gateways carrier truncates the COD file based on the size specified in the JAD file, which cuts the signatures for the application.

  • I think I found a bug

    Hello

    I think I found a bug in the new software of gingerbread and I wanted to see if other people know this as well. In the stock text messaging application, when in a conversation, there is a shortcut feature that allows you to call the person you text by pressing the hard menu button then the call button with a small picture of a phone above her. This will display a list of all the phone numbers that you saved for that particular person. The bug I encounter is that instead of list what each number is (work at home, mobile,...) it just says: 'other' for each phone number. So unless you've memorized all the different numbers, you have for each person, it is impossible to say what cell number, work, home etc, which practically makes this potentially useful shortcut feature useless unless you have a single number registered per person. Everyone knows about this bug?

    The only other bugs I've known are:

    1. the phone restarts itself all while listening to music in the stock music app, making it very difficult to listen to music on my droid x, which is one of my main uses for the phone.

    2. the phone restarts itself during phone calls, which can really be a nuisance.

    3. the phone restarts itself at random times.

    4. the phone turn under sometimes after I turn it off.

    Except that I am very satisfied with the new software of gingerbread. I think that if these bugs can be ironed on the droid x will remain one of the best phones android out there even though he is a year old now.

    I wonder if it's a 2.3.3 thing, because it works fine on the Droid 3 and DX2. I'm reports.

    If, instead of using the menu option to call, you press the icon picture of the person you are texting with and select the phone icon, you get properly labeled numbers? My DX works very well using this method.

  • bug with the news of the spectrum

    Hello

    I have a problem with the FRF vi, which calculates the frequency response. The cluster 'info of the spectrum', the channel name is not changed when the FRF vi is looped. It seems that this problem is when the vi Polymorph selection is set to "1 stimulus, 1 reply.

    The attached vi shows my problem for a better understanding of the "bug".

    The channelname (and perhaps other properties of the spectrum) are not changed. I want to store the result of the FRF vi to a TDMS with polymorphic VI 'Write in TDMS' file available in the Toolbox for sound & Vibration. The Spectra must be registered with all of the properties and the channelname should change...

    Someone has an idea to fix this? Maybe I do not use the bandwidth as it should be, but it seems that there is a bug in the vi.

    Thanks for your help.

    Mathieu

    Hello

    I found what was wrong in my code.

    In order to have the good 'spectrum info', I put the entry "reboot on average" to true on the frequency response of vi.

    Mathieu

  • Possible bug-> CompactDAQ synchronization between HAVE and counter - sync error depends on the sampling frequency (exactly).

    I have a system with a map of the 9234 compactDAQ 4 Groove and a 9401 in slot 5.

    I use a function generator to create a 5V square wave frequency sweep.

    The frequency of scans from 1 Hz to 10 Hz in 3 seconds.

    I have this tee in my door to counter 0 (PFI1 - 16 Pin) and an analog input channel 0.

    In LabView, I do a period measure counter that has a trigger defined on the trigger to start ArmStart HAVE.

    Piecemeal the signal into two channels, I see the time counter correspond to zero-level positive slope crossings in the data to HAVE it.

    By the presence of a square with a mutation frequency wave, I know for sure that the time is not out of a period.

    I noticed the downturn to take samples, the greatest moment of the synchronization error.

    Here is the data that I have saved:

    sampling rate 1 / (sync error times)

    51200 1250

    25600 625

    10240 256

    2048 51.8

    1651 37

    It worked of Y = 0,0244 X + 1.1262 with R ^ 2 = 1.0

    So it could be, I have a programming error, or that there is a bug in the hardware or the base software.

    Thanks for any help to understand this question.

    BTW, I use this system to make an analysis program in the stopped vehicle with direct sequence over time - of course analysis based on the revolutions.  I found that order analytical tools was not flexible enough for what I had done, so I started from the ground upward.

    Hi Greg,.

    Looks like you see the entry delay the NI 9234 (Group delay).   As specified in the instructions for use NI 9234, entry delay is equal to 38.4 / fs + 3.2us.  This is because of how the sigma delta ADC works - after the start, it must acquire a certain number of samples before returning the first valid sample.  This delay is expected.

    Here is a knowledge base on the subject.  There are a lot more, just do a search of the knowledge base for "group delay.

  • Is it possible to call the api native playbook of QT creator?

    Hello

    I'm currently learning the playbook with Qt development.

    For this I use Qt creator to develop the specific application of the user interface.

    I want to know that is it possible to call the api natives of the application that is, I do in QT creator.

    As I want to include a video and audio player in my application.

    It is easier in the native api for use of this feature.

    In QT, I found it in the QT mobility and with phonon, but two of them are not supported on Playbook.

    So please guide me with my problem.

    Thanks in advance.

    bskania.

    Sorry, drop the. at the end: http://qt-project.org/wiki/QNX

    I never used the BB expected build but it's a bit old so it would be logical that you must use Q_OS_QNX vs Q_OS_BLACKBERRY. You can post the results of compilation using Q_OS_QNX?

  • Bug in the latest firmware of phone spa3XX-5XXG 7.5.6 - cannot transfer anonymous calls

    Hi supports,

    I found a bug in the latest firmware of the phone 7.5.6.

    Platform:

    Linux Debian Wheezy

    Asterisk 11.7

    2.11 FreePBX

    Cisco phone model affected: SPA504G and SPA514G (I only tested these two models)

    The question is when there is an incoming call with the anonymous caller id, after picking up the call, xfer and bxfer softkeys are missing. On the first page, only conf softkey (3rd place on four soft keys). After pressing the arrow to the right, it's the recomposition, dir, virgins (previously bxfer) and DND.

    TS has been done.

    Tested with other brands of phones, yealink, snom and mitel, all workers.

    Tested with firmware 7.5.5b, all workers.

    Tested with the latest firmware 7.5.6, softkeys xfer and bxfer are missing.

    I read the note to upgrade from 7.5.6 firmware and below:

    CSCuh25063 The SPA5x5 phone has the ability to hide the softKeys Xfer/Bxfer after the initial configuration of the network.

    Maybe it's related? pure conjecture. Does this mean that we should have the ability to display the softkeys Xfer/Bxfer? HOW?

    I want to solve this problem as soon as possible. My clients are happy after demotion to the 7.5.5b. But if it can be fixed in the next firmware available, that would be great.

    Kind regards

    William Jin

    Hello Ryan,

    Firmware 7.5.7 is scheduled for late February 2015. If anyone needs an immediate fix for this issue, we have a special genius which is based on 7.5.6a.

    Thank you

    Shilpa

  • Editing cascading parameters (dependent) and REP_UTIL. Bug in the PLL

    Using report 10 gr 2, I found a bug in the REP_UTIL. PLL library located at:
    http://www.Oracle.com/technology/products/reports/htdocs/GetStart/examples/tools/index.html

    The Parameter_Cascade.Define function is supposed to manage the master more 3 dependent parameters (total 4 parameters). Everything works as expected with 2 dependent parameters but adding a 3rd lead this 3rd parameter do not fill his LOV. By examining the source in the browser, I found two syntax errors that are the problem (in the GetDetailInfo function and the LoadDetail function - code is not post correctly here because of the media).

    When I make the changes in the source and run it again in my browser, the 3rd dependent parameter works very well. Of course, I can not change the functions of the compiled library REP_UTIL.pll then...
    My questions are:

    (1) does anyone know where I can get a REP_UTIL. PLL which is newer than February 13, 2002 09:34? (that of the Oracle link I posted above)
    (2) does anyone know where I can the. File PLB I could modify and recompile?

    Thank you.

    Why you can't change the code in your REP_UTIL.pll? *. PLL is the source code file, in order to change the code should be no problem.

  • How to report a bug in the SMB's Windows Protocol?

    I found a bug in the SMB's Windows Protocol. (Share files)

    How can I report this to Microsoft?

    Dmitry

    Hi Dimitri.

    You can publish your comments on the Microsoft Connect Web site.

    Microsoft products accepting Bugs and Suggestions | Microsoft Connect

  • BlackBerry PlayBook has the API for the magnetometer support?

    Hi all

    I want to know that is there any support for the magnetometer on BlackBerry PlayBook AIR api API together?

    I want to develop an application that needs a magnetometer support, pls answer me with this ASAP.

    Thank you

    Abhishek

    If I had to * guess *, everyone works on Vitosha boulevard, so we * could * get a SDK for AIR update after that and * possibly * some updates to the API and the new features. That * could * happen later this summer/fall.

Maybe you are looking for

  • can you paste policies into iBooks author?

    I have a document of word processing with the text in multiple fonts in there. I would like to be able to copy/paste in iBooks author to make an epub file, but when I do, he loses the formatting of fonts. Manually change fonts after copy/paste will b

  • Satellite P300: webcam driver open failed

    Hello I'm desperate.1 month ago I bought a satellite P300-190 with webcam internal. Everything seems to work, except the webcam. I get the error when you start the software: "webcam driver open fail. Please restart camera or computer. I read so many

  • Microsoft wireless desktop for v8.0 transmitter/receiver 2.4 ghz 800 drivers

    Come on, microsoft Wireless 2.4 GHz TRANSCEIVER v8.0 800 office, running xp pro on pc and installation wizard application software to support all. Anyone got any idea what & where I can acquire. Thanks in advance. Ken

  • HP Media Center and a PS3

    Hi, I'm looking to set up my PlayStation 3 so it can be used with my computer screen, since I don't have the budget to afford a big HDTV. I have the required monitor and is HDCP compatible, the only problem that I face now is the sound. Many guides s

  • Colors will print does not correctly

    Have just changed the colour and black cartridges on my HP 2610 and now the colors are not print correctly