vagrant-openstack-illuin-provider 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/.rubocop.yml +40 -0
- data/CHANGELOG.md +282 -0
- data/Gemfile +18 -0
- data/RELEASE.md +15 -0
- data/Rakefile +25 -0
- data/Vagrantfile +20 -0
- data/dummy.box +0 -0
- data/example_box/README.md +13 -0
- data/example_box/metadata.json +3 -0
- data/functional_tests/Vagrantfile +58 -0
- data/functional_tests/keys/vagrant-openstack +27 -0
- data/functional_tests/keys/vagrant-openstack.pub +1 -0
- data/functional_tests/run_tests.sh +142 -0
- data/lib/vagrant-openstack-illuin-provider.rb +29 -0
- data/lib/vagrant-openstack-illuin-provider/action.rb +344 -0
- data/lib/vagrant-openstack-illuin-provider/action/abstract_action.rb +22 -0
- data/lib/vagrant-openstack-illuin-provider/action/connect_openstack.rb +60 -0
- data/lib/vagrant-openstack-illuin-provider/action/create_server.rb +187 -0
- data/lib/vagrant-openstack-illuin-provider/action/create_stack.rb +76 -0
- data/lib/vagrant-openstack-illuin-provider/action/delete_server.rb +53 -0
- data/lib/vagrant-openstack-illuin-provider/action/delete_stack.rb +73 -0
- data/lib/vagrant-openstack-illuin-provider/action/message.rb +19 -0
- data/lib/vagrant-openstack-illuin-provider/action/provision.rb +60 -0
- data/lib/vagrant-openstack-illuin-provider/action/read_ssh_info.rb +74 -0
- data/lib/vagrant-openstack-illuin-provider/action/read_state.rb +43 -0
- data/lib/vagrant-openstack-illuin-provider/action/resume.rb +24 -0
- data/lib/vagrant-openstack-illuin-provider/action/snapshot_cleanup.rb +32 -0
- data/lib/vagrant-openstack-illuin-provider/action/snapshot_delete.rb +32 -0
- data/lib/vagrant-openstack-illuin-provider/action/snapshot_list.rb +22 -0
- data/lib/vagrant-openstack-illuin-provider/action/snapshot_restore.rb +29 -0
- data/lib/vagrant-openstack-illuin-provider/action/snapshot_save.rb +51 -0
- data/lib/vagrant-openstack-illuin-provider/action/start_server.rb +24 -0
- data/lib/vagrant-openstack-illuin-provider/action/stop_server.rb +25 -0
- data/lib/vagrant-openstack-illuin-provider/action/suspend.rb +24 -0
- data/lib/vagrant-openstack-illuin-provider/action/sync_folders.rb +138 -0
- data/lib/vagrant-openstack-illuin-provider/action/wait_active.rb +33 -0
- data/lib/vagrant-openstack-illuin-provider/action/wait_stop.rb +33 -0
- data/lib/vagrant-openstack-illuin-provider/cap/snapshot_list.rb +15 -0
- data/lib/vagrant-openstack-illuin-provider/catalog/openstack_catalog.rb +90 -0
- data/lib/vagrant-openstack-illuin-provider/client/cinder.rb +39 -0
- data/lib/vagrant-openstack-illuin-provider/client/domain.rb +163 -0
- data/lib/vagrant-openstack-illuin-provider/client/glance.rb +65 -0
- data/lib/vagrant-openstack-illuin-provider/client/heat.rb +49 -0
- data/lib/vagrant-openstack-illuin-provider/client/http_utils.rb +116 -0
- data/lib/vagrant-openstack-illuin-provider/client/keystone.rb +128 -0
- data/lib/vagrant-openstack-illuin-provider/client/neutron.rb +48 -0
- data/lib/vagrant-openstack-illuin-provider/client/nova.rb +303 -0
- data/lib/vagrant-openstack-illuin-provider/client/openstack.rb +59 -0
- data/lib/vagrant-openstack-illuin-provider/client/request_logger.rb +23 -0
- data/lib/vagrant-openstack-illuin-provider/client/rest_utils.rb +28 -0
- data/lib/vagrant-openstack-illuin-provider/command/abstract_command.rb +51 -0
- data/lib/vagrant-openstack-illuin-provider/command/flavor_list.rb +24 -0
- data/lib/vagrant-openstack-illuin-provider/command/floatingip_list.rb +32 -0
- data/lib/vagrant-openstack-illuin-provider/command/image_list.rb +29 -0
- data/lib/vagrant-openstack-illuin-provider/command/main.rb +52 -0
- data/lib/vagrant-openstack-illuin-provider/command/network_list.rb +25 -0
- data/lib/vagrant-openstack-illuin-provider/command/openstack_command.rb +16 -0
- data/lib/vagrant-openstack-illuin-provider/command/reset.rb +20 -0
- data/lib/vagrant-openstack-illuin-provider/command/subnet_list.rb +22 -0
- data/lib/vagrant-openstack-illuin-provider/command/utils.rb +22 -0
- data/lib/vagrant-openstack-illuin-provider/command/volume_list.rb +25 -0
- data/lib/vagrant-openstack-illuin-provider/config.rb +505 -0
- data/lib/vagrant-openstack-illuin-provider/config/http.rb +39 -0
- data/lib/vagrant-openstack-illuin-provider/config_resolver.rb +334 -0
- data/lib/vagrant-openstack-illuin-provider/errors.rb +187 -0
- data/lib/vagrant-openstack-illuin-provider/logging.rb +39 -0
- data/lib/vagrant-openstack-illuin-provider/plugin.rb +58 -0
- data/lib/vagrant-openstack-illuin-provider/provider.rb +50 -0
- data/lib/vagrant-openstack-illuin-provider/utils.rb +81 -0
- data/lib/vagrant-openstack-illuin-provider/version.rb +15 -0
- data/lib/vagrant-openstack-illuin-provider/version_checker.rb +76 -0
- data/locales/en.yml +412 -0
- data/spec/vagrant-openstack-illuin-provider/action/connect_openstack_spec.rb +770 -0
- data/spec/vagrant-openstack-illuin-provider/action/create_server_spec.rb +260 -0
- data/spec/vagrant-openstack-illuin-provider/action/create_stack_spec.rb +99 -0
- data/spec/vagrant-openstack-illuin-provider/action/delete_server_spec.rb +89 -0
- data/spec/vagrant-openstack-illuin-provider/action/delete_stack_spec.rb +63 -0
- data/spec/vagrant-openstack-illuin-provider/action/message_spec.rb +33 -0
- data/spec/vagrant-openstack-illuin-provider/action/provision_spec.rb +97 -0
- data/spec/vagrant-openstack-illuin-provider/action/read_ssh_info_spec.rb +202 -0
- data/spec/vagrant-openstack-illuin-provider/action/read_state_spec.rb +81 -0
- data/spec/vagrant-openstack-illuin-provider/action/resume_server_spec.rb +49 -0
- data/spec/vagrant-openstack-illuin-provider/action/start_server_spec.rb +49 -0
- data/spec/vagrant-openstack-illuin-provider/action/stop_server_spec.rb +49 -0
- data/spec/vagrant-openstack-illuin-provider/action/suspend_server_spec.rb +49 -0
- data/spec/vagrant-openstack-illuin-provider/action/sync_folders_spec.rb +155 -0
- data/spec/vagrant-openstack-illuin-provider/action/wait_active_spec.rb +53 -0
- data/spec/vagrant-openstack-illuin-provider/action/wait_stop_spec.rb +53 -0
- data/spec/vagrant-openstack-illuin-provider/action_spec.rb +120 -0
- data/spec/vagrant-openstack-illuin-provider/client/cinder_spec.rb +129 -0
- data/spec/vagrant-openstack-illuin-provider/client/glance_spec.rb +145 -0
- data/spec/vagrant-openstack-illuin-provider/client/heat_spec.rb +130 -0
- data/spec/vagrant-openstack-illuin-provider/client/keystone_spec.rb +226 -0
- data/spec/vagrant-openstack-illuin-provider/client/neutron_spec.rb +173 -0
- data/spec/vagrant-openstack-illuin-provider/client/nova_spec.rb +760 -0
- data/spec/vagrant-openstack-illuin-provider/client/utils_spec.rb +176 -0
- data/spec/vagrant-openstack-illuin-provider/command/flavor_list_spec.rb +43 -0
- data/spec/vagrant-openstack-illuin-provider/command/floatingip_list_spec.rb +74 -0
- data/spec/vagrant-openstack-illuin-provider/command/image_list_spec.rb +95 -0
- data/spec/vagrant-openstack-illuin-provider/command/network_list_spec.rb +65 -0
- data/spec/vagrant-openstack-illuin-provider/command/reset_spec.rb +24 -0
- data/spec/vagrant-openstack-illuin-provider/command/subnet_list_spec.rb +45 -0
- data/spec/vagrant-openstack-illuin-provider/command/volume_list_spec.rb +40 -0
- data/spec/vagrant-openstack-illuin-provider/config_resolver_spec.rb +879 -0
- data/spec/vagrant-openstack-illuin-provider/config_spec.rb +416 -0
- data/spec/vagrant-openstack-illuin-provider/e2e_spec.rb.save +27 -0
- data/spec/vagrant-openstack-illuin-provider/provider_spec.rb +13 -0
- data/spec/vagrant-openstack-illuin-provider/spec_helper.rb +37 -0
- data/spec/vagrant-openstack-illuin-provider/utils_spec.rb +197 -0
- data/spec/vagrant-openstack-illuin-provider/version_checker_spec.rb +39 -0
- data/stackrc +25 -0
- data/vagrant-openstack-illuin-provider.gemspec +35 -0
- metadata +379 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 6838edf7a3c303bc8c58d8fdcf2deffd12072493
|
|
4
|
+
data.tar.gz: aa423d5076fad908eb15d88b85f2ddf8fa3d1a3e
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: b2ee11fb20047943ab9d42fe6598c7e0e58116fd7f343a45aa5896c18e4ced02b3c15b7f4154f3a232b3ce87c23bab8e821b131b8bf8953999e51f4780065627
|
|
7
|
+
data.tar.gz: ab22d23e0263d36af04b0c6b411c2972a17642b462e6e9d6236c614ef6de2b21bd3f8959fab06857544f77c40f32105c2f6da0c8c66e51a7e54daca3e0bf6671
|
data/.gitignore
ADDED
|
@@ -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/
|
data/.rubocop.yml
ADDED
|
@@ -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
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
# 0.12.0 (February 26, 2018)
|
|
2
|
+
|
|
3
|
+
FEATURES:
|
|
4
|
+
|
|
5
|
+
- Support parallel actions (#130)
|
|
6
|
+
|
|
7
|
+
# 0.11.0 (August 5, 2017)
|
|
8
|
+
|
|
9
|
+
IMPROVEMENTS:
|
|
10
|
+
|
|
11
|
+
- Implement a test suite running all samples #331
|
|
12
|
+
- Add test for config.ssh.insert_key = false #332
|
|
13
|
+
|
|
14
|
+
FEATURES:
|
|
15
|
+
|
|
16
|
+
- Add "ssl_verify_peer" in config for self-signed certs #85 #320
|
|
17
|
+
- Add "ssl_ca_file" in config for self-signed certs #329
|
|
18
|
+
|
|
19
|
+
BUG FIXES:
|
|
20
|
+
|
|
21
|
+
- Handling of asynchronous floating IP assignment #324
|
|
22
|
+
- Fix floating IP assignement #330
|
|
23
|
+
- Respect config.ssh.insert_key #328
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# 0.10.0 (April 11, 2017)
|
|
27
|
+
|
|
28
|
+
IMPROVEMENTS:
|
|
29
|
+
|
|
30
|
+
- Add snapshot support #296
|
|
31
|
+
|
|
32
|
+
# 0.9.0 (January 30, 2016)
|
|
33
|
+
|
|
34
|
+
BUG FIXES:
|
|
35
|
+
|
|
36
|
+
- Make it work with Vagrant 1.9 #311
|
|
37
|
+
|
|
38
|
+
# 0.8.0 (November 19, 2016)
|
|
39
|
+
|
|
40
|
+
IMPROVEMENTS:
|
|
41
|
+
|
|
42
|
+
- Move to standard Vagrant synced folders middleware #295
|
|
43
|
+
|
|
44
|
+
FEATURES:
|
|
45
|
+
|
|
46
|
+
- Support Keystone v3 API #4
|
|
47
|
+
|
|
48
|
+
BUG FIXES:
|
|
49
|
+
|
|
50
|
+
- Bugfix on IP address resolution #285
|
|
51
|
+
|
|
52
|
+
# 0.7.2 (May 1, 2016)
|
|
53
|
+
|
|
54
|
+
IMPROVEMENTS:
|
|
55
|
+
|
|
56
|
+
- Allow status and ssh to run without a lock #282
|
|
57
|
+
- Switch to standard WaitForCommunicator middleware #281
|
|
58
|
+
|
|
59
|
+
BUG FIXES:
|
|
60
|
+
|
|
61
|
+
- Run provisioner cleanup when destroying VMs #272
|
|
62
|
+
- Windows host provisioning using Winrm #264
|
|
63
|
+
- Use only provided ssh key and don't touch the known_hosts #259
|
|
64
|
+
- Fix hooks for provisioners #248, #249, #28
|
|
65
|
+
- Support standard option config.vm.boot_timeout #227
|
|
66
|
+
|
|
67
|
+
# 0.7.1 (February 19, 2016)
|
|
68
|
+
|
|
69
|
+
BUG FIXES:
|
|
70
|
+
|
|
71
|
+
- Fix dependency to make it work with Vagrant 1.8 #265, #266 , #268
|
|
72
|
+
- Fix heat stack create when multiple machines are declared #260
|
|
73
|
+
- Fix regression, vagrant provision was broken #240
|
|
74
|
+
|
|
75
|
+
# 0.7.0 (August 10, 2015)
|
|
76
|
+
|
|
77
|
+
FEATURES:
|
|
78
|
+
|
|
79
|
+
- Access to obtained floating IP from provisioner phase [#205](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/205)
|
|
80
|
+
|
|
81
|
+
IMPROVEMENTS:
|
|
82
|
+
|
|
83
|
+
- Autodetect new version of the provider and provide info message to update [#132](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/132)
|
|
84
|
+
- Documentation for the `ssh_timeout` option [#230](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/230)
|
|
85
|
+
|
|
86
|
+
BUG FIXES:
|
|
87
|
+
|
|
88
|
+
- scheduler_hints ignored due to incorrect json tag in create request [#231](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/231)
|
|
89
|
+
- delete_keypair_if_vagrant throws exception if key_name is missing [#238](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/238)
|
|
90
|
+
- Fix Vagrant 1.4 bug, extra_data attr not found [#211](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/211)
|
|
91
|
+
- Add suffix /tokens in auth url if missing [#208](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/208)
|
|
92
|
+
|
|
93
|
+
# 0.6.1 (January 30, 2015)
|
|
94
|
+
|
|
95
|
+
IMPROVEMENTS:
|
|
96
|
+
|
|
97
|
+
- Straightforward syntax to define single networks [#193](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/193)
|
|
98
|
+
- Network preference for SSH [#194](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/194)
|
|
99
|
+
- Allow lists in flavor values [#189](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/189)
|
|
100
|
+
- Allow "wait active" timeout to be configurable [#185](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/185)
|
|
101
|
+
- Allow setting timeout value for REST calls [#183](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/183)
|
|
102
|
+
|
|
103
|
+
BUG FIXES:
|
|
104
|
+
|
|
105
|
+
- Vagrant openstack reset fails when the instance is not found [#195](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/195)
|
|
106
|
+
- Show explicit error when tenant is missing in credentials [#186](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/186)
|
|
107
|
+
|
|
108
|
+
# 0.6.0 (November 28, 2014)
|
|
109
|
+
|
|
110
|
+
FEATURES:
|
|
111
|
+
|
|
112
|
+
- First implementation of Heat Stacks [#170](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/170)
|
|
113
|
+
- Allow public and private networks to be specified [#148](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/148)
|
|
114
|
+
- Add custom command "subnet-list" [#160](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/160)
|
|
115
|
+
- Allow public and private networks to be specified [#148](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/148)
|
|
116
|
+
- Add config parameter os.region [#128](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/128)
|
|
117
|
+
|
|
118
|
+
IMPROVEMENTS:
|
|
119
|
+
|
|
120
|
+
- Rsync all files [#166](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/166)
|
|
121
|
+
- Support glance API v1 [#168](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/168)
|
|
122
|
+
- Replace fail <string> by fail Errors::... [#152](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/152)
|
|
123
|
+
- When an unknown error occurs, provide information to debug and submit issue [#115](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/115)
|
|
124
|
+
- Print more information for command "vagrant openstack image-list" [#104](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/104)
|
|
125
|
+
- Cannot 'resume' while instance is in vm_state active [#91](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/91)
|
|
126
|
+
- Allow config.floating_ip_pool to take an array as input [#90](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/90)
|
|
127
|
+
- Display the current task value in the status option [#89](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/89)
|
|
128
|
+
|
|
129
|
+
BUG FIXES:
|
|
130
|
+
|
|
131
|
+
- Fix ssh_disabled [#182](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/182)
|
|
132
|
+
- Avoid printing contribution message on user interruption [#169](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/169)
|
|
133
|
+
- Network configuration is lost when machine definition overrides provider's configuration [#146](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/146)
|
|
134
|
+
- When VM status is "ERROR" continue waiting for startup [#62](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/62)
|
|
135
|
+
|
|
136
|
+
DOCUMENTATION:
|
|
137
|
+
|
|
138
|
+
- Add a CONTRIBUTING.md file [#151](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/151)
|
|
139
|
+
|
|
140
|
+
# 0.5.2 (November 6, 2014)
|
|
141
|
+
|
|
142
|
+
BUG FIXES:
|
|
143
|
+
|
|
144
|
+
- When multiple IPs are available, return the first one instead of failing [#155](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/155)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
# 0.5.1 (November 6, 2014)
|
|
148
|
+
|
|
149
|
+
BUG FIXES:
|
|
150
|
+
|
|
151
|
+
- Allow public and private networks to be specified [#148](https://github.com/ggiamarchi/vagrant-openstack-provider/pull/148)
|
|
152
|
+
|
|
153
|
+
# 0.5.0 (November 4, 2014)
|
|
154
|
+
|
|
155
|
+
FEATURES:
|
|
156
|
+
|
|
157
|
+
- Add an option to disable SSH Authentication and allow private vms [#120](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/120)
|
|
158
|
+
- Support for fixed IP address for private network [#87](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/87)
|
|
159
|
+
|
|
160
|
+
IMPROVEMENTS:
|
|
161
|
+
|
|
162
|
+
- Accept a string for ssh_timeout value [#144](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/144)
|
|
163
|
+
- Vagrant Openstack should works in degraded mode id only Keystone and Nova are availables [#142](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/142)
|
|
164
|
+
- Add custom command `vagrant openstack reset [#107](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/107)
|
|
165
|
+
- Make box optional [#105](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/105)
|
|
166
|
+
- vagrant up => Instance could not be found [#98](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/98)
|
|
167
|
+
|
|
168
|
+
BUG FIXES:
|
|
169
|
+
|
|
170
|
+
- security_groups should be an array of hashes [#137](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/137)
|
|
171
|
+
- user_data needs to be Base64 encoded in Nova.createServer [#122](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/122)
|
|
172
|
+
- SSH failures after port 22 is open because user doesn't exist yet [#106](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/106)
|
|
173
|
+
- Floating IP should not be mandatory [#55](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/55)
|
|
174
|
+
- sync_folders error under windows 7 [#119](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/119)
|
|
175
|
+
- Ansible provisionner doesn't use our generated SSH key [#133](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/133)
|
|
176
|
+
|
|
177
|
+
# 0.4.1 (October 3, 2014)
|
|
178
|
+
|
|
179
|
+
BUG FIXES:
|
|
180
|
+
|
|
181
|
+
- initialize': must pass :url (ArgumentError) when neutron url is not present [#112](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/112)
|
|
182
|
+
|
|
183
|
+
# 0.4.0 (September 23, 2014)
|
|
184
|
+
|
|
185
|
+
FEATURES:
|
|
186
|
+
|
|
187
|
+
- Enable "metadata" in config for nova create server [#25](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/25)
|
|
188
|
+
- Enable "user_data" in config for nova create server [#78](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/78)
|
|
189
|
+
- Enable "security_groups" in config for nova create server [#82](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/82)
|
|
190
|
+
- Enable "scheduler_hints" in config for nova create server [#83](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/83)
|
|
191
|
+
- Allow attaching an existing volume to the vagrant instance [#24](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/24)
|
|
192
|
+
- Allow booting instance from volume [#44](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/44)
|
|
193
|
+
- Add subcommand volume-list [#75](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/75)
|
|
194
|
+
|
|
195
|
+
IMPROVEMENTS:
|
|
196
|
+
|
|
197
|
+
- Add config param floating_ip_pool_always_allocate [#61](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/61)
|
|
198
|
+
|
|
199
|
+
BUG FIXES:
|
|
200
|
+
|
|
201
|
+
- Enable config option to override SSH port [#88](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/88)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
# 0.3.3 (September 19, 2014)
|
|
205
|
+
|
|
206
|
+
BUG FIXES:
|
|
207
|
+
|
|
208
|
+
- Fix rest-client dependency error [#95](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/95)
|
|
209
|
+
|
|
210
|
+
# 0.3.2 (September 1, 2014)
|
|
211
|
+
|
|
212
|
+
BUG FIXES:
|
|
213
|
+
|
|
214
|
+
- The provider fails to load colorize gem [#76](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/76)
|
|
215
|
+
- Sub-command arguments management have change in vagrant 1.5 [#77](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/77)
|
|
216
|
+
|
|
217
|
+
IMPROVEMENTS:
|
|
218
|
+
|
|
219
|
+
- Show more informations for command flavor-list [#52](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/52)
|
|
220
|
+
|
|
221
|
+
# 0.3.0 (August 29, 2014)
|
|
222
|
+
|
|
223
|
+
FEATURES:
|
|
224
|
+
|
|
225
|
+
- Automatic generation of SSH keys [#68](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/68)
|
|
226
|
+
- Make keypair optional in provider's configuration [#54](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/54)
|
|
227
|
+
- Allow setting a floating ip pool rather than a fixed ip [#50](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/50)
|
|
228
|
+
- Implement custom "list" actions [#35](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/35)
|
|
229
|
+
- Enable "availability_zone" configuration [#27](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/27)
|
|
230
|
+
|
|
231
|
+
IMPROVEMENTS:
|
|
232
|
+
|
|
233
|
+
- Log action steps and client calls with requests and responses [#58](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/58)
|
|
234
|
+
|
|
235
|
+
BUG FIXES:
|
|
236
|
+
|
|
237
|
+
- When`vagrant reload` an existing but stoped machine it does not start [#57](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/57)
|
|
238
|
+
- When`vagrant up` an existing but stoped machine it does not start [#56](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/56)
|
|
239
|
+
- Network api URL resolve from keystone catalog is not working [#49](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/49)
|
|
240
|
+
|
|
241
|
+
# 0.2.0 (June 26, 2014)
|
|
242
|
+
|
|
243
|
+
FEATURES:
|
|
244
|
+
|
|
245
|
+
- Enable "networks" configuration [#26](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/26)
|
|
246
|
+
- Implement "suspend" action [#17](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/17)
|
|
247
|
+
- Implement "resume" action [#16](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/16)
|
|
248
|
+
- Implement "reload" action [#9](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/9)
|
|
249
|
+
- Implement "halt" action [#8](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/8)
|
|
250
|
+
|
|
251
|
+
IMPROVEMENTS:
|
|
252
|
+
|
|
253
|
+
- Add sync_method configuration parameter [#12](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/12)
|
|
254
|
+
- Avoid multiple Openstack connection [#37](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/37)
|
|
255
|
+
- Update appraisal configuration for vagrant 1.5 and 1.6 [#32](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/32)
|
|
256
|
+
- In provider's configuration, rename "api_key" to "password" [#30](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/30)
|
|
257
|
+
- 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)
|
|
258
|
+
|
|
259
|
+
BUG FIXES:
|
|
260
|
+
|
|
261
|
+
- When a VM is shutoff, the plugin consider it is not created bug [#36](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/36)
|
|
262
|
+
- Hardcoded network name in source code [#34](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/34)
|
|
263
|
+
- Missing translations [#33](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/33)
|
|
264
|
+
- Vagrant steal floating IP of another VM [#23](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/23)
|
|
265
|
+
- Vagrant does not always knows the state of the machine [#21](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/21)
|
|
266
|
+
- Fix "Waiting for ssh to be ready" in create_server [#2](https://github.com/ggiamarchi/vagrant-openstack-provider/issues/2)
|
|
267
|
+
|
|
268
|
+
# 0.1.2 (April 25, 2014)
|
|
269
|
+
|
|
270
|
+
IMPROVEMENTS:
|
|
271
|
+
|
|
272
|
+
- Rename everything from vagrant-openstack to vagrant-openstack-provider
|
|
273
|
+
|
|
274
|
+
# 0.1.1 (April 24, 2014)
|
|
275
|
+
|
|
276
|
+
BUG FIXES:
|
|
277
|
+
|
|
278
|
+
- Remove fog dependencies
|
|
279
|
+
|
|
280
|
+
# 0.1 (April 24, 2014)
|
|
281
|
+
|
|
282
|
+
* Initial release.
|
data/Gemfile
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
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
|
data/RELEASE.md
ADDED
|
@@ -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
|
data/Rakefile
ADDED
|
@@ -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)
|
data/Vagrantfile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
require 'vagrant-openstack-illuin-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_illuin 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
|
data/dummy.box
ADDED
|
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).
|