summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Kupidura <bkupidura@mirantis.com>2016-04-07 18:59:32 +0200
committerBartosz Kupidura <bkupidura@mirantis.com>2016-04-14 14:49:57 +0200
commit8de54cce381456d63e4662cc7147cc08aaabf023 (patch)
tree756ccc90e2f6b2225d8e3cc8f267602596e9911f
parentc5058f15281f5af701ad54503480621633f9eedd (diff)
Add hiera yaml for generate_vms granular
Notes
Notes (review): Code-Review+2: Aleksandr Didenko <adidenko@mirantis.com> Verified+1: Fuel CI <fuel-ci-bot@mirantis.com> Workflow+1: Bogdan Dobrelya <bdobrelia@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 14 Apr 2016 13:18:33 +0000 Reviewed-on: https://review.openstack.org/302962 Project: openstack/fuel-noop-fixtures Branch: refs/heads/master
-rw-r--r--hiera/neut_tun.vms_conf-virt.yaml964
-rwxr-xr-xutils/generate_yamls.sh18
2 files changed, 982 insertions, 0 deletions
diff --git a/hiera/neut_tun.vms_conf-virt.yaml b/hiera/neut_tun.vms_conf-virt.yaml
new file mode 100644
index 0000000..02ec078
--- /dev/null
+++ b/hiera/neut_tun.vms_conf-virt.yaml
@@ -0,0 +1,964 @@
1access:
2 email: admin@localhost
3 metadata:
4 group: general
5 label: OpenStack Access
6 weight: 10
7 password: admin
8 tenant: admin
9 user: admin
10aodh:
11 db_password: uLcMoDwcNBabLiQzuaH5UbrZ
12 user_password: WxOuvgXgN0zgydBtVaeSPkMB
13auth_key: ''
14auto_assign_floating_ip: false
15base_syslog:
16 syslog_port: '514'
17 syslog_server: 10.110.0.2
18ceilometer:
19 db_password: 4MLJEr4AXkKk7IQMKy2egPVZ
20 enabled: false
21 metering_secret: i1bL8rsKhLy81Dzh2gG81MAK
22 user_password: S1flVN6Z9sRoOLGb0JC7uWuN
23cgroups:
24 metadata:
25 always_editable: true
26 group: general
27 label: Cgroups conguration for services
28 restrictions:
29 - action: hide
30 condition: 'true'
31 weight: 90
32cinder:
33 db_password: q7R6A8jQ11uF4lW31zyzzHhj
34 fixed_key: 17e925dad5e9d3b6d619fa8b8eae34a16694c8a1dc2960f0c26e863cae3f734f
35 user_password: cokVpc6zOLexn0jrl5Y8TSsn
36cobbler:
37 profile: ubuntu_1404_x86_64
38corosync:
39 group: 226.94.1.1
40 metadata:
41 group: general
42 label: Corosync
43 restrictions:
44 - action: hide
45 condition: 'true'
46 weight: 50
47 port: '12000'
48 verified: false
49debug: false
50deployed_before:
51 value: false
52deployment_id: 25
53deployment_mode: ha_compact
54dpdk: {}
55external_dns:
56 dns_list:
57 - 10.110.0.1
58 metadata:
59 group: network
60 label: Host OS DNS Servers
61 weight: 30
62external_mongo:
63 hosts_ip: ''
64 metadata:
65 group: openstack_services
66 label: External MongoDB
67 restrictions:
68 - action: hide
69 condition: settings:additional_components.mongo.value == false
70 message: Ceilometer and MongoDB are not enabled on the Additional Components
71 section
72 weight: 30
73 mongo_db_name: ceilometer
74 mongo_password: ceilometer
75 mongo_replset: ''
76 mongo_user: ceilometer
77external_ntp:
78 metadata:
79 group: network
80 label: Host OS NTP Servers
81 weight: 40
82 ntp_list:
83 - 10.110.0.1
84fail_if_error: false
85fqdn: node-60.test.domain.local
86fuel_version: '9.0'
87glance:
88 db_password: WLPAB5kqNY4RWaX5O8ftkyyP
89 image_cache_max_size: '5368709120'
90 user_password: evg2AcYmSLp2Dq02RkOviHIT
91glance_glare:
92 user_password: LaXvQpJTwZ0orpNznwFhzaDM
93heat:
94 auth_encryption_key: 693db1df645da35e6983e79e87b548aa
95 db_password: oisKMEbIXFsAdn00w8fm7MuX
96 enabled: true
97 rabbit_password: Xu8o0NwviUahGRCwHNtu6paO
98 user_password: YgSCjYKwYgikoc4oPIaqjndl
99horizon:
100 secret_key: 92777d00fc2ace90c87f85ff1bcc2b3fff752c41dc058051234339d95217dcd8
101ironic:
102 db_password: GvUatCVr9sW4qWYXtV9QrRpD
103 enabled: false
104 swift_tempurl_key: oaM1X8PYfmzAqOWlwYFcMPWt
105 user_password: 4TPskaBnhtFAXvCtzgN4ChR7
106kernel_params:
107 kernel: console=tty0 net.ifnames=0 biosdevname=0 rootdelay=90 nomodeset
108 metadata:
109 group: general
110 label: Kernel parameters
111 weight: 60
112keystone:
113 admin_token: pLjAWatVupBHgXbxyZUkfJnP
114 db_password: XRFXARB9HnJwfqFIWWCn4wn4
115last_controller: null
116libvirt_type: qemu
117management_network_range: 192.168.0.0/24
118master_ip: 10.110.0.2
119metadata:
120 label: Common
121 weight: 10
122mongo:
123 enabled: false
124mp:
125- point: '1'
126 weight: '1'
127- point: '2'
128 weight: '2'
129murano:
130 db_password: jEnDYLznAy5MeVqwHWinxadz
131 enabled: false
132 rabbit_password: 9upggdtcJBUzciou8kWRoIHn
133 user_password: 4yxNMX552cuP3IaG0YRH6gMb
134murano-cfapi:
135 db_password: NvFA6kbLxZYZ9karj0fc1gKS
136 enabled: false
137 rabbit_password: johbmafwzpGIXic7KQNVTQsH
138 user_password: bokDukrV6kn8Y97WCP1C5rCy
139murano_glance_artifacts_plugin:
140 enabled: false
141murano_settings:
142 metadata:
143 group: openstack_services
144 label: Murano Settings
145 restrictions:
146 - action: hide
147 condition: settings:additional_components.murano.value == false
148 message: Murano is not enabled on the Additional Components section
149 weight: 20
150 murano_repo_url: http://storage.apps.openstack.org/
151mysql:
152 root_password: 5r9u5qFLlw4f7wDaxCmoeriY
153 wsrep_password: 9CyGqAiaRttZ41pLb9eaaWQs
154network_metadata:
155 nodes:
156 node-60:
157 fqdn: node-60.test.domain.local
158 name: node-60
159 network_roles:
160 admin/pxe: 10.110.0.4
161 aodh/api: 192.168.0.1
162 ceilometer/api: 192.168.0.1
163 ceph/public: 192.168.1.1
164 ceph/radosgw: 172.16.0.2
165 ceph/replication: 192.168.1.1
166 cinder/api: 192.168.0.1
167 cinder/iscsi: 192.168.1.1
168 ex: 172.16.0.2
169 fw-admin: 10.110.0.4
170 glance/api: 192.168.0.1
171 glance/glare: 192.168.0.1
172 heat/api: 192.168.0.1
173 horizon: 192.168.0.1
174 ironic/api: 192.168.0.1
175 keystone/api: 192.168.0.1
176 management: 192.168.0.1
177 mgmt/corosync: 192.168.0.1
178 mgmt/database: 192.168.0.1
179 mgmt/memcache: 192.168.0.1
180 mgmt/messaging: 192.168.0.1
181 mgmt/vip: 192.168.0.1
182 mongo/db: 192.168.0.1
183 murano/api: 192.168.0.1
184 murano/cfapi: 192.168.0.1
185 neutron/api: 192.168.0.1
186 neutron/floating: null
187 neutron/mesh: 192.168.2.1
188 neutron/private: null
189 nova/api: 192.168.0.1
190 nova/migration: 192.168.0.1
191 public/vip: 172.16.0.2
192 sahara/api: 192.168.0.1
193 storage: 192.168.1.1
194 swift/api: 192.168.0.1
195 swift/replication: 192.168.1.1
196 node_roles:
197 - virt
198 nova_cpu_pinning_enabled: false
199 nova_hugepages_enabled: false
200 swift_zone: '60'
201 uid: '60'
202 user_node_name: Untitled (e7:0d)
203 node-61:
204 fqdn: node-61.test.domain.local
205 name: node-61
206 network_roles:
207 admin/pxe: 10.110.0.5
208 aodh/api: 192.168.0.2
209 ceilometer/api: 192.168.0.2
210 ceph/public: 192.168.1.2
211 ceph/replication: 192.168.1.2
212 cinder/api: 192.168.0.2
213 cinder/iscsi: 192.168.1.2
214 fw-admin: 10.110.0.5
215 glance/api: 192.168.0.2
216 glance/glare: 192.168.0.2
217 heat/api: 192.168.0.2
218 horizon: 192.168.0.2
219 ironic/api: 192.168.0.2
220 keystone/api: 192.168.0.2
221 management: 192.168.0.2
222 mgmt/corosync: 192.168.0.2
223 mgmt/database: 192.168.0.2
224 mgmt/memcache: 192.168.0.2
225 mgmt/messaging: 192.168.0.2
226 mgmt/vip: 192.168.0.2
227 mongo/db: 192.168.0.2
228 murano/api: 192.168.0.2
229 murano/cfapi: 192.168.0.2
230 neutron/api: 192.168.0.2
231 neutron/floating: null
232 neutron/mesh: 192.168.2.2
233 neutron/private: null
234 nova/api: 192.168.0.2
235 nova/migration: 192.168.0.2
236 sahara/api: 192.168.0.2
237 storage: 192.168.1.2
238 swift/api: 192.168.0.2
239 swift/replication: 192.168.1.2
240 node_roles:
241 - compute
242 nova_cpu_pinning_enabled: false
243 nova_hugepages_enabled: false
244 swift_zone: '61'
245 uid: '61'
246 user_node_name: Untitled (6a:71)
247 vips: {}
248network_scheme:
249 endpoints:
250 br-ex:
251 IP:
252 - 172.16.0.2/24
253 gateway: 172.16.0.1
254 vendor_specific:
255 provider_gateway: 172.16.0.1
256 br-floating:
257 IP: none
258 br-fw-admin:
259 IP:
260 - 10.110.0.4/24
261 vendor_specific:
262 provider_gateway: 10.110.0.1
263 br-mesh:
264 IP:
265 - 192.168.2.1/24
266 br-mgmt:
267 IP:
268 - 192.168.0.1/24
269 br-storage:
270 IP:
271 - 192.168.1.1/24
272 interfaces:
273 enp0s3:
274 vendor_specific:
275 bus_info: '0000:00:03.0'
276 driver: e1000
277 enp0s4:
278 vendor_specific:
279 bus_info: '0000:00:04.0'
280 driver: e1000
281 enp0s5:
282 vendor_specific:
283 bus_info: '0000:00:05.0'
284 driver: e1000
285 enp0s6:
286 vendor_specific:
287 bus_info: '0000:00:06.0'
288 driver: e1000
289 enp0s7:
290 vendor_specific:
291 bus_info: '0000:00:07.0'
292 driver: e1000
293 provider: lnx
294 roles:
295 admin/pxe: br-fw-admin
296 aodh/api: br-mgmt
297 ceilometer/api: br-mgmt
298 ceph/public: br-storage
299 ceph/radosgw: br-ex
300 ceph/replication: br-storage
301 cinder/api: br-mgmt
302 cinder/iscsi: br-storage
303 ex: br-ex
304 fw-admin: br-fw-admin
305 glance/api: br-mgmt
306 glance/glare: br-mgmt
307 heat/api: br-mgmt
308 horizon: br-mgmt
309 ironic/api: br-mgmt
310 keystone/api: br-mgmt
311 management: br-mgmt
312 mgmt/corosync: br-mgmt
313 mgmt/database: br-mgmt
314 mgmt/memcache: br-mgmt
315 mgmt/messaging: br-mgmt
316 mgmt/vip: br-mgmt
317 mongo/db: br-mgmt
318 murano/api: br-mgmt
319 murano/cfapi: br-mgmt
320 neutron/api: br-mgmt
321 neutron/floating: br-floating
322 neutron/mesh: br-mesh
323 nova/api: br-mgmt
324 nova/migration: br-mgmt
325 public/vip: br-ex
326 sahara/api: br-mgmt
327 storage: br-storage
328 swift/api: br-mgmt
329 swift/replication: br-storage
330 transformations:
331 - action: add-br
332 name: br-fw-admin
333 - action: add-br
334 name: br-mgmt
335 - action: add-br
336 name: br-storage
337 - action: add-br
338 name: br-ex
339 - action: add-br
340 name: br-floating
341 provider: ovs
342 - action: add-patch
343 bridges:
344 - br-floating
345 - br-ex
346 mtu: 65000
347 provider: ovs
348 - action: add-br
349 name: br-mesh
350 - action: add-port
351 bridge: br-fw-admin
352 name: enp0s3
353 - action: add-port
354 bridge: br-mgmt
355 name: enp0s3.101
356 - action: add-port
357 bridge: br-storage
358 name: enp0s3.102
359 - action: add-port
360 bridge: br-mesh
361 name: enp0s3.103
362 - action: add-port
363 bridge: br-ex
364 name: enp0s4
365 version: '1.1'
366neutron_advanced_configuration:
367 metadata:
368 group: network
369 label: Neutron Advanced Configuration
370 restrictions:
371 - action: hide
372 condition: cluster:net_provider != 'neutron'
373 weight: 20
374 neutron_dvr: false
375 neutron_l2_pop: false
376 neutron_l3_ha: false
377 neutron_qos: false
378node_volumes:
379- extra:
380 - disk/by-id/virtio-7ce5ca2c36294717948d
381 free_space: 50572
382 id: vda
383 name: vda
384 size: 51200
385 type: disk
386 volumes:
387 - size: 300
388 type: boot
389 - file_system: ext2
390 mount: /boot
391 name: Boot
392 size: 200
393 type: raid
394 - size: 0
395 type: lvm_meta_pool
396 - lvm_meta_size: 64
397 size: 19520
398 type: pv
399 vg: os
400 - lvm_meta_size: 64
401 size: 31180
402 type: pv
403 vg: vm
404- extra:
405 - disk/by-id/virtio-2fdfb56aed9e45f1bbc0
406 free_space: 50572
407 id: vdb
408 name: vdb
409 size: 51200
410 type: disk
411 volumes:
412 - size: 300
413 type: boot
414 - file_system: ext2
415 mount: /boot
416 name: Boot
417 size: 200
418 type: raid
419 - size: 64
420 type: lvm_meta_pool
421 - lvm_meta_size: 0
422 size: 0
423 type: pv
424 vg: os
425 - lvm_meta_size: 64
426 size: 50636
427 type: pv
428 vg: vm
429- extra:
430 - disk/by-id/virtio-1503a07cd11542249bf0
431 free_space: 50572
432 id: vdc
433 name: vdc
434 size: 51200
435 type: disk
436 volumes:
437 - size: 300
438 type: boot
439 - file_system: ext2
440 mount: /boot
441 name: Boot
442 size: 200
443 type: raid
444 - size: 64
445 type: lvm_meta_pool
446 - lvm_meta_size: 0
447 size: 0
448 type: pv
449 vg: os
450 - lvm_meta_size: 64
451 size: 50636
452 type: pv
453 vg: vm
454- _allocate_size: min
455 id: os
456 label: Base System
457 min_size: 19456
458 type: vg
459 volumes:
460 - file_system: ext4
461 mount: /
462 name: root
463 size: 15360
464 type: lv
465 - file_system: swap
466 mount: swap
467 name: swap
468 size: 4096
469 type: lv
470- _allocate_size: all
471 id: vm
472 label: Virtual Storage
473 min_size: 5120
474 type: vg
475 volumes:
476 - file_system: xfs
477 mount: /var/lib/nova
478 name: nova
479 size: 132260
480 type: lv
481nodes:
482- fqdn: node-60.test.domain.local
483 internal_address: 192.168.0.1
484 internal_netmask: 255.255.255.0
485 name: node-60
486 public_address: 172.16.0.2
487 public_netmask: 255.255.255.0
488 role: virt
489 storage_address: 192.168.1.1
490 storage_netmask: 255.255.255.0
491 swift_zone: '60'
492 uid: '60'
493 user_node_name: Untitled (e7:0d)
494- fqdn: node-61.test.domain.local
495 internal_address: 192.168.0.2
496 internal_netmask: 255.255.255.0
497 name: node-61
498 role: compute
499 storage_address: 192.168.1.2
500 storage_netmask: 255.255.255.0
501 swift_zone: '61'
502 uid: '61'
503 user_node_name: Untitled (6a:71)
504nova:
505 db_password: q7mj3iheGGKdTtNfThRQFqXT
506 enable_hugepages: false
507 state_path: /var/lib/nova
508 user_password: nsqx5AUWM7ZlEIEeXH01rWsO
509nova_quota: false
510online: true
511openstack_version: mitaka-9.0
512operator_user:
513 authkeys: ''
514 homedir: /home/fueladmin
515 metadata:
516 group: general
517 label: Operating System Access
518 weight: 15
519 name: fueladmin
520 password: adhpStdQ0fs6TpHfE309gE2d
521 sudo: 'ALL=(ALL) NOPASSWD: ALL'
522plugins: []
523priority: 100
524private_network_range: 192.168.2.0/24
525provision:
526 codename: trusty
527 image_data:
528 /:
529 container: gzip
530 format: ext4
531 uri: http://10.110.0.2:8080/targetimages/env_25_ubuntu_1404_amd64.img.gz
532 /boot:
533 container: gzip
534 format: ext2
535 uri: http://10.110.0.2:8080/targetimages/env_25_ubuntu_1404_amd64-boot.img.gz
536 metadata:
537 group: general
538 label: Provision
539 restrictions:
540 - action: hide
541 condition: 'false'
542 weight: 80
543 method: image
544 packages: 'acl
545
546 anacron
547
548 bash-completion
549
550 bridge-utils
551
552 bsdmainutils
553
554 build-essential
555
556 cloud-init
557
558 curl
559
560 daemonize
561
562 debconf-utils
563
564 gdisk
565
566 grub-pc
567
568 hpsa-dkms
569
570 hwloc
571
572 i40e-dkms
573
574 linux-firmware
575
576 linux-firmware-nonfree
577
578 linux-headers-generic-lts-trusty
579
580 linux-image-generic-lts-trusty
581
582 lvm2
583
584 mcollective
585
586 mdadm
587
588 multipath-tools
589
590 multipath-tools-boot
591
592 nailgun-agent
593
594 nailgun-mcagents
595
596 network-checker
597
598 ntp
599
600 openssh-client
601
602 openssh-server
603
604 puppet
605
606 python-amqp
607
608 ruby-augeas
609
610 ruby-ipaddress
611
612 ruby-json
613
614 ruby-netaddr
615
616 ruby-openstack
617
618 ruby-shadow
619
620 ruby-stomp
621
622 telnet
623
624 ubuntu-minimal
625
626 ubuntu-standard
627
628 uuid-runtime
629
630 vim
631
632 virt-what
633
634 vlan
635
636 '
637public_network_assignment:
638 assign_to_all_nodes: false
639 metadata:
640 group: network
641 label: Public network assignment
642 restrictions:
643 - action: hide
644 condition: cluster:net_provider != 'neutron'
645 weight: 10
646public_ssl:
647 cert_data: ''
648 cert_source: self_signed
649 horizon: false
650 hostname: public.fuel.local
651 metadata:
652 group: security
653 label: Public TLS
654 weight: 110
655 services: false
656puppet:
657 manifests: rsync://10.110.0.2:/puppet/mitaka-9.0/manifests/
658 modules: rsync://10.110.0.2:/puppet/mitaka-9.0/modules/
659puppet_debug: true
660quantum: true
661quantum_settings:
662 L2:
663 base_mac: fa:16:3e:00:00:00
664 phys_nets:
665 physnet1:
666 bridge: br-floating
667 vlan_range: null
668 segmentation_type: tun
669 tunnel_id_ranges: 2:65535
670 L3:
671 use_namespaces: true
672 database:
673 passwd: sozGijf9XFWizeCDySVNDITO
674 default_floating_net: admin_floating_net
675 default_private_net: admin_internal_net
676 keystone:
677 admin_password: NHtZfpJOHy1okDE8Ud5akK1J
678 metadata:
679 metadata_proxy_shared_secret: Z0TlSH0lABIcqNqXp7ZlGqGf
680 predefined_networks:
681 admin_floating_net:
682 L2:
683 network_type: flat
684 physnet: physnet1
685 router_ext: true
686 segment_id: null
687 L3:
688 enable_dhcp: false
689 floating:
690 - 172.16.0.130:172.16.0.254
691 gateway: 172.16.0.1
692 nameservers: []
693 subnet: 172.16.0.0/24
694 shared: false
695 tenant: admin
696 admin_internal_net:
697 L2:
698 network_type: tun
699 physnet: null
700 router_ext: false
701 segment_id: null
702 L3:
703 enable_dhcp: true
704 floating: null
705 gateway: 192.168.111.1
706 nameservers:
707 - 8.8.4.4
708 - 8.8.8.8
709 subnet: 192.168.111.0/24
710 shared: false
711 tenant: admin
712rabbit:
713 password: POtDFZrfsHF4eWZk2zOsbT9l
714repo_setup:
715 installer_initrd:
716 local: /var/www/nailgun/ubuntu/x86_64/images/initrd.gz
717 remote_relative: dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz
718 installer_kernel:
719 local: /var/www/nailgun/ubuntu/x86_64/images/linux
720 remote_relative: dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux
721 metadata:
722 always_editable: true
723 group: general
724 label: Repositories
725 weight: 50
726 repos:
727 - name: ubuntu
728 priority: null
729 section: main universe multiverse
730 suite: trusty
731 type: deb
732 uri: http://archive.ubuntu.com/ubuntu/
733 - name: ubuntu-updates
734 priority: null
735 section: main universe multiverse
736 suite: trusty-updates
737 type: deb
738 uri: http://archive.ubuntu.com/ubuntu/
739 - name: ubuntu-security
740 priority: null
741 section: main universe multiverse
742 suite: trusty-security
743 type: deb
744 uri: http://archive.ubuntu.com/ubuntu/
745 - name: mos
746 priority: 1050
747 section: main restricted
748 suite: mos9.0
749 type: deb
750 uri: http://10.110.0.2:8080/mitaka-9.0/ubuntu/x86_64
751 - name: mos-updates
752 priority: 1050
753 section: main restricted
754 suite: mos9.0-updates
755 type: deb
756 uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/
757 - name: mos-security
758 priority: 1050
759 section: main restricted
760 suite: mos9.0-security
761 type: deb
762 uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/
763 - name: mos-holdback
764 priority: 1100
765 section: main restricted
766 suite: mos9.0-holdback
767 type: deb
768 uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/9.0/
769 - name: Auxiliary
770 priority: 1150
771 section: main restricted
772 suite: auxiliary
773 type: deb
774 uri: http://10.110.0.2:8080/mitaka-9.0/ubuntu/auxiliary
775resume_guests_state_on_host_boot: true
776role: virt
777sahara:
778 db_password: GiKgN6Iwfq1WWjwOp7JM22wk
779 enabled: false
780 user_password: r228YKdYqnBvofBDFY5949KL
781service_user:
782 homedir: /var/lib/fuel
783 metadata:
784 group: general
785 label: Service user account
786 restrictions:
787 - action: hide
788 condition: 'true'
789 weight: 10
790 name: fuel
791 password: 4nW7Ga6QSCXL3tP0HYoTOKng
792 root_password: r00tme
793 sudo: 'ALL=(ALL) NOPASSWD: ALL'
794status: discover
795storage:
796 admin_key: AQCftQtXAAAAABAAHQ5oHwtlKXyFJXBQHE9V2Q==
797 bootstrap_osd_key: AQCftQtXAAAAABAAaMHzhcya9T2ii69+HXyWsQ==
798 ephemeral_ceph: false
799 fsid: 5f125843-7876-4b1f-ba88-c318be5a5ab3
800 images_ceph: false
801 images_vcenter: false
802 metadata:
803 group: storage
804 label: Storage Backends
805 weight: 60
806 mon_key: AQCftQtXAAAAABAAJc1QNhjV27EtFB4pqNPvRQ==
807 objects_ceph: false
808 osd_pool_size: '3'
809 per_pool_pg_nums:
810 .rgw: 128
811 backups: 128
812 compute: 128
813 default_pg_num: 128
814 images: 128
815 volumes: 128
816 pg_num: 128
817 radosgw_key: AQCftQtXAAAAABAA456aCumTcqETSqHopfQWtQ==
818 volumes_block_device: false
819 volumes_ceph: false
820 volumes_lvm: true
821storage_network_range: 192.168.1.0/24
822swift:
823 user_password: g8dYoajN7YGmfrTkW9OCXj8l
824syslog:
825 metadata:
826 enabled: false
827 group: logging
828 label: Syslog
829 toggleable: true
830 weight: 50
831 syslog_port: '514'
832 syslog_server: ''
833 syslog_transport: tcp
834task_deploy: true
835tasks:
836- id: reserved_ports
837 parameters:
838 cwd: /
839 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/netconfig/reserved_ports.pp
840 puppet_modules: /etc/puppet/modules
841 retries: null
842 timeout: 180
843 priority: 100
844 type: puppet
845 uids:
846 - '60'
847- id: hiera
848 parameters:
849 cwd: /
850 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/hiera/hiera.pp
851 puppet_modules: /etc/puppet/modules
852 retries: null
853 timeout: 3600
854 priority: 200
855 type: puppet
856 uids:
857 - '60'
858- id: setup_repositories
859 parameters:
860 cwd: /
861 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/fuel_pkgs/setup_repositories.pp
862 puppet_modules: /etc/puppet/modules
863 retries: null
864 timeout: 600
865 priority: 300
866 type: puppet
867 uids:
868 - '60'
869- id: globals
870 parameters:
871 cwd: /
872 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/globals/globals.pp
873 puppet_modules: /etc/puppet/modules
874 retries: null
875 timeout: 3600
876 priority: 400
877 type: puppet
878 uids:
879 - '60'
880- id: logging
881 parameters:
882 cwd: /
883 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/logging/logging.pp
884 puppet_modules: /etc/puppet/modules
885 retries: null
886 timeout: 3600
887 priority: 500
888 type: puppet
889 uids:
890 - '60'
891- id: tools
892 parameters:
893 cwd: /
894 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/tools/tools.pp
895 puppet_modules: /etc/puppet/modules
896 retries: null
897 timeout: 3600
898 priority: 600
899 type: puppet
900 uids:
901 - '60'
902- id: netconfig
903 parameters:
904 cwd: /
905 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/netconfig/netconfig.pp
906 puppet_modules: /etc/puppet/modules
907 retries: null
908 timeout: 3600
909 priority: 700
910 type: puppet
911 uids:
912 - '60'
913- id: generate_vms
914 parameters:
915 cwd: /
916 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/generate_vms/generate_vms.pp
917 puppet_modules: /etc/puppet/modules
918 retries: null
919 timeout: 3600
920 priority: 800
921 type: puppet
922 uids:
923 - '60'
924- id: connectivity_tests
925 parameters:
926 cwd: /
927 puppet_manifest: /etc/puppet/modules/osnailyfacter/modular/netconfig/connectivity_tests.pp
928 puppet_modules: /etc/puppet/modules
929 retries: null
930 timeout: 3600
931 priority: 900
932 type: puppet
933 uids:
934 - '60'
935test_vm_image:
936 container_format: bare
937 disk_format: qcow2
938 glance_properties: ''
939 img_name: TestVM
940 img_path: /usr/share/cirros-testvm/cirros-x86_64-disk.img
941 min_ram: 64
942 os_name: cirros
943 public: 'true'
944uid: '60'
945use_cow_images: true
946use_vcenter: false
947user_node_name: Untitled (e7:0d)
948vms_conf:
949- cpu: 2
950 id: 3
951 ram: 2
952workloads_collector:
953 create_user: true
954 enabled: true
955 metadata:
956 group: general
957 label: Workloads Collector User
958 restrictions:
959 - action: hide
960 condition: 'true'
961 weight: 10
962 password: QTVxAbyMabTFKgjafwCxQqVl
963 tenant: services
964 username: fuel_stats_user
diff --git a/utils/generate_yamls.sh b/utils/generate_yamls.sh
index f8e95e1..7851f37 100755
--- a/utils/generate_yamls.sh
+++ b/utils/generate_yamls.sh
@@ -70,6 +70,13 @@ function enable_nova_quota {
70 fuel env --attributes --env $1 --upload 70 fuel env --attributes --env $1 --upload
71} 71}
72 72
73function enable_vms_conf {
74 virt_node_ids=`fuel nodes --env $1 2>/dev/null | grep virt | awk '{print $1}'`
75 for id in $virt_node_ids ; do
76 fuel2 node create-vms-conf $id --conf '{"id":3,"ram":2,"cpu":2}'
77 done
78}
79
73function list_free_nodes { 80function list_free_nodes {
74 fuel nodes 2>/dev/null | grep discover | grep None | awk '{print $1}' 81 fuel nodes 2>/dev/null | grep discover | grep None | awk '{print $1}'
75} 82}
@@ -121,6 +128,12 @@ function generate_yamls {
121 sleep 1 128 sleep 1
122 fi 129 fi
123 done 130 done
131
132 #We need assigned "virt" role to enable vms_conf
133 if [ "${name/vms_conf}" != "$name" ] ; then
134 enable_vms_conf $env
135 fi
136
124 save_yamls $env 137 save_yamls $env
125 store_yamls $env $name "$4" 138 store_yamls $env $name "$4"
126} 139}
@@ -162,3 +175,8 @@ clean_env 'test_neutron_tun'
162fuel env --create --name test_neutron_tun --rel 2 --net tun 175fuel env --create --name test_neutron_tun --rel 2 --net tun
163generate_yamls 'test_neutron_tun' 'neut_tun.l3ha.nova_quota' 'controller controller controller' 'primary-controller' 176generate_yamls 'test_neutron_tun' 'neut_tun.l3ha.nova_quota' 'controller controller controller' 'primary-controller'
164clean_env 'test_neutron_tun' 177clean_env 'test_neutron_tun'
178
179# Neutron tun + vms_conf
180fuel env --create --name test_neutron_tun --rel 2 --net tun
181generate_yamls 'test_neutron_tun' 'neut_tun.vms_conf' 'virt compute' 'virt'
182clean_env 'test_neutron_tun'