1
0

0.8.9.rst 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. ==============================
  2. Salt Cloud 0.8.9 Release Notes
  3. ==============================
  4. Welcome to 0.8.9! It has been a long time since the last release, and we're
  5. excited to get this one out the door!
  6. Documentation
  7. =============
  8. The documentation for Salt Cloud can be found on Read the Docs:
  9. https://salt-cloud.readthedocs.io
  10. Download
  11. ========
  12. Salt Cloud can be downloaded and install via pypi:
  13. https://pypi.python.org/packages/source/s/salt-cloud/salt-cloud-0.8.9.tar.gz
  14. Some packages have been made available for salt-cloud and more on their
  15. way. Packages for Arch and FreeBSD are being made available thanks to the
  16. work of Christer Edwards, and packages for RHEL and Fedora are being created
  17. by Clint Savage. The Ubuntu PPA is being managed by Sean Channel. Package
  18. availability will be announced on the salt mailing list.
  19. New Cloudstack Driver
  20. =====================
  21. One of the more impressive stories this release involves the Cloud Stack driver,
  22. written by Sebastien Goasguen. After meeting Thomas Hatch at the LinuxTag
  23. conference, Sebastien went out and wrote a Cloud Stack driver for Salt Cloud, in
  24. less time than it took to compile these release notes. His story is here:
  25. http://sebgoa.blogspot.com/2013/05/the-linuxtag-hack.html
  26. Several people have been asking for this driver, and we are very grateful to
  27. Sebastien for adding it for us!
  28. Updated Joyent Support
  29. ======================
  30. Joyent has updated their API, and Salt Cloud has included the updates in this
  31. version. Bob Szabo did the bulk of this work, and we would like to extend a
  32. special thanks to him for his efforts. The Joyent driver has also been
  33. optimized to access the API directly, resulting in faster operations, and
  34. opening up more of Joyent's native API for future use. Some of the features
  35. that have already been added as a result of this pertain to SSH key management,
  36. directly from Salt Cloud. The following functions have been added:
  37. * list_keys
  38. * show_key
  39. * import_key
  40. * delete_key
  41. Mapping Independent Hierarchies
  42. ===============================
  43. Salt Cloud 0.8.5 introduced the ability to spin up an instance and install
  44. the salt-master package on it. This functionality has been extended, so that
  45. a map file may now spin up a new master, and its minions, and pre-seed the
  46. master with the minion keys so that they are immediately accepted by the time
  47. the new salt-master starts up, and each minion is started up. A map file that
  48. can accomplish this might look like:
  49. .. code-block:: yaml
  50. Ubuntu-12.04-64bit:
  51. TT_Master:
  52. minion:
  53. retry_dns: 5
  54. make_master: True
  55. TT2:
  56. minion:
  57. retry_dns: 5
  58. TT3:
  59. minion:
  60. retry_dns: 5
  61. This functionality was added by Pedro Algarvio, to spin up hierarchies for
  62. testing purposes, and then remove them when finished. This can be instrumental
  63. to organizations wishing to extend their testing and build environments. We
  64. would like to thank him for this, and the many other contributions that he has
  65. added to this and other releases!
  66. Parallel Creation and Logging
  67. =============================
  68. There have been reports of issues in the past pertaining to screen issues when
  69. running salt-cloud in parallel mode (-P). This mode has been greatly stabilized
  70. in this release. Additionally, parallel logging capabilities have been added,
  71. allowing users to store parallel execution logs. Finally, keyboard interrupts
  72. (such as ^C) are now properly handled.
  73. Internal Data Structure
  74. =======================
  75. On 0.8.7 we unleashed the power of multiple cloud provider profiles, it even
  76. allows multiple profiles for the same cloud provider. That was a much asked
  77. feature and was adopted by users right away. Unfortunately, all that power had
  78. a small point of failure when multiple profiles existed for the same cloud
  79. provider. Only the first was used in most operations.
  80. To fix this small issue, salt-cloud's internal data structure changed quite a
  81. bit. Every action, function, virtual machine creation, etc, is now, **always**
  82. "attached" to a provider alias and the(one of the) cloud drivers defined.
  83. Internally, when loading the configuration, all the defined profiles are
  84. matched to the available providers. If the provider does not exits, the profile
  85. gets removed. The same happens for the defined providers, they all know which
  86. profiles they can manage. This closes that small point of failure.
  87. Data Presentation
  88. =================
  89. With the internal data structure change also came a data presentation change.
  90. Most, unless not applicable, output is now done in an ``<provider-alias>``
  91. |srarr| ``<provider-driver>`` |srarr| ``<detailed-output>``. An example is
  92. always better. For an ``ec2-config`` provider alias with an ``ec2`` driver
  93. configured:
  94. .. code-block:: bash
  95. salt-cloud -f show_image ec2-config image=ami-35eb835c
  96. .. code-block:: yaml
  97. ec2-config:
  98. ----------
  99. ec2:
  100. ----------
  101. - architecture:
  102. x86_64
  103. - blockDeviceMapping:
  104. ----------
  105. item:
  106. ----------
  107. deviceName:
  108. /dev/sda
  109. ebs:
  110. ----------
  111. deleteOnTermination:
  112. true
  113. snapshotId:
  114. snap-59724004
  115. volumeSize:
  116. 8
  117. volumeType:
  118. standard
  119. - description:
  120. OmniOS r151006 Base (Stable)
  121. - hypervisor:
  122. xen
  123. - imageId:
  124. ami-35eb835c
  125. - imageLocation:
  126. 182711560792/OmniOS r151006c
  127. - imageOwnerId:
  128. 182711560792
  129. - imageState:
  130. available
  131. - imageType:
  132. machine
  133. - isPublic:
  134. true
  135. - kernelId:
  136. aki-b4aa75dd
  137. - name:
  138. OmniOS r151006c
  139. - rootDeviceName:
  140. /dev/sda
  141. - rootDeviceType:
  142. ebs
  143. - virtualizationType:
  144. paravirtual
  145. We're now always aware of what was done using what.
  146. .. include:: <isoamsa.txt>