MotaOcimar commented on issue #3456:
URL: https://github.com/apache/camel-k/issues/3456#issuecomment-1189036052

   `kubectl get events` gave me the following:
   
   ```
   LAST SEEN   TYPE      REASON              OBJECT                             
      MESSAGE
   7m9s        Normal    Scheduled           
pod/camel-k-operator-848fd8785b-cr9pp    Successfully assigned 
default/camel-k-operator-848fd8785b-cr9pp to minikube
   7m5s        Normal    Pulling             
pod/camel-k-operator-848fd8785b-cr9pp    Pulling image 
"docker.io/apache/camel-k:1.9.2"
   2m23s       Normal    Pulled              
pod/camel-k-operator-848fd8785b-cr9pp    Successfully pulled image 
"docker.io/apache/camel-k:1.9.2" in 4m45.3178036s
   42s         Normal    Created             
pod/camel-k-operator-848fd8785b-cr9pp    Created container camel-k-operator
   42s         Normal    Started             
pod/camel-k-operator-848fd8785b-cr9pp    Started container camel-k-operator
   43s         Normal    Pulled              
pod/camel-k-operator-848fd8785b-cr9pp    Container image 
"docker.io/apache/camel-k:1.9.2" already present on machine
   55s         Warning   BackOff             
pod/camel-k-operator-848fd8785b-cr9pp    Back-off restarting failed container
   7m9s        Normal    SuccessfulCreate    
replicaset/camel-k-operator-848fd8785b   Created pod: 
camel-k-operator-848fd8785b-cr9pp
   7m9s        Normal    ScalingReplicaSet   deployment/camel-k-operator        
      Scaled up replica set camel-k-operator-848fd8785b to 1
   ```
   
   Running `kubectl logs [podname] -p` I get
   
   ```json
   {
       "level":        "error",
       "ts":           1658235623.4016757,
       "logger":       "cmd",
       "msg":          "failed to set GOMAXPROCS from cgroups",
       "error":        "path 
\"/docker/ec4a100d598f3529dbcc3a9364c8caceb32abd8c11632456d58c7948bb756d36\" is 
not a descendant of mount point root 
\"/docker/ec4a100d598f3529dbcc3a9364c8caceb32abd8c11632456d58c7948bb756d36/kubelet\"
 and cannot be exposed from \"/sys/fs/cgroup/rdma/kubelet\"",
       "stacktrace":   
"github.com/apache/camel-k/pkg/cmd.(*operatorCmdOptions).run\n\tgithub.com/apache/camel-k/pkg/cmd/operator.go:57\ngithub.com/spf13/cobra.(*Command).execute\n\tgithub.com/spf13/[email protected]/command.go:860\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\tgithub.com/spf13/[email protected]/command.go:974\ngithub.com/spf13/cobra.(*Command).Execute\n\tgithub.com/spf13/[email protected]/command.go:902\nmain.main\n\tcommand-line-arguments/main.go:47\nruntime.main\n\truntime/proc.go:225"
   }
   ```
   
   Formatting the stacktrace we get:
   
   ```
   github.com/apache/camel-k/pkg/cmd.(*operatorCmdOptions).run
       github.com/apache/camel-k/pkg/cmd/operator.go:57
   github.com/spf13/cobra.(*Command).execute
       github.com/spf13/[email protected]/command.go:860
   github.com/spf13/cobra.(*Command).ExecuteC
       github.com/spf13/[email protected]/command.go:974
   github.com/spf13/cobra.(*Command).Execute
       github.com/spf13/[email protected]/command.go:902
   main.main
       command-line-arguments/main.go:47
   runtime.main
       runtime/proc.go:225
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to