Bug 1253521 - [RFE] Provide templates in /usr/share/openshift/examples/ as tar, zip or RPM include.
Summary: [RFE] Provide templates in /usr/share/openshift/examples/ as tar, zip or RPM ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Mike Barrett
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks: 1267746
TreeView+ depends on / blocked
 
Reported: 2015-08-14 01:33 UTC by Kenjiro Nakayama
Modified: 2019-08-15 05:07 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-04 12:26:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1245032 0 high CLOSED Failed to create app due to the length of value created according to Imagestream exceed 15 characters 2021-02-22 00:41:40 UTC

Internal Links: 1245032

Description Kenjiro Nakayama 2015-08-14 01:33:19 UTC
Description of problem:
===
- After update v3.0.0.x to v3.0.1.0, we still hit the issue bz1245032 [1].
- The reason is that update steps described in [2] doesn't update the templates in /usr/share/openshift/examples/.
- Nobody wants to re-run install scripts to update templates. We can update by replacing the files, if you provide the template as tar or zip.

Reproduce steps
===
1. Update to v3.0.0.x to v3.0.1.0 followed by [2]
2. Create new application with template in /usr/share/openshift/examples/

Actual results:
===
- We will hit same issue with [1].

Expect results:
===
- We update templates and won't hit the issue[1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1245032
[2] https://docs.openshift.com/enterprise/3.0/admin_guide/upgrades.html

Comment 2 Kenjiro Nakayama 2015-08-18 04:34:32 UTC
I filed this RFE to provide templates as tar or zip first. However I think we can consider that we could include them in RPM package.

Comment 3 Brenton Leanhardt 2015-08-18 12:16:59 UTC
Lowering the severity because this is not a release blocker.  It sounds like the xpaas templates may soon be released as a zip file.  Whatever solution is determined for the rest of the templates needs to take Atomic Host installs in to account.  RPMs cannot be installed there.

Comment 4 Kenjiro Nakayama 2015-08-18 12:27:20 UTC
> It sounds like the xpaas templates may soon be released as a zip file.

I heard about it more than 10 days ago, but the progress is unclear and no update.
Therefore, I filed this request to watch the progress. Please don't wait for the customer any longer...

Comment 5 Ryan Howe 2015-09-23 20:17:24 UTC
Have we released these templates yet in a zip file??

Comment 6 Scott Dodson 2015-09-23 20:35:43 UTC
Sort of, they're collated currently in openshift-ansible, so you can download that repo as a zip file and pull them from roles/openshift_examples/files/examples

https://codeload.github.com/openshift/openshift-ansible/zip/master

However, we'll likely move them from ansible into the openshift RPM as that will enable us to ensure that new content is delivered along with OpenShift releases. Right now they're really only updated if a user updates the installer or openshift-ansible and re-runs them, which rarely if ever happens.

This doesn't meet the needs of non-entitled or non-rhel hosts like a developer running MacOSX who wants to look at the templates. I think this bug should be split to address those two needs separately and each bug should be prioritized individually.

Comment 8 Kenjiro Nakayama 2016-03-29 15:42:49 UTC
This issue (RH doesn't provide template as zip or RPM) is not so severe, but inconvenient, since "/usr/share/openshift/examples" is made on only host on which ansible installer.

Also, we can't track their versions..

Comment 9 Kenjiro Nakayama 2016-04-04 05:11:13 UTC
OK, I realized that we provide the template in the package openshift-ansible-roles under 
/usr/share/ansible/openshift-ansible/roles/openshift_examples/files/examples/v1.1/*

Can we close this ticket?

Comment 10 Brenton Leanhardt 2016-04-04 12:26:48 UTC
Sure.  Definitely let us know if customer prefer another approach.


Note You need to log in before you can comment on or make changes to this bug.