Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Buildpack "php_buildpack" must be an existing buildpack configured for use with kpack #678

Open
sathishbob opened this issue Jul 27, 2021 · 1 comment

Comments

@sathishbob
Copy link

Describe the bug

While deploying php apps, the php build pack is not getting used. its throwing below eror
Buildpack "php_buildpack" must be an existing buildpack configured for use with kpack

To Reproduce*

Steps to reproduce the behavior:
trying to deploy sample php app
https://github.com/cloudfoundry-samples/cf-ex-composer
https://github.com/cloudfoundry-samples/cf-ex-stand-alone

It's helpful to include snippets of the error response or logs output
cf push
Pushing app cf-ex-stand-alone to org my-org / space my-space as admin...
Applying manifest file /root/pcf/cf-ex-stand-alone/manifest.yml...
Manifest applied
Packaging files to upload...
Uploading files...
816 B / 816 B [==========================================================================================================================================================================] 100.00% 1s

Waiting for API to complete processing files...

Staging app and tracing logs...
Buildpack "php_buildpack" must be an existing buildpack configured for use with kpack
FAILED

cf buildpacks
Getting buildpacks as admin...

position name stack enabled locked filename
0 paketo-buildpacks/ruby io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-buildpacks/dotnet-core io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-buildpacks/nodejs io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-buildpacks/go io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-community/python io.buildpacks.stacks.bionic true false paketo-community/[email protected]
0 paketo-buildpacks/php io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-buildpacks/nginx io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-buildpacks/httpd io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-buildpacks/java io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]
0 paketo-buildpacks/procfile io.buildpacks.stacks.bionic true false paketo-buildpacks/[email protected]

cf-for-k8s SHA

Please paste cf-for-k8s SHA hyperlink
cf-for-k8s-5.1.0
dc0e2df

Deploy instructions

kind create cluster --config=./deploy/kind/cluster.yml --image kindest/node:v1.20.2

Cluster information

kind

CLI versions

paste output of the following commands

  1. ytt --version: ytt version 0.35.1
  2. kapp --version: kapp version 0.37.0
  3. kubectl version: Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-07-15T21:04:39Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
    Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-03-11T06:23:38Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
  4. cf version: cf version 7.2.0+be4a5ce2b.2020-12-10
@cf-gitbot
Copy link
Collaborator

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/179032707

The labels on this github issue will be updated when the story is started.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants