forked from openshift/openshift-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openshift-ansible.spec
4847 lines (4541 loc) · 250 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.153
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
# Along the history of openshift-ansible, some playbook directories had to be
# moved and were replaced with symlinks for backwards compatibility.
# 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 paths to directories being replaced below.
-- DO NOT add a trailing slash at the end.
dirs_to_sym = {
"/usr/share/ansible/openshift-ansible/playbooks/common/openshift-master/library",
"/usr/share/ansible/openshift-ansible/playbooks/certificate_expiry"
}
for i,path in ipairs(dirs_to_sym) do
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
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
* Tue Jul 18 2017 Jenkins CD Merge Bot <[email protected]> 3.6.153-1
- Updating to compare sets instead of sorted lists ([email protected])
- Adding ability to create podpreset for service-catalog-controller for
bz1471881 ([email protected])
- Updating to use oc replace and conditionally update edit and admin roles
- Other playbooks maybe expecting this to be at least an empty string. I think
they default it to an empty list if its not found. ([email protected])
- Fix NO_PROXY environment variable setting ([email protected])
- Changing the passing of data for sc creation. ([email protected])
- Fixed variable name. ([email protected])
- Adding disk encryption to storageclasses and to openshift registry
* Mon Jul 17 2017 Jenkins CD Merge Bot <[email protected]> 3.6.152-1
-
* Sun Jul 16 2017 Jenkins CD Merge Bot <[email protected]> 3.6.151-1
-
* Sun Jul 16 2017 Jenkins CD Merge Bot <[email protected]> 3.6.150-1
-
* Sat Jul 15 2017 Jenkins CD Merge Bot <[email protected]> 3.6.149-1
- Config was missed before replace. ([email protected])
- Redeploy-certificates will fail for registry and router if user is not
system:admin ([email protected])
* Fri Jul 14 2017 Jenkins CD Merge Bot <[email protected]> 3.6.148-1
- Adding in permissions to edit and admin cluster roles ([email protected])
- making kube-service-catalog project network global when using redhat
/openshift-ovs-multitenant plugin ([email protected])
- set KillMode to process in node service file ([email protected])
- Upgrade fails when "Drain Node for Kubelet upgrade" ([email protected])
- openvswitch, syscontainer: specify the Docker service name
* Thu Jul 13 2017 Jenkins CD Merge Bot <[email protected]> 3.6.144-1
- Created js file for enabling tech preview for console, updated master-config
for pod presets and console tech preview ([email protected])
- GlusterFS: Add updated example hosts files ([email protected])
- GlusterFS: Fix SSH-based heketi configuration ([email protected])
* Wed Jul 12 2017 Jenkins CD Merge Bot <[email protected]> 3.6.143-1
-
* Wed Jul 12 2017 Jenkins CD Merge Bot <[email protected]> 3.6.142-1
- add scheduled pods check ([email protected])
- Only store failures that were not ignored. ([email protected])
- Add overlay to supported Docker storage drivers ([email protected])
- ansible.cfg: improve ssh ControlPath ([email protected])
- openshift_checks: fix execute_module params ([email protected])
- OCP build: override python-directed envvars ([email protected])
- OCP build: fix bug 1465724 ([email protected])
- OCP build: sync packages needed ([email protected])
- Adding create permissions for serviceclasses.servicecatalog.k8s.io to
service-catalog-controller role ([email protected])
- Fix calico when certs are auto-generated ([email protected])
- Removing trailing newline. ([email protected])
- Error upgrading control_plane when user is not system:admin
- [Bz 1468113] Configure the rest of the masters with the correct URL.
* Tue Jul 11 2017 Jenkins CD Merge Bot <[email protected]> 3.6.141-1
- Add evaluate_groups.yml to network_manager playbook ([email protected])
- updating fetch tasks to be flat paths ([email protected])
* Mon Jul 10 2017 Jenkins CD Merge Bot <[email protected]> 3.6.140-1
-
* Sat Jul 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.139-1
- increase implicit 300s default timeout to explicit 600s ([email protected])
* Sat Jul 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.138-1
- Wait for etcd to become healthy before migrating TTL ([email protected])
- Use openshift.node.nodename as glusterfs_hostname. ([email protected])
- container-engine: Update Fedora registry url ([email protected])
- updating configmap map definition to fix asb not starting up correctly
- xPaas v1.4.1 for 3.4 ([email protected])
- xPaas v1.4.1 for 3.5 ([email protected])
- xPaaS 1.4.1 for 3.6 ([email protected])
- Only add entries to NO_PROXY settings if a NO_PROXY value is set
- fixing configuation values. ([email protected])
* Fri Jul 07 2017 Jenkins CD Merge Bot <[email protected]> 3.6.137-1
- Install container-selinux with container-engine ([email protected])
- Bug 1466152 - Json-file log driver: Neither
"openshift_logging_fluentd_use_journal=false" nor omitted collects the log
entries ([email protected])
- Adding serial: 1 to play to ensure we run one at a time ([email protected])
- Fix yamllint ([email protected])
- Workaround seboolean module with setsebool command. ([email protected])
- Removed quotes and added env variable to be specific. ([email protected])
- [BZ 1467786] Fix for OPENSHIFT_DEFAULT_REGISTRY setting.
- set the proper label of /var/lib/etcd directory ([email protected])
* Thu Jul 06 2017 Jenkins CD Merge Bot <[email protected]> 3.6.136-1
- Synching certs and aggregator configs from first master to all other masters
- Addressing servicecatalog doesnt have enough permissions and multimaster
config for service-catalog ([email protected])
- add back mux_client config that was removed ([email protected])
- use master etcd certificates when delegating oadm migrate etcd-ttl
* Wed Jul 05 2017 Jenkins CD Merge Bot <[email protected]> 3.6.135-1
- Update the tag for enterprise service catalog ([email protected])
- Fix missing service domain .svc in NO_PROXY settings ([email protected])
- drop etcdctl before the etcd_container service ([email protected])
- Fix prefix for OCP service-catalog prefix ([email protected])
- Fully qualify ocp ansible_service_broker_image_prefix ([email protected])
* Wed Jul 05 2017 Jenkins CD Merge Bot <[email protected]> 3.6.134-1
-
* Tue Jul 04 2017 Jenkins CD Merge Bot <[email protected]> 3.6.133-1
- etcd, syscontainer: fix copy of existing datastore ([email protected])
- pre-pull images before stopping docker ([email protected])
- Always convert no_proxy from string into a list ([email protected])
- fix 1466680. Fix logging deploying to the specified namespace
- logging_es: temporarily disable readiness probe ([email protected])
- Fixes to storage migration ([email protected])
* Mon Jul 03 2017 Jenkins CD Merge Bot <[email protected]> 3.6.132-1
-
* Sun Jul 02 2017 Jenkins CD Merge Bot <[email protected]> 3.6.131-1
- Fix upgrade ([email protected])
- Prevent the script to use default route ip as upstream nameserver.
- Use default ports for dnsmasq and node dns ([email protected])
- Run dns on the node and use that for dnsmasq ([email protected])
- Using ca-bundle.crt to connect to local etcd if master.etcd-ca.crt DNE
- Set OPENSHIFT_DEFAULT_REGISTRY in registry dc. ([email protected])
- Updating to use openshift.master.etcd_hosts for etcd servers for apiserver
- Update v1.4 image streams and templates ([email protected])
- xPaaS v1.4.0 for v3.4 ([email protected])
- Sync latest image streams and templates for v1.5 ([email protected])
- xPaaS v1.4.0 for v3.5 ([email protected])
- Update latest image streams for v3.6 ([email protected])
- Bump xPaas v1.4.0 for v3.6 ([email protected])
- docker_image_availability: fix containerized etcd ([email protected])
- evalute etcd backup directory name only once ([email protected])
- run etcd_container with type:spc_t label ([email protected])
- Fixing ops storage options being passed to openshift_logging_elasticsearch
role fixing default ops pv selector ([email protected])
- Adding labels for elasticsearch and kibana services ([email protected])
- Add a retry to the docker restart handler ([email protected])
- docker_storage check: make vgs return sane output ([email protected])
- Capture exceptions when resolving available checks ([email protected])
- PAPR: customize disk space requirements ([email protected])
- Enable disk check on containerized installs ([email protected])
- Add module docstring ([email protected])
- Add suggestion to check disk space in any path ([email protected])
- Require at least 1GB in /usr/bin/local and tempdir ([email protected])
- Refactor DiskAvailability for arbitrary paths ([email protected])
- Adding some more sections to additional considerations, being less rigid on
large roles for composing -- can also be a playbook ([email protected])
- Updating snippet contents, formatting and providing urls
- Update snippets and add bullet point on role dependency ([email protected])
- Creating initial proposal doc for review ([email protected])
* Fri Jun 30 2017 Jenkins CD Merge Bot <[email protected]> 3.6.129-1
- Fix generate role binding destination for the HOSA service account
- Correct version comparisons to ensure proper evaluation ([email protected])
- Adding become: false to local_action tasks ([email protected])
- upgrade: fix name for the etcd system container ([email protected])
- fix backup and working directory for etcd run as a system container
- etcd_migrate: Add /var/usrlocal/bin to path for oadm ([email protected])
- etcd_migrate: Add /usr/local/bin to path for oadm ([email protected])
- Sync environment variables FLUENTD/MUX_CPU_LIMIT FLUENTD/MUX_MEMORY_LIMIT
with the resource limit values. ([email protected])
- Update master configuration for named certificates during master cert
redeploy. ([email protected])
- Get rid of openshift_facts dep in rhel_subscribe ([email protected])
- logging: write ES heap dump to persistent storage ([email protected])
* Thu Jun 29 2017 Jenkins CD Merge Bot <[email protected]> 3.6.128-1
- parameterize etcd binary path ([email protected])
- attach leases via the first master only and only once ([email protected])
- evalute groups when running etcd upgrade from byo/openshift-
cluster/upgrades/upgrade_etcd.yml ([email protected])
- Bug 1465168 - mux doesn't recognize ansible boolean parameters correctly
* Tue Jun 27 2017 Scott Dodson <[email protected]> 3.6.123.1003-1
- Generate loopback kubeconfig separately to preserve OpenShift CA certificate.
- registry: look for the oc executable in /usr/local/bin and ~/bin
- router: look for the oc executable in /usr/local/bin and ~/bin
- Retry docker startup once ([email protected])
* Tue Jun 27 2017 Scott Dodson <[email protected]> 3.6.123.1002-1
- Fix typo in fluentd_secureforward_contents variable
- Reverting quotation change in ansible_service_broker install for etcd
* Mon Jun 26 2017 Scott Dodson <[email protected]> 3.6.123.1001-1
- oc_atomic_container: use rpm to check the version. ([email protected])
- Fix .spec for stagecut ([email protected])
- Picking change from sdodson ([email protected])
- openshift_version: skip nfs and lb hosts ([email protected])
- openshift_checks: eval groups before including role ([email protected])
- Adding volume fact for etcd for openshift ansible service broker
- Updating to label node and wait for apiservice to be healthy and started
- Also configure default registry on HA masters ([email protected])
- Fix parsing certs with very large serial numbers ([email protected])
- fix yamllint issues ([email protected])
- openshift_logging: use empty default for storage labels ([email protected])
- Set clean install and etcd storage on first master to fix scaleup
- images, syscontainer: change default value for ANSIBLE_CONFIG
- Cleanup/updates for env variables and etcd image ([email protected])
- Sync 3.5 cfme templates over to 3.6 ([email protected])
- Moving checks down after required initialization happens.
- add play and role to install ansible-service-broker ([email protected])
- Creation of service_catalog and placeholder broker roles
- GlusterFS: Use proper namespace for heketi command and service account
- Fixing quote issue. ([email protected])
- GlusterFS: Fix heketi secret name ([email protected])
- Fix for dynamic pvs when using storageclasses. ([email protected])
- Ensure that host pki tree is mounted in containerized components
* Fri Jun 23 2017 Jenkins CD Merge Bot <[email protected]> 3.6.123-1
- releases: enable build/push with multiple tags ([email protected])
- Update template examples for 3.6 ([email protected])
- Reverting v prefix introduced by stagecut ([email protected])
- Fixed readme doc. ([email protected])
- Adding version field for stagecut ([email protected])
- Remove package_update from install playbook ([email protected])
- Restart NetworkManager only if dnsmasq was used
- remove extra close brace in example inventory ([email protected])
- Adding option for serviceAccountConfig.limitSecretReferences
- doc: Add system_container examples to inventory ([email protected])
- system_containers: Add openshift_ to other system_container vars
- system_containers: Add openshift_ to use_system_containers var
- detect etcd service name based on etcd runtime when restarting
- set proper etcd_data_dir for system container ([email protected])
- etcd, system_container: do not mask etcd_container ([email protected])
- etcd, system_container: do not enable system etcd ([email protected])
- oc_atomic_container: Require 1.17.2 ([email protected])
- Verify matched openshift_upgrade_nodes_label ([email protected])
- bug 1457642. Use same SG index to avoid seeding timeout ([email protected])
* Wed Jun 21 2017 Jenkins CD Merge Bot <[email protected]> 3.6.122-1
-
* Tue Jun 20 2017 Jenkins CD Merge Bot <[email protected]> 3.6.121-1
- Updating default from null to "" ([email protected])
* Tue Jun 20 2017 Jenkins CD Merge Bot <[email protected]> 3.6.120-1
- Update atomic-openshift-master.j2 ([email protected])
- Enable push to registry via dns only on clean 3.6 installs
- Disable actually pushing to the registry via dns for now ([email protected])
- Add openshift_node_dnsmasq role to upgrade ([email protected])
- Push to the registry via dns ([email protected])
* Tue Jun 20 2017 Jenkins CD Merge Bot <[email protected]> 3.6.119-1
- Temporarilly only migrate jobs as we were before ([email protected])
- Disable TLS verification in skopeo inspect ([email protected])
- Preserve etcd3 storage if it's already in use ([email protected])
- GlusterFS: Generate better secret keys ([email protected])
- GlusterFS: Fix error when groups.glusterfs_registry is undefined.
- GlusterFS: Use proper identity in heketi secret ([email protected])
- GlusterFS: Allow configuration of heketi port ([email protected])
- GlusterFS: Fix variable typo ([email protected])
- GlusterFS: Minor template fixes ([email protected])
- registry: mount GlusterFS storage volume from correct host
* Mon Jun 19 2017 Jenkins CD Merge Bot <[email protected]> 3.6.117-1
- Run storage upgrade pre and post master upgrade ([email protected])
- Introduce etcd migrate role ([email protected])
- Add support for rhel, aci, vxlan ([email protected])
* Sun Jun 18 2017 Jenkins CD Merge Bot <[email protected]> 3.6.116-1
- PAPR: define openshift_image_tag via command line ([email protected])
- Ensure only one ES pod per PV ([email protected])
- etcd v3 for clean installs ([email protected])
- Rename cockpit-shell -> cockpit-system ([email protected])
- Update image repo name, images have been moved from 'cloudforms' to
'cloudforms42' for CF 4.2. ([email protected])
- Update image repo name, images have been moved from 'cloudforms' to
'cloudforms45' for CF 4.5. ([email protected])
- CloudForms 4.5 templates ([email protected])
* Fri Jun 16 2017 Jenkins CD Merge Bot <[email protected]> 3.6.114-1
-
* Fri Jun 16 2017 Jenkins CD Merge Bot <[email protected]> 3.6.113-1
- Make rollout status check best-effort, add poll ([email protected])
- Verify the rollout status of the hosted router and registry
- fix es routes for new logging roles ([email protected])
* Thu Jun 15 2017 Jenkins CD Merge Bot <[email protected]> 3.6.112-1
- Add the the other featured audit-config paramters as example (al-
* Thu Jun 15 2017 Jenkins CD Merge Bot <[email protected]> 3.6.111-1
- doc: Info for system container installer options ([email protected])
- Add ANSIBLE_CONFIG to system container installer ([email protected])
- Add missing file. Remove debugging prompt. ([email protected])
- Update readme one last time ([email protected])
- Reconfigure masters in serial to avoid HA meltdowns ([email protected])
- First POC of a CFME turnkey solution in openshift-anisble
- Reverted most of this pr 4356 except: adding
openshift_logging_fluentd_buffer_queue_limit: 1024
openshift_logging_fluentd_buffer_size_limit: 1m
openshift_logging_mux_buffer_queue_limit: 1024
openshift_logging_mux_buffer_size_limit: 1m and setting the matched
environment variables. ([email protected])
- Adding the defaults for openshift_logging_fluentd_{cpu,memory}_limit to
roles/openshift_logging_fluentd/defaults/main.yml. ([email protected])
- Adding environment variables FLUENTD_CPU_LIMIT, FLUENTD_MEMORY_LIMIT,
MUX_CPU_LIMIT, MUX_MEMORY_LIMIT. ([email protected])
- Introducing fluentd/mux buffer_queue_limit, buffer_size_limit, cpu_limit, and
memory_limit. ([email protected])
* Thu Jun 15 2017 Jenkins CD Merge Bot <[email protected]> 3.6.110-1
- papr: add documentation to YAML and simplify context ([email protected])
- docs: better documentation for PAPR ([email protected])
- papr: install libffi-devel ([email protected])
- pre-install checks: add more during byo install ([email protected])
- move etcd backup to etcd_common role ([email protected])
- Support installing HOSA via ansible ([email protected])
- GlusterFS: Remove requirement for heketi-cli ([email protected])
- GlusterFS: Fix bugs in wipe ([email protected])
- GlusterFS: Skip heketi-cli install on Atomic ([email protected])
- GlusterFS: Create a StorageClass if specified ([email protected])
- GlusterFS: Use proper secrets ([email protected])
- GlusterFS: Allow cleaner separation of multiple clusters ([email protected])
- GlusterFS: Minor corrections and cleanups ([email protected])
- GlusterFS: Improve documentation ([email protected])
- GlusterFS: Allow configuration of kube namespace for heketi
- GlusterFS: Adjust when clauses for registry config ([email protected])
- GlusterFS: Allow failure reporting when deleting deploy-heketi
- GlusterFS: Tweak pod probe parameters ([email protected])
- GlusterFS: Allow for configuration of node selector ([email protected])
- GlusterFS: Label on Openshift node name ([email protected])
- GlusterFS: Make sure timeout is an int ([email protected])
- GlusterFS: Use groups variables ([email protected])
- papr: rename redhat-ci related files to papr ([email protected])
- singletonize some role tasks that repeat a lot ([email protected])
* Wed Jun 14 2017 Jenkins CD Merge Bot <[email protected]> 3.6.109-1
-
* Wed Jun 14 2017 Jenkins CD Merge Bot <[email protected]> 3.6.108-1
- Upgraded Calico to 2.2.1 Release ([email protected])
* Wed Jun 14 2017 Jenkins CD Merge Bot <[email protected]> 3.6.107-1
- Disable negative caching, set cache TTL to 1s ([email protected])
- Update mounts in system container installer ([email protected])
- Set ansible retry file location ([email protected])
- installer: add bind mount for /etc/resolv.conf ([email protected])
- Making pylint happy ([email protected])
- Fix possible access to undefined variable ([email protected])
- certificates: copy the certificates for the etcd system container
- Separate etcd and OpenShift CA redeploy playbooks. ([email protected])
- lib/base: allow for results parsing on non-zero return code
- etcd: system container defines ETCD_(PEER_)?TRUSTED_CA_FILE
- etcd: unmask system container service before installing it
- etcd: copy previous database when migrating to system container
- etcd: define data dir location for the system container ([email protected])
- oc_obj: set _delete() rc to 0 if err is 'not found' ([email protected])
- oc_obj: only check 'items' if exists in delete ([email protected])
- Removed hardocded Calico Policy Controller URL ([email protected])
- Allowing openshift_metrics to specify PV selectors and allow way to define
selectors when creating pv ([email protected])
* Tue Jun 13 2017 Jenkins CD Merge Bot <[email protected]> 3.6.100-1
- Change default key for gce ([email protected])
- set etcd working directory for embedded etcd ([email protected])
- Add daemon-reload handler to openshift_node and notify when /etc/systemd
files have been updated. ([email protected])
- Use volume.beta.kubernetes.io annotation for storage-classes
- Correct master-config update during upgrade ([email protected])
* Mon Jun 12 2017 Jenkins CD Merge Bot <[email protected]> 3.6.99-1
- Replace repoquery with module ([email protected])
- Consider previous value of 'changed' when updating ([email protected])
- Improve code readability ([email protected])
- Disable excluder only on nodes that are not masters ([email protected])
- Added includes to specify openshift version for libvirt cluster create.
Otherwise bin/cluster create fails on unknown version for libvirt deployment.
- docker checks: finish and refactor ([email protected])
- oc_secret: allow use of force for secret type ([email protected])
- add docker storage, docker driver checks ([email protected])
- Add dependency and use same storageclass name as upstream
- Add documentation ([email protected])
- Install default storageclass in AWS & GCE envs ([email protected])
* Fri Jun 09 2017 Jenkins CD Merge Bot <[email protected]> 3.6.98-1
-
* Fri Jun 09 2017 Scott Dodson <[email protected]> 3.6.97-1
- Updated to using oo_random_word for secret gen ([email protected])
- Updating kibana to store session and oauth secrets for reuse, fix oauthclient
generation for ops ([email protected])
* Thu Jun 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.89.5-1
- Rename container image to origin-ansible / ose-ansible ([email protected])
* Thu Jun 08 2017 Jenkins CD Merge Bot <[email protected]> 3.6.89.4-1
- Guard check for container install based on openshift dictionary key
- Separate client config removal in uninstall s.t. ansible_ssh_user is removed
from with_items. ([email protected])
- Remove supported/implemented barrier for registry object storage providers.
- Add node unit file on upgrade ([email protected])
- fix up openshift-ansible for use with 'oc cluster up' ([email protected])
- specify all logging index mappings for kibana ([email protected])
- openshift-master: set r_etcd_common_etcd_runtime ([email protected])
- rename daemon.json to container-daemon.json ([email protected])
- Updating probe timeout and exposing variable to adjust timeout in image
- Do not attempt to override openstack nodename ([email protected])
- Update image stream to openshift/origin:2c55ade ([email protected])
* Wed Jun 07 2017 Jenkins CD Merge Bot <[email protected]> 3.6.89.3-1
- Use local openshift.master.loopback_url when generating initial master
loopback kubeconfigs. ([email protected])
* Tue Jun 06 2017 Jenkins CD Merge Bot <[email protected]> 3.6.89.2-1
-
* Tue Jun 06 2017 Jenkins CD Merge Bot <[email protected]> 3.6.89.1-1
- Updating image for registry_console ([email protected])
- add elasticseatch, fluentd, kibana check ([email protected])
- show correct default value in inventory ([email protected])
- Skip service restarts within ca redeployment playbook when expired
certificates are detected. ([email protected])
- Add mtu setting to /etc/sysconfig/docker-network ([email protected])
- Add daemon_reload parameter to service tasks ([email protected])
- mux uses fluentd cert/key to talk to ES ([email protected])
- fix curator host, port params; remove curator es volumes
- add mux docs; allow to specify mux namespaces ([email protected])
- oc_secret: allow for specifying secret type ([email protected])
- Revert "Merge pull request #4271 from DG-i/master" ([email protected])
- verify upgrade targets separately for each group (masters, nodes, etcd)
- Updating Kibana-proxy secret key name, fixing deleting secrets, fixed extra
ES dc creation ([email protected])
- upgrade: Reload systemd before restart ([email protected])
- Skip router/registry cert redeploy when
openshift_hosted_manage_{router,registry}=false ([email protected])
- disable docker excluder before it is updated to remove older excluded
packages ([email protected])
- Support byo etcd for calico ([email protected])
- preflight int tests: fix for package_version changes ([email protected])
- Remove unnecessary comment. ([email protected])
- update aos_version module to support generic pkgs and versions
- Add separate variables for control plane nodes ([email protected])
- Copy Nuage VSD generated user certificates to Openshift master nodes
- add existing_ovs_version check ([email protected])
- Tolerate failures in the node upgrade playbook ([email protected])
* Wed May 31 2017 Scott Dodson <[email protected]> 3.6.89.0-1
- AMP 2.0 ([email protected])
- add support for oc_service for labels, externalIPs ([email protected])
- [JMAN4-161] Add templates and pv example for cloudforms jboss middleware
manager ([email protected])
* Wed May 31 2017 Scott Dodson <[email protected]> 3.6.89-1
- Adding default value for openshift_hosted_logging_storage_kind
- memory check: use GiB/MiB and adjust memtotal ([email protected])
- bool ([email protected])
- Metrics: update the imagePullPolicy to be always ([email protected])
- Remove typos that got reintroduced ([email protected])
- oc_atomic_container: Workaround for invalid json from atomic command
- Remove system-package=no from container-engine install ([email protected])
- oc_atomic_container: Hard code system-package=no ([email protected])
- Updating to generate PVC when storage type is passed in as nfs
- disable become for local actions ([email protected])
- check for rpm version and docker image version equality only if
openshift_pkg_version and openshift_image_tag are not defined
* Tue May 30 2017 Jenkins CD Merge Bot <[email protected]> 3.6.86-1
- Reduce memory requirement to 2gb for fedora ci jobs ([email protected])
- openshift_logging: increasing *_elasticsearch_* default CPU and memory
- Updating python-passlib assert ([email protected])
- allow to configure oreg_url specifically for node or master. refs #4233
- Updating registry-console version to be v3.6 instead of 3.6
* Thu May 25 2017 Jenkins CD Merge Bot <[email protected]> 3.6.85-1
- Prepending v to registry-console version ([email protected])
- memory health check: adjust threshold for etcd ([email protected])
- health checks: specify check skip reason ([email protected])
- health checks: configure failure output in playbooks ([email protected])
- disk/memory checks: make threshold configurable ([email protected])
- Show help on how to disable checks after failure ([email protected])
- Allow disabling checks via Ansible variable ([email protected])
- Verify memory and disk requirements before install ([email protected])
- filter_plugins: Allow for multiple pairs in map_from_pairs()
* Wed May 24 2017 Jenkins CD Merge Bot <[email protected]> 3.6.84-1
- oc_process: Better error output on failed template() call ([email protected])
* Wed May 24 2017 Jenkins CD Merge Bot <[email protected]> 3.6.83-1
- Allow a hostname to resolve to 127.0.0.1 during validation ([email protected])
* Wed May 24 2017 Jenkins CD Merge Bot <[email protected]> 3.6.82-1
- Fixing tux warnings and some final clean up ([email protected])
- Appease travis ([email protected])
- preflight int tests: fix test flake ([email protected])
- Add a readiness probe to the Kibana container ([email protected])
- Create logging deployments with non-zero replica counts ([email protected])
- Pulling changes from master branch ([email protected])
- Adding some missing changes ([email protected])
- fixing available variables for 2.3.0 ([email protected])
- Updating pvc generation names ([email protected])
- updating delete_logging to use modules ([email protected])
- Pulling in changes from master ([email protected])
- Decomposing openshift_logging role into subcomponent roles
- Fix renaming error with calico template files ([email protected])
* Tue May 23 2017 Jenkins CD Merge Bot <[email protected]> 3.6.80-1
- RPM workaround for the move of cert playbooks ([email protected])
- health check playbooks: relocate and expand ([email protected])
* Tue May 23 2017 Scott Dodson <[email protected]> 3.6.69-1
- preflight int tests: fix for openshift_version dep ([email protected])
- Removing requirement to pass aws credentials ([email protected])
- Workaround sysctl module issue with py3 by converting task to lineinfile.
- inventory: rename certificates->certificate in router example
- remove skopeo dependency on docker-py ([email protected])
- improve error handling for missing vars ([email protected])
- lib/base: Allow for more complex template params ([email protected])
- Fix yamllint problems ([email protected])
- add ability to expose Elasticsearch as an external route
- Parameterized Calico/Node Arguments ([email protected])
- Fix auditConfig for non-HA environments ([email protected])
- Added Docker Registry Port 5000 to Firewalld ([email protected])
- Added Calicoctl to deployment of Master Nodes ([email protected])
- move etcd upgrade related code into etcd_upgrade role ([email protected])
- Localhost TMP Dir Fix ([email protected])
- Adjusted Naming Schema of Calico Roles ([email protected])
- Update hosts.*.example to include openshift_hosted_metrics_deployer_version
- Fix gpg key path in our repo ([email protected])
- Uninstall: restart docker when container-engine restart hasn't changed.
- add etcd cluster size check ([email protected])
- fix etcd_container_version detection ([email protected])
- systemcontainercustom.conf.j2: use Environment instead of ENVIRONMENT
- node, systemd: change Requires to Wants for openvswitch ([email protected])
- Add teams attribute to github identity provider ([email protected])
- Don't escalate privileges in local tmpdir creation ([email protected])
- Remove use of local_action with delegate_to and switch 'delegate_to:
localhost' temporary directory cleanup actions to local_actions.
- Rework openshift_excluders role ([email protected])
- Add regexp for container-engine lineinfile ([email protected])
- Default image policy on new clusters to on ([email protected])
- revert role-specific var name ([email protected])
- Filter non-strings from the oc_adm_ca_server_cert hostnames parameter.
- Don't set-up origin repositories if they've already been configured
- byo inventory versions 1.5 -> 3.6 ([email protected])
- byo inventory versions 3.5 -> 3.6 ([email protected])
- use dest instead of path for lineinfile ([email protected])
- openshift_version: skip rpm version==image version on Atomic
- Add NO_PROXY workaround for container-engine atomic command
- Add no_proxy to atomic.conf ([email protected])
- Include object validation in 3.6 upgrades ([email protected])
- uninstall: handle container-engine ([email protected])
- Added Calico BGP Port 179 to Firewalld ([email protected])
- Fixed for python3 with Fedora 25 Atomic ([email protected])
- Add docker package for container-engine install ([email protected])
- Fix python3 error in repoquery ([email protected])
- check if hostname is in list of etcd hosts ([email protected])
- Fix templating of static service files ([email protected])
- Fix container image build references ([email protected])
- Reset selinux context on /var/lib/origin/openshift.common.volumes
- Adding assert to check for python-passlib on control host
- Update variable name to standard ([email protected])
- Make class attribute name shorter ([email protected])
- Add module docstring ([email protected])
- Update check ([email protected])
- Change based on feedback ([email protected])
- Removed Hardcoded Calico URLs ([email protected])
- int -> float ([email protected])
- Remove vim line ([email protected])
- add etcd volume check ([email protected])
- Added additional Calico Network Plugin Checks ([email protected])
- Ensure good return code for specific until loops ([email protected])
- add template service broker configurable ([email protected])
- Prevent line wrap in yaml dump of IDP, fixes #3912 ([email protected])
* 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
-