vagrant-openstack-provider-illuin 0.11.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +22 -0
  3. data/.rubocop.yml +40 -0
  4. data/CHANGELOG.md +276 -0
  5. data/Gemfile +22 -0
  6. data/RELEASE.md +15 -0
  7. data/Rakefile +25 -0
  8. data/Vagrantfile +20 -0
  9. data/dummy.box +0 -0
  10. data/example_box/README.md +13 -0
  11. data/example_box/metadata.json +3 -0
  12. data/functional_tests/Vagrantfile +58 -0
  13. data/functional_tests/keys/vagrant-openstack +27 -0
  14. data/functional_tests/keys/vagrant-openstack.pub +1 -0
  15. data/functional_tests/run_tests.sh +142 -0
  16. data/lib/vagrant-openstack-provider.rb +29 -0
  17. data/lib/vagrant-openstack-provider/action.rb +344 -0
  18. data/lib/vagrant-openstack-provider/action/abstract_action.rb +22 -0
  19. data/lib/vagrant-openstack-provider/action/connect_openstack.rb +60 -0
  20. data/lib/vagrant-openstack-provider/action/create_server.rb +184 -0
  21. data/lib/vagrant-openstack-provider/action/create_stack.rb +76 -0
  22. data/lib/vagrant-openstack-provider/action/delete_server.rb +53 -0
  23. data/lib/vagrant-openstack-provider/action/delete_stack.rb +73 -0
  24. data/lib/vagrant-openstack-provider/action/message.rb +19 -0
  25. data/lib/vagrant-openstack-provider/action/provision.rb +60 -0
  26. data/lib/vagrant-openstack-provider/action/read_ssh_info.rb +74 -0
  27. data/lib/vagrant-openstack-provider/action/read_state.rb +43 -0
  28. data/lib/vagrant-openstack-provider/action/resume.rb +24 -0
  29. data/lib/vagrant-openstack-provider/action/snapshot_cleanup.rb +32 -0
  30. data/lib/vagrant-openstack-provider/action/snapshot_delete.rb +32 -0
  31. data/lib/vagrant-openstack-provider/action/snapshot_list.rb +22 -0
  32. data/lib/vagrant-openstack-provider/action/snapshot_restore.rb +29 -0
  33. data/lib/vagrant-openstack-provider/action/snapshot_save.rb +51 -0
  34. data/lib/vagrant-openstack-provider/action/start_server.rb +24 -0
  35. data/lib/vagrant-openstack-provider/action/stop_server.rb +25 -0
  36. data/lib/vagrant-openstack-provider/action/suspend.rb +24 -0
  37. data/lib/vagrant-openstack-provider/action/sync_folders.rb +138 -0
  38. data/lib/vagrant-openstack-provider/action/wait_active.rb +33 -0
  39. data/lib/vagrant-openstack-provider/action/wait_stop.rb +33 -0
  40. data/lib/vagrant-openstack-provider/cap/snapshot_list.rb +15 -0
  41. data/lib/vagrant-openstack-provider/catalog/openstack_catalog.rb +90 -0
  42. data/lib/vagrant-openstack-provider/client/cinder.rb +39 -0
  43. data/lib/vagrant-openstack-provider/client/domain.rb +163 -0
  44. data/lib/vagrant-openstack-provider/client/glance.rb +65 -0
  45. data/lib/vagrant-openstack-provider/client/heat.rb +49 -0
  46. data/lib/vagrant-openstack-provider/client/http_utils.rb +116 -0
  47. data/lib/vagrant-openstack-provider/client/keystone.rb +128 -0
  48. data/lib/vagrant-openstack-provider/client/neutron.rb +48 -0
  49. data/lib/vagrant-openstack-provider/client/nova.rb +303 -0
  50. data/lib/vagrant-openstack-provider/client/openstack.rb +59 -0
  51. data/lib/vagrant-openstack-provider/client/request_logger.rb +23 -0
  52. data/lib/vagrant-openstack-provider/client/rest_utils.rb +28 -0
  53. data/lib/vagrant-openstack-provider/command/abstract_command.rb +51 -0
  54. data/lib/vagrant-openstack-provider/command/flavor_list.rb +24 -0
  55. data/lib/vagrant-openstack-provider/command/floatingip_list.rb +32 -0
  56. data/lib/vagrant-openstack-provider/command/image_list.rb +29 -0
  57. data/lib/vagrant-openstack-provider/command/main.rb +52 -0
  58. data/lib/vagrant-openstack-provider/command/network_list.rb +25 -0
  59. data/lib/vagrant-openstack-provider/command/openstack_command.rb +16 -0
  60. data/lib/vagrant-openstack-provider/command/reset.rb +20 -0
  61. data/lib/vagrant-openstack-provider/command/subnet_list.rb +22 -0
  62. data/lib/vagrant-openstack-provider/command/utils.rb +22 -0
  63. data/lib/vagrant-openstack-provider/command/volume_list.rb +25 -0
  64. data/lib/vagrant-openstack-provider/config.rb +498 -0
  65. data/lib/vagrant-openstack-provider/config/http.rb +39 -0
  66. data/lib/vagrant-openstack-provider/config_resolver.rb +334 -0
  67. data/lib/vagrant-openstack-provider/errors.rb +187 -0
  68. data/lib/vagrant-openstack-provider/logging.rb +39 -0
  69. data/lib/vagrant-openstack-provider/plugin.rb +58 -0
  70. data/lib/vagrant-openstack-provider/provider.rb +50 -0
  71. data/lib/vagrant-openstack-provider/utils.rb +36 -0
  72. data/lib/vagrant-openstack-provider/version.rb +15 -0
  73. data/lib/vagrant-openstack-provider/version_checker.rb +76 -0
  74. data/locales/en.yml +412 -0
  75. data/spec/vagrant-openstack-provider/action/connect_openstack_spec.rb +770 -0
  76. data/spec/vagrant-openstack-provider/action/create_server_spec.rb +260 -0
  77. data/spec/vagrant-openstack-provider/action/create_stack_spec.rb +99 -0
  78. data/spec/vagrant-openstack-provider/action/delete_server_spec.rb +89 -0
  79. data/spec/vagrant-openstack-provider/action/delete_stack_spec.rb +63 -0
  80. data/spec/vagrant-openstack-provider/action/message_spec.rb +33 -0
  81. data/spec/vagrant-openstack-provider/action/provision_spec.rb +97 -0
  82. data/spec/vagrant-openstack-provider/action/read_ssh_info_spec.rb +201 -0
  83. data/spec/vagrant-openstack-provider/action/read_state_spec.rb +81 -0
  84. data/spec/vagrant-openstack-provider/action/resume_server_spec.rb +49 -0
  85. data/spec/vagrant-openstack-provider/action/start_server_spec.rb +49 -0
  86. data/spec/vagrant-openstack-provider/action/stop_server_spec.rb +49 -0
  87. data/spec/vagrant-openstack-provider/action/suspend_server_spec.rb +49 -0
  88. data/spec/vagrant-openstack-provider/action/sync_folders_spec.rb +155 -0
  89. data/spec/vagrant-openstack-provider/action/wait_active_spec.rb +53 -0
  90. data/spec/vagrant-openstack-provider/action/wait_stop_spec.rb +53 -0
  91. data/spec/vagrant-openstack-provider/action_spec.rb +120 -0
  92. data/spec/vagrant-openstack-provider/client/cinder_spec.rb +129 -0
  93. data/spec/vagrant-openstack-provider/client/glance_spec.rb +145 -0
  94. data/spec/vagrant-openstack-provider/client/heat_spec.rb +130 -0
  95. data/spec/vagrant-openstack-provider/client/keystone_spec.rb +226 -0
  96. data/spec/vagrant-openstack-provider/client/neutron_spec.rb +173 -0
  97. data/spec/vagrant-openstack-provider/client/nova_spec.rb +760 -0
  98. data/spec/vagrant-openstack-provider/client/utils_spec.rb +176 -0
  99. data/spec/vagrant-openstack-provider/command/flavor_list_spec.rb +43 -0
  100. data/spec/vagrant-openstack-provider/command/floatingip_list_spec.rb +74 -0
  101. data/spec/vagrant-openstack-provider/command/image_list_spec.rb +95 -0
  102. data/spec/vagrant-openstack-provider/command/network_list_spec.rb +65 -0
  103. data/spec/vagrant-openstack-provider/command/reset_spec.rb +24 -0
  104. data/spec/vagrant-openstack-provider/command/subnet_list_spec.rb +45 -0
  105. data/spec/vagrant-openstack-provider/command/volume_list_spec.rb +40 -0
  106. data/spec/vagrant-openstack-provider/config_resolver_spec.rb +879 -0
  107. data/spec/vagrant-openstack-provider/config_spec.rb +414 -0
  108. data/spec/vagrant-openstack-provider/e2e_spec.rb.save +27 -0
  109. data/spec/vagrant-openstack-provider/provider_spec.rb +13 -0
  110. data/spec/vagrant-openstack-provider/spec_helper.rb +37 -0
  111. data/spec/vagrant-openstack-provider/utils_spec.rb +128 -0
  112. data/spec/vagrant-openstack-provider/version_checker_spec.rb +39 -0
  113. data/stackrc +25 -0
  114. data/vagrant-openstack-provider-illuin.gemspec +34 -0
  115. metadata +362 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d5ca7c4800e307c95fa74facd0e693f6171b7e24
