Ask a questionAsk a question
 

QuestionHyper-V Worker 12340 errors

  • Wednesday, October 28, 2009 9:19 AMFrogbit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    What are these all about? They occur whenever any VM is started up.

    Log Name:      Microsoft-Windows-Hyper-V-Worker-Admin
    Source:        Microsoft-Windows-Hyper-V-Worker
    Date:          28/10/2009 07:43:12
    Event ID:      12340
    Task Category: None
    Level:         Error
    Keywords:      
    User:          NETWORK SERVICE
    Computer:      VMHOST.local
    Description:
    'Security Server 1' could not read key '/configuration/global_settings/devices/storage_allow_full_scsi_command_set' from the repository. Error: 'The system cannot find the file specified.'(0x80070002). (Virtual machine ID 870379f1-b778-4864-aef3-375517e14765)

    The error apparently suggests a permissions problem with the configuration file, except that the confguration file permissions look fine (includes those weird ACEs; for the 870379f1-b778-4864-aef3-375517e14765 object in the above case). No other problems occur.

    But if I look inside the configuration files I will not find a "/configuration/global_settings/devices " key anyway.

    Thanks

All Replies

  • Wednesday, October 28, 2009 9:29 AMJoachim NässlanderMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Are these VM's installed on this server or restored from another installation / earlier version?

    When did the error start occuring? Have you installed any patches lately?

    Here are the eventid's for HV: http://technet.microsoft.com/en-us/library/dd582361(WS.10).aspx but no resolution is included yet.
    Best regards

    Joachim Nässlander
    IT-Expert, Knowledge Factory
    (http://www.knowledgefactory.se)

    MVP Cluster
    Member of Microsoft Extended Experts Team (MEET)
    Blog: http://www.nullsession.com
  • Wednesday, October 28, 2009 11:47 AMFrogbit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When moving from 2008 to 2008 RC the VMs were reconstructed using backed up VHDs rather than importing the VMs.

    The 2008 RC to RTM upgrade was inplace. I'm sure these errors occurred in RC too.

    The history of these errors goes back over a month (the oldest events logged). The host is kept up-to-date with patches.

    I'd checked out the link you describe which is why I knew it was pointing at a permissions problem. But the permissions appear to be in order. The VMs have VHDs mounted as SCSI drives in the VMs, but the key the error is referring to does not exist in the configuration XML file. All else seems fine with the VMs. This is making me think the error is actually not reporting a problem correctly.

    Thanks

    Paul
  • Monday, November 02, 2009 9:01 AMVincent HuMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    I have a post discussed the similar issue with yours, you can refer to:

     

    After upgrading to Windows 2008 R2 can't start VM's

    http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2virtualization/thread/b26fe762-62eb-48ec-b538-ddeed61e1fae

     

     

    Best Regards,

    Vincent Hu

  • Saturday, November 07, 2009 9:09 AMFrogbit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks Vincent,

    Nope, that isn't the answer: I'd already tried giving NETWORK SERVICE read access (because that is what complains about it), but I've just tried Authenticated Users to no effect.

    The event that follows the error is "virtual machine started successfully", so I can't see how this relates to permissions. The problem seems to have something to do with the total lack of a "/configuration/global_settings/devices " key in the VMs configuration file, but then Hyper-V doesn't create such a key so what is it about?


    Paul
  • Thursday, November 12, 2009 8:16 AMPravin Mestry Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    have you try to create a new VM? How about remove Hyper-v and enable it again?
  • Friday, November 13, 2009 3:37 PMFrogbit Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Pravin,

    Yes I have tried creating new VMs; actually they get created quite regularily.

    Removing the Hyper-V role off the host servers is way too dramatic!

    Can you, or anyone, tell me whether they have an entry for "/configuration/global_settings/devices/ storage_allow_full_scsi_command_set " in their configuration XML files? And what is it? If someone can answer this then it may be worth exploring further. If no-one can tell me such a key supposed to exist I think I can assume that this is some Microsoft nonsense that doesn't actually mean anything!

    Paul