1. 12 Aug, 2014 1 commit
  2. 10 Jul, 2014 1 commit
  3. 03 Jul, 2014 3 commits
  4. 01 Jul, 2014 1 commit
  5. 12 Jun, 2014 1 commit
    • Dimitris Aragiorgis's avatar
      Support disk hotplug with userspace access · 6b31e28f
      Dimitris Aragiorgis authored
      Before any hotplug action we assemble the block device. Currently
      call_blockdev_assemble() returns the link_name as calculated by
      With userspace support we have to return the drive_uri as calculated
      by _CalculateDeviceURI() as well, in order for the drive_add monitor
      command to be able to use it.
      Additionally with this patch the runtime files are properly updated
      to include the drive uri as well, and thus, upon instance migration,
      the target process will be started with the correct drive options.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
      Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
  6. 02 Jun, 2014 3 commits
    • Jose A. Lopes's avatar
      Override disk labels and introduce 'OS_SCRIPT' · 84d9c84e
      Jose A. Lopes authored
      * The call to update the metadata is moved inside the
        'RunOsScriptsVirtualized' but before 'TemporaryDisks' because this
        call updates the instance configuration in the metadata daemon, and
        we want this configuration to be available when the helper VM
        starts, but we don't want it to contain information about the
        temporary disks.
      * The other call to update the metadata is extracted from the 'else'
        branch to the top-level of the function because we want to update
        metadata independently of whether the instance has an OS.
      * Disk paths must be overridden when running the instance inside a
        safe virtualized environment because, from the host perserspective,
        a disk path that looks like
        should be presented to the instance as
          /dev/xvda (Xen)
          /dev/vda  (KVM)
        Therefore, we must pass the correct '/dev/*' disk paths to the safe
        virtualized environment when creating the environment file.  To
        achieve this, extend backend and RPC for export OS to allow disk
        paths to be overridden.
      * The environment variable 'OS_SCRIPT' is introduce to tell the init
        script that runs inside the virtualized environment which OS script
        to run.  In this patch, the OS script to run is 'create_untrusted',
        but in the future it can be overridden for import, export, and
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
    • Jose A. Lopes's avatar
      Change temporary disk from readonly to read-write · 808cb0ee
      Jose A. Lopes authored
      Making the temporary disk readonly has absolutely no advantages and it
      has the disadvantage that it prevents the OS install helper from
      saving temporary data to it, for example, when downloading the OS
      install package which is necessary to run the OS scripts.
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
    • Jose A. Lopes's avatar
      Fix docstring · 0dff3a96
      Jose A. Lopes authored
      Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
      Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
  7. 30 May, 2014 1 commit
  8. 28 May, 2014 1 commit
  9. 22 May, 2014 1 commit
  10. 14 May, 2014 5 commits
  11. 13 May, 2014 1 commit
  12. 09 May, 2014 1 commit
  13. 05 May, 2014 5 commits
  14. 25 Apr, 2014 1 commit
    • Hrvoje Ribicic's avatar
      Fix failed DRBD disk creation cleanup · 462d6658
      Hrvoje Ribicic authored
      When creating a DRBD disk, Ganeti reserves minor numbers on a per-node
      basis. In case of a failed disk creation, these reservations should be
      released. During the name/uuid refactoring, the invocation of the
      function that releases the minors was not updated, resulting in no
      minors being released in case of a DRBD disk creation failure.
      Ganeti's verification utilities catch this error and rightly complain.
      This patch fixes the issue by providing the UUID and not the name.
      Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
      Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
  15. 08 Apr, 2014 1 commit
  16. 02 Apr, 2014 1 commit
  17. 27 Mar, 2014 2 commits
  18. 20 Mar, 2014 2 commits
  19. 17 Mar, 2014 2 commits
  20. 14 Mar, 2014 1 commit
  21. 13 Mar, 2014 1 commit
  22. 11 Mar, 2014 3 commits
  23. 05 Mar, 2014 1 commit