# Habitat Help

**URL:** https://discourse.chef.io/c/hab-help/16.md?page=1

[Latest](https://discourse.chef.io/latest.md) · [Categories](https://discourse.chef.io/categories.md)

**Page:** 2

---

## [Terraform Habitat Provisioner's Service channel arguement not pulling in new pkg's with subsribed channel tag (SOLVED)](https://discourse.chef.io/t/terraform-habitat-provisioners-service-channel-arguement-not-pulling-in-new-pkgs-with-subsribed-channel-tag-solved/19340)

<div class="topic-metadata">

**Author:** [@b-luth](https://discourse.chef.io/u/b-luth)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 7:59pm UTC](https://discourse.chef.io/t/terraform-habitat-provisioners-service-channel-arguement-not-pulling-in-new-pkgs-with-subsribed-channel-tag-solved/19340 "2020-01-13T19:59:33Z")

</div>

I was wondering if anyone could answer a question I had about the promotion of channels, in conjunction with the at-once update strategy. I have an ec2 instance built by terraform that is installing our own private habit…

---

## [Old Census Data](https://discourse.chef.io/t/old-census-data/19295)

<div class="topic-metadata">

**Author:** [@username-is-already](https://discourse.chef.io/u/username-is-already)\
**Replies:** 4\
**Last updated:** [December 13, 2019, 5:47pm UTC](https://discourse.chef.io/t/old-census-data/19295 "2019-12-13T17:47:41Z")

</div>

Hi there I noticed that when looking within the census data of my ring it contains old services that are not running any more, a few references to typos I created when loading services etc, how and when is that data rem…

---

## [Help with getting hab pkg builds to happen in jenkins kubernetes pipelines](https://discourse.chef.io/t/help-with-getting-hab-pkg-builds-to-happen-in-jenkins-kubernetes-pipelines/19366)

<div class="topic-metadata">

**Author:** [@lfillmore](https://discourse.chef.io/u/lfillmore)\
**Replies:** 2\
**Last updated:** [November 15, 2019, 9:29pm UTC](https://discourse.chef.io/t/help-with-getting-hab-pkg-builds-to-happen-in-jenkins-kubernetes-pipelines/19366 "2019-11-15T21:29:29Z")

</div>

OK, I have the same issue. I have a jenkins kubernetes pipeline which works except when I need to build a new habitat package. I have attempted this 2 ways. The 1st way is not using the habitat/default-image which I jus…

---

## [Diagnosing bldr publishing to docker hub](https://discourse.chef.io/t/diagnosing-bldr-publishing-to-docker-hub/19229)

<div class="topic-metadata">

**Author:** [@chris1](https://discourse.chef.io/u/chris1)\
**Replies:** 4\
**Last updated:** [October 20, 2019, 2:08pm UTC](https://discourse.chef.io/t/diagnosing-bldr-publishing-to-docker-hub/19229 "2019-10-20T14:08:58Z")

</div>

I’ve set up an org/repo on Docker Hub and configured the Docker Hub integration in bldr. My plan linked and building successfully both on push and when triggered manually. I’m not seeing any container image getting publ…

---

## [Trying to understand why I don't permissions for /dev](https://discourse.chef.io/t/trying-to-understand-why-i-dont-permissions-for-dev/19379)

<div class="topic-metadata">

**Author:** [@bdangit](https://discourse.chef.io/u/bdangit)\
**Replies:** 2\
**Last updated:** [October 17, 2019, 2:44am UTC](https://discourse.chef.io/t/trying-to-understand-why-i-dont-permissions-for-dev/19379 "2019-10-17T02:44:24Z")

</div>

From within an alpine based docker container running hab studio run '...', I see the following error: + /hab/pkgs/core/hab-studio/0.79.1/20190410223053/libexec/busybox mount -v --bind /dev /hab/studios/builds--project-0…

---

## [Any idea what is the below error means?](https://discourse.chef.io/t/any-idea-what-is-the-below-error-means/18749)

<div class="topic-metadata">

**Author:** [@prashi89](https://discourse.chef.io/u/prashi89)\
**Replies:** 3\
**Last updated:** [October 17, 2019, 2:40am UTC](https://discourse.chef.io/t/any-idea-what-is-the-below-error-means/18749 "2019-10-17T02:40:44Z")

</div>

hab\[11378\]: builder-api.default(O): \[2019-10-11T07:00:53Z DEBUG reqwest::async\_impl::response\] Response: ‘403 Forbidden’ for https://gitlab.xxx.xxxx.xxx/api/v4/user hab\[11378\]: builder-api.default(O): \[2019-10-11T07:00:…

---

## [Query on on-prem habitat to github/bitbucket](https://discourse.chef.io/t/query-on-on-prem-habitat-to-github-bitbucket/18595)

<div class="topic-metadata">

**Author:** [@prashi89](https://discourse.chef.io/u/prashi89)\
**Replies:** 2\
**Last updated:** [October 16, 2019, 3:47am UTC](https://discourse.chef.io/t/query-on-on-prem-habitat-to-github-bitbucket/18595 "2019-10-16T03:47:53Z")

</div>

Does on-prem habitat builder will support only OAUTH functionality to authenticate to github ? or any other functionality can also support ?

---

## [Github to chef habitat oauth](https://discourse.chef.io/t/github-to-chef-habitat-oauth/18764)

<div class="topic-metadata">

**Author:** [@prashi89](https://discourse.chef.io/u/prashi89)\
**Replies:** 8\
**Last updated:** [October 11, 2019, 8:18am UTC](https://discourse.chef.io/t/github-to-chef-habitat-oauth/18764 "2019-10-11T08:18:51Z")

</div>

HI i am in stage of integrating chef habitat to github after installation of on-prem . i configured under applications and settings , but it is not working . is there a way to troubleshoot where it went wrong. my builde…

---

## [Triggering refresh of \`config\_install\` templates](https://discourse.chef.io/t/triggering-refresh-of-config-install-templates/19346)

<div class="topic-metadata">

**Author:** [@chris1](https://discourse.chef.io/u/chris1)\
**Replies:** 0\
**Last updated:** [October 10, 2019, 11:12pm UTC](https://discourse.chef.io/t/triggering-refresh-of-config-install-templates/19346 "2019-10-10T23:12:04Z")

</div>

What’s the best way to get config\_install templates re-rendered? My current method is to run hab pkg uninstall my/pkg until it stops doing anything, make sure svc\_config\_install\_path is erased, and then build/install aga…

---

## [Azure devops to chef integration](https://discourse.chef.io/t/azure-devops-to-chef-integration/18599)

<div class="topic-metadata">

**Author:** [@vadiraj](https://discourse.chef.io/u/vadiraj)\
**Replies:** 0\
**Last updated:** [October 7, 2019, 6:08am UTC](https://discourse.chef.io/t/azure-devops-to-chef-integration/18599 "2019-10-07T06:08:51Z")

</div>

Working on integrating Chef habitat with Azure Devops ( previously VSTS ). The build step successful, however in Release pipeline, in Package Export Task, exporting to in both the formats of Tar or Docker is failing due …

---

## [Is there an example of running a simple application by using the Habitat CLI for Windows](https://discourse.chef.io/t/is-there-an-example-of-running-a-simple-application-by-using-the-habitat-cli-for-windows/19319)

<div class="topic-metadata">

**Author:** [@Fishbone](https://discourse.chef.io/u/Fishbone)\
**Replies:** 8\
**Last updated:** [October 4, 2019, 11:52pm UTC](https://discourse.chef.io/t/is-there-an-example-of-running-a-simple-application-by-using-the-habitat-cli-for-windows/19319 "2019-10-04T23:52:29Z")

</div>

Because of my lack of experience with Habitat , so I would like to ask if you have any examples of running a simple application using the Habitat CLI for Windows. Like Node.js,Nginx and so on. Please show me. Grateful

---

## [On-prem builder to github/bitbucket config](https://discourse.chef.io/t/on-prem-builder-to-github-bitbucket-config/18294)

<div class="topic-metadata">

**Author:** [@prashi89](https://discourse.chef.io/u/prashi89)\
**Replies:** 0\
**Last updated:** [October 3, 2019, 9:55am UTC](https://discourse.chef.io/t/on-prem-builder-to-github-bitbucket-config/18294 "2019-10-03T09:55:51Z")

</div>

HI I would like to know does the on-prem builder will support git services which are using Apigee OAUTH services ? because my org will have only SSO functionality git related services.

---

## [Rootless docker importing keys](https://discourse.chef.io/t/rootless-docker-importing-keys/18384)

<div class="topic-metadata">

**Author:** [@bdangit](https://discourse.chef.io/u/bdangit)\
**Replies:** 1\
**Last updated:** [October 1, 2019, 5:13pm UTC](https://discourse.chef.io/t/rootless-docker-importing-keys/18384 "2019-10-01T17:13:53Z")

</div>

Is there anyway to inject keys into the studio without resorting to volume mounts? This is the scenario I am running into: I am running Gitlab-Runners inside a Docker Executor. I spin up an image with hab cli and dock…

---

## [Build Habitat plan is failing while Integrating Habitat with Azure Devops](https://discourse.chef.io/t/build-habitat-plan-is-failing-while-integrating-habitat-with-azure-devops/19363)

<div class="topic-metadata">

**Author:** [@vadiraj](https://discourse.chef.io/u/vadiraj)\
**Replies:** 4\
**Last updated:** [October 1, 2019, 2:18pm UTC](https://discourse.chef.io/t/build-habitat-plan-is-failing-while-integrating-habitat-with-azure-devops/19363 "2019-10-01T14:18:54Z")

</div>

Hello, I have installed the Habit extension to Azure Devops to Implement CI\_CD of the Java project. The build stage is failing with below error. I am working on Window 2019 server edition Install Habitat - successful …

---

## [\[Err: 4\] secret key mismatch](https://discourse.chef.io/t/err-4-secret-key-mismatch/18823)

<div class="topic-metadata">

**Author:** [@sbrars](https://discourse.chef.io/u/sbrars)\
**Replies:** 13\
**Last updated:** [October 1, 2019, 3:17am UTC](https://discourse.chef.io/t/err-4-secret-key-mismatch/18823 "2019-10-01T03:17:21Z")

</div>

Hello, I have started using habitat studio locally on my windows 10 laptop. Did the hab setup correctly and able to enter the studio. I have created a local habitat plan replicating one of the examples available online.…

---

## [Setting /hab/sup/default/CTL\_SECRET using Habitat Packages exported to Docker containers](https://discourse.chef.io/t/setting-hab-sup-default-ctl-secret-using-habitat-packages-exported-to-docker-containers/18600)

<div class="topic-metadata">

**Author:** [@kmott](https://discourse.chef.io/u/kmott)\
**Replies:** 0\
**Last updated:** [September 19, 2019, 11:26pm UTC](https://discourse.chef.io/t/setting-hab-sup-default-ctl-secret-using-habitat-packages-exported-to-docker-containers/18600 "2019-09-19T23:26:14Z")

</div>

Hello, I have been trying to set the value of /hab/sup/default/CTL\_SECRET for a Habitat package I’ve exported as Docker container, but I can’t seem to find a way to do it. If I set HAB\_CTL\_SECRET environment variable…

---

## [Hab.exe crashes due to faulting module bcrypt.dll](https://discourse.chef.io/t/hab-exe-crashes-due-to-faulting-module-bcrypt-dll/18597)

<div class="topic-metadata">

**Author:** [@MAN98EVER](https://discourse.chef.io/u/MAN98EVER)\
**Replies:** 1\
**Last updated:** [August 22, 2019, 4:33pm UTC](https://discourse.chef.io/t/hab-exe-crashes-due-to-faulting-module-bcrypt-dll/18597 "2019-08-22T16:33:31Z")

</div>

We are trying to bootstrap some of our Windows Server 2008 machines with Habitat. Installation goes fine but when we try to start the Hab Windows Service it crashes with the following entry in the Event Log: Faulting ap…

---

## [Cannot find Release of Hab Studio for 0.83.0](https://discourse.chef.io/t/cannot-find-release-of-hab-studio-for-0-83-0/18684)

<div class="topic-metadata">

**Author:** [@sirajrauff](https://discourse.chef.io/u/sirajrauff)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 2:59pm UTC](https://discourse.chef.io/t/cannot-find-release-of-hab-studio-for-0-83-0/18684 "2019-07-30T14:59:45Z")

</div>

I have a Vagrant file setup up as so: # -\*- mode: ruby -\*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "hab-development" config.ssh.username = "hab" config.ssh.password = "hab" en…

---

## [Unable to start Habitat Supervisor because another instance is running with same pid](https://discourse.chef.io/t/unable-to-start-habitat-supervisor-because-another-instance-is-running-with-same-pid/19196)

<div class="topic-metadata">

**Author:** [@manojbison](https://discourse.chef.io/u/manojbison)\
**Replies:** 1\
**Last updated:** [July 30, 2019, 12:09am UTC](https://discourse.chef.io/t/unable-to-start-habitat-supervisor-because-another-instance-is-running-with-same-pid/19196 "2019-07-30T00:09:49Z")

</div>

Unable to start Habitat Supervisor because another instance is running with same pid am not able run any hab commands please tell me the solution

---

## [Service reloading due to changing order of templated config file](https://discourse.chef.io/t/service-reloading-due-to-changing-order-of-templated-config-file/19341)

<div class="topic-metadata">

**Author:** [@oliversellers](https://discourse.chef.io/u/oliversellers)\
**Replies:** 2\
**Last updated:** [July 8, 2019, 7:13pm UTC](https://discourse.chef.io/t/service-reloading-due-to-changing-order-of-templated-config-file/19341 "2019-07-08T19:13:24Z")

</div>

Hi, Since Habitat version 0.79.1 we see our Prometheus service, which binds to many Prometheus exporters, being endlessly reloaded every ~10 seconds with the message Modified configuration file /hab/svc/prometheus/confi…

---

## [Help with building new version of zookeeper](https://discourse.chef.io/t/help-with-building-new-version-of-zookeeper/18972)

<div class="topic-metadata">

**Author:** [@Aredeex](https://discourse.chef.io/u/Aredeex)\
**Replies:** 4\
**Last updated:** [June 26, 2019, 3:56pm UTC](https://discourse.chef.io/t/help-with-building-new-version-of-zookeeper/18972 "2019-06-26T15:56:34Z")

</div>

Hello All, I am trying to build a new version of core/zookeeper, 3.4.14, and I am running into dependency issues. I started with just bumping the version in the plan to 3.4.14 trying to rebuild with the most current ve…

---

## [Issue with pkg\_optional\_binds](https://discourse.chef.io/t/issue-with-pkg-optional-binds/18973)

<div class="topic-metadata">

**Author:** [@umarla](https://discourse.chef.io/u/umarla)\
**Replies:** 4\
**Last updated:** [June 14, 2019, 5:22pm UTC](https://discourse.chef.io/t/issue-with-pkg-optional-binds/18973 "2019-06-14T17:22:47Z")

</div>

Hello, I’m trying to use pkg\_bind\_optional feature and I’m unable to access the bind data even though instance has that data received in the census. Here is the context: There are two service groups using different se…

---

## [How to run habitat commands in openshift container as root](https://discourse.chef.io/t/how-to-run-habitat-commands-in-openshift-container-as-root/19351)

<div class="topic-metadata">

**Author:** [@manojbison](https://discourse.chef.io/u/manojbison)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 5:49pm UTC](https://discourse.chef.io/t/how-to-run-habitat-commands-in-openshift-container-as-root/19351 "2019-06-11T17:49:45Z")

</div>

how to run hab commands in openshift container … its saying sudo command not found hab --version am able to execute but for habitat studio enter am getting below error Ø Could not find the \`sudo’ command, is it in your…

---

## [Bindings: how to get the private network interface IP address in a template](https://discourse.chef.io/t/bindings-how-to-get-the-private-network-interface-ip-address-in-a-template/18624)

<div class="topic-metadata">

**Author:** [@Steve\_Hummingbird](https://discourse.chef.io/u/Steve_Hummingbird)\
**Replies:** 1\
**Last updated:** [June 7, 2019, 11:33am UTC](https://discourse.chef.io/t/bindings-how-to-get-the-private-network-interface-ip-address-in-a-template/18624 "2019-06-07T11:33:01Z")

</div>

I have a prometheus server set up with habitat. Then there are exporters running on app servers, that provide a binding to the prometheus app server on which port the exporter is running. This config should be written in…

---

## [Cannot re-enter studio on Ubuntu 18.04: dev/proc/etc filesystems not unmounting](https://discourse.chef.io/t/cannot-re-enter-studio-on-ubuntu-18-04-dev-proc-etc-filesystems-not-unmounting/18238)

<div class="topic-metadata">

**Author:** [@irvingpop\_1](https://discourse.chef.io/u/irvingpop_1)\
**Replies:** 7\
**Last updated:** [May 31, 2019, 9:16pm UTC](https://discourse.chef.io/t/cannot-re-enter-studio-on-ubuntu-18-04-dev-proc-etc-filesystems-not-unmounting/18238 "2019-05-31T21:16:26Z")

</div>

Hi friends, I’ve got a new dev workstation (physical machine, fresh Ubuntu 18.04 install) and am seeing some whacky problems that I don’t understand. I create a studio in /home/irving/src - this works fine, I see the…

---

## [How to install a package with binlink within a habitat package](https://discourse.chef.io/t/how-to-install-a-package-with-binlink-within-a-habitat-package/19367)

<div class="topic-metadata">

**Author:** [@Anudeepnoble](https://discourse.chef.io/u/Anudeepnoble)\
**Replies:** 5\
**Last updated:** [May 31, 2019, 3:29pm UTC](https://discourse.chef.io/t/how-to-install-a-package-with-binlink-within-a-habitat-package/19367 "2019-05-31T15:29:06Z")

</div>

Hi , How Do I install a core package like rsync as part of another habitat package ? Adding it as a dependency will install it but not binlink it . Does adding the below in the plan take care of it ? Please guide. d…

---

## [Habitat utilizing more CPU usage](https://discourse.chef.io/t/habitat-utilizing-more-cpu-usage/19149)

<div class="topic-metadata">

**Author:** [@manojbison](https://discourse.chef.io/u/manojbison)\
**Replies:** 3\
**Last updated:** [May 29, 2019, 3:08pm UTC](https://discourse.chef.io/t/habitat-utilizing-more-cpu-usage/19149 "2019-05-29T15:08:25Z")

</div>

hi in windows os habitat is utilizing more cpu … when I stop the habitat service the cpu usage became normal kindly let me know what was the issue of more cpu usage … what needs to be done

---

## [Using a .bldr.toml to build a package with the same name but different hooks and config](https://discourse.chef.io/t/using-a-bldr-toml-to-build-a-package-with-the-same-name-but-different-hooks-and-config/19299)

<div class="topic-metadata">

**Author:** [@LunaticScripter](https://discourse.chef.io/u/LunaticScripter)\
**Replies:** 0\
**Last updated:** [May 29, 2019, 2:12pm UTC](https://discourse.chef.io/t/using-a-bldr-toml-to-build-a-package-with-the-same-name-but-different-hooks-and-config/19299 "2019-05-29T14:12:48Z")

</div>

I have a repository that contains two packages with slightly different source data. These packages have the same name effortless\_audit the hooks are different as one targets Windows and the other targets Linux. I am tryi…

---

## [Launching Docker Containers requires "Chef License Acceptance"](https://discourse.chef.io/t/launching-docker-containers-requires-chef-license-acceptance/19350)

<div class="topic-metadata">

**Author:** [@alphabeta](https://discourse.chef.io/u/alphabeta)\
**Replies:** 6\
**Last updated:** [May 25, 2019, 1:29am UTC](https://discourse.chef.io/t/launching-docker-containers-requires-chef-license-acceptance/19350 "2019-05-25T01:29:22Z")

</div>

Launching Docker Containers as a part of the “Try Habitat” Module from learn.chef.io, returns Chef License Agreement issue. Here is the output I received from Step 8 when following the module: docker-compose -p habquic…

---

## [\`hab cli setup\` vs \`hab studio enter\` Interactions](https://discourse.chef.io/t/hab-cli-setup-vs-hab-studio-enter-interactions/19378)

<div class="topic-metadata">

**Author:** [@kmott](https://discourse.chef.io/u/kmott)\
**Replies:** 3\
**Last updated:** [May 16, 2019, 7:23pm UTC](https://discourse.chef.io/t/hab-cli-setup-vs-hab-studio-enter-interactions/19378 "2019-05-16T19:23:01Z")

</div>

Hello, I have a quick question about the hab cli setup command, and expected behaviour. Basically what I did was I unset my HAB\_\* environment variables, and remove my ~/.hab/etc/cli.toml file (all of this is being run o…

[Previous page](https://discourse.chef.io/c/hab-help/16.md)

[Next page](https://discourse.chef.io/c/hab-help/16.md?page=2)
