Skip to content

porter/cloudcasa deployment container failing with error on azure #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
nitishdsharma opened this issue Jan 19, 2023 · 3 comments
Open

Comments

@nitishdsharma
Copy link

nitishdsharma commented Jan 19, 2023

Issue:

Getting permission denied error while deploying cloudcasa cnab app on azure.

Container Logs:

2023/01/19 10:18:20 /usr/local/bin/porter install cloudcasa -d azure --tag catalogicsoftware/cloudcasa:v3.2.0 --cred /tmp/cnabarmdriver007722306/cloudcasa-creds.yaml --param-file /tmp/cnabarmdriver148181945/cloudcasa-params.txt installing cloudcasa... expath:/usr/local/bin Running install action on cloudcasa Creating Azure Container Instance To Execute Bundle Running Bundle Instance in Azure Container Instance mkdir: cannot create directory '/porter': Permission denied Cleaning up Azure Resources created to execute Bundle Deleting Outputs from Azure FileShare Error: Running install action on cloudcasa Error:running invocation instance using ACI failed: Container execution failed Error: failed to install the bundle: Command driver (azure) failed executing bundle: exit status 1 2023/01/19 10:20:43 porter command failed with exit status 1

Expected Behavior

Cloudcasa app should be deployed successfully on the AKS cluster.

Steps to Reproduce the Problem

  1. Deploy the CloudCasa CNAB app using the simple Deployment button from link.
  2. Here we need to provide client_id, secret, kubeconfig file of the AKS cluster and cluster_id. For testing cluster_id (63a421e318d928f69599d9fa) can be used.

Note: Also I have noticed that the 0.25.0 cnabquickstarts.azurecr.io/cnabarmdriver image is using very old version of porter. For testing we have used porter v1.0.4 version.

@VinozzZ
Copy link
Contributor

VinozzZ commented Jan 25, 2023

Hi there, thank you for letting us know about your issue.
The templates created in this repo and the cnab-azure-driver are meant to only be used with Porter v0 instead of v1. https://v0.getporter.org/docs/
I have submitted a PR in this repo to update the doc #101
I noticed that the bundles that you provided through the link is written in Porter v1 schema. Please try to follow the v0 doc and write your bundle with the v0 schema and try again. If you ran into more issue, please let us know

@HowardvanRooijen
Copy link
Collaborator

We (@MikeLarah) would like to do some updates to this repo... we just need to find the bandwidth.

@carolynvs
Copy link

@HowardvanRooijen / @MikeLarah That would be great! Please let me know if you have questions about any v1 changes! 👍

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

No branches or pull requests

4 participants