Skip to content

Latest commit

 

History

History
47 lines (27 loc) · 1.68 KB

README.md

File metadata and controls

47 lines (27 loc) · 1.68 KB

hpeva

hpeva external storage module for ganeti

PURPOSE

This modules makes ganeti external storage module to work with HP EVAs Systems

PREREQUISITE

INSTALL :

  • Copy this directory in ExtStorage Providers search path (/srv/ganeti/extstorage, /usr/local/lib/ganeti/extstorage, /usr/lib/ganeti/extstorage, /usr/share/ganeti/extstorage)

  • Copy and complete eva.conf in /etc/ganeti/extstorage/

  • Copy cluiclient wherever you want and adapt config file

  • Patch function NewUUID() in /usr/share/ganeti/ganeti/utils/io.py to match this one :

     def NewUUID():
       """Returns a random UUID.
    
       @note: This is a Linux-specific method as it uses the /proc filesystem.
       @rtype: str
    
       """
       return ReadFile(constants.RANDOM_UUID_FILE, size=18).rstrip("\n")
    
  • (ganeti < 2.12) Patch function GenerateDiskTemplate() in lib/cmdlib/instance_storage.py :

       # Only for the Ext template add disk_info to params
       if template_name == constants.DT_EXT:
         params[constants.IDISK_PROVIDER] = disk[constants.IDISK_PROVIDER]
     +   params[constants.IDISK_NAME] = disk[constants.IDISK_NAME]
    
  • restart ganeti

TODO

  • Grow function : It seems that cluiclient does not want to resize a VD with thin provisionning disabled.