#15 OXM throws exception when connecting to XCP Kronos host

closed-fixed
nobody
None
5
2011-08-26
2011-08-18
No

XCP has a spin-off project called Kronos, where we're porting the XenAPI toolstack to run on Debian. This version of xapi does not contain the license_params:sku_marketing_name database key.

When OXM connects to a host, it outputs some debug information. This debug information includes the sku_marketing_name key. Because it doesn't do any existence checks, this call throws an exception and OXM fails to connect to the host.

Since this is just debug information, and isn't used later on, I just removed the lookup of sku_marketing_name. This might not be the best way to do this, since we could just catch the exception and proceed, but it was the quickest way I could get OXM working with Kronos.

Discussion

  • Mike McClurg

    Mike McClurg - 2011-08-18

    Patch to remove sku_marketing_name lookup

     
  • chengsun

    chengsun - 2011-08-26

    This should be fixed in rev. 79. Sorry about the delay.

    (I put this debugging code in a while back without any regard whatsoever to compatibility; this has taught me to be slightly more cautious when making such changes! :)

     
  • chengsun

    chengsun - 2011-08-26
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks