locked
Team Foundation Server 2010 and System Center 2012 SP1 Operations Manager WorkItem Synchronization fail RRS feed

  • Question

  • Hello,

    We are currently implementing a Devops solution with SCOM 2012 SP1 and TFS 2010 SP1 and we would like to synchronize APM alerts with TFS and the Operational Issue WorkItem. However we are not able to sync anything.

    Here is our environments :

    Products :

    SCOM

    System Center Operations Manager 2012 SP1 French

    OS: Windows 2012 SP1 Std x64 French

    DB: SCOM SQL Server 2012 SP1 x64

    Management Pack

    •          MP Operations Manager TFS Work Item Synchronisation 7.0.9538.0
    •          MP Alert Attachement 7.0.9538.0 (We have also try the version in the VM DEVOPSALL : 7.0.9538.1005)

    TFS

    Team Foundation Server 2010 SP1 French 10.0.40219.1

    OS: Windows 2008 R2 SP1 Std x64 French

    DB: TFS SQL Server 2008 x64

    TFS 2012 Object Model Installer (We have also try the version 2010)

    Here is our configuration :

    TFS Platform                                                                                                                              

    This a French platform with a project based on the Process Template SCRUM 1.0 alone in a Team Project collection. The Operational Issue import completed successfully. It’s possible to manipulate Operational Issue for all of its states from TFS.

    SCOM Platform

    We followed the documentation at : http://technet.microsoft.com/en-us/library/jj883936.aspx to configure SCOM Alert Attachment and Operation Manager Tfs Work Item Synchronization. Everything seems to be ok. All configurations succeed. We did not configure Intellitrace collector.

    The problem occurs when we are trying to push an APM alert to TFS. When we assigned an alert to the Engineering nothing is synchronized in TFS. There is no error in the event viewer on the TFS server. But, on the SCOM server we get 2 exceptions raised by  Microsoft.EnterpriseManagement.Modules.Apm.TfsWISync.OMModules. We provide you the log of the SCOM Server in this mail.

    Detailed exceptions :

    Exception message are in French. In English it could be : OEF expected. The followed elements are not closed : Source, Link.

    ----------------------------------

    Microsoft.SystemCenter.TfsWISync.SyncAttachments.Rule

    TFS Work Item Synchronisation ServerName

    {EC924637-2725-7C94-8F37-013B657F4530}

    Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.OMModules.ReadOpenAlertsModule

    System.Xml.XmlException: Fin de fichier inattendue. Les éléments suivants ne sont pas fermés : Source, Link. Ligne 1, position 65537.

       à System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

       à System.Xml.XmlTextReaderImpl.ParseElementContent()

       à System.Xml.XmlReader.ReadString()

       à System.Xml.XmlReader.ReadElementString(String name)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.Common.DataItems.Links.DeserializeInternal(XmlReader reader)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.Common.DataItems.Links.Deserialize(String mappings)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.OMModules.ReadOpenAlertsModule.InitializeConfiguration(XmlReader reader)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.OMModules.ReadOpenAlertsModule..ctor(ModuleHost`1 moduleHost, XmlReader configurationReader, Byte[] previousState)

    ----------------------------------

    Microsoft.SystemCenter.TfsWISync.SyncWorkItems.Rule

    TFS Work Item Synchronisation ServerName

    {EC924637-2725-7C94-8F37-013B657F4530}

    Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.OMModules.ReadAlertsSyncModule

    System.Xml.XmlException: Fin de fichier inattendue. Les éléments suivants ne sont pas fermés : Source, Link. Ligne 1, position 65537.

       à System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

       à System.Xml.XmlTextReaderImpl.ParseElementContent()

       à System.Xml.XmlReader.ReadString()

       à System.Xml.XmlReader.ReadElementString(String name)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.Common.DataItems.Links.DeserializeInternal(XmlReader reader)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.Common.DataItems.Links.Deserialize(String mappings)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.OMModules.ReadAlertsSyncModule.InitializeConfiguration(XmlReader reader)

       à Microsoft.EnterpriseManagement.Modules.Apm.TfsConnector.OMModules.ReadAlertsSyncModule..ctor(ModuleHost`1 moduleHost, XmlReader configurationReader, Byte[] previousState)

    ----------------------------------

    According to you, is there a possible incompatibility of the synchronization system with French environments?

    Thanks for your  help.


    Gregory OTT => http://twitter.com/gregory_ott
    ALM Engineer at Tekigo => www.tekigo.com

    Wednesday, October 9, 2013 11:47 AM

Answers

  • SCOM2012 SP1 CU5 corrects the problem and brings new synchronization functionalities.

    Thanks to all of you.


    Gregory OTT => http://twitter.com/gregory_ott
    ALM Engineer at Tekigo => www.tekigo.com

    • Marked as answer by Gregory OTT Monday, April 28, 2014 9:23 AM
    Monday, April 28, 2014 9:23 AM

All replies

  • Hi,

    To monitor the complete TFS infrastructure, you need additional monitoring packs that alert you about a wide range of problems with TFS components. When you import the TFS Work Item Synchronization management pack, it is a best practice to also import and configure these monitoring packs, you can double check these:

    Monitoring Integration between Operations Manager and TFS in System Center 2012 SP1

    http://technet.microsoft.com/en-us/library/jj899893.aspx


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

    • Marked as answer by Cloud_TS Monday, October 21, 2013 10:04 AM
    • Unmarked as answer by Gregory OTT Monday, April 28, 2014 9:20 AM
    Monday, October 14, 2013 6:40 AM
  • Thanks for your Answer Alex.

    We had installed the monitoring pack for TFS. The error remains but we have a little more information in SCOM

    Event Description: TFS WI Synchronization : Cannot get TFS
    Collection instances. Exception: Unexpected end of file has occurred. The
    following elements are not closed: Source, Link. Line 1, position 65537.

    This is obscure because settings succeeded to retrieve Team Project Collection.

    Thanks


    Gregory OTT => http://twitter.com/gregory_ott
    ALM Engineer at Tekigo => www.tekigo.com

    Tuesday, October 22, 2013 8:08 AM
  • Hello Gregory,

    Tfs Synchronization management pack is not working with localized version of TFS.

    Anyway if that is possible could you please post what management pack is created as a result of TFS configuration wizard (It should have only 2 discoveries)?.. I'm interested in Discovery/DataSource configuration.

    Thank you


    Anastasia




    Monday, November 18, 2013 7:03 AM
  • SCOM2012 SP1 CU5 corrects the problem and brings new synchronization functionalities.

    Thanks to all of you.


    Gregory OTT => http://twitter.com/gregory_ott
    ALM Engineer at Tekigo => www.tekigo.com

    • Marked as answer by Gregory OTT Monday, April 28, 2014 9:23 AM
    Monday, April 28, 2014 9:23 AM