[jboss-jira] [JBoss JIRA] (WFWIP-177) Uploading to container failed: Error response from daemon: Error processing tar file(exit status 1): invalid symlink
Martin Choma (Jira)
issues at jboss.org
Mon Aug 19 10:12:01 EDT 2019
Martin Choma created WFWIP-177:
----------------------------------
Summary: Uploading to container failed: Error response from daemon: Error processing tar file(exit status 1): invalid symlink
Key: WFWIP-177
URL: https://issues.jboss.org/browse/WFWIP-177
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Reporter: Martin Choma
Assignee: Ken Wills
Use case is providing settings.xml as secret. I wonder if this could be some ubi7 file permission issue.
{code}
Receiving source from STDIN as archive ...
Using docker-registry.engineering.redhat.com/kwills/eap73-openshift-rhel7:CLOUD-3331 as the s2i builder image
error: Uploading to container failed: Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/etc/test-secret/..data" -> "..2019_08_19_13_20_57.538692366"
ERROR: Error occurred during injecting "/var/run/secrets/openshift.io/build/test-secret" to "/etc/test-secret": Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/etc/test-secret/..data" -> "..2019_08_19_13_20_57.538692366"
error: build error: non-zero (13) exit code from docker-registry.engineering.redhat.com/kwills/eap73-openshift-rhel7:CLOUD-3331
{code}
{code:yaml|title=BuildConfig}
apiVersion: build.openshift.io/v1
kind: BuildConfig
metadata:
creationTimestamp: '2019-08-19T13:20:41Z'
name: sti-secret-settings
namespace: mchoma
resourceVersion: '1345248'
selfLink: >-
/apis/build.openshift.io/v1/namespaces/mchoma/buildconfigs/sti-secret-settings
uid: 249b6a94-c284-11e9-b93c-fa163e9a0fb6
spec:
failedBuildsHistoryLimit: 5
nodeSelector: {}
output:
to:
kind: ImageStreamTag
name: 'sti-secret-settings:latest'
postCommit: {}
resources: {}
runPolicy: Serial
source:
binary: {}
secrets:
- destinationDir: /etc/test-secret
secret:
name: test-secret
type: Binary
strategy:
sourceStrategy:
env:
- name: MAVEN_ARGS
value: install -s /etc/test-secret/settings.xml
from:
kind: DockerImage
name: >-
docker-registry.engineering.redhat.com/kwills/eap73-openshift-rhel7:CLOUD-3331
incremental: false
type: Source
successfulBuildsHistoryLimit: 5
triggers:
- generic:
allowEnv: true
secret: secret101
type: Generic
status:
lastVersion: 1
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list