how to migrate to helm
So we have a configuration repository written in typescript that generates yamls for our kubernetes. I think it would be a better practice to migrate it all to helm for easier deployment with terraform.
How / where do I start this migration considering I have only high level helm understand and small installation experience
https://redd.it/10spkwn
@r_devops
So we have a configuration repository written in typescript that generates yamls for our kubernetes. I think it would be a better practice to migrate it all to helm for easier deployment with terraform.
How / where do I start this migration considering I have only high level helm understand and small installation experience
https://redd.it/10spkwn
@r_devops
Reddit
r/devops on Reddit
how to migrate to helm - 3 votes and 4 comments
Unpopular opinion: CI/CD engines are an awful idea
I need scripts to run on github webhooks just as bad as you do. But this one-size-fits-all "lets make scripts but in yaml" shit has got to go.
Every CI/CD engine has a million different 'input' layers - environment variables, repo variables, workflows from various branches, maybe the git commit object. Oftentimes your scripts will have the ability to jam more variables into the 'input' layer for later scripts - such as in the case of the github environment variables. UNFORTUNATELY, it's never clear WHICH input layers are available to WHICH parts of the script. "Oh, no, you can't use outputs from this script to as arguments for something in our yaml, because the yaml is calculated first." Well thanks, Mr Nadella, I'll just torch my entire pipeline and start over.
Every CI/CD engine is trying to have some sort of rudimentary 'secrets management', but that's not its core competency. There are always rules - "only 100 secrets", or "Secrets can't be passed from job to job," or "We allow secrets but you can only put them in via our GUI" or "We use hashicorp vault as a secrets backend but we didn't study the docs so we're just using their 'approle' backend as a username/password." Looking at you, Mr Tabib.
Every CI/CD has obscure, insane 'defaults' left and right. "Oh, you ran a job that was called by another job called by another job, and everything succeeded, but one of the if statements didn't run? Our 100% proprietary fancy-pants no-source observer calls that a failure!"
FOR GOD'S SAKE, YOU ARE A GLORIFIED SCRIPT RUNNER.
I'm dying over here, you guys. What happened to the unix principle? What happened to each thing doing one thing really, really well and stringing it all together? Why does each CI/CD runner have a GUI and a CLI and two APIs and secrets management and slack integration and built in graphs and dashboards and runs shell scripts against my cappucino maker?!
Like, SO MUCH of our CI/CD in every place I've ever been could be done with docker containers and python. Github pull request? Send a webhook to the container, run the scripts, fuck off. Am I missing a GUI I admit it might be a little irritating to build my own GUI, but everything else? Emailing people from a script? Slacking people from a script? Correctly gathering secrets from my vault instance from a script? CORRECTLY PASSING RETURN VALUES BETWEEN SCRIPTS?!
But instead, I spend my days becoming a goddamn little cackling wizard on someone's particular dumbass piece of software with features we'll never use, hidden 'sane defaults' that get in the way, security that protects someone else, translating yaml to basic-bitch bash.
ugh. Thanks guys. rant over.
https://redd.it/10t0xqj
@r_devops
I need scripts to run on github webhooks just as bad as you do. But this one-size-fits-all "lets make scripts but in yaml" shit has got to go.
Every CI/CD engine has a million different 'input' layers - environment variables, repo variables, workflows from various branches, maybe the git commit object. Oftentimes your scripts will have the ability to jam more variables into the 'input' layer for later scripts - such as in the case of the github environment variables. UNFORTUNATELY, it's never clear WHICH input layers are available to WHICH parts of the script. "Oh, no, you can't use outputs from this script to as arguments for something in our yaml, because the yaml is calculated first." Well thanks, Mr Nadella, I'll just torch my entire pipeline and start over.
Every CI/CD engine is trying to have some sort of rudimentary 'secrets management', but that's not its core competency. There are always rules - "only 100 secrets", or "Secrets can't be passed from job to job," or "We allow secrets but you can only put them in via our GUI" or "We use hashicorp vault as a secrets backend but we didn't study the docs so we're just using their 'approle' backend as a username/password." Looking at you, Mr Tabib.
Every CI/CD has obscure, insane 'defaults' left and right. "Oh, you ran a job that was called by another job called by another job, and everything succeeded, but one of the if statements didn't run? Our 100% proprietary fancy-pants no-source observer calls that a failure!"
FOR GOD'S SAKE, YOU ARE A GLORIFIED SCRIPT RUNNER.
I'm dying over here, you guys. What happened to the unix principle? What happened to each thing doing one thing really, really well and stringing it all together? Why does each CI/CD runner have a GUI and a CLI and two APIs and secrets management and slack integration and built in graphs and dashboards and runs shell scripts against my cappucino maker?!
Like, SO MUCH of our CI/CD in every place I've ever been could be done with docker containers and python. Github pull request? Send a webhook to the container, run the scripts, fuck off. Am I missing a GUI I admit it might be a little irritating to build my own GUI, but everything else? Emailing people from a script? Slacking people from a script? Correctly gathering secrets from my vault instance from a script? CORRECTLY PASSING RETURN VALUES BETWEEN SCRIPTS?!
But instead, I spend my days becoming a goddamn little cackling wizard on someone's particular dumbass piece of software with features we'll never use, hidden 'sane defaults' that get in the way, security that protects someone else, translating yaml to basic-bitch bash.
ugh. Thanks guys. rant over.
https://redd.it/10t0xqj
@r_devops
Reddit
r/devops - Unpopular opinion: CI/CD engines are an awful idea
Posted in the devops community.
Helm CD vs GitOps
I'm trying to understand the advantages of implementing GitOps in our DevOps department.
Currently, we have microservices running on an EKS cluster, with each microservice having an associated Helm chart stored in a Git repository that describes its deployment.
Our CD process runs the Helm upgrade command after CI is completed. The desired “state” of our applications is stored in the Git repository, and changes to the desired “state” trigger an update to the actual state through the CI/CD pipeline. However, I'm considering the possibility that adding GitOps may not bring significant advantages and could instead introduce additional complexity to our pipelines.
Do you know what I may be missing and why GitOps could bring benefits over our current setup?
https://redd.it/10ssbpp
@r_devops
I'm trying to understand the advantages of implementing GitOps in our DevOps department.
Currently, we have microservices running on an EKS cluster, with each microservice having an associated Helm chart stored in a Git repository that describes its deployment.
Our CD process runs the Helm upgrade command after CI is completed. The desired “state” of our applications is stored in the Git repository, and changes to the desired “state” trigger an update to the actual state through the CI/CD pipeline. However, I'm considering the possibility that adding GitOps may not bring significant advantages and could instead introduce additional complexity to our pipelines.
Do you know what I may be missing and why GitOps could bring benefits over our current setup?
https://redd.it/10ssbpp
@r_devops
Reddit
r/devops - Helm CD vs GitOps
2 votes and 1 comment so far on Reddit
How do you fix an official docker container?
Trivy finds 1,000 issues even in official docker containers, so how do you learn to fix them? I am wondering how, because some of the errors seem to require fixing the operating system itself.
https://redd.it/10t4h8b
@r_devops
Trivy finds 1,000 issues even in official docker containers, so how do you learn to fix them? I am wondering how, because some of the errors seem to require fixing the operating system itself.
https://redd.it/10t4h8b
@r_devops
Reddit
How do you fix an official docker container?
Posted in the devops community.
Specify at least 1 User command in Dockerfile with 1 non-root user as an arg
Why is this necessary, and why is it considered as a security issue? I never ever need to create a user to my Dockerfile, so I am trying to understand what this warning is about.
https://redd.it/10t5ib1
@r_devops
Why is this necessary, and why is it considered as a security issue? I never ever need to create a user to my Dockerfile, so I am trying to understand what this warning is about.
https://redd.it/10t5ib1
@r_devops
Reddit
r/devops - Specify at least 1 User command in Dockerfile with 1 non-root user as an arg
Posted in the devops community.
Nothing special...
Hey guys,
This is not particularly a startup/ product, mostly just a project idea. But anyone interested in Simplifying cloud hosting for developers?
As a developer I see that hosting, devops and deployment of applications can be a real challenge nowadays. Especially for small quick prototypes. Building applications on cloud platforms like AWS or Azure can be a tedious and complex task, even for experienced cloud engineers who still make mistakes with load balancer rules, instance management, and more. The result is often inefficient or expensive solutions.
To tackle this problem, I want to create app blueprints that can be added to Python, Node, Rust, or Java apps. These blueprints will connect the app to your AWS, Azure, GCP, or VSphere accounts, and spin up a cloud infrastructure with all the best practices built in: along side storage, databases, key vaults etc that you need.
I plan on it being just prebuilt IaC modules through Pulumi or Terraform, I believe there is a strong market for this as many developers want to use IaC but honestly don't really care about being as descriptive and pedantic as it forces you to be. I honestly believe the benefits are two-fold: Firstly, we make the process of hosting an application much easier, quicker, and more efficient. Secondly, we help developers avoid common mistakes and improve their cloud infrastructure, making their apps more secure, reliable and optimized.
I also think this kind of project is a great candidate for open source
Let me know if this is interesting to anyone/ this already exists.
https://redd.it/10sv2py
@r_devops
Hey guys,
This is not particularly a startup/ product, mostly just a project idea. But anyone interested in Simplifying cloud hosting for developers?
As a developer I see that hosting, devops and deployment of applications can be a real challenge nowadays. Especially for small quick prototypes. Building applications on cloud platforms like AWS or Azure can be a tedious and complex task, even for experienced cloud engineers who still make mistakes with load balancer rules, instance management, and more. The result is often inefficient or expensive solutions.
To tackle this problem, I want to create app blueprints that can be added to Python, Node, Rust, or Java apps. These blueprints will connect the app to your AWS, Azure, GCP, or VSphere accounts, and spin up a cloud infrastructure with all the best practices built in: along side storage, databases, key vaults etc that you need.
I plan on it being just prebuilt IaC modules through Pulumi or Terraform, I believe there is a strong market for this as many developers want to use IaC but honestly don't really care about being as descriptive and pedantic as it forces you to be. I honestly believe the benefits are two-fold: Firstly, we make the process of hosting an application much easier, quicker, and more efficient. Secondly, we help developers avoid common mistakes and improve their cloud infrastructure, making their apps more secure, reliable and optimized.
I also think this kind of project is a great candidate for open source
Let me know if this is interesting to anyone/ this already exists.
https://redd.it/10sv2py
@r_devops
Reddit
r/devops - Nothing special...
Posted in the devops community.
Error with SSL certificate using private key and certificate from organization with SAN added
I've generated a private key and CSR using openssl, then submitted the CSR to my organization. I received the certificate and used it along with the private key generated by openssl. Despite adding SAN, I am still encountering an error saying
"This server could not prove that it is localapp; its security certificate does not specify Subject Alternative Names. This may be caused by a misconfiguration or an attacker intercepting your connection."
What am I doing wrong?
https://redd.it/10t81ro
@r_devops
I've generated a private key and CSR using openssl, then submitted the CSR to my organization. I received the certificate and used it along with the private key generated by openssl. Despite adding SAN, I am still encountering an error saying
"This server could not prove that it is localapp; its security certificate does not specify Subject Alternative Names. This may be caused by a misconfiguration or an attacker intercepting your connection."
What am I doing wrong?
https://redd.it/10t81ro
@r_devops
Reddit
Error with SSL certificate using private key and certificate from organization with SAN added
Posted in the devops community.
Not able to complete Vagrant up, with custom.ssh.password in Vagrantfile
Hello guys, I'm new to Vagrant, trying to learn sorry if this question is too dumb. I'm using below vagrantfile. Rather than using default password "vagrant", I'm trying to use custom config.ssh.password. I tried few things, I'm able to figure out.
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Define new vm called Master
config.vm.define "master" do |master|
master.vm.box = "bento/ubuntu-22.04"
master.vm.hostname= "controlplane"
master.ssh.username = 'test'
master.ssh.password = 'test'
## for private Network which would create a bridge to physical network
# master.vm.network "privatenetwork", ip: "192.168.56.111"
## for Public Network which would directly attach user to the physical network
master.vm.network "publicnetwork", type: "bridge", bridge: "wlp3s0", ip: "192.168.1.222"
master.vm.provider "virtualbox" do |provider|
provider.memory = 2048
provider.cpus = 1
end
end
end
Terminal_ouput :
==> master: Waiting for machine to boot. This may take a few minutes...
master: SSH address: 127.0.0.1:2222
master: SSH username: test
master: SSH auth method: password
[email protected]'s password:
[email protected]'s password:
master: Warning: Authentication failure. Retrying...
[email protected]'s password:
​
https://redd.it/10t866l
@r_devops
Hello guys, I'm new to Vagrant, trying to learn sorry if this question is too dumb. I'm using below vagrantfile. Rather than using default password "vagrant", I'm trying to use custom config.ssh.password. I tried few things, I'm able to figure out.
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Define new vm called Master
config.vm.define "master" do |master|
master.vm.box = "bento/ubuntu-22.04"
master.vm.hostname= "controlplane"
master.ssh.username = 'test'
master.ssh.password = 'test'
## for private Network which would create a bridge to physical network
# master.vm.network "privatenetwork", ip: "192.168.56.111"
## for Public Network which would directly attach user to the physical network
master.vm.network "publicnetwork", type: "bridge", bridge: "wlp3s0", ip: "192.168.1.222"
master.vm.provider "virtualbox" do |provider|
provider.memory = 2048
provider.cpus = 1
end
end
end
Terminal_ouput :
==> master: Waiting for machine to boot. This may take a few minutes...
master: SSH address: 127.0.0.1:2222
master: SSH username: test
master: SSH auth method: password
[email protected]'s password:
[email protected]'s password:
master: Warning: Authentication failure. Retrying...
[email protected]'s password:
​
https://redd.it/10t866l
@r_devops
Reddit
r/devops - Not able to complete Vagrant up, with custom.ssh.password in Vagrantfile
Posted in the devops community.
How is "branch deploy" useful?
https://github.blog/2023-02-02-enabling-branch-deployments-through-issueops-with-github-actions/
I don't get how this kind of deployment is better, as it means the state on production is not the state of main?
Example, I deploy a branch feat/awesome-button. I will see the awesome button in production. But if someone pull main, they won't see the button as the branch wasn't merged yet?
https://redd.it/10tamdl
@r_devops
https://github.blog/2023-02-02-enabling-branch-deployments-through-issueops-with-github-actions/
I don't get how this kind of deployment is better, as it means the state on production is not the state of main?
Example, I deploy a branch feat/awesome-button. I will see the awesome button in production. But if someone pull main, they won't see the button as the branch wasn't merged yet?
https://redd.it/10tamdl
@r_devops
The GitHub Blog
Enabling branch deployments through IssueOps with GitHub Actions
What if developers want to leverage branch deployments but don't have a full ChatOps stack integrated with their repositories? We wanted to set out to find a way for all developers to be able to take advantage of branch deployments with ease, right from their…
Hiding a website/url's identity
Hey all,
I'm sorry if this isn't the right sub for this, but devops is the closest field I could think of that may answer my question.
I have a friend who's looking into starting website/blog of a "politically sensitive" nature. The guy's a journalist with a history of quite a few death threats over his liberal views, especially from religious sources. So you can understand that the guy's safety and anonymity are paramount. What would be the best practice for such an endeavor? Over-seas hosting? Where?
I'm helping him set it up so my understanding of the tech is mostly from the developer's pov.
Thank you!
https://redd.it/10td3m6
@r_devops
Hey all,
I'm sorry if this isn't the right sub for this, but devops is the closest field I could think of that may answer my question.
I have a friend who's looking into starting website/blog of a "politically sensitive" nature. The guy's a journalist with a history of quite a few death threats over his liberal views, especially from religious sources. So you can understand that the guy's safety and anonymity are paramount. What would be the best practice for such an endeavor? Over-seas hosting? Where?
I'm helping him set it up so my understanding of the tech is mostly from the developer's pov.
Thank you!
https://redd.it/10td3m6
@r_devops
Reddit
r/devops - Hiding a website/url's identity
Posted in the devops community.
What webinar would you actually take the time to watch?
Hi there! I'm a course and webinar creator for DevOps. I'd love to get your feedback on the topics you really want to hear about in a 30-40 minute webinar. This is all thought leadership -no sales or marketing.
What would be helpful for you? Drop your ideas here, and thank you!
https://redd.it/10su2br
@r_devops
Hi there! I'm a course and webinar creator for DevOps. I'd love to get your feedback on the topics you really want to hear about in a 30-40 minute webinar. This is all thought leadership -no sales or marketing.
What would be helpful for you? Drop your ideas here, and thank you!
https://redd.it/10su2br
@r_devops
Reddit
r/devops - What webinar would you actually take the time to watch?
Posted in the devops community.
GitHub Actions for Continuous Integration
GitHub Actions for Continuous Integration
​
https://community.cisco.com/t5/devops-knowledge-articles/github-actions-for-continuous-integration/ta-p/4762097
​
The continuous integration (CI) pipeline which I’m about to share is worth sharing because it accomplishes two things in particular, which you may have assumed GitHub Actions would do out of the box, but for which I had to do some research to find and implement niche tools. These two things are:
1) Detect exactly which file(s) have changed in a Push to GitHub and assign the properties of those files to variables.
2) After running a script using those variables, automatically Commit and Push back into the GitHub repository.
The idea for this project came from our team’s desire to attach audio versions of the blogs and articles we post to the Cisco Community. This will enable those who are visually impaired and give everyone else the option to listen instead of reading. I also wanted to have a place to store all my blog and article documents, other than a folder on my desktop. This source of truth (SOT) of text templates and their associated audio MP3s will also serve as an archive for future use of this knowledge.
https://redd.it/10rsgif
@r_devops
GitHub Actions for Continuous Integration
​
https://community.cisco.com/t5/devops-knowledge-articles/github-actions-for-continuous-integration/ta-p/4762097
​
The continuous integration (CI) pipeline which I’m about to share is worth sharing because it accomplishes two things in particular, which you may have assumed GitHub Actions would do out of the box, but for which I had to do some research to find and implement niche tools. These two things are:
1) Detect exactly which file(s) have changed in a Push to GitHub and assign the properties of those files to variables.
2) After running a script using those variables, automatically Commit and Push back into the GitHub repository.
The idea for this project came from our team’s desire to attach audio versions of the blogs and articles we post to the Cisco Community. This will enable those who are visually impaired and give everyone else the option to listen instead of reading. I also wanted to have a place to store all my blog and article documents, other than a folder on my desktop. This source of truth (SOT) of text templates and their associated audio MP3s will also serve as an archive for future use of this knowledge.
https://redd.it/10rsgif
@r_devops
Cisco
GitHub Actions for Continuous Integration
Inspiration and Purpose The idea for this project came from our team’s desire to attach audio versions of the blogs and articles we post to the Cisco Community. This will enable those who are visually impaired and give everyone else the option to listen…
How are you editing helm charts?
Hi there,
I'm currently using IntelliJ IDEA with the Kubernetes plugin to edit my helm charts.
It's nice, but it's not complete. I'm looking for a better way, to help me on periodic refactor and overcome some of the annoying YAML/Helm shenanigans and boilerplate.
I'm also thinking of offloading some of the helm chart parts (mainly around deployments) to developers. The developers mostly don't know helm and know very little k8s, and I'm looking for a way to make it easier for them. Know any editor/tool/helper that can help?
In general, I would love to know, in your company, are developers involved in editing helm charts? And if so, which parts mostly?
https://redd.it/10rq8d6
@r_devops
Hi there,
I'm currently using IntelliJ IDEA with the Kubernetes plugin to edit my helm charts.
It's nice, but it's not complete. I'm looking for a better way, to help me on periodic refactor and overcome some of the annoying YAML/Helm shenanigans and boilerplate.
I'm also thinking of offloading some of the helm chart parts (mainly around deployments) to developers. The developers mostly don't know helm and know very little k8s, and I'm looking for a way to make it easier for them. Know any editor/tool/helper that can help?
In general, I would love to know, in your company, are developers involved in editing helm charts? And if so, which parts mostly?
https://redd.it/10rq8d6
@r_devops
Reddit
How are you editing helm charts?
Posted in the devops community.
Freelancer site
Hi, what is is the best website to offer my services as DevOps SRE? Thanks!
https://redd.it/10rorxd
@r_devops
Hi, what is is the best website to offer my services as DevOps SRE? Thanks!
https://redd.it/10rorxd
@r_devops
Reddit
r/devops - Freelancer site
Posted in the devops community.
When you npm build and deploy what do you do with the build file after?
I did a npm build so I can I deploy on netlify. But it's in my folder project now. I shouldn't push it to my Github right? Should I just delete it and then everytime I update my project I make a new npm build?
https://redd.it/10ruitg
@r_devops
I did a npm build so I can I deploy on netlify. But it's in my folder project now. I shouldn't push it to my Github right? Should I just delete it and then everytime I update my project I make a new npm build?
https://redd.it/10ruitg
@r_devops
Reddit
r/devops on Reddit
When you npm build and deploy what do you do with ... - No votes and 5 comments
Fedora CoreOS in 2023?
When CoreOS was shutdown and rebranded to Fedora CoreOS with less and missing features the project was basically dead for me. Is anyone using the fedora version and can tell me how it is going? If not, which alternatives are you using as Docker Base OS? Thanks!
https://redd.it/10tk67a
@r_devops
When CoreOS was shutdown and rebranded to Fedora CoreOS with less and missing features the project was basically dead for me. Is anyone using the fedora version and can tell me how it is going? If not, which alternatives are you using as Docker Base OS? Thanks!
https://redd.it/10tk67a
@r_devops
Reddit
r/devops - Fedora CoreOS in 2023?
Posted in the devops community.
How Much Time Over 40 Hours Per Week?
I'm curious how much you all work more than a stereotypical 40 hours per week? And I don't just mean hours on the job, I'm interested in how much time you invest in your career overall weekly? That could mean working more than 8 hours a day, or regularly spending time studying for certifications or working on an open source project to advance your career? Personally, I worked waaay more than 40, between working long hours and/or responding to on-call issues. I really have spent little time advancing my career (certs, etc) lately because I've worked so much. And I've really been surprised by hearing some say they work 40 hours - it seems crazy to me that what I do is just a 40 hour a week job somewhere else. And to think someone working just 40 hours might have a similar salary.
https://redd.it/10tkmys
@r_devops
I'm curious how much you all work more than a stereotypical 40 hours per week? And I don't just mean hours on the job, I'm interested in how much time you invest in your career overall weekly? That could mean working more than 8 hours a day, or regularly spending time studying for certifications or working on an open source project to advance your career? Personally, I worked waaay more than 40, between working long hours and/or responding to on-call issues. I really have spent little time advancing my career (certs, etc) lately because I've worked so much. And I've really been surprised by hearing some say they work 40 hours - it seems crazy to me that what I do is just a 40 hour a week job somewhere else. And to think someone working just 40 hours might have a similar salary.
https://redd.it/10tkmys
@r_devops
Reddit
r/devops - How Much Time Over 40 Hours Per Week?
Posted in the devops community.
Terraform Drift Detection
Hey r/devops!
​
I'm wondering if/how you do drift detection for Terraform?
This is a problem I've faced at multiple companies and none of the solutions seem all that great.
How do you get the results reported back to you?
Slack?
Email?
Some other way?
What do you do with them?
Auto remediate (i.e. run an apply)
Review some duration after and apply?
Ignore them?
https://redd.it/10tmm83
@r_devops
Hey r/devops!
​
I'm wondering if/how you do drift detection for Terraform?
This is a problem I've faced at multiple companies and none of the solutions seem all that great.
How do you get the results reported back to you?
Slack?
Email?
Some other way?
What do you do with them?
Auto remediate (i.e. run an apply)
Review some duration after and apply?
Ignore them?
https://redd.it/10tmm83
@r_devops
Reddit
r/devops - Terraform Drift Detection
Posted in the devops community.
Failed to Build Custom Packer Ubuntu Cloud Image
Makefile:24: custom-cloudimg.tar.gz\] Error 1
[https://github.com/canonical/packer-maas/issues/93](https://github.com/canonical/packer-maas/issues/93)
From: serveradmin@maas:/packer-maas/ubuntu$
I ran: sudo make custom-cloudimg.tar.gz PACKER\_LOG=1
Output:
sudo rm -f -rf output-* custom-.gz
sudo packer init . && sudo PACKER_LOG=1 packer build -only='cloudimg.' .
2023/02/01 22:59:10 [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:10 [TRACE] discovering plugins in /usr/bin
2023/02/01 22:59:10 [TRACE] discovering plugins in /root/.config/packer/plugins
2023/02/01 22:59:10 [DEBUG] Discovered plugin: qemu = /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64
2023/02/01 22:59:10 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
2023/02/01 22:59:10 [TRACE] discovering plugins in .
2023/02/01 22:59:10 [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:10 [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:10 [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:10 [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:10 [TRACE] listing potential installations for "github.com/hashicorp/qemu" that match "> 1.0". plugingetter.ListInstallationsOptions{FromFolders:[]string{"/usr/bin/packer", ".", "/root/.config/packer/plugins"}, BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc000187100)}}}}
2023/02/01 22:59:10 [TRACE] Found the following "github.com/hashicorp/qemu" installations: [{/root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 v1.0.9}]
2023/02/01 22:59:10 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
2023/02/01 22:59:10 [TRACE] validateValue: not active for https_proxy, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ssh_password, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for filename, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for kernel, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for flat_filename, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for headless, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for customize_script, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for http_directory, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for http_proxy, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ubuntu_series, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for architecture, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for no_proxy, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ssh_username, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ssh_ubuntu_password, so skipping
2023/02/01 22:59:10 [TRACE] Starting internal plugin packer-builder-null
2023/02/01 22:59:10 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-builder-null"}
2023/02/01 22:59:10 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-builder-null plugin: [WARN] Config file doesn't exist:
Makefile:24: custom-cloudimg.tar.gz\] Error 1
[https://github.com/canonical/packer-maas/issues/93](https://github.com/canonical/packer-maas/issues/93)
From: serveradmin@maas:/packer-maas/ubuntu$
I ran: sudo make custom-cloudimg.tar.gz PACKER\_LOG=1
Output:
sudo rm -f -rf output-* custom-.gz
sudo packer init . && sudo PACKER_LOG=1 packer build -only='cloudimg.' .
2023/02/01 22:59:10 [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:10 [TRACE] discovering plugins in /usr/bin
2023/02/01 22:59:10 [TRACE] discovering plugins in /root/.config/packer/plugins
2023/02/01 22:59:10 [DEBUG] Discovered plugin: qemu = /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64
2023/02/01 22:59:10 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
2023/02/01 22:59:10 [TRACE] discovering plugins in .
2023/02/01 22:59:10 [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:10 [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:10 [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:10 [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:10 [TRACE] listing potential installations for "github.com/hashicorp/qemu" that match "> 1.0". plugingetter.ListInstallationsOptions{FromFolders:[]string{"/usr/bin/packer", ".", "/root/.config/packer/plugins"}, BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc000187100)}}}}
2023/02/01 22:59:10 [TRACE] Found the following "github.com/hashicorp/qemu" installations: [{/root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 v1.0.9}]
2023/02/01 22:59:10 [INFO] found external [-packer-default-plugin-name-] builders from qemu plugin
2023/02/01 22:59:10 [TRACE] validateValue: not active for https_proxy, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ssh_password, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for filename, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for kernel, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for flat_filename, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for headless, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for customize_script, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for http_directory, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for http_proxy, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ubuntu_series, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for architecture, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for no_proxy, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ssh_username, so skipping
2023/02/01 22:59:10 [TRACE] validateValue: not active for ssh_ubuntu_password, so skipping
2023/02/01 22:59:10 [TRACE] Starting internal plugin packer-builder-null
2023/02/01 22:59:10 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-builder-null"}
2023/02/01 22:59:10 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-builder-null plugin: [WARN] Config file doesn't exist:
GitHub
Failed to Build Custom Ubuntu Cloud Image · Issue #93 · canonical/packer-maas
Makefile:24: custom-cloudimg.tar.gz] Error 1 serveradmin@maas:/packer-maas/ubuntu$ sudo make custom-cloudimg.tar.gz PACKER_LOG=1 sudo rm -f -rf output-* custom-.gz sudo packer init . &&...
/root/.packerconfig
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-builder-null plugin: args: []string{"packer-builder-null"}
2023/02/01 22:59:11 packer-builder-null plugin: Plugin address: unix /tmp/packer-plugin730629675
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin730629675
2023/02/01 22:59:11 packer-builder-null plugin: Waiting for connection...
2023/02/01 22:59:11 packer-builder-null plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell-local
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell-local"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: args: []string{"packer-provisioner-shell-local"}
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin1446554703
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: Plugin address: unix /tmp/packer-plugin1446554703
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: Waiting for connection...
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting external plugin /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 start builder -packer-default-plugin-name-
2023/02/01 22:59:11 Starting plugin: /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 []string{"/root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64", "start", "builder", "-packer-default-plugin-name-"}
2023/02/01 22:59:11 Waiting for RPC address for: /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64
2023/02/01 22:59:11 Received unix RPC address for /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64: addr is /tmp/packer-plugin3244714285
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 Plugin address: unix /tmp/packer-plugin3244714285
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 Waiting for connection...
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 Serving a plugin connection...
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 [TRACE] starting builder -packer-default-plugin-name-
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 use detected accelerator: tcg
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell
2023/02/01 22:59:11 packer-builder-null plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-builder-null plugin: args: []string{"packer-builder-null"}
2023/02/01 22:59:11 packer-builder-null plugin: Plugin address: unix /tmp/packer-plugin730629675
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin730629675
2023/02/01 22:59:11 packer-builder-null plugin: Waiting for connection...
2023/02/01 22:59:11 packer-builder-null plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell-local
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell-local"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: args: []string{"packer-provisioner-shell-local"}
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin1446554703
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: Plugin address: unix /tmp/packer-plugin1446554703
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: Waiting for connection...
2023/02/01 22:59:11 packer-provisioner-shell-local plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting external plugin /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 start builder -packer-default-plugin-name-
2023/02/01 22:59:11 Starting plugin: /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 []string{"/root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64", "start", "builder", "-packer-default-plugin-name-"}
2023/02/01 22:59:11 Waiting for RPC address for: /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64
2023/02/01 22:59:11 Received unix RPC address for /root/.config/packer/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.0.9_x5.0_linux_amd64: addr is /tmp/packer-plugin3244714285
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 Plugin address: unix /tmp/packer-plugin3244714285
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 Waiting for connection...
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 Serving a plugin connection...
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 [TRACE] starting builder -packer-default-plugin-name-
2023/02/01 22:59:11 packer-plugin-qemu_v1.0.9_x5.0_linux_amd64 plugin: 2023/02/01 22:59:11 use detected accelerator: tcg
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell
plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2023/02/01 22:59:11 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin1626014604
2023/02/01 22:59:11 packer-provisioner-shell plugin: Waiting for connection...
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin1626014604
2023/02/01 22:59:11 packer-provisioner-shell plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2023/02/01 22:59:11 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin877673212
2023/02/01 22:59:11 packer-provisioner-shell plugin: Waiting for connection...
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin877673212
2023/02/01 22:59:11 packer-provisioner-shell plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin463586335
2023/02/01 22:59:11 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin463586335
2023/02/01 22:59:11 packer-provisioner-shell plugin: Waiting for connection...
2023/02/01 22:59:11 packer-provisioner-shell plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-file
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-file"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-file plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-file plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-file plugin:
2023/02/01 22:59:11 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2023/02/01 22:59:11 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin1626014604
2023/02/01 22:59:11 packer-provisioner-shell plugin: Waiting for connection...
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin1626014604
2023/02/01 22:59:11 packer-provisioner-shell plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2023/02/01 22:59:11 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin877673212
2023/02/01 22:59:11 packer-provisioner-shell plugin: Waiting for connection...
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin877673212
2023/02/01 22:59:11 packer-provisioner-shell plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-shell
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-shell"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /root/.packerconfig
2023/02/01 22:59:11 packer-provisioner-shell plugin: [INFO] Setting cache directory: /root/.cache/packer
2023/02/01 22:59:11 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"}
2023/02/01 22:59:11 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin463586335
2023/02/01 22:59:11 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin463586335
2023/02/01 22:59:11 packer-provisioner-shell plugin: Waiting for connection...
2023/02/01 22:59:11 packer-provisioner-shell plugin: Serving a plugin connection...
2023/02/01 22:59:11 [TRACE] Starting internal plugin packer-provisioner-file
2023/02/01 22:59:11 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-file"}
2023/02/01 22:59:11 Waiting for RPC address for: /usr/bin/packer
2023/02/01 22:59:11 packer-provisioner-file plugin: [INFO] Packer version: 1.8.5 [go1.18.9 linux amd64]
2023/02/01 22:59:11 packer-provisioner-file plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2023/02/01 22:59:11 packer-provisioner-file plugin: