forked from openshift/openshift-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openshift-ansible.spec
4191 lines (3943 loc) · 216 KB
/
openshift-ansible.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# %commit is intended to be set by tito custom builders provided
# in the .tito/lib directory. The values in this spec file will not be kept up to date.
%{!?commit:
%global commit c64d09e528ca433832c6b6e6f5c7734a9cc8ee6f
}
# This is inserted to prevent RPM from requiring "/usr/bin/ansible-playbook"
# The ansible-playbook requirement will be ansibled by the explicit
# "Requires: ansible" directive
%global __requires_exclude ^/usr/bin/ansible-playbook$
Name: openshift-ansible
Version: 3.6.68
Release: 1%{?dist}
Summary: Openshift and Atomic Enterprise Ansible
License: ASL 2.0
URL: https://github.com/openshift/openshift-ansible
Source0: https://github.com/openshift/openshift-ansible/archive/%{commit}/%{name}-%{version}.tar.gz
BuildArch: noarch
Requires: ansible >= 2.2.2.0
Requires: python2
Requires: python-six
Requires: tar
Requires: openshift-ansible-docs = %{version}
Requires: java-1.8.0-openjdk-headless
Requires: httpd-tools
Requires: libselinux-python
Requires: python-passlib
%description
Openshift and Atomic Enterprise Ansible
This repo contains Ansible code and playbooks
for Openshift and Atomic Enterprise.
%prep
%setup -q
%build
# atomic-openshift-utils install
pushd utils
%{__python} setup.py build
popd
%install
# Base openshift-ansible install
mkdir -p %{buildroot}%{_datadir}/%{name}
mkdir -p %{buildroot}%{_datadir}/ansible/%{name}
mkdir -p %{buildroot}%{_datadir}/ansible_plugins
cp -rp library %{buildroot}%{_datadir}/ansible/%{name}/
# openshift-ansible-bin install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{python_sitelib}/openshift_ansible
mkdir -p %{buildroot}/etc/bash_completion.d
mkdir -p %{buildroot}/etc/openshift_ansible
# Fix links
rm -f %{buildroot}%{python_sitelib}/openshift_ansible/aws
rm -f %{buildroot}%{python_sitelib}/openshift_ansible/gce
# openshift-ansible-docs install
# Install example inventory into docs/examples
mkdir -p docs/example-inventories
cp inventory/byo/* docs/example-inventories/
# openshift-ansible-playbooks install
cp -rp playbooks %{buildroot}%{_datadir}/ansible/%{name}/
# remove contiv plabooks
rm -rf %{buildroot}%{_datadir}/ansible/%{name}/playbooks/adhoc/contiv
# BZ1330091
find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name lookup_plugins -type l -delete
find -L %{buildroot}%{_datadir}/ansible/%{name}/playbooks -name filter_plugins -type l -delete
# openshift-ansible-roles install
cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/
# remove contiv role
rm -rf %{buildroot}%{_datadir}/ansible/%{name}/roles/contiv/*
# touch a file in contiv so that it can be added to SCM's
touch %{buildroot}%{_datadir}/ansible/%{name}/roles/contiv/.empty_dir
# openshift_master_facts symlinks filter_plugins/oo_filters.py from ansible_plugins/filter_plugins
pushd %{buildroot}%{_datadir}/ansible/%{name}/roles/openshift_master_facts/filter_plugins
ln -sf ../../../../../ansible_plugins/filter_plugins/oo_filters.py oo_filters.py
popd
# openshift_master_facts symlinks lookup_plugins/oo_option.py from ansible_plugins/lookup_plugins
pushd %{buildroot}%{_datadir}/ansible/%{name}/roles/openshift_master_facts/lookup_plugins
ln -sf ../../../../../ansible_plugins/lookup_plugins/oo_option.py oo_option.py
popd
# openshift-ansible-filter-plugins install
cp -rp filter_plugins %{buildroot}%{_datadir}/ansible_plugins/
# openshift-ansible-lookup-plugins install
cp -rp lookup_plugins %{buildroot}%{_datadir}/ansible_plugins/
# openshift-ansible-callback-plugins install
cp -rp callback_plugins %{buildroot}%{_datadir}/ansible_plugins/
# create symlinks from /usr/share/ansible/plugins/lookup ->
# /usr/share/ansible_plugins/lookup_plugins
pushd %{buildroot}%{_datadir}
mkdir -p ansible/plugins
pushd ansible/plugins
ln -s ../../ansible_plugins/lookup_plugins lookup
ln -s ../../ansible_plugins/filter_plugins filter
ln -s ../../ansible_plugins/callback_plugins callback
popd
popd
# atomic-openshift-utils install
pushd utils
%{__python} setup.py install --skip-build --root %{buildroot}
# Remove this line once the name change has happened
mv -f %{buildroot}%{_bindir}/oo-install %{buildroot}%{_bindir}/atomic-openshift-installer
mkdir -p %{buildroot}%{_datadir}/atomic-openshift-utils/
cp etc/ansible.cfg %{buildroot}%{_datadir}/atomic-openshift-utils/ansible.cfg
mkdir -p %{buildroot}%{_mandir}/man1/
cp -v docs/man/man1/atomic-openshift-installer.1 %{buildroot}%{_mandir}/man1/
cp etc/ansible-quiet.cfg %{buildroot}%{_datadir}/atomic-openshift-utils/ansible-quiet.cfg
popd
# Base openshift-ansible files
%files
%doc README*
%license LICENSE
%dir %{_datadir}/ansible/%{name}
%{_datadir}/ansible/%{name}/library
%ghost %{_datadir}/ansible/%{name}/playbooks/common/openshift-master/library.rpmmoved
# ----------------------------------------------------------------------------------
# openshift-ansible-docs subpackage
# ----------------------------------------------------------------------------------
%package docs
Summary: Openshift and Atomic Enterprise Ansible documents
Requires: %{name} = %{version}
BuildArch: noarch
%description docs
%{summary}.
%files docs
%doc docs
# ----------------------------------------------------------------------------------
# openshift-ansible-playbooks subpackage
# ----------------------------------------------------------------------------------
%package playbooks
Summary: Openshift and Atomic Enterprise Ansible Playbooks
Requires: %{name} = %{version}
Requires: %{name}-roles = %{version}
Requires: %{name}-lookup-plugins = %{version}
Requires: %{name}-filter-plugins = %{version}
Requires: %{name}-callback-plugins = %{version}
BuildArch: noarch
%description playbooks
%{summary}.
%files playbooks
%{_datadir}/ansible/%{name}/playbooks
# We moved playbooks/common/openshift-master/library up to the top and replaced
# it with a symlink. RPM doesn't handle this so we have to do some pre-transaction
# magic. See https://fedoraproject.org/wiki/Packaging:Directory_Replacement
%pretrans playbooks -p <lua>
-- Define the path to directory being replaced below.
-- DO NOT add a trailing slash at the end.
path = "/usr/share/ansible/openshift-ansible/playbooks/common/openshift-master/library"
st = posix.stat(path)
if st and st.type == "directory" then
status = os.rename(path, path .. ".rpmmoved")
if not status then
suffix = 0
while not status do
suffix = suffix + 1
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
end
os.rename(path, path .. ".rpmmoved")
end
end
%package roles
# ----------------------------------------------------------------------------------
# openshift-ansible-roles subpackage
# ----------------------------------------------------------------------------------
Summary: Openshift and Atomic Enterprise Ansible roles
Requires: %{name} = %{version}
Requires: %{name}-lookup-plugins = %{version}
Requires: %{name}-filter-plugins = %{version}
Requires: %{name}-callback-plugins = %{version}
BuildArch: noarch
%description roles
%{summary}.
%files roles
%{_datadir}/ansible/%{name}/roles
# ----------------------------------------------------------------------------------
# openshift-ansible-filter-plugins subpackage
# ----------------------------------------------------------------------------------
%package filter-plugins
Summary: Openshift and Atomic Enterprise Ansible filter plugins
Requires: %{name} = %{version}
BuildArch: noarch
Requires: pyOpenSSL
%description filter-plugins
%{summary}.
%files filter-plugins
%{_datadir}/ansible_plugins/filter_plugins
%{_datadir}/ansible/plugins/filter
# ----------------------------------------------------------------------------------
# openshift-ansible-lookup-plugins subpackage
# ----------------------------------------------------------------------------------
%package lookup-plugins
Summary: Openshift and Atomic Enterprise Ansible lookup plugins
Requires: %{name} = %{version}
BuildArch: noarch
%description lookup-plugins
%{summary}.
%files lookup-plugins
%{_datadir}/ansible_plugins/lookup_plugins
%{_datadir}/ansible/plugins/lookup
# ----------------------------------------------------------------------------------
# openshift-ansible-callback-plugins subpackage
# ----------------------------------------------------------------------------------
%package callback-plugins
Summary: Openshift and Atomic Enterprise Ansible callback plugins
Requires: %{name} = %{version}
BuildArch: noarch
%description callback-plugins
%{summary}.
%files callback-plugins
%{_datadir}/ansible_plugins/callback_plugins
%{_datadir}/ansible/plugins/callback
# ----------------------------------------------------------------------------------
# atomic-openshift-utils subpackage
# ----------------------------------------------------------------------------------
%package -n atomic-openshift-utils
Summary: Atomic OpenShift Utilities
BuildRequires: python-setuptools
Requires: %{name}-playbooks = %{version}
Requires: python-click
Requires: python-setuptools
Requires: PyYAML
BuildArch: noarch
%description -n atomic-openshift-utils
Atomic OpenShift Utilities includes
- atomic-openshift-installer
- other utilities
%files -n atomic-openshift-utils
%{python_sitelib}/ooinstall*
%{_bindir}/atomic-openshift-installer
%{_datadir}/atomic-openshift-utils/ansible.cfg
%{_mandir}/man1/*
%{_datadir}/atomic-openshift-utils/ansible-quiet.cfg
%changelog
* Sat May 13 2017 Jenkins CD Merge Bot <[email protected]> 3.6.68-1
- Updating registry-console image version during a post_control_plane upgrade
- Remove userland-proxy-path from daemon.json ([email protected])
- Fix whistespace issues in custom template ([email protected])
- Always add proxy items to atomic.conf ([email protected])
- Move container-engine systemd environment to updated location
- doc: Add link to daemon.json upstream doc ([email protected])
- Remove unused daemon.json keys ([email protected])
- bug 1448860. Change recovery_after_nodes to match node_quorum
- bug 1441369. Kibana memory limits bug 1439451. Kibana crash
- Extend repoquery command (of lib_utils role) to ignore excluders
- lower case in /etc/daemon.json and correct block-registry ([email protected])
- Fix for yedit custom separators ([email protected])
- Updating 3.6 enterprise registry-console template image version
- Default to iptables on master ([email protected])
- Rename blocked-registries to block-registries ([email protected])
- Ensure true is lowercase in daemon.json ([email protected])
- use docker_log_driver and /etc/docker/daemon.json to determine log driver
- Temporarily revert to OSEv3 host group usage ([email protected])
- Add service file templates for master and node ([email protected])
- Update systemd units to use proper container service name
- polish etcd_common role ([email protected])
- Note existence of Fedora tests and how to rerun ([email protected])
- Fix for OpenShift SDN Check ([email protected])
- Updating oc_obj to use get instead of getattr ([email protected])
- Updating size suffix for metrics in role ([email protected])
- GlusterFS: Allow swapping an existing registry's backend storage
- GlusterFS: Allow for a separate registry-specific playbook
- GlusterFS: Improve role documentation ([email protected])
- hosted_registry: Get correct pod selector for GlusterFS storage
- hosted registry: Fix typo ([email protected])
- run excluders over selected set of hosts during control_plane/node upgrade
- Reserve kubernetes and 'kubernetes-' prefixed namespaces
- oc_volume: Add missing parameter documentation ([email protected])
* Wed May 10 2017 Scott Dodson <[email protected]> 3.6.67-1
- byo: correct option name ([email protected])
- Fail if rpm version != docker image version ([email protected])
- Perform package upgrades in one transaction ([email protected])
- Properly fail if OpenShift RPM version is undefined ([email protected])
* Wed May 10 2017 Scott Dodson <[email protected]> 3.6.66-1
- Fix issue with Travis-CI using old pip version ([email protected])
- Remove vim configuration from Python files ([email protected])
- Use local variables for daemon.json template ([email protected])
- Fix additional master cert & client config creation. ([email protected])
* Tue May 09 2017 Jenkins CD Merge Bot <[email protected]> 3.6.62-1
-
* Tue May 09 2017 Jenkins CD Merge Bot <[email protected]> 3.6.61-1
-
* Mon May 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.60-1
-
* Mon May 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.59-1
- Updating logging and metrics to restart api, ha and controllers when updating
master config ([email protected])
- Adding defaults for es_indices ([email protected])
- Updating logic for generating pvcs and their counts to prevent reuse when
looping ([email protected])
* Mon May 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.58-1
- Moving Dockerfile content to images dir ([email protected])
* Mon May 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.57-1
-
* Sun May 07 2017 Jenkins CD Merge Bot <[email protected]> 3.6.56-1
-
* Sat May 06 2017 Jenkins CD Merge Bot <[email protected]> 3.6.55-1
- Fix 1448368, and some other minors issues ([email protected])
- mux startup is broken without this fix ([email protected])
- Dockerfile: create symlink for /opt/app-root/src ([email protected])
- docs: Add basic system container dev docs ([email protected])
- installer: Add system container variable for log saving ([email protected])
- installer: support running as a system container ([email protected])
* Fri May 05 2017 Jenkins CD Merge Bot <[email protected]> 3.6.54-1
- Allow oc_ modules to pass unicode results ([email protected])
- Ensure repo cache is clean on the first run ([email protected])
- move etcdctl.yml from etcd to etcd_common role ([email protected])
- Modified pick from release-1.5 for updating hawkular htpasswd generation
* Thu May 04 2017 Jenkins CD Merge Bot <[email protected]> 3.6.53-1
- Correctly setting the primary and replica shard count settings
- System container docker ([email protected])
- Stop logging AWS credentials in master role. ([email protected])
- Remove set operations from openshift_master_certificates iteration.
- Refactor system fact gathering to avoid dictionary size change during
iteration. ([email protected])
- Refactor secret generation for python3. ([email protected])
- redhat-ci: use requirements.txt ([email protected])
* Wed May 03 2017 Jenkins CD Merge Bot <[email protected]> 3.6.52-1
- Making mux with_items list evaluate as empty if didnt get objects before
- etcd Upgrade Refactor ([email protected])
- v3.3 Upgrade Refactor ([email protected])
- v3.4 Upgrade Refactor ([email protected])
- v3.5 Upgrade Refactor ([email protected])
- v3.6 Upgrade Refactor ([email protected])
- Fix variants for v3.6 ([email protected])
- Normalizing groups. ([email protected])
- Use openshift_ca_host's hostnames to sign the CA ([email protected])
* Tue May 02 2017 Jenkins CD Merge Bot <[email protected]> 3.6.51-1
- Remove std_include from playbooks/byo/rhel_subscribe.yml
- Adding way to add labels and nodeselectors to logging project
* Tue May 02 2017 Jenkins CD Merge Bot <[email protected]> 3.6.50-1
- Don't double quote when conditions ([email protected])
- Remove jinja template delimeters from when conditions ([email protected])
- move excluder upgrade validation tasks under openshift_excluder role
- Fix test compatibility with OpenSSL 1.1.0 (pierre-
* Mon May 01 2017 Jenkins CD Merge Bot <[email protected]> 3.6.49-1
- Warn users about conflicts with docker0 CIDR range ([email protected])
- Bump ansible rpm dependency to 2.2.2.0 ([email protected])
* Mon May 01 2017 Jenkins CD Merge Bot <[email protected]> 3.6.48-1
-
* Mon May 01 2017 Jenkins CD Merge Bot <[email protected]> 3.6.47-1
-
* Mon May 01 2017 Jenkins CD Merge Bot <[email protected]> 3.6.46-1
- Contrib: Hook to verify modules match assembled fragments
* Mon May 01 2017 Jenkins CD Merge Bot <[email protected]> 3.6.45-1
-
* Sun Apr 30 2017 Jenkins CD Merge Bot <[email protected]> 3.6.44-1
- Refactor etcd roles ([email protected])
* Sat Apr 29 2017 Jenkins CD Merge Bot <[email protected]> 3.6.43-1
- Document the Pull Request process ([email protected])
- Add Table of Contents ([email protected])
- Improve Contribution Guide ([email protected])
- Replace absolute with relative URLs ([email protected])
- Move repo structure to a separate document ([email protected])
- Remove outdated information about PRs ([email protected])
- Move link to BUILD.md to README.md ([email protected])
- Adding checks for starting mux for 2.2.0 ([email protected])
- Fix OpenShift registry deployment on OSE 3.2 ([email protected])
* Fri Apr 28 2017 Jenkins CD Merge Bot <[email protected]> 3.6.42-1
- Fix certificate check Job examples ([email protected])
- Add python-boto requirement ([email protected])
* Thu Apr 27 2017 Jenkins CD Merge Bot <[email protected]> 3.6.41-1
- Add bool for proper conditional handling ([email protected])
* Thu Apr 27 2017 Jenkins CD Merge Bot <[email protected]> 3.6.40-1
- Fix cluster creation with `bin/cluster` when there’s no glusterfs node
* Thu Apr 27 2017 Jenkins CD Merge Bot <[email protected]> 3.6.39-1
- Move container build instructions to BUILD.md ([email protected])
- Elaborate container image usage instructions ([email protected])
* Wed Apr 26 2017 Jenkins CD Merge Bot <[email protected]> 3.6.38-1
- .redhat-ci.yml: also publish journal logs ([email protected])
- Standardize all Origin versioning on 3.6 ([email protected])
- integration tests: add CI scripts ([email protected])
- preflight int tests: define image builds to support tests ([email protected])
- preflight int tests: generalize; add tests ([email protected])
- Add stub of preflight integration tests ([email protected])
- Move Python unit tests to subdirectory ([email protected])
- Revert "Add /etc/sysconfig/etcd to etcd_container" ([email protected])
- Replace original router cert variable names. ([email protected])
- oc_obj: Allow for multiple kinds in delete ([email protected])
- Update v1.5 content ([email protected])
- Update v1.6 content ([email protected])
- Make the rhel_subscribe role subscribe to OSE 3.5 channel by default
- Addressing yamllint ([email protected])
- Updating kibana-proxy secret key for server-tls entry ([email protected])
- Pick from issue3896 ([email protected])
- Cleanup comments and remove extraneous tasks ([email protected])
- Store backups in /var/lib/etcd/openshift-backup ([email protected])
- Create member/snap directory encase it doesn't exist ([email protected])
- Copy v3 data dir when performing backup ([email protected])
* Tue Apr 25 2017 Jenkins CD Merge Bot <[email protected]> 3.6.37-1
- Differentiate between service serving router certificate and custom
openshift_hosted_router_certificate when replacing the router certificate.
* Tue Apr 25 2017 Jenkins CD Merge Bot <[email protected]> 3.6.36-1
- Update swap disable tasks ([email protected])
- Removing resource version to remove object conflicts caused by race
conditions. ([email protected])
- cast openshift_logging_use_mux_client to bool ([email protected])
- mux does not require privileged, only hostmount-anyuid ([email protected])
- Switched Heapster to use certificates generated by OpenShift
- Use metrics and logging deployer tag v3.4 for enterprise ([email protected])
- Remove v1.5 and v1.6 metrics/logging templates ([email protected])
* Sun Apr 23 2017 Jenkins CD Merge Bot <[email protected]> 3.6.35-1
-
* Fri Apr 21 2017 Jenkins CD Merge Bot <[email protected]> 3.6.34-1
- GlusterFS: provide default for groups.oo_glusterfs_to_config in with_items
* Fri Apr 21 2017 Jenkins CD Merge Bot <[email protected]> 3.6.33-1
- Adding module calls instead of command for idempotency. ([email protected])
- Use return_value when value is constant (pierre-
- Add missing mock for locate_oc_binary method (pierre-
* Fri Apr 21 2017 Scott Dodson <[email protected]> 3.6.32-1
- Don't check excluder versions when they're not enabled ([email protected])
* Fri Apr 21 2017 Jenkins CD Merge Bot <[email protected]> 3.6.31-1
- Stop all services prior to upgrading, start all services after
* Thu Apr 20 2017 Jenkins CD Merge Bot <[email protected]> 3.6.30-1
- Add Ansible syntax checks to tox ([email protected])
- Add /etc/sysconfig/etcd to etcd_container ([email protected])
- openshift_version: improve messaging ([email protected])
- Simplify memory availability check, review tests ([email protected])
- Simplify mixin class ([email protected])
- Simplify disk availability check, review tests ([email protected])
- add disk and memory availability check tests ([email protected])
- add ram and storage preflight check ([email protected])
- Fix paths for file includes ([email protected])
- Fix instantiation of action plugin in test fixture ([email protected])
- Introduce Elasticsearch readiness probe ([email protected])
- added a empty file to the contiv empty dir. This allows contiv to be vendored
in git ([email protected])
* Wed Apr 19 2017 Jenkins CD Merge Bot <[email protected]> 3.6.29-1
- Create openshift-metrics entrypoint playbook ([email protected])
* Tue Apr 18 2017 Jenkins CD Merge Bot <[email protected]> 3.6.28-1
- Minor v3.6 upgrade docs fixes ([email protected])
* Tue Apr 18 2017 Jenkins CD Merge Bot <[email protected]> 3.6.27-1
- repo: start testing PRs on Fedora Atomic Host ([email protected])
* Tue Apr 18 2017 Jenkins CD Merge Bot <[email protected]> 3.6.26-1
- Correct role dependencies ([email protected])
- Allow for GlusterFS to provide registry storage ([email protected])
- Integrate GlusterFS into OpenShift installation ([email protected])
- GlusterFS playbook and role ([email protected])
* Mon Apr 17 2017 Jenkins CD Merge Bot <[email protected]> 3.6.25-1
- Fix default image tag for enterprise ([email protected])
- Cast etcd_debug to a boolean ([email protected])
* Fri Apr 14 2017 Jenkins CD Merge Bot <[email protected]> 3.6.24-1
- tox tests: pin test requirement versions ([email protected])
- This is no longer a widely encountered issue ([email protected])
- Standardize use of byo and common for network_manager.yml
- Disable swap space on nodes at install and upgrade ([email protected])
- Do not check package version on non-master/node ([email protected])
* Thu Apr 13 2017 Jenkins CD Merge Bot <[email protected]> 3.6.23-1
- Refactor initialize groups tasks ([email protected])
- tox tests: pin test requirement versions ([email protected])
- skip PackageAvailability check if not yum ([email protected])
- Document service_type for openshift-enterprise ([email protected])
- Remove references to outdated deployment_type ([email protected])
- Update deployment_type documentation ([email protected])
- Document merge time trends page ([email protected])
- Remove outdated documentation ([email protected])
- Remove outdated build instructions ([email protected])
- openshift_sanitize_inventory: disallow conflicting deployment types
- Refactor docker upgrade playbooks ([email protected])
- Changed Hawkular Metrics secrets to use a format similar to the one
automatically generated by OpenShift ([email protected])
* Wed Apr 12 2017 Jenkins CD Merge Bot <[email protected]> 3.6.22-1
- Fixed spelling mistake. ([email protected])
- Remove unnecessary folder refs ([email protected])
- Switching commands for modules during upgrade of router and registry.
- Fixing a compatibility issue with python 2.7 to 3.5 when reading from
subprocess. ([email protected])
- Refactor use of initialize_oo_option_facts.yml ([email protected])
- preflight checks: refactor and fix aos_version ([email protected])
- Add external provisioners playbook starting with aws efs ([email protected])
* Tue Apr 11 2017 Jenkins CD Merge Bot <[email protected]> 3.6.21-1
- Adding a query for the existing docker-registry route. ([email protected])
- Removing docker-registry route from cockpit-ui. ([email protected])
* Fri Apr 07 2017 Jenkins CD Merge Bot <[email protected]> 3.6.20-1
- Fixed a bug when oc command fails. ([email protected])
- openshift_sanitize_inventory: validate release ([email protected])
* Fri Apr 07 2017 Jenkins CD Merge Bot <[email protected]> 3.6.19-1
- Add example scheduled certificate check ([email protected])
- Switch from ignoring to passing on checks ([email protected])
- Add tests for action plugin ([email protected])
- Remove unnecessary code ([email protected])
- Make resolve_checks more strict ([email protected])
* Fri Apr 07 2017 Jenkins CD Merge Bot <[email protected]> 3.6.18-1
- master-api: add mount for /var/log ([email protected])
- master: add mount for /var/log ([email protected])
- unexclude excluder if it is to be upgraded and already installed
- Bump calico policy controller ([email protected])
- Fixed a string format and a lint space issue ([email protected])
- Fixed name and selector to be mutually exclusive ([email protected])
- Adding ability to delete by selector. ([email protected])
- Adding delete with selector support. ([email protected])
* Thu Apr 06 2017 Jenkins CD Merge Bot <[email protected]> 3.6.17-1
- Adding signed router cert and fixing server_cert bug. ([email protected])
* Wed Apr 05 2017 Jenkins CD Merge Bot <[email protected]> 3.6.16-1
- Removing test coverage for shared code. ([email protected])
- Port 10255 unnecessary. Removing all instances ([email protected])
- oo_filters: Disable pylint too-many-lines test ([email protected])
- oo_collect: Allow list elements to be lists of dict ([email protected])
- oc_label: handle case where _get() returns no results ([email protected])
- Addressing py27-yamllint ([email protected])
- Add 'docker-registry.default.svc' to cert-redeploy too ([email protected])
- Support unicode output when dumping yaml ([email protected])
- Add docker-registry.default.svc short name to registry service signing
- oc_configmap: Add missing check for name ([email protected])
- oo_collect: Update comments to show source of failure ([email protected])
- openshift_facts: Allow examples_content_version to be set to v1.6
- Restart polkitd to workaround a bug in polkitd ([email protected])
- Add names to openshift_image_tag asserts ([email protected])
- doc: Remove atomic-openshift deployment type ([email protected])
- openshift_version now requires prepended version formats ([email protected])
- Warn if openshift_image_tag is defined by hand for package installs
- Verify openshift_image_tag is valid during openshift_version main
- Add openshift_version fact fallback debug messages ([email protected])
- cleanup: when in openshift_version tasks are multiline ([email protected])
- Compatibility updates to openshift_logging role for ansible 2.2.2.0+
* Tue Apr 04 2017 Jenkins CD Merge Bot <[email protected]> 3.6.15-1
- Document etcd_ca_default_days in example inventories. ([email protected])
- Fixed a bug. Ansible requires a msg param when module.fail_json.
* Sat Apr 01 2017 Jenkins CD Merge Bot <[email protected]> 3.6.14-1
- Update v1.5 content ([email protected])
- Add v1.6 content ([email protected])
- Fix generated code ([email protected])
- bug 1432607. Allow configuration of ES log destination ([email protected])
- openshift_facts: install python3-dbus package on Fedora nodes.
- Remove kube-nfs-volumes role ([email protected])
* Fri Mar 31 2017 Jenkins CD Merge Bot <[email protected]> 3.6.13-1
- fixed decode switch so it works on OSX ([email protected])
- Wait for firewalld polkit policy to be defined ([email protected])
- Correct copy task to use remote source ([email protected])
- validate and normalize inventory variables ([email protected])
- Fixed spacing. ([email protected])
- Fixed docs. Fixed add_resource. ([email protected])
- Fixing linting for spaces. ([email protected])
- Removing initial setting of metrics image prefix and version
- Adding clusterrole to the toolbox. ([email protected])
- Fixed a bug in oc_volume. ([email protected])
- Adding a few more test cases. Fixed a bug when key was empty. Safeguard
against yedit module being passed an empty key ([email protected])
- Added the ability to do multiple edits ([email protected])
- fix es config merge so template does not need quoting. gen then merge
* Thu Mar 30 2017 Jenkins CD Merge Bot <[email protected]> 3.6.12-1
- Update example inventory files to mention certificate validity parameters.
- openshift_hosted: add openshift_hosted_registry_cert_expire_days parameter.
- oc_adm_ca_server_cert.py: re-generate. ([email protected])
- oc_adm_ca_server_cert: add expire_days parameter. ([email protected])
- openshift_ca: add openshift_ca_cert_expire_days and
openshift_master_cert_expire_days parameters. ([email protected])
- redeploy-certificates/registry.yml: add
openshift_hosted_registry_cert_expire_days parameter. ([email protected])
- openshift_master_certificates: add openshift_master_cert_expire_days
parameter. ([email protected])
- openshift_node_certificates: add openshift_node_cert_expire_days parameter.
- Update Dockerfile.rhel7 to reflect changes to Dockerfile ([email protected])
* Wed Mar 29 2017 Jenkins CD Merge Bot <[email protected]> 3.6.11-1
- Add etcd_debug and etcd_log_package_levels variables ([email protected])
- Make the OCP available version detection excluder free ([email protected])
- Add test scaffold for docker_image_availability.py ([email protected])
- Add unit tests for package_version.py ([email protected])
- Add unit tests for package_update.py ([email protected])
- Add unit tests for package_availability.py ([email protected])
- Add unit tests for mixins.py ([email protected])
- Test recursively finding subclasses ([email protected])
- Test OpenShift health check loader ([email protected])
- Rename module_executor -> execute_module ([email protected])
- Use oo_version_gte_3_6+ for future versions and treat 1.x origin as legacy.
Add tests. ([email protected])
- Added 3.5 -> 3.6 upgrade playbooks ([email protected])
- Add oo_version_gte_X_X_or_Y_Y version comparison filters.
* Tue Mar 28 2017 Jenkins CD Merge Bot <[email protected]> 3.6.10-1
- Use meta/main.yml for role dependencies ([email protected])
- Upgrade specific rpms instead of just master/node. ([email protected])
- Adding namespace to doc. ([email protected])
- Add calico. ([email protected])
- Fixing up test cases, linting, and added a return. ([email protected])
- first step in ocimage ([email protected])
- ocimage ([email protected])
- Setting defaults on openshift_hosted. ([email protected])
- rebase and regenerate ([email protected])
- fix up things flagged by flake8 ([email protected])
- clean up and clarify docs/comments ([email protected])
- add oc_user ansible module ([email protected])
- Fix etcd cert generation ([email protected])
* Sat Mar 25 2017 Jenkins CD Merge Bot <[email protected]> 3.6.9-1
- Found this while searching the metrics role for logging, is this wrong?
- Fix overriding openshift_{logging,metrics}_image_prefix ([email protected])
- Make linter happy ([email protected])
- Specify enterprise defaults for logging and metrics images
- Update s2i-dotnetcore content ([email protected])
- Stop all services before upgrading openvswitch ([email protected])
- Bug 1434300 - Log entries are generated in ES after deployed logging stacks
via ansible, but can not be found in kibana. ([email protected])
- Adding error checking to the delete. ([email protected])
- Updated comment. ([email protected])
- Fixed doc. Updated test to change existing key. Updated module spec for
required name param. ([email protected])
- Adding oc_configmap to lib_openshift. ([email protected])
* Fri Mar 24 2017 Jenkins CD Merge Bot <[email protected]> 3.6.8-1
- vendor patched upstream docker_container module. ([email protected])
- add docker_image_availability check ([email protected])
- Do not use auto_expand_replicas ([email protected])
- Adding tests to increase TC. ([email protected])
- Adding a pvc create test case. ([email protected])
- Cherry picking from #3711 ([email protected])
* Thu Mar 23 2017 Jenkins CD Merge Bot <[email protected]> 3.6.7-1
- openshift_logging calculate min_masters to fail early on split brain
- Fixed linting and configmap_name param ([email protected])
- Adding configmap support. ([email protected])
- Make /rootfs mount rslave ([email protected])
- Update imageConfig.format on upgrades to match oreg_url ([email protected])
- Adding configmap support and adding tests. ([email protected])
- Adding oc_volume to lib_openshift. ([email protected])
- upgrade: restart ovs-vswitchd and ovsdb-server ([email protected])
- Make atomic-openshift-utils require playbooks of the same version
* Wed Mar 22 2017 Jenkins CD Merge Bot <[email protected]> 3.6.6-1
- Fix copy-pasta docstrings ([email protected])
- Rename _ns -> node_selector ([email protected])
- Reindent code ([email protected])
- Update the failure methods and add required variables/functions
- Import the default ansible output callback on_failed methods
- Switched Cassandra to use certificates generated by OpenShift
- Allow user to specify additions to ES config ([email protected])
* Tue Mar 21 2017 Jenkins CD Merge Bot <[email protected]> 3.6.5-1
- Attempt to match version of excluders to target version ([email protected])
- Get rid of adjust.yml ([email protected])
- Protect against missing commands ([email protected])
- Simplify excluder enablement logic a bit more ([email protected])
- Add tito releaser for 3.6 ([email protected])
- Adding oc_group to lib_openshift ([email protected])
- preflight checks: improve user output from checks ([email protected])
- preflight checks: bypass RPM excludes ([email protected])
- acceptschema2 default: true ([email protected])
- Do not require python-six via openshift_facts ([email protected])
* Sat Mar 18 2017 Jenkins CD Merge Bot <[email protected]> 3.6.4-1
- Cherry picking from #3689 ([email protected])
- Moving projects task within openshift_hosted ([email protected])
- Refactor openshift_projects role ([email protected])
- Add unit tests for existing health checks ([email protected])
- Do not update when properties when not passed. ([email protected])
- change shell to bash in generate_jks.sh ([email protected])
* Fri Mar 17 2017 Jenkins CD Merge Bot <[email protected]> 3.6.3-1
- enable docker excluder since the time it is installed ([email protected])
* Thu Mar 16 2017 Jenkins CD Merge Bot <[email protected]> 3.6.2-1
- enable excluders during node/master scaling up ([email protected])
- Fixing variable naming for 35 scoping. ([email protected])
- Fix get_router_replicas infrastructure node count. ([email protected])
- Fix containerized openvswitch race ([email protected])
* Thu Mar 16 2017 Jenkins CD Merge Bot <[email protected]> 3.6.1-1
- Bump version to 3.6.0 ([email protected])
- Improve CONTRIBUTING guide with testing tricks ([email protected])
- Update versions in example inventories ([email protected])
- Only call excluder playbooks on masters and nodes ([email protected])
- Since we've decided that we're no longer paying attention to current status
remove this as it was toggling things ([email protected])
- Remove travis notifications ([email protected])
- Removing dependency on master facts for master_public_url default
- don't assume openshift_upgrade_target is in a form d.d ([email protected])
- Cherry picked from #3657 ([email protected])
- Revert "Enable docker during installation and upgrade by default"
- Nuage service account handling by single master
- Add router svcacct cluster-reader role ([email protected])
- Cherry picking from #3644 ([email protected])
- Revert module_utils six for openshift_health_checker ([email protected])
- Refactor and remove openshift_serviceaccount ([email protected])
- Fix typo ([email protected])
- Force to use TLSv1.2 (related to https://github.com/openshift/openshift-
ansible/pull/2707) ([email protected])
- Raise on dry-run failures. ([email protected])
- validate excluders on non-atomic hosts only ([email protected])
- enable docker excluder since the time it is installed ([email protected])
- cherry picking from #3621 #3614 #3627 ([email protected])
- Renaming oadm_manage_node to oc_adm_manage_node ([email protected])
- add 'hawkular/metrics' when updating config ([email protected])
- update all the masters ([email protected])
- bug 1430661. Update masterConfig metricsPublicURL on install
- nuage: Move role back to config ([email protected])
- Fix incorrect comparison when detecting petsets ([email protected])
- Removed unused, unwanted, incorrectly committed code. ([email protected])
- Minor updates to README_CONTAINER_IMAGE.md ([email protected])
- Fix references to openshift_set_node_ip in inventory examples
- Bug 1428711 - [IntService_public_324] ES pod is unable to read
searchguard.truststore after upgarde logging from 3.3.1 to 3.5.0
- bug 1428249. Use ES hostmount storage if it exists ([email protected])
- Use ansible.compat.six where possible ([email protected])
- Remove debug task ([email protected])
- Use six from ansible.module_utils for remote hosts ([email protected])
- re-enable excluders if they are enabled after openshift version detection
- Allow overriding minTLSVersion and cipherSuites ([email protected])
- extend the excluders to containerized deployment ([email protected])
- Fixing the way policies are found. The old method was unreliable. This
method searches all and matches on properties. ([email protected])
- openshift_excluders depends on openshift_repos ([email protected])
- add ability to specify an etcd version ([email protected])
- Lowering test coverage percentage. ([email protected])
- Removing ordereddict. Replaced with sorted keys. ([email protected])
- New role ([email protected])
- Fixed for linting. ([email protected])
- enable excluders by default ([email protected])
- ignore the docker excluder status if it is not enabled by a user
- Fix pylint/pyflakes errors on master ([email protected])
- Identify PetSets in 3.4 clusters and fail if any are detected
- More logging fixes ([email protected])
- Fix for issue 3541 ([email protected])
- Fix to OpenshiftCLIConfig to support an ordereddict. This was breaking test
cases. ([email protected])
- - update excluders to latest, in non-upgrade scenarios do not update - check
both available excluder versions are at most of upgrade target version - get
excluder status through status command - make excluders enablement
configurable ([email protected])
- Adding scripts for building and pushing images ([email protected])
- Adding test_oc_adm_router. ([email protected])
- Loosely couple docker to iptables service ([email protected])
- Generic message directing people to contact support ([email protected])
- Fixing plugin, nodeselectors, and secret pull check ([email protected])
- Adding into the origin inventory doc. ([email protected])
- Add oc_objectvalidator to upgrade check ([email protected])
- Augmenting documentation for router sharding. ([email protected])
- Adding router test. ([email protected])
- openshift_facts: ensure system containers deps are installed
- Preserve order of Docker registries ([email protected])
- Updating metrics defaults ([email protected])
- Enable coveralls.io ([email protected])
- Fix indentation of run_once ([email protected])
- Update docs for test consolidation and remove the Makefile
- Consolidate root/utils tests ([email protected])
- Remove dummy setup/teardown methods ([email protected])
- Clean up test files ([email protected])
- Remove commented-out test code ([email protected])
- Make generic OCObjectValidator from OCSDNValidator ([email protected])
- logging needs openshift_master_facts before openshift_facts
- separate out test tool configs from setup.cfg ([email protected])
- Dockerfile and docs to run containerized playbooks ([email protected])
- Lower test coverage percentage. ([email protected])
- Mock runs differntly on travis. Fix the mock test params to be ANY.
- Fixed the none namespace. Fixed tests with latest loc_oc_binary call.
- Updating the namespace param to None. ([email protected])
- Regenerated code with latest yedit changes. ([email protected])
- Fixed tests to align with new naming. ([email protected])
- Fixed docs. Added check for delete failures. Updated namespace to None.
- Fixing linters ([email protected])
- Adding integration test. Fixed issue with node_selector.
- Adding oc_project to lib_openshift. ([email protected])
- Remove old commented-out tests ([email protected])
- Remove redundant assertion ([email protected])
- Fix test ([email protected])
- Lint utils/test ([email protected])
- Rewrap long lines ([email protected])
- Remove unused argument ([email protected])
- Remove unused Makefile variables ([email protected])
- Adding some more logging defaults ([email protected])
- node/sdn: make /var/lib/cni persistent to ensure IPAM allocations stick
around across node restart ([email protected])
- BZ1422348 - Don't install python-ruamel-yaml ([email protected])
- Re-generate modules ([email protected])
- Only set ownership to etcd for thirdparty datadir ([email protected])
- Added ports. ([email protected])
- Fixed router name to produce 2nd router. ([email protected])
- Updated to work with an array of routers. ([email protected])
- Adding support for router sharding. ([email protected])
- Removing the openshift_master_facts dependency ([email protected])
- bug 1420256. Initialize openshift_logging pvc_facts to empty
- Add oc_adm_policy_user task cluster-role policy ([email protected])
- Correct config for hosted registry ([email protected])
- Fixing checkout for bindings with -binding suffix ([email protected])
- Leave an empty contiv role directory ([email protected])
- Updating stdout check for changed_when ([email protected])
- test fixes for openshift_certificates_expiry ([email protected])
- oadm_policy_group/adm_policy_user module ([email protected])
- Fail on Atomic if docker is too old ([email protected])
- Remove contiv role and playbook from rpm packages ([email protected])
- Resolving yammlint errors ([email protected])
- Fixed error handling when oc adm ca create-server-cert fails. Fixed a logic
error in secure. ([email protected])
- removing extra when condition ([email protected])
- Removing run_once. ([email protected])
- Adding the activeDeadlineSeconds. Removed debug. ([email protected])
- Separating routes so logic is simpler. ([email protected])
- Defaulting variables properly to avoid undefined route in dict error.
- Add v1.3 FIS templates ([email protected])
- v1.4 Add FIS templates ([email protected])
- Add FIS templates ([email protected])
- Removed duplicate host param. ([email protected])
- Fixed failures on create when objects exist. ([email protected])
- Add ca-bundle.crt to list of certs to synchronize. ([email protected])
- Do not force custom ca cert deployment. ([email protected])
- regenerate lib_openshift with yedit exception changes ([email protected])
- Adding changed_whens for role, rolebinding, and scc reconciliation based on
output from oadm policy command ([email protected])
- raise exceptions when walking through object path ([email protected])
- logging fluentd filter was renamed to viaq ([email protected])
- Add 'persistentVolumeClaim' to volume_info type ([email protected])
- Updating delete/recreate with replace --force. ([email protected])
- Fixed logic error. Ensure both svc and dc exist. ([email protected])
- Modified base debug statements. Fixed oc_secret debug/verbose flag. Added
reencrypt for route. ([email protected])
- Adding support for a route with certs and reencrypt. ([email protected])
- node: use the new oc_atomic_container module ([email protected])
- master: use the new oc_atomic_container module ([email protected])
- etcd: use the new oc_atomic_container module ([email protected])
- lib_openshift: new module atomic_container ([email protected])
- Combined (squashed) commit for all changes related to adding Contiv support
into Openshift Ansible. This is the first (beta) release of Contiv with
Openshift and is only supported for Openshift Origin + Bare metal deployments
at the time of this commit. Please refer to the Openshift and Contiv official
documentation for details of the level of support for different features and
modes of operation. ([email protected])
- Re-generate lib_openshift ([email protected])
- Make s3_volume_mount available to set_fact call ([email protected])
- Correct fact creation for pvc ([email protected])
- [oc_obj] Move namespace argument to end of command. ([email protected])
- Create hosted registry service ([email protected])
- Correct typo in haproxy router collection. ([email protected])
- Fix issue #3505, add notes about origin upgrade versions support in BYO
upgrade README file ([email protected])
- Moving replica logic to filter_plugin to fix skipped task variable behavior.
- install the latest excluders ([email protected])
- openshift_hosted: Update tasks to use oc_ modules ([email protected])
- Rebased. ([email protected])
- Fixed indentation ([email protected])
- Adding get_env_var to deploymentconfig. ([email protected])
- Fixed default variables. Added a fix to generated secret in env var.