You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Luca Morandini <lu...@gmail.com> on 2019/09/20 08:18:44 UTC

[Camel-K]: permission issue on persistent volume

When adding my first integration. I ran into this:
{"level":"error","ts":1568963331.0867567,"logger":"camel-k","msg":"Unexpected er
ror while creating a temporary dir","error":"mkdir /workspace/builder-230388145:
permission denied","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t
/home/lmorandini/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.c
om/apache/camel-k/pkg/util/log.Logger.Error\n\t/home/lmorandini/git/camel-k/pkg/
util/log/log.go:75\ngithub.com/apache/camel-k/pkg/util/log.Error\n\t/home/lmoran
dini/git/camel-k/pkg/util/log/log.go:196\ngithub.com/apache/camel-k/pkg/builder.
(*defaultBuilder).Build\n\t/home/lmorandini/git/camel-k/pkg/builder/builder.go:6
6\nmain.main\n\t/home/lmorandini/git/camel-k/cmd/builder/main.go:80\nruntime.mai
n\n\t/usr/local/go/src/runtime/proc.go:200"}

How can I make the PV writable by the builder?

The cluster is K8s on OpenStack.

Cheers,

Luca Morandini

Re: [Camel-K]: permission issue on persistent volume

Posted by Nicola Ferraro <ni...@gmail.com>.
Hi, can you open an issue in https://github.com/apache/camel-k/issues and
share more details about your IntegrationPlatform resource?
It should work oob.

Nicola

On Fri, Sep 20, 2019 at 10:48 AM Luca Morandini <lu...@gmail.com>
wrote:

> When adding my first integration. I ran into this:
> {"level":"error","ts":1568963331.0867567,"logger":"camel-k","msg":"Unexpected
> er
> ror while creating a temporary dir","error":"mkdir
> /workspace/builder-230388145:
> permission denied","stacktrace":"
> github.com/go-logr/zapr.(*zapLogger).Error\n\t
>
> /home/lmorandini/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.c
>
> om/apache/camel-k/pkg/util/log.Logger.Error\n\t/home/lmorandini/git/camel-k/pkg/
>
> util/log/log.go:75\ngithub.com/apache/camel-k/pkg/util/log.Error\n\t/home/lmoran
>
> dini/git/camel-k/pkg/util/log/log.go:196\ngithub.com/apache/camel-k/pkg/builder
> <http://github.com/go-logr/zapr.(*zapLogger).Error%5Cn%5Ct/home/lmorandini/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128%5Cngithub.com/apache/camel-k/pkg/util/log.Logger.Error%5Cn%5Ct/home/lmorandini/git/camel-k/pkg/util/log/log.go:75%5Cngithub.com/apache/camel-k/pkg/util/log.Error%5Cn%5Ct/home/lmorandini/git/camel-k/pkg/util/log/log.go:196%5Cngithub.com/apache/camel-k/pkg/builder>
> .
>
> (*defaultBuilder).Build\n\t/home/lmorandini/git/camel-k/pkg/builder/builder.go:6
>
> 6\nmain.main\n\t/home/lmorandini/git/camel-k/cmd/builder/main.go:80\nruntime.mai
> n\n\t/usr/local/go/src/runtime/proc.go:200"}
>
> How can I make the PV writable by the builder?
>
> The cluster is K8s on OpenStack.
>
> Cheers,
>
> Luca Morandini
>