none
Error importing a sealed management pack

    Question

  • Hello,

    Im facing an error while importing a sealed management pack, this error states the following message:

    PrintSpooler could not be imported. If any management packs in the Import list are dependent on this management pack, the installation of the dependent management packs will fail.

    Don't know what i missed...
    Thanks for your help in advance.


    Lotfi BOUCHERIT


    • Edited by Lotfi B Thursday, March 28, 2013 7:48 AM
    Thursday, March 28, 2013 7:47 AM

Answers

  • Well, here is your issue:

    Error 1 Failed to verify Override: ServiceStateProbePage_1e923ba1d9f04d688b0908072f8b2606.DiscoveryRule.Discovery.Override.

    Sealed management packs cannot contain overrides where InstanceContext is specified.


    http://OpsMgr.ru/

    Tuesday, April 02, 2013 10:53 AM
  • you have two options here:

    - remove the override from MP (completely or move it to another unsealed MP)

    - remove the InstanceContext (make it 'override for a class\group' instead of 'override for an instance') 


    http://OpsMgr.ru/

    Tuesday, April 02, 2013 7:05 PM

All replies

  • Hello,

    Identify the management server your console is connected to. Search the Operatopns Manager event log. OpsMgr always puts the detailed event (error) there when import is failed.


    http://OpsMgr.ru/

    Thursday, March 28, 2013 9:00 AM
  • Which management pack you are imported?

    The issue seems to the missing dependent management pack. Please refer to the document of the sealed management pack which states the dependent management pack, you should installed on or before the installation of the management pack.  

    Roger

    Thursday, March 28, 2013 9:22 AM
  • Hello,

    There is some management pack that is referenced inside the Print Spooler Management Pack and is not imported in your SCOM environment. May be you unseal the Management Pack and check all the references inside the Management Packs. Once you find the Management Pack that does not exist in your SCOM environment, you will have to import that first.

    To export a sealed MP, you can refer to my blog available at : https://sites.google.com/site/scomblogs/journal-blog/exportingamanagementpack

    Once you do that, you should be good to import the Print Spooler MP.


    Regards,


    Abdul Karim. (http://sites.google.com/site/scomblogs Twitter:@Abdul_SCOM)

    Thursday, March 28, 2013 11:38 AM
  • Hello,

    Here is my need, i have to design a distributed application in SCOM 2012, where i customized a windows service template in a management pack (PrintSpooler), and this service needs to be part of my distributed application components.

    When i try to add it, i find it grayed with a remark stating that the containing MP is not yet sealed.

    What i did:

    • Exported the PrintSpooler management pack
    • Sealed it with SN utility and MPSealer
    • Tried to import the sealed one, and got this error

    @Alexis: In my event viewer, i see message 10830 when i try to import the management pack


    Lotfi BOUCHERIT

    Thursday, March 28, 2013 11:56 AM
  • @AbdulRajiwte:

    Hello, thanks for your answer, my PrintSpooler.mp is in a directory containing all the MPs of the Installation CD, should i add those with overrides of my SCOM configuration? is that what you want to say?

    Thanks for your answers!


    Lotfi BOUCHERIT

    Thursday, March 28, 2013 12:25 PM
  • Hello,

    I am still stuck, any help, any idea please?


    Lotfi BOUCHERIT

    Monday, April 01, 2013 9:30 AM
    • Exported the PrintSpooler management pack
    • Sealed it with SN utility and MPSealer
    • Tried to import the sealed one, and got this error

    Are you trying to re-seal a management pack developed (and sealed) by someone else and then upgrade MP with this (re-sealed) version?

    There are some limitations. You can not do following:

    - Import (upgrade) a sealed version over the unsealed (or vice versa)

    - Import (upgrade) the sealed MP with another sealed MP if those management packs are sealed with different keys.


    http://OpsMgr.ru/

    Monday, April 01, 2013 10:33 AM
  • It sounds like you are trying to import the sealed management pack while the unsealed management pack still exists in the management group? I don't see where you have deleted the old \ original (unsealed) MP.

    As Alex states - "You cannot - Import (upgrade) a sealed version over the unsealed (or vice versa)"


    Regards Graham New System Center 2012 Blog! - http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at http://systemcentersolutions.wordpress.com/

    Monday, April 01, 2013 10:46 AM
  • I deleted the unsealed management pack, and it's true i created a couple of keys but none of them has been worked ( i mean succeffully imported the sealed management pack) so i don't think that the problem is related to the keys

    Lotfi BOUCHERIT

    Monday, April 01, 2013 10:59 AM
  • > i see message 10830 when i try to import the management pack

    Please post the event details here.


    http://OpsMgr.ru/

    Monday, April 01, 2013 12:11 PM
  • Here are the event details:

    An alert couldn't be inserted to the database. This could have happened because  of one of the following reasons:

                    - Alert is stale. The alert is generated by an MP recently deleted.

                    - Database connectivity problems or database running out of space.

                    - Alert received is not valid.

     The following details should help to further diagnose:

    Details : RuleId:8654b44b-a532-3e3a-19be-1d4a66e9f790. HealthServiceId:a483d535-aca5-2317-452d-38463bafc8cb. The format specification is not valid : 's ) should not generate data about this managed object ( %s ).'.



    Lotfi BOUCHERIT

    Monday, April 01, 2013 1:36 PM
  • No, it's not related to your issue. It tells that you didn't enabled 'proxy' for an agent.

    What exactly you've done inside the MP? Can you post here your (changed) code?


    http://OpsMgr.ru/

    Tuesday, April 02, 2013 4:42 AM
  • thanks for your reply,

    here you find the XML file for my management pack (just before sealing), and you'll find too, the .MP file too

    https://skydrive.live.com/redir?resid=50D76E1B4061CD6B!513&authkey=!AEHNuTeGCpONekA

    thanks in advance


    Lotfi BOUCHERIT


    • Edited by Lotfi B Tuesday, April 02, 2013 7:05 AM
    Tuesday, April 02, 2013 7:03 AM
  • those files are inaccessible. please ensure you're shared it...

    http://OpsMgr.ru/


    Tuesday, April 02, 2013 9:00 AM

  • Im sorry, could you please try this shortened link? : http://sdrv.ms/121tpwh


    Lotfi BOUCHERIT


    • Edited by Lotfi B Tuesday, April 02, 2013 9:23 AM
    Tuesday, April 02, 2013 9:19 AM
  • Well, here is your issue:

    Error 1 Failed to verify Override: ServiceStateProbePage_1e923ba1d9f04d688b0908072f8b2606.DiscoveryRule.Discovery.Override.

    Sealed management packs cannot contain overrides where InstanceContext is specified.


    http://OpsMgr.ru/

    Tuesday, April 02, 2013 10:53 AM
  • Well, what should i do please to import my printspoolermonitor management pack successfully?


    Lotfi BOUCHERIT

    Tuesday, April 02, 2013 12:26 PM
  • you have two options here:

    - remove the override from MP (completely or move it to another unsealed MP)

    - remove the InstanceContext (make it 'override for a class\group' instead of 'override for an instance') 


    http://OpsMgr.ru/

    Tuesday, April 02, 2013 7:05 PM