4
+ data.tar.gz: b297157c970cf624d2e1aa278c9f81a0395a06f0
5
+ SHA512:
6
+ metadata.gz: 334de97832e42c07d9cf6715b2b774ec7a084f96d804bd25836da495ca7b0badf93ba3233963b4f564438f0248e8591ff87252d582dd2f300689f65b5c85061f
7
+ data.tar.gz: 631d3331cb02a7f09c9cf36d66497ea3ef1b3121d7c9962ac66b6dd9027c58c2693c9cfdbbc8788a6103e1a7db5aa1bf8dc8f216d6b8bb58ebea5db5a44748bf
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.iml
3
+ *.rbc
4
+ .bundle
5
+ .config
6
+ .vagrant
7
+ .yardoc
8
+ Gemfile.lock
9
+ gemfiles/*.lock
10
+ InstalledFiles
11
+ _yardoc
12
+ coverage
13
+ doc/
14
+ lib/bundler/man
15
+ pkg
16
+ rdoc
17
+ spec/reports
18
+ test/tmp
19
+ test/version_tmp
20
+ tmp
21
+ .venv
22
+ .idea/
@@ -0,0 +1,40 @@
1
+ AllCops:
2
+ Exclude:
3
+ - '.bundle/**/*'
4
+ - 'out/**/*'
5
+ - '**/Vagrantfile'
6
+ DisplayCopNames: true
7
+
8
+ Style/FileName:
9
+ Enabled: false
10
+
11
+ Style/Encoding:
12
+ Enabled: false
13
+
14
+ Style/Documentation:
15
+ Enabled: false
16
+
17
+ Style/ClassVars:
18
+ Enabled: false
19
+
20
+ Metrics/ClassLength:
21
+ Max: 300
22
+
23
+ Metrics/CyclomaticComplexity:
24
+ Severity: warning
25
+ Max: 15
26
+
27
+ Metrics/MethodLength:
28
+ Max: 65
29
+
30
+ Metrics/LineLength:
31
+ Max: 150
32
+
33
+ Metrics/ParameterLists:
34
+ Max: 6
35
+
36
+ Metrics/AbcSize:
37
+ Max: 110
38
+
39
+ Metrics/PerceivedComplexity:
40
+ Max: 45
@@ -0,0 +1,276 @@
1
+ # 0.11.0 (August 5, 2017)
2
+
3
+ IMPROVEMENTS:
4
+
5
+ - Implement a test suite running all samples #331
6
+ - Add test for config.ssh.insert_key = false #332
7
+
8
+ FEATURES:
9
+
10
+ - Add "ssl_verify_peer" in config for self-signed certs #85 #320
11
+ - Add "ssl_ca_file" in config for self-signed certs #329
12
+
13
+ BUG FIXES:
14
+
15
+ - Handling of asynchronous floating IP assignment #324
16
+ - Fix floating IP assignement #330
17
+ - Respect config.ssh.insert_key #328
18
+
19
+
20
+ # 0.10.0 (April 11, 2017)
21
+
22
+ IMPROVEMENTS:
23
+
24
+ - Add snapshot support #296
25
+
26
+ # 0.9.0 (January 30, 2016)
27
+
28
+ BUG FIXES:
29
+
30
+ - Make it work with Vagrant 1.9 #311
31
+
32
+ # 0.8.0 (November 19, 2016)
33
+
34
+ IMPROVEMENTS:
35
+
36
+ - Move to standard Vagrant synced folders middleware #295
37
+
38
+ FEATURES:
39
+
40
+ - Support Keystone v3 API #4
41
+
42
+ BUG FIXES:
43
+
44
+ - Bugfix on IP address resolution #285
45
+
46
+ # 0.7.2 (May 1, 2016)
47
+
48
+ IMPROVEMENTS:
49
+
50
+ - Allow status and ssh to run without a lock #282
51
+ - Switch to standard WaitForCommunicator middleware #281
52
+
53
+ BUG FIXES:
54
+
55
+ - Run provisioner cleanup when destroying VMs #272
56
+ - Windows host provisioning using Winrm #264
57
+ - Use only provided ssh key and don't touch the known_hosts #259
58
+ - Fix hooks for provisioners #248, #249, #28
59
+ - Support standard option config.vm.boot_timeout #227
60
+
61
+ # 0.7.1 (February 19, 2016)
62
+
63
+ BUG FIXES:
64
+
65
+ - Fix dependency to make it work with Vagrant 1.8 #265, #266 , #268
66
+ - Fix heat stack create when multiple machines are declared #260
67
+ - Fix regression, vagrant provision was broken #240
68
+
69
+ # 0.7.0 (August 10, 2015)
70
+
71
+ FEATURES:
72
+
73
+ - Access to obtained floating IP from provisioner phase [#205](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/205)
74
+
75
+ IMPROVEMENTS:
76
+
77
+ - Autodetect new version of the provider and provide info message to update [#132](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/132)
78
+ - Documentation for the `ssh_timeout` option [#230](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/230)
79
+
80
+ BUG FIXES:
81
+
82
+ - scheduler_hints ignored due to incorrect json tag in create request [#231](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/231)
83
+ - delete_keypair_if_vagrant throws exception if key_name is missing [#238](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/238)
84
+ - Fix Vagrant 1.4 bug, extra_data attr not found [#211](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/211)
85
+ - Add suffix /tokens in auth url if missing [#208](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/208)
86
+
87
+ # 0.6.1 (January 30, 2015)
88
+
89
+ IMPROVEMENTS:
90
+
91
+ - Straightforward syntax to define single networks [#193](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/193)
92
+ - Network preference for SSH [#194](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/194)
93
+ - Allow lists in flavor values [#189](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/189)
94
+ - Allow "wait active" timeout to be configurable [#185](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/185)
95
+ - Allow setting timeout value for REST calls [#183](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/183)
96
+
97
+ BUG FIXES:
98
+
99
+ - Vagrant openstack reset fails when the instance is not found [#195](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/195)
100
+ - Show explicit error when tenant is missing in credentials [#186](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/186)
101
+
102
+ # 0.6.0 (November 28, 2014)
103
+
104
+ FEATURES:
105
+
106
+ - First implementation of Heat Stacks [#170](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/170)
107
+ - Allow public and private networks to be specified [#148](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/148)
108
+ - Add custom command "subnet-list" [#160](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/160)
109
+ - Allow public and private networks to be specified [#148](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/148)
110
+ - Add config parameter os.region [#128](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/128)
111
+
112
+ IMPROVEMENTS:
113
+
114
+ - Rsync all files [#166](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/166)
115
+ - Support glance API v1 [#168](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/168)
116
+ - Replace fail <string> by fail Errors::... [#152](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/152)
117
+ - When an unknown error occurs, provide information to debug and submit issue [#115](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/115)
118
+ - Print more information for command "vagrant openstack image-list" [#104](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/104)
119
+ - Cannot 'resume' while instance is in vm_state active [#91](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/91)
120
+ - Allow config.floating_ip_pool to take an array as input [#90](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/90)
121
+ - Display the current task value in the status option [#89](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/89)
122
+
123
+ BUG FIXES:
124
+
125
+ - Fix ssh_disabled [#182](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/182)
126
+ - Avoid printing contribution message on user interruption [#169](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/169)
127
+ - Network configuration is lost when machine definition overrides provider's configuration [#146](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/146)
128
+ - When VM status is "ERROR" continue waiting for startup [#62](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/62)
129
+
130
+ DOCUMENTATION:
131
+
132
+ - Add a CONTRIBUTING.md file [#151](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/151)
133
+
134
+ # 0.5.2 (November 6, 2014)
135
+
136
+ BUG FIXES:
137
+
138
+ - When multiple IPs are available, return the first one instead of failing [#155](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/155)
139
+
140
+
141
+ # 0.5.1 (November 6, 2014)
142
+
143
+ BUG FIXES:
144
+
145
+ - Allow public and private networks to be specified [#148](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/148)
146
+
147
+ # 0.5.0 (November 4, 2014)
148
+
149
+ FEATURES:
150
+
151
+ - Add an option to disable SSH Authentication and allow private vms [#120](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/120)
152
+ - Support for fixed IP address for private network [#87](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/87)
153
+
154
+ IMPROVEMENTS:
155
+
156
+ - Accept a string for ssh_timeout value [#144](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/144)
157
+ - Vagrant Openstack should works in degraded mode id only Keystone and Nova are availables [#142](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/142)
158
+ - Add custom command `vagrant openstack reset [#107](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/107)
159
+ - Make box optional [#105](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/105)
160
+ - vagrant up => Instance could not be found [#98](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/98)
161
+
162
+ BUG FIXES:
163
+
164
+ - security_groups should be an array of hashes [#137](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/137)
165
+ - user_data needs to be Base64 encoded in Nova.createServer [#122](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/122)
166
+ - SSH failures after port 22 is open because user doesn't exist yet [#106](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/106)
167
+ - Floating IP should not be mandatory [#55](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/55)
168
+ - sync_folders error under windows 7 [#119](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/119)
169
+ - Ansible provisionner doesn't use our generated SSH key [#133](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/133)
170
+
171
+ # 0.4.1 (October 3, 2014)
172
+
173
+ BUG FIXES:
174
+
175
+ - initialize': must pass :url (ArgumentError) when neutron url is not present [#112](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/112)
176
+
177
+ # 0.4.0 (September 23, 2014)
178
+
179
+ FEATURES:
180
+
181
+ - Enable "metadata" in config for nova create server [#25](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/25)
182
+ - Enable "user_data" in config for nova create server [#78](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/78)
183
+ - Enable "security_groups" in config for nova create server [#82](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/82)
184
+ - Enable "scheduler_hints" in config for nova create server [#83](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/83)
185
+ - Allow attaching an existing volume to the vagrant instance [#24](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/24)
186
+ - Allow booting instance from volume [#44](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/44)
187
+ - Add subcommand volume-list [#75](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/75)
188
+
189
+ IMPROVEMENTS:
190
+
191
+ - Add config param floating_ip_pool_always_allocate [#61](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/61)
192
+
193
+ BUG FIXES:
194
+
195
+ - Enable config option to override SSH port [#88](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/88)
196
+
197
+
198
+ # 0.3.3 (September 19, 2014)
199
+
200
+ BUG FIXES:
201
+
202
+ - Fix rest-client dependency error [#95](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/95)
203
+
204
+ # 0.3.2 (September 1, 2014)
205
+
206
+ BUG FIXES:
207
+
208
+ - The provider fails to load colorize gem [#76](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/76)
209
+ - Sub-command arguments management have change in vagrant 1.5 [#77](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/77)
210
+
211
+ IMPROVEMENTS:
212
+
213
+ - Show more informations for command flavor-list [#52](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/52)
214
+
215
+ # 0.3.0 (August 29, 2014)
216
+
217
+ FEATURES:
218
+
219
+ - Automatic generation of SSH keys [#68](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/68)
220
+ - Make keypair optional in provider's configuration [#54](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/54)
221
+ - Allow setting a floating ip pool rather than a fixed ip [#50](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/50)
222
+ - Implement custom "list" actions [#35](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/35)
223
+ - Enable "availability_zone" configuration [#27](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/27)
224
+
225
+ IMPROVEMENTS:
226
+
227
+ - Log action steps and client calls with requests and responses [#58](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/58)
228
+
229
+ BUG FIXES:
230
+
231
+ - When`vagrant reload` an existing but stoped machine it does not start [#57](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/57)
232
+ - When`vagrant up` an existing but stoped machine it does not start [#56](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/56)
233
+ - Network api URL resolve from keystone catalog is not working [#49](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/49)
234
+
235
+ # 0.2.0 (June 26, 2014)
236
+
237
+ FEATURES:
238
+
239
+ - Enable "networks" configuration [#26](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/26)
240
+ - Implement "suspend" action [#17](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/17)
241
+ - Implement "resume" action [#16](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/16)
242
+ - Implement "reload" action [#9](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/9)
243
+ - Implement "halt" action [#8](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/8)
244
+
245
+ IMPROVEMENTS:
246
+
247
+ - Add sync_method configuration parameter [#12](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/12)
248
+ - Avoid multiple Openstack connection [#37](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/37)
249
+ - Update appraisal configuration for vagrant 1.5 and 1.6 [#32](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/32)
250
+ - In provider's configuration, rename "api_key" to "password" [#30](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/30)
251
+ - Remove default value for "image" and "flavor" configuration parameter [10](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/10) [11](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/11)
252
+
253
+ BUG FIXES:
254
+
255
+ - When a VM is shutoff, the plugin consider it is not created bug [#36](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/36)
256
+ - Hardcoded network name in source code [#34](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/34)
257
+ - Missing translations [#33](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/33)
258
+ - Vagrant steal floating IP of another VM [#23](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/23)
259
+ - Vagrant does not always knows the state of the machine [#21](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/21)
260
+ - Fix "Waiting for ssh to be ready" in create_server [#2](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/2)
261
+
262
+ # 0.1.2 (April 25, 2014)
263
+
264
+ IMPROVEMENTS:
265
+
266
+ - Rename everything from vagrant-openstack to vagrant-openstack-provider
267
+
268
+ # 0.1.1 (April 24, 2014)
269
+
270
+ BUG FIXES:
271
+
272
+ - Remove fog dependencies
273
+
274
+ # 0.1 (April 24, 2014)
275
+
276
+ * Initial release.
data/Gemfile ADDED
@@ -0,0 +1,22 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'vagrant', git: 'https://github.com/mitchellh/vagrant.git', tag: 'v1.9.1'
7
+ # FIXME: Hack to allow Vagrant v1.6.5 to install for tests. Remove when
8
+ # support for 1.6.5 is dropped.
9
+ gem 'rack', '< 2'
10
+ gem 'appraisal', '1.0.0'
11
+ gem 'rubocop', '0.29.0', require: false
12
+ gem 'coveralls', require: false
13
+ gem 'rspec-its'
14
+ end
15
+
16
+ group :debug do
17
+ gem 'byebug'
18
+ end
19
+
20
+ group :plugins do
21
+ gem 'vagrant-openstack-provider', path: '.'
22
+ end
@@ -0,0 +1,15 @@
1
+ # Release process
2
+
3
+ This is vagrant-openstack-provider's current release process, documented so people know what is
4
+ currently done.
5
+
6
+ ## Prepare the release
7
+
8
+ * Update the version in "lib/vagrant-openstack-provider/version.rb"
9
+ * Update the version in CHANGELOG.md
10
+ * Use "rake release". This will make sure to tag that commit and push it RubyGems.
11
+ * Update the version again in both files to a dev version for working again.
12
+
13
+ The CHANGELOG.md should be maintained in a similar format to Vagrant:
14
+
15
+ https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md
@@ -0,0 +1,25 @@
1
+ require 'rubygems'
2
+ require 'bundler/setup'
3
+ require 'rspec/core/rake_task'
4
+ require 'rubocop/rake_task'
5
+
6
+ # Immediately sync all stdout so that tools like buildbot can
7
+ # immediately load in the output.
8
+ $stdout.sync = true
9
+ $stderr.sync = true
10
+
11
+ # Change to the directory of this file.
12
+ Dir.chdir(File.expand_path('../', __FILE__))
13
+
14
+ # This installs the tasks that help with gem creation and
15
+ # publishing.
16
+ Bundler::GemHelper.install_tasks
17
+
18
+ # Install the `spec` task so that we can run tests.
19
+ RSpec::Core::RakeTask.new
20
+
21
+ # Install the `rubocop` task
22
+ RuboCop::RakeTask.new
23
+
24
+ # Default task is to run the unit tests
25
+ task default: %w(rubocop spec)
@@ -0,0 +1,20 @@
1
+ require 'vagrant-openstack-provider'
2
+
3
+ Vagrant.configure('2') do |config|
4
+
5
+ config.vm.box = 'openstack'
6
+
7
+ config.ssh.username = ENV['OS_SSH_USERNAME']
8
+
9
+ config.vm.provider :openstack do |os|
10
+ os.openstack_auth_url = ENV['OS_AUTH_URL']
11
+ os.tenant_name = ENV['OS_TENANT_NAME']
12
+ os.username = ENV['OS_USERNAME']
13
+ os.password = ENV['OS_PASSWORD']
14
+ os.floating_ip_pool = ENV['OS_FLOATING_IP_POOL']
15
+ os.flavor = ENV['OS_FLAVOR']
16
+ os.image = ENV['OS_IMAGE']
17
+ end
18
+
19
+ config.vm.provision "shell", inline: "echo 'ok' > ~/provision"
20
+ end
Binary file
@@ -0,0 +1,13 @@
1
+ # Vagrant Openstack Cloud Example Box
2
+
3
+ Vagrant providers each require a custom provider-specific box format.
4
+ This folder shows the example contents of a box for the `openstack` provider.
5
+ To turn this into a box:
6
+
7
+ ```
8
+ $ tar cvzf openstack.box ./metadata.json ./Vagrantfile
9
+ ```
10
+
11
+ This box works by using Vagrant's built-in Vagrantfile merging to setup
12
+ defaults for Openstack. These defaults can easily be overwritten by higher-level
13
+ Vagrantfiles (such as project root Vagrantfiles).