Questions tagged [juju]

Juju is a Charmed Operator Framework, composed of a Charmed Operator Lifecycle Manager and the Charmed Operator SDK.

juju logo

Juju is an Open Source Charmed Operator Framework. It helps you move from configuration management to application management and has two main components:

  • Charmed Operator Lifecycle Manager (OLM) - a hybrid-cloud application management and orchestration system that helps you from Day 0 to Day 2. Deploy, configure, scale, integrate, maintain and manage Kubernetes native, container-native and VM-native applications -- and the relations between them.

  • Charmed Operators, packaged as “Charms”, are software that encapsulate a single application and all the code and know-how it takes to operate it on Kubernetes or machines.

  • Charmed Operator SDK - a guide to help you build Charmed Operators for use with the Charmed OLM.


1419 questions
33
votes
2 answers

What is Juju? What is a Juju Charm?

What is a Juju Charm? What is it used for?
Bruno Pereira
  • 73,643
17
votes
0 answers

Agent-state pending in Juju node...NULL public-address associated?

MaaS/Juju does not unfortunately manage the attribution of resolving the IP address. In fact, once adding a new node, it seems that the agent-state is still pending forever, and of course for the other nodes: 6: agent-state: not-started …
Aimar
  • 323
15
votes
1 answer

How does Juju "co-exist" with Chef, taking the automation process "one step further"?

It is clear from this post that Juju sits at a different layer than Chef Server. Juju sits at the orchestration or service layer, while Chef sits more at the individual server or configuration layer. At one of Canonical's main Juju pages, it states…
12
votes
1 answer

What's the correct way to share a Juju environment?

I would like to deploy something but I need to be able to have teammates interact with the environment. How do I do this? Are ssh keys involved?
Jorge Castro
  • 71,754
10
votes
2 answers

How can I configure multiple deployment environments for juju?

I want to be able to deploy charms both locally and to EC2. What's an example environments.yaml that has both entries? And how can I switch between them so I can just deploy to EC2 and/or LXC?
Jorge Castro
  • 71,754
9
votes
3 answers

How to resolve "ERROR machine is already provisioned" in manual provision set up?

I set up a manually provisioned environment successfully (in local network among x3 12.04 ubuntu servers.) However adding the second machine failed twice. After the third try (installed missing dependency) their remained x2 'pending' machines. I…
ianmunoz
  • 279
  • 2
  • 8
9
votes
1 answer

How do I deploy a specific revision of a charm?

I am trying to deploy a charm, mongodb with the following: juju deploy mongodb but the newest revision introduced a bug, or for some other reason I want to deploy an older version of the charm, how can I do this?
Jorge Castro
  • 71,754
9
votes
4 answers

Does juju run on non-Ubuntu distributions?

I have been experimenting with juju for an upcoming platform evaluation Question I know I will be asked: Is it possible to run juju on non-ubuntu distros?
8
votes
1 answer

IP/DomainName of juju master or slaves changes

The juju master domain name changed from juju.this.domain.example to juju.new.domain.example because of new rules from IT managers. The IP address also changed. And, this change affected all the juju units, that now are with new IPs and domain…
ayr-ton
  • 765
8
votes
1 answer

How are log files persisted with the Logstash charm?

I'd like to use the Logstash Juju charm and was wondering how the log files are persisted. In other words, if I lose a Logstash instance will I still have access to past logs?
7
votes
2 answers

How do I force Juju to deploy a fresh charm, not a cached one?

Is there a way with juju commands to clear the juju charm cache for a particular charm from a running bootstrap node? I'm writing a charm and for during development when I've made changes to a charm but don't commit a revision…
Jorge Castro
  • 71,754
7
votes
1 answer

How do I deploy multiple stacks in an environment?

I've deployed a haproxy->lamp->mysql stack using juju. It seemed pretty straight forward and it works well from my tests. I've also seen its easy to scale a layer and add extra units to the lamp servers for example. The rest of our configuration on…
ric_harvey
  • 85
  • 3
7
votes
1 answer

How can I manage multiple administrators with juju?

I manage some deployments with juju. However I am not an island, I have coworkers who also want to manage shared environments. I know I can use the following stanza in ~/.juju/environments.yaml to give people access to my juju…
Jorge Castro
  • 71,754
6
votes
1 answer

kubectl cluster-info get 502 Bad Gateway error

I used juju deploy canonical-kubernetes to deploy a K8S. But when run ./kubectl cluster-info as The Canonical Distribution Of Kubernetes charm document said, get below error: Error from server: an error on the server ("\r\n502 Bad…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/juju" class="post-tag grid--cell" title="show questions tagged 'juju'" rel="tag">juju</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 11 '16 at 04:38">asked Oct 11 '16 at 04:38</time> <a href="../../users/464443/fkpwolf" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/464443.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="fkpwolf" /> </a> <div class="s-user-card--info"> <a href="../../users/464443/fkpwolf" class="s-user-card--link">fkpwolf</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">161</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-75298"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>6</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/75298/how-do-i-get-my-juju-charm-officially-recognized" class="question-hyperlink">How do I get my Juju Charm officially recognized?</a></h3> <div class="excerpt">I've just completed and tested a charm I made for Juju. I've followed the directions on the Juju Charms page and pushed the charm to the store. How do I get it into the charms tool or the "Charms Store"? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/juju" class="post-tag grid--cell" title="show questions tagged 'juju'" rel="tag">juju</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 04 '11 at 00:02">asked Nov 04 '11 at 00:02</time> <a href="../../users/41/marco-ceppi" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/41.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Marco Ceppi" /> </a> <div class="s-user-card--info"> <a href="../../users/41/marco-ceppi" class="s-user-card--link">Marco Ceppi</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">48,101</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/juju_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/juju_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/juju_page=18" rel="" title="Go to page 18">18</a> <a class="s-pagination--item" href="../../questions/tagged/juju_page=19" rel="" title="Go to page 19">19</a> <a class="s-pagination--item" href="../../questions/tagged/juju_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>