2017-01-20 2 views
0

が、私はここを乗り越え開始の指示に従うことをしようとしているMac OSの上に設定しましたそしてminishiftしかし、この質問の助けを借りていることを固定:Fabric8は

gofabric8> Unable to unzip /Users/apple/.fabric8/bin/oc.zip zip: not a valid zip

今、私は問題のセキュリティを設定し、ただぶら下がっを持つことに実行していますよ

DeploymentConfigs all started so we can deploy fabric8 


Deploying fabric8 to your OpenShift installation at https://192.168.64.2:8443 for domain 192.168.64.2.xip.io in namespace default 

Loading fabric8 releases from maven repository:https://repo1.maven.org/maven2/ 
Creating new Project: default 
Deploying package: platform version: 2.4.19 

SecurityContextConstraints restricted.........................................✘ User "admin" cannot create securitycontextconstraints at the cluster scope 
Cannot create SecurityContextConstraints: User "admin" cannot create securitycontextconstraints at the cluster scope 
Failed to create SecurityContextConstraints {{ } {fabric8  0 {0001-01-01 00:00:00 +0000 UTC} <nil> <nil> map[] map[] [] []} 0xc420604360 true [] [] [] [*] true true false false {RunAsAny <nil>} {RunAsAny <nil> <nil> <nil>} { []} { []} false [] [system:serviceaccount:openshift-infra:build-controller system:serviceaccount:default:default system:serviceaccount:default:fabric8 system:serviceaccount:default:gerrit system:serviceaccount:default:jenkins system:serviceaccount:default:router system:serviceaccount:default:registry system:serviceaccount:default:gogs system:serviceaccount:default:fluentd] [system:cluster-admins system:nodes]} in namespace default: User "admin" cannot create securitycontextconstraints at the cluster scope 
SecurityContextConstraints fabric8............................................✘ User "admin" cannot create securitycontextconstraints at the cluster scope 
Cannot create SecurityContextConstraints: User "admin" cannot create securitycontextconstraints at the cluster scope 
Failed to create SecurityContextConstraints {{ } {fabric8-sa-group  0 {0001-01-01 00:00:00 +0000 UTC} <nil> <nil> map[] map[] [] []} <nil> false [] [] [] [gitRepo configMap secret emptyDir] false false false false {RunAsAny <nil>} {RunAsAny <nil> <nil> <nil>} { []} { []} false [] [] [system:serviceaccounts]} in namespace default: User "admin" cannot create securitycontextconstraints at the cluster scope 
SecurityContextConstraints fabric8-sa-group...................................✘ User "admin" cannot create securitycontextconstraints at the cluster scope 
addClusterRoleToUser cluster-admin system:serviceaccount:default:fabric8......✘ User "admin" cannot get clusterpolicybindings at the cluster scope 
addClusterRoleToUser cluster-admin system:serviceaccount:default:jenkins......✘ User "admin" cannot get clusterpolicybindings at the cluster scope 
addClusterRoleToUser cluster-admin system:serviceaccount:default:configmapcontroller✘ User "admin" cannot get clusterpolicybindings at the cluster scope 
addClusterRoleToUser cluster-admin system:serviceaccount:default:exposecontroller✘ User "admin" cannot get clusterpolicybindings at the cluster scope 
addClusterRoleToUser cluster-reader system:serviceaccount:default:metrics.....✘ User "admin" cannot get clusterpolicybindings at the cluster scope 
addClusterRoleToUser cluster-reader system:serviceaccount:default:fluentd.....✘ User "admin" cannot get clusterpolicybindings at the cluster scope 
addClusterRoleToGroup cluster-reader system:serviceaccounts...................✘ User "admin" cannot get clusterpolicybindings at the cluster scope 
addServiceAccount fluentd.....................................................✘ User "admin" cannot create serviceaccounts in project "default" 
addServiceAccount registry....................................................✘ User "admin" cannot create serviceaccounts in project "default" 
addServiceAccount router......................................................✘ User "admin" cannot create serviceaccounts in project "default" 

すべてのヘルプは

答えて

0

を高く評価し、ユーザ名 "adminが" ":管理システム" に変更されているように見えます。インストールを完全に手動で実行しました:

minishift start 
oc login -u system:admin 
oc project default 
gofabric8 deploy -y 
関連する問題