forked from openshift/openshift-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenshift-ansible.spec
1713 lines (1581 loc) · 85.3 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
}
Name: openshift-ansible
Version: 3.0.93
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 >= 1.9.4
Requires: python2
Requires: openshift-ansible-docs = %{version}-%{release}
%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}/
# openshift-ansible-roles install
cp -rp roles %{buildroot}%{_datadir}/ansible/%{name}/
# 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/
# 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
popd
# Base openshift-ansible files
%files
%doc LICENSE.md README*
%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}
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}
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
# ----------------------------------------------------------------------------------
# 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
# ----------------------------------------------------------------------------------
# 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
%changelog
* Tue May 24 2016 Troy Dawson <[email protected]> 3.0.93-1
- Fixup spec file ([email protected])
* Tue May 24 2016 Troy Dawson <[email protected]> 3.0.92-1
- Conditionally bind mount /usr/bin/docker-current when it is present (#1941)
* Tue May 24 2016 Troy Dawson <[email protected]> 3.0.91-1
- Removed the echo line and replaced it with inline comment. To keep 99-origin-
dns.sh from adding a new line in /etc/resolv.conf everytime the
NetworkManager dispatcher script is executed. ([email protected])
- Extend multiple login provider check to include origin. ([email protected])
- Allow multiple login providers post 3.2. ([email protected])
- Make rhel_subscribe role able to subscribe for OSE 3.2 ([email protected])
- Ensure yum-utils installed. ([email protected])
- Remove newline from docker_options template string. ([email protected])
- Use systemctl restart docker instead of ansible service.
- Use cluster hostname while generating certificate on the master nodes
- Fix playbooks/openshift-master/library move to symlink ([email protected])
- Task "Update router image to current version" failed, if router not in
default namespace ([email protected])
- docker-current was missing from the containerized atomic-openshift-
node.service file ([email protected])
- fixed issue with blank spaces instead commas as variables template separators
- Refactor where we compute no_proxy hostnames ([email protected])
- Fix for ansible v2 ([email protected])
- Fix rhel_subscribe ([email protected])
- remove interpolated g_all_hosts with_items arg from upgrade playbooks
- Set openshift.common.hostname early in playbook execution.
- Fix 'recursive loop detected in template string' for upgrading variable.
- a-o-i: No proxy questions for 3.0/3.1 ([email protected])
- Fix minor upgrades in 3.1 ([email protected])
- Don't pull cli image when we're not containerized ([email protected])
- Check consumed pools prior to attaching. ([email protected])
* Mon May 16 2016 Troy Dawson <[email protected]> 3.0.90-1
- Fixes for openshift_docker_hosted_registry_insecure var.
- Move latest to v1.2 ([email protected])
- Sync latest content ([email protected])
- Update default max-pods parameter ([email protected])
- Allow overriding servingInfo.maxRequestsInFlight via
openshift_master_max_requests_inflight. ([email protected])
- update logging and metrics deployer templates ([email protected])
- Update default max-pods parameter ([email protected])
- Block upgrading w/ ansible v2. ([email protected])
- Fixed openvswitch not upgrading. ([email protected])
- Do not upgrade containers to latest avail during a normal config run.
- Update StringIO import for py2/3 compat. ([email protected])
- Fix mistaken quotes on proxy sysconfig variables. ([email protected])
- Sync comments with origin pr ([email protected])
- Use IP4_NAMESERVERS rather than DHCP4_DOMAIN_NAME_SERVERS
- Remove vars_files on play includes for upgrade playbooks.
- Document oauth token config inventory vars. ([email protected])
- Why is the node failing to start ([email protected])
- Move os_firewall out of openshift_common ([email protected])
- Remove old unused firewall rules ([email protected])
- Fix firewall rules ([email protected])
- Remove double evaluate_groups include. ([email protected])
- a-o-i: Write proxy variables ([email protected])
- Add support for Openstack based persistent volumes ([email protected])
- Fixes for flannel configuration. ([email protected])
- Initialize facts for all hosts. ([email protected])
- Fix version ([email protected])
- Fix cli_docker_additional_registries being erased during upgrade.
- Unmask atomic-openshift-master on uninstall ([email protected])
- Add *.retry to gitignore. ([email protected])
- Move modify_yaml up into top level library directory ([email protected])
- Enable dnsmasq on all hosts ([email protected])
- Fixed the credentials ([email protected])
- Remove vars_files on play includes for byo, scaleup and restart playbooks.
- Ensure ansible version greater than 1.9.4 ([email protected])
- Add oo_merge_hostvars filter for merging host & play variables.
- Replace hostvars with vars for openshift env facts when ansible >= v2.
- Add system:image-auditor role to ManageIQ SA ([email protected])
- Added extra install dependency on OSX ([email protected])
- Check and unmask iptables/firewalld. ([email protected])
- Default os_firewall_use_firewalld to false in os_firewall and remove
overrides. ([email protected])
- listen on all interfaces ([email protected])
- Fix configuration of dns_ip ([email protected])
- Fix markdown in roles/openshift_metrics/README.md ([email protected])
- use stat module instead of shell module and ls to check for rpm-ostree
- fix openstack template ([email protected])
- Remove duplicate oauth_template fact. ([email protected])
- Cleanup various deprecation warnings. ([email protected])
- Make NetworkManager failure friendlier ([email protected])
- README Updates ([email protected])
- Remove deprecated online playbooks/roles ([email protected])
- fix up variable references remove "online" support from bin/cluster
- Remove Ops specific ansible-tower aws playbooks ([email protected])
- Fix inventory syntaxe ([email protected])
- Add openshift_docker_hosted_registry_insecure option ([email protected])
- additional fixes ([email protected])
- Fix templating issue with logging role ([email protected])
- BuildDefaults are a kube admission controller not an openshift admission
controller ([email protected])
- a-o-i: More friendly proxy questions ([email protected])
- update tenand_id typo in example file ([email protected])
- Update hosts.ose.example ([email protected])
- update tenand_id typo in example file ([email protected])
- Update repos per inventory before upgrading ([email protected])
- Fix openshift_generate_no_proxy_hosts boolean ([email protected])
- Fix openshift_generate_no_proxy_hosts examples ([email protected])
- Fix inventory properties with raw booleans, again... ([email protected])
- Allow containerized deployment of dns role ([email protected])
* Mon May 09 2016 Brenton Leanhardt <[email protected]> 3.0.89-1
- Use yum swap to downgrade docker ([email protected])
* Fri May 06 2016 Brenton Leanhardt <[email protected]> 3.0.88-1
- Open port 53 whenever we're unsure of version ([email protected])
- Fix unsafe boolean handling on use_dnsmasq ([email protected])
* Wed Apr 27 2016 Troy Dawson <[email protected]> 3.0.87-1
- a-o-i-: Allow empty proxy ([email protected])
- a-o-i: Populate groups for openshift_facts ([email protected])
- Replace sudo with become when accessing deployment_vars.
- Port lookup plugins to ansible v2. ([email protected])
- Add masterConfig.volumeConfig.dynamicProvisioningEnabled ([email protected])
* Tue Apr 26 2016 Brenton Leanhardt <[email protected]> 3.0.86-1
- Don't set empty HTTP_PROXY, HTTPS_PROXY, NO_PROXY values ([email protected])
- a-o-i tests: Update attended tests for proxy ([email protected])
- Move portal_net from openshift_common to openshift_facts.
- Apply openshift_common to all masters prior to creating certificates for
portal_net. ([email protected])
- Access portal_net in common facts. ([email protected])
- Add support for setting identity provider custom values ([email protected])
- port filter_plugins to ansible2 ([email protected])
- a-o-i: Update prompt when asking for proxy ([email protected])
- a-o-i: UI additions for proxies ([email protected])
* Mon Apr 25 2016 Troy Dawson <[email protected]> 3.0.85-1
- Fix backward compat for osm_default_subdomain ([email protected])
- Replace deprecated sudo with become. ([email protected])
- Fix image version handling for v1.2.0-rc1 ([email protected])
- Pod must be recreated for the upgrade ([email protected])
- openshift_etcd_facts should rely on openshift_facts not openshift_common
- Sort and de-dupe no_proxy list ([email protected])
- openshift-metrics: adding duration and resolution options
- Changed service account creation to ansible ([email protected])
- As per https://github.com/openshift/openshift-
ansible/issues/1795#issuecomment-213873564, renamed openshift_node_dnsmasq to
openshift_use_dnsmasq where applicable. Fixes 1795 ([email protected])
- Add global proxy configuration ([email protected])
- remove duplicate register: ([email protected])
* Fri Apr 22 2016 Troy Dawson <[email protected]> 3.0.84-1
- Fix for docker not present ([email protected])
- Reconcile roles in additive-only mode on upgrade ([email protected])
- Set etcd_hostname and etcd_ip for masters w/ external etcd.
* Thu Apr 21 2016 Troy Dawson <[email protected]> 3.0.83-1
- a-o-i: Correct bug with default storage host ([email protected])
- Only add new sccs ([email protected])
- Fix bug after portal_net move from master to common role.
- Sync latest content ([email protected])
- Use xpaas 1.3.0-1, use enterprise content for metrics ([email protected])
- Support configurable admin user and password for the enterprise Prefix
changes for admin and password with nuage_master ([email protected])
* Wed Apr 20 2016 Troy Dawson <[email protected]> 3.0.82-1
- Use a JSON list for docker log options. ([email protected])
- Fix legacy cli_docker_* vars not migrating. ([email protected])
- Fix use of older image tag version during upgrade. ([email protected])
- Remove etcd_interface variable. Remove openshift_docker dependency from the
etcd role. ([email protected])
- Use openshift_hostname/openshift_ip values for etcd configuration and
certificates. ([email protected])
- added new openshift-metrics service ([email protected])
- Translate legacy facts within the oo_openshift_env filter.
- Remove empty facts from nested dictionaries. ([email protected])
- Fix router selector fact migration and match multiple selectors when counting
nodes. ([email protected])
- Fixing the spec for PR 1734 ([email protected])
- Add openshift_use_dnsmasq ([email protected])
- Promote portal_net to openshift.common, add kube_svc_ip ([email protected])
- Add example inventories to docs, install docs by default ([email protected])
- Fix use of JSON inventory vars with raw booleans. ([email protected])
- cleanup roles after roles move to openshift-tools ([email protected])
- Reference Setup for Origin and Ose from up-to-date docs.openshift.[com|org]
instead of local README_[origin|OSE].md ([email protected])
* Mon Apr 18 2016 Brenton Leanhardt <[email protected]> 3.0.81-1
- IMAGE_PREFIX=openshift3/ for enterprise logging/metrics ([email protected])
- a-o-i: Don't assume storage on 1st master ([email protected])
- Bug 1320829 - Handle OSE 3.0 installs ([email protected])
* Fri Apr 15 2016 Troy Dawson <[email protected]> 3.0.80-1
- Refactor docker failed state cleanup ([email protected])
- Support mixed RPM/container installs ([email protected])
- The openshift_docker role must set the version facts for containerized
installs ([email protected])
- start it, check for failure, reset it, start again ([email protected])
- Enable docker before potentially resetting the failure ([email protected])
- Fix mappingMethod option in identity provider. ([email protected])
- Support setting imagePolicyConfig JSON in inventory. ([email protected])
* Tue Apr 12 2016 Brenton Leanhardt <[email protected]> 3.0.79-1
- Bug 1324728 - Ansible should not downgrade docker when installing 3.2
containerized env ([email protected])
- Fixing non-HA master restart conditional ([email protected])
- Fetching the current version a little more carefully ([email protected])
- Make sure Docker is restarted after we have correctly configured the
containerized systemd units ([email protected])
- use RestartSec to avoid default rate limit in systemd ([email protected])
- Convert image_tag on masters ([email protected])
- Installs and upgrades from authenticated registries are not supported for now
- Handle cases where the pacemaker variables aren't set ([email protected])
- Containerized installs on RHEL were downgrading docker unnecessarily
* Tue Apr 12 2016 Troy Dawson <[email protected]> 3.0.78-1
- Add support for creating secure router. ([email protected])
* Mon Apr 11 2016 Troy Dawson <[email protected]> 3.0.77-1
- Fix a docker-storage sysconfig bug. ([email protected])
- update bootstrap-fedora to include python2-firewall for F24+
- Merge openshift_env hostvars. ([email protected])
- Add openshift_hosted_facts role and remove hosted facts from
openshift_common. ([email protected])
* Fri Apr 08 2016 Troy Dawson <[email protected]> 3.0.76-1
- a-o-i: Support openshift_image_tag ([email protected])
- Bug 1324729 - Import xPaas image streams failed during 3.2 installation
- Test docker_version_result.stdout when determining if docker should be
installed/downgraded. ([email protected])
* Thu Apr 07 2016 Troy Dawson <[email protected]> 3.0.75-1
- First attempt at oadm router module ([email protected])
- Remove openshift_common dep from openshift_storage_nfs ([email protected])
- Add cloudprovider config dir to docker options. ([email protected])
- Check for kind in cloudprovider facts prior to accessing.
* Wed Apr 06 2016 Brenton Leanhardt <[email protected]> 3.0.74-1
- Add support for configuring oauth templates. ([email protected])
- Add support for templating master admissionConfig. ([email protected])
* Wed Apr 06 2016 Troy Dawson <[email protected]> 3.0.73-1
- Replace unused Dockerfile with one used for official builds.
- Update for zbx_user refresh ([email protected])
- Docker 1.9 is actually cool starting in origin 1.1.4 ([email protected])
- Unmask services ([email protected])
- XPAAS v1.3 for OSE 3.2 ([email protected])
- XPAAS 1.3 content for OSE 3.1 ([email protected])
- Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api
and atomic-openshift-master-controllers ([email protected])
- Bug 1323123 - upgrade failed to containerized OSE on RHEL Host without ose3.2
repo ([email protected])
- Write inventory to same directory as quick install config.
- Add --gen-inventory command to atomic-openshift-installer.
* Tue Apr 05 2016 Troy Dawson <[email protected]> 3.0.72-1
- when docker is installed, make it 1.8.2 to avoid issues ([email protected])
- Downgrade to docker 1.8.2 if installing OSE < 3.2 ([email protected])
- Pacemaker is unsupported for 3.2 ([email protected])
- Fixing regexp. Periods are no longer allowed ([email protected])
- We require docker 1.9 for the 3.2 upgrade ([email protected])
* Mon Apr 04 2016 Troy Dawson <[email protected]> 3.0.71-1
- Fixed oc_edit by requiring name and content ([email protected])
- add higher severity trigger if no heartbeat for 1 hour ([email protected])
- Yedit enhancements ([email protected])
* Fri Apr 01 2016 Brenton Leanhardt <[email protected]> 3.0.70-1
- Enable Ansible ssh pipelining to speedup deployment ([email protected])
- Allow for overriding scheduler config ([email protected])
- a-o-i: Add 3.2 to list of supported versions ([email protected])
- a-o-i: Support for unattended upgrades ([email protected])
- a-o-i: More flexible upgrade mappings ([email protected])
- a-o-i: OSE/AEP 3.2 product option ([email protected])
- a-o-i: Error out early if callback_facts is None ([email protected])
* Thu Mar 31 2016 Brenton Leanhardt <[email protected]> 3.0.69-1
- Bug 1320829 - Ensure docker installed for facts ([email protected])
- Bug 1322788 - The IMAGE_VERSION wasn't added to atomic-openshift-master-api
and atomic-openshift-master-controllers ([email protected])
- Fixed generate header. ([email protected])
- Bug 1322335 - The package name is wrong for rpm upgrade ([email protected])
- Add AWS cloud provider support. ([email protected])
* Wed Mar 30 2016 Troy Dawson <[email protected]> 3.0.68-1
- Moving generation of ansible module side by side with module.
- Bug 1322338 - The upgrade should keep the option insecure-
registry=172.30.0.0/16 ([email protected])
* Tue Mar 29 2016 Troy Dawson <[email protected]> 3.0.67-1
- The systemd unit for atomic-openshift-master wasn't not being created
- Use openshift.master.ha instead of duplicating the logic
- Workaround for authenticated registries ([email protected])
- First pass at systemd unit refactor ([email protected])
- fix the key name for the dynamic item of avalable (zhizhang@zhizhang-laptop-
nay.redhat.com)
- make docker service want ose containerized services ([email protected])
* Mon Mar 28 2016 Troy Dawson <[email protected]> 3.0.66-1
- Fixed error message to add valid yaml ([email protected])
- added admin binary varibale usage as well as specifying kubeconfig copy to be
used ([email protected])
- Sync latest db-templates and qucikstart-templates ([email protected])
- adding playbook ([email protected])
- Tested of refactored code ([email protected])
- fix some typo ([email protected])
- add the total and available space item ([email protected])
- add dynamic pv count ([email protected])
- revised and restructured logging role ([email protected])
- Adding openshift_efk role ([email protected])
- Attempt to fix error validating when extraScopes and extraAuthorizeParameters
are not present ([email protected])
* Thu Mar 24 2016 Troy Dawson <[email protected]> 3.0.65-1
- Adding deployment config and refactored. ([email protected])
- ManageIQ SA: Adding image-puller role ([email protected])
* Wed Mar 23 2016 Troy Dawson <[email protected]> 3.0.64-1
- Latest cli updates from generated files ([email protected])
- Add /dev to node containers ([email protected])
- Fix indention ([email protected])
- Support setting local storage perFSGroup quota in node config.
- Fix line break ([email protected])
- Lock down permissions on named certificates ([email protected])
- Add namespace flag to oc create ([email protected])
* Mon Mar 21 2016 Kenny Woodson <[email protected]> 3.0.63-1
- Modified group selectors for muliple clusters per account
* Fri Mar 18 2016 Troy Dawson <[email protected]> 3.0.62-1
- Yaml editor first attempt ([email protected])
- libvirt cluster variables cleanup ([email protected])
* Thu Mar 17 2016 Troy Dawson <[email protected]> 3.0.61-1
- Bug 1317755 - Set insecure-registry for internal registry by default
* Wed Mar 16 2016 Brenton Leanhardt <[email protected]> 3.0.60-1
- Fall back to deployment_type in openshift_facts. ([email protected])
- Fixing undefined variable check ([email protected])
- Fix path to cacert on /healthz/ready check ([email protected])
- Load environment files in containerized installs ([email protected])
- change type to value_type ([email protected])
- change time from int to float ([email protected])
- change the check time from 1 hour to 2 hour (zhizhang@zhizhang-laptop-
nay.redhat.com)
- add item of time cost a app build and app create (zhizhang@zhizhang-laptop-
nay.redhat.com)
- add trigger for app creation with build process (zhizhang@zhizhang-laptop-
nay.redhat.com)
- add key of openshift.master.app.build.create (zhizhang@zhizhang-laptop-
nay.redhat.com)
* Wed Mar 16 2016 Brenton Leanhardt <[email protected]> 3.0.59-1
- Only mask etcd service for containerized installls when it's installed
- Provide cacert when performing health checks ([email protected])
* Tue Mar 15 2016 Kenny Woodson <[email protected]> 3.0.58-1
- Group selector feature added ([email protected])
- nfs: replace yum with dnf ([email protected])
- Move common common facts to openshift_facts ([email protected])
- perform oc client config tasks only once when ansible_ssh_user is root
- OSE/Origin < 3.2/1.2 should not get Docker 1.9 ([email protected])
* Mon Mar 14 2016 Brenton Leanhardt <[email protected]> 3.0.57-1
- Docker stderr can break this script if ansible executes it remotely
- Handle HA master case ([email protected])
- Bug 1315564 - Containerized installs require a running environment
- Updating the docker registry variables to use the new name
- Bug 1316761 - Skip the available version check if openshift_image_tag is
defined. ([email protected])
- Ansible module to manage secrets for openshift api ([email protected])
* Mon Mar 14 2016 Kenny Woodson <[email protected]> 3.0.56-1
- Updating our metadata tooling to work without env ([email protected])
- improve ordering of systemd units ([email protected])
- Docker role refactor ([email protected])
- Ensure is_containerized is cast as bool. ([email protected])
- Sync latest to v1.2 ([email protected])
- Sync with latest image stream and templates ([email protected])
- Allow origin version to be passed in as an argument ([email protected])
- Add support for Openstack integration ([email protected])
- Expose log level on the monitor ([email protected])
- openshift_facts: Safe cast additional bools ([email protected])
- openshift-ansible: Wrap boolean facts ([email protected])
- fixed copr releasers file ([email protected])
- Libvirt provider fixes ([email protected])
- Support log level configuration for plugin ([email protected])
* Wed Mar 09 2016 Brenton Leanhardt <[email protected]> 3.0.55-1
- Bug 1315564 - upgrade to ose3.2 failed on Atomic Hosts ([email protected])
- Bug 1315563 - Upgrade failed to containerized install OSE 3.1 on RHEL
- a-o-i: Fix NFS storage tests ([email protected])
- First attempt at NFS setup ([email protected])
- reverting back to pre-pulling the master image ([email protected])
- Use /healthz/ready when verifying api ([email protected])
- Formatting error ([email protected])
- Introduce origin-metrics playbook ([email protected])
* Tue Mar 08 2016 Brenton Leanhardt <[email protected]> 3.0.54-1
- Bug 1315563 - stdout IO redirection wasn't working as expected over SSH
connections ([email protected])
- Bug 1315637 - The docker wasn't upgraded on node during upgrade
- Bug 1315564 - upgrade to ose3.2 failed on Atomic Hosts ([email protected])
- Fix issue when there are no infra nodes ([email protected])
- Stop the etcd container during uninstall ([email protected])
* Mon Mar 07 2016 Brenton Leanhardt <[email protected]> 3.0.53-1
- Don't enable cockpit-ws for containerized installs ([email protected])
- Support openshift_image_tag ([email protected])
- Set g_new_master_hosts in upgrade playbooks. ([email protected])
- Add setting for configuring nofile limit for haproxy ([email protected])
* Mon Mar 07 2016 Joel Diaz <[email protected]> 3.0.52-1
- fixed monitoring containers to restart ([email protected])
- Lock down generated certs dir ([email protected])
- package up lib_zabbix into its own subpackage ([email protected])
* Fri Mar 04 2016 Brenton Leanhardt <[email protected]> 3.0.51-1
- Bug 1314645 - Upgrade failed with "One or more undefined variables 'dict
object' has no attribute 'stdout'" ([email protected])
- EBS storage does not support Recycle ([email protected])
- Remove cockpit and kubernetes-client packages in uninstall playbook.
- Update README_origin.md ([email protected])
- Add cockpit-docker package by default ([email protected])
* Thu Mar 03 2016 Brenton Leanhardt <[email protected]> 3.0.50-1
- change lib_zabbix's import to new pathing ([email protected])
- upgrade README fixes ([email protected])
- A few images weren't being uninstalled ([email protected])
- Adding support for v1.2 examples ([email protected])
- Adding templates for v1.2 ([email protected])
- Adding verify_upgrade_version variable for upgrade debugging
- Correctly set the image tag for containerized installs (and upgrades)
- Adding newly required variable ([email protected])
- Updating the containerized cli wrapper to work for both docker 1.8 and 1.9
- uninstall the QE images ([email protected])
- First past at the upgrade process ([email protected])
- Check for is_containerized value when setting binary locations.
- Bug 1313169 - Ansible installer tries to enable etcd_container service even
though containerized=false ([email protected])
- Fix logging infra template version mismatch. ([email protected])
- Changes required for Nuage monitor REST server
- disable http-server-close option ([email protected])
- change [HEAL] to [Heal] to match with v2 ([email protected])
- Increase maxconn settings for haproxy lb ([email protected])
* Tue Mar 01 2016 Matt Woodson <[email protected]> 3.0.49-1
- fixed error in awsutil.py ([email protected])
* Tue Mar 01 2016 Matt Woodson <[email protected]> 3.0.48-1
- ohi: added subtype searching ([email protected])
- make heal remote actions generic for all [HEAL] triggers ([email protected])
- added extra steps to ensure docker starts up ([email protected])
- role_removal: docker_storage; This is the old way, no longer used
- role: added docker_storage_setup ([email protected])
- Use inventory_hostname for openshift master certs to sync.
- Adding a symlink to making loading the examples more convenient
- docs: Explain a bit more how to expand Atomic Host rootfs
- a-o-i: Rename osm_default_subdomain ([email protected])
- Updating tito config for OSE 3.2 ([email protected])
- Synchronize master kube configs ([email protected])
- added os_utils, os_reboot_server role; removed containerization stuff from
the updated ([email protected])
- Add warnings to bin/cluster and READMEs ([email protected])
- Add host subnet length example. ([email protected])
- Upgrade -1510 to CentOS-7-x86_64-GenericCloud-1602. ([email protected])
- Pin down CentOS-7-x86_64-GenericCloud-1510.qcow2.xz version, which the
checksum currently expects (#1384). ([email protected])
- Change is_atomic to is_containerized ([email protected])
- Rename variable to openshift_master_default_subdomain with backwards
compatibility. ([email protected])
- lib_dyn: more updates to the lib_dyn module. Made the TTL more flexible
- remote heal action for OVS down ([email protected])
- Pass registry claim to openshift_registry. ([email protected])
- Refactor - increase retries instead of delay in "Wait for Node Registration"
- Better diagnostic messages when an OpenStack heat stack creation fails
- made some changes to lib_dyn update ([email protected])
- Increase timeout on Wait for Node Registration ([email protected])
- Fix typo in oscp ([email protected])
- Add correct parsing of ec2_security_groups env variable
- changed oso_host_monitoring to use the oo_ vars ([email protected])
- Add quotes around src argument to support paths with spaces
- Add missing is_atomic condition on upgrade package
- configure debug_level for master and node from cli ([email protected])
- remove version requirement from etcd, shouldn't be needed anymore
- Add ansible.cfg to .gitignore ([email protected])
- added node-secgroup to master_nodes ([email protected])
- Document setting the VPC subnet ([email protected])
- Update the AMIs used in README_AWS ([email protected])
- Add byo examples for network cidr and api/console ports.
- Add openshift_docker roles to master/node scaleup. ([email protected])
- Fail when master.master_count descreases or master.ha changes.
- Protected facts. ([email protected])
- Add modify_yaml module. ([email protected])
- Re-arrange scaleup playbooks. ([email protected])
- Move additional master configuration into a separate master playbook.
- Generate each master's certificates separately. ([email protected])
- Add new_masters to scaleup playbook. ([email protected])
* Wed Feb 24 2016 Brenton Leanhardt <[email protected]> 3.0.47-1
- a-o-i: Double safety check on master_lb ([email protected])
- a-o-i: Better method for identifying master_lb ([email protected])
* Tue Feb 23 2016 Brenton Leanhardt <[email protected]> 3.0.46-1
- a-o-i: Exception checking around master_lb ([email protected])
* Mon Feb 22 2016 Brenton Leanhardt <[email protected]> 3.0.45-1
- Do not monitor for etcd watchers ([email protected])
- remove old master registry item/triggers ([email protected])
- a-o-i: Redo logic for detecting master_lb ([email protected])
- Fix 1.2 version check ([email protected])
- Fix pv/c creation failed_when. ([email protected])
- Rename variable to delete temporary file, add configurable path.
- Add /var/log to containerized node mounts ([email protected])
- Add extra parameters for S3 registry: delete file, create bucket.
- Don't make config files world readable ([email protected])
- Fix requiring state and providing a default ([email protected])
- bind in /etc/origin/node for non-master monitoring to be able to talk with
master ([email protected])
- a-o-i: pylint fixes related to too-long lines ([email protected])
* Wed Feb 17 2016 Brenton Leanhardt <[email protected]> 3.0.44-1
- create registry items/triggers under Openshift Node ([email protected])
- a-o-i: Change method for counting master_lb as installed
* Tue Feb 16 2016 Brenton Leanhardt <[email protected]> 3.0.43-1
- Add default to state param ([email protected])
- Add type to record_type param ([email protected])
- Add types to module params ([email protected])
- Adding examples to the dyn_record module ([email protected])
- add item to track docker-registry pings ([email protected])
- Handle case where the user already had access to the scc
- Refactoring the add-scc-to-user logic ([email protected])
- Apply openshift_docker to nodes during scaleup. ([email protected])
- Change etcd deamon name for atomic-host ([email protected])
* Tue Feb 16 2016 Joel Diaz <[email protected]> 3.0.42-1
- Add gce softlink for openshift-ansible-bin
* Mon Feb 15 2016 Brenton Leanhardt <[email protected]> 3.0.41-1
- Bug 1308411 - Fail to install OSE 3.0 for no add-scc-to-user command
- Add openshift_docker_options to append arbitrary options to
/etc/sysconfig/docker OPTIONS ([email protected])
- oo_filter: added custom fitler to return hosts group info
- add gce softlink for openshift-ansible-bin RPM ([email protected])
- a-o-i: Count nativeha hosts as "installed" for scaleup ([email protected])
- a-o-i: Add master_routingconfig_subdomain to PERSIST_SETTINGS
- Bug 1308412 - Fail to install containerized HA master env on RHEL7
- Bug 1308314 - Failed to continue installation when pressing CTRL-C
- Updating the 3.1.1 router to match the new liveness probe configuration
- Don't automatically give additional permissions to all OAuth users on upgrade
- Fix adhoc boostrap fedora playbook ([email protected])
- Fix libvirt cluster creation ([email protected])
- Add missing `type` node labels on OpenStack and libvirt ([email protected])
- a-o-i: Prompts to allow minor upgrades ([email protected])
- conditionalize loopback config on v >= 3.2/1.2 ([email protected])
- Fixes pv/pvc creation for latest builds ([email protected])
- Bug 1302970 - update script does not patch router if name is different from
default ([email protected])
- Fix loopback cluster name, context name, and user ([email protected])
- Changes for new Nuage RPMS ([email protected])
- Make the GCE image_name and the machine_type configurable from the CLI
- Better structure the output of the list playbook ([email protected])
- Fix issue when there are no infra nodes ([email protected])
- Remove fluentd_master and fluentd_node roles. ([email protected])
- Remove etcd up checks from fluentd_master. ([email protected])
* Thu Feb 11 2016 Brenton Leanhardt <[email protected]> 3.0.40-1
- Bug 1306665 - [metrics] update metrics-deployer template to use latest image
versions ([email protected])
- Add organizations attribute to github identity provider ([email protected])
- use correct dict key ([email protected])
- handle being passed an empty group list ([email protected])
- fix default value ([email protected])
- removed notscheduleable trigger, it just makes noise in its current
incarnation ([email protected])
- trigger on two successive bad pid counts ([email protected])
- added nodes not ready and nodes not schedulable triggers ([email protected])
- Enable selection of kubeproxy mode ([email protected])
- add default storage plugins to 'origin' deployment_type
- added nodes not ready and nodes not schedulable triggers ([email protected])
- Don't mask master service on atomic. ([email protected])
- update defaults and examples w/ iscsi plugin ([email protected])
- add iscsi storage_plugin dependency ([email protected])
- Add gte check for 3.2, update version checks to gte ([email protected])
- Specify default namespace when creating router ([email protected])
- add missing connection:local ([email protected])
- consolidate oo_first_master post-config a bit, fix some roles that use
openshift_facts without declaring a dependency ([email protected])
- openshift_serviceaccounts updates ([email protected])
- Fix infra_node deployment ([email protected])
- changed registry checks to alert based on number of registries with problems
- Fix a bug with existing CNAME records ([email protected])
- Fix HA typo in example AEP/OSE/Origin inventories ([email protected])
- Updated the key for app create ([email protected])
- Add missing atomic- and openshift-enterprise ([email protected])
- Fix enabling iptables for latest rhel versions ([email protected])
- Make pod_eviction_timeout configurable from cli ([email protected])
* Tue Feb 09 2016 Brenton Leanhardt <[email protected]> 3.0.39-1
- Bug 1304150 - Can't upgrade atomic-openshift to specified version
- Mask master service when using native ha ([email protected])
- aoi: Safer check for master_routingconfig_subdomain ([email protected])
- Add a DNS server on OpenStack clusters ([email protected])
- renamed /etc/openshift to /etc/origin ([email protected])
- gitignore : .tag* (atom editor tag files) ([email protected])
- Add an early check to ensure that node names resolve to an interface on the
host ([email protected])
- Allow compression option to be set to empty for non compressed QCow images
Support tgz and gzip compressed images ([email protected])
- Replace status_changed bool ([email protected])
- Improve docs and consistency of setting the ssh_user ([email protected])
- remove outdated comments ([email protected])
- add etcd hosts for gce playbooks ([email protected])
- GCE cloud provider updates ([email protected])
- Remove extra nfs configuration. ([email protected])
- Do not apply the etcd_certificates role during node playbook.
- Add g_new_node_hosts to cluster_hosts. ([email protected])
- Updating examples to use /etc/origin/master/htpasswd ([email protected])
- Refactor registry storage options. ([email protected])
- Additional overrides for cloud provider playbooks ([email protected])
- Bring first etcd server up before others. ([email protected])
* Tue Feb 02 2016 Brenton Leanhardt <[email protected]> 3.0.38-1
- aoi: Ask for osm_default_subdomain in interactive mode ([email protected])
- add item to hold number of stray OVS rules found/removed ([email protected])
- changed adhoc playbook to match new host monitoring container
- Multi-master fixes for provider playbooks ([email protected])
- zabbix: added master local api items and triggers ([email protected])
- Added docs around oo_nodes_with_label ([email protected])
- fix for terminate ([email protected])
- Fix node tags for aws provider ([email protected])
- use yaml for loading lable info instead of json ([email protected])
- infra_node fixes ([email protected])
- removing extraneous comments ([email protected])
- Remove commented lines and fix pylint check ([email protected])
- Cleaning up the dyn ansible module for merging ([email protected])
- Fix missing bool filter ([email protected])
- Sync platest imagestreams ([email protected])
- Fixing last pylint error ([email protected])
- Fix hostname for aws cloud provider ([email protected])
- Fixing pylint errors ([email protected])
- Give openvswitch container some time to start ([email protected])
- s3_registry no filter named 'lookup' ([email protected])
- WIP adding the lib_dyn role for the dyn_record module ([email protected])
* Fri Jan 29 2016 Kenny Woodson <[email protected]> 3.0.37-1
- Adding ip address option ([email protected])
- Enable cockpit when not is_atomic. ([email protected])
- Explicitly restart the atomic node service after configuring it for nuage
- Fix for bug 1298 ([email protected])
- fixing logic for skipping symlinks ([email protected])
- Allow to have custom bucket name and region ([email protected])
- Add inventory example for logrotate_scripts ([email protected])
- Minor readme cleanup for Bug 1271566 ([email protected])
- fix template trigger calc ([email protected])
- Configure logrotate on atomic. ([email protected])
- Comparing zbx_host interfaces and removing duplicate hostgroup_names
- Dockerfile: Require pyOpenSSL ([email protected])
- replace yum with dnf ([email protected])
- Install cockpit, logrotate and fluentd unless host is atomic.
- zabbix: added the skydns items and triggers ([email protected])
- fix pkg_version ([email protected])
- Expose data_dir ([email protected])
- Fix checking for update package availability ([email protected])
- Fix oo_pretty_print_cluster following the renaming of `env` into `clusterid`
- Ensure openssl present for etcd_ca ([email protected])
- Update Docs and test for testing ansible version ([email protected])
- Add Nuage support to openshift ansible ([email protected])
- Updating for host monitoring HA masters ([email protected])
- adhoc s3 registry - add auth part in the registry config sample
- Move the `is_atomic` check from `update_repos_and_packages.yml` to
`rhel_subscribe` ([email protected])
- Increase OpenStack stack creation/deletion timeout ([email protected])
* Mon Jan 25 2016 Kenny Woodson <[email protected]> 3.0.36-1
- Fixing awsutil to support aliases and v3 ([email protected])
- Fail when master restart playbook finds no active masters rather than any
failed masters. ([email protected])
- Skipping any symlinks for the yaml validation check ([email protected])
- Added template for config loop. ([email protected])
- Test validate_pcs_cluster input is basestring instead of str.
- Fix error when oo_masters_to_config is empty ([email protected])
- Update inventory examples for console customization ([email protected])
- Expose console config for customization ([email protected])
- oso_host_monitoring: added environment as a var to the host monitoring
systemd script ([email protected])
- Check master certificates during upgrade. ([email protected])
- Use haproxy frontend port for os_firewall. ([email protected])
- Fix native master api sysconfig. ([email protected])
- Enable kubernetes master config of podEvictionTimeout from ansible
- Fix wrapper pathing for non-root user install. ([email protected])
- Remove camel case for bin/cluster addNodes ([email protected])
- Update cluster_hosts.yml for cloud providers ([email protected])
- Removing ruby scripts and replacing with python. ([email protected])
- Fixed a logic bug and yaml load ([email protected])
- Fixing yaml validation in python. Inputs behave differently as does glob
- oso_monitoring: add the zabbix libs ([email protected])
- Removing removing scripts and moving to python. ([email protected])
- add ability to disable ztriggers and disable new container dns check
- Remove default disable of SDN for GCE ([email protected])
- Fix hardcoded api_port in openshift_master_cluster ([email protected])
- Use local address for loopback kubeconfig ([email protected])
- consolidate steps and cleanup template dir ([email protected])
- v3_0_to_v3_1_upgrade: Remove is_atomic check for upgrades
- v3_0_to_v3_1_upgrade: Copy tasks rather than including from the playbook