Files
fuel-devops/devops/driver
Dennis Dmitriev b5625c1f2f Configure cloudimage-based nodes from devops template
- New attributes in Libvirt Node object:
  cloud_init_volume_name: <string>  # Volume name for cloudinit config
      If set, than Node.define() will try to make an ISO image with
      metadata for cloudimage, and upload it to the specified Volume.
  cloud_init_iface_up: <string>  # Interface label to set up on boot

- New attributes in Libvirt Volume object for cloudinit metadata:
  cloudinit_meta_data: <string>  # Yaml as a string
  cloudinit_user_data: <string>  # Yaml as a string

- Resize 'source_image' after upload to the specified 'capacity' size.
  It's useful for cases when original qcow2 is much smaller than
  it is required, so 'source_image' with the size 2Gb will be resized
  to 'capacity', for example 50Gb, after upload to the libvirt pool.
  For qcow2 images, real disk space is not allocated, it is a virtual
  resize only.

- 'centos_master' node role extension refactored: now pre_define()
  method just initialize the metadata objects (if they weren't passed
  from the template).

- add an example template

Closes-Bug:#1602298

Change-Id: If35b252964a28a4bd43f073318cee93f3dfbe907
2016-07-13 06:26:47 +00:00
..
2016-06-21 14:56:16 +03:00
2016-06-09 15:31:51 +03:00