Deploying charms to Juju bootstrap node


up vote
0
down vote
favorite
Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
Tried, for example, with:
juju add-machine --constraints tags=juju
Error:
Machine State DNS Inst id Series AZ Message
0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)
The machine was successfully bootstrapped via (tag _is there)
juju bootstrap --constraints tags=juju mymaas maas-controller --
config=config.yaml
juju maas cloud
add a comment |Â
up vote
0
down vote
favorite
Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
Tried, for example, with:
juju add-machine --constraints tags=juju
Error:
Machine State DNS Inst id Series AZ Message
0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)
The machine was successfully bootstrapped via (tag _is there)
juju bootstrap --constraints tags=juju mymaas maas-controller --
config=config.yaml
juju maas cloud
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
Tried, for example, with:
juju add-machine --constraints tags=juju
Error:
Machine State DNS Inst id Series AZ Message
0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)
The machine was successfully bootstrapped via (tag _is there)
juju bootstrap --constraints tags=juju mymaas maas-controller --
config=config.yaml
juju maas cloud
Is it possible to deploy a charm to Juju bootstrap node (to a container) ?
I have not been able to add machine on which Juju controller resides, and see it in the list of available machines that can be targeted for charm deployment.
Tried, for example, with:
juju add-machine --constraints tags=juju
Error:
Machine State DNS Inst id Series AZ Message
0 pending pending xenial failed to start machine 0 (failed to acquire node: No available machine matches constraints: [('zone', ['default']), ('agent_name', ['594543d5-4690-4f80-822a-60ea0446016a']), ('tags', ['juju'])] (resolved to "tags=juju zone=default")), retrying in 10s (5 more attempts)
The machine was successfully bootstrapped via (tag _is there)
juju bootstrap --constraints tags=juju mymaas maas-controller --
config=config.yaml
juju maas cloud
juju maas cloud
edited Mar 18 at 3:57


Maki
1376
1376
asked Mar 18 at 3:34
Alex S
13
13
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:
dpb@helo:~$ juju models
Controller: localhost-localhost
Model Cloud/Region Status Machines Access Last connection
controller* localhost/localhost available 1 admin just now
default localhost/localhost available 0 admin 2018-02-26
Then, use juju switch MODEL_NAME
to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:
dpb@helo:~$ juju models
Controller: localhost-localhost
Model Cloud/Region Status Machines Access Last connection
controller* localhost/localhost available 1 admin just now
default localhost/localhost available 0 admin 2018-02-26
Then, use juju switch MODEL_NAME
to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).
add a comment |Â
up vote
0
down vote
The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:
dpb@helo:~$ juju models
Controller: localhost-localhost
Model Cloud/Region Status Machines Access Last connection
controller* localhost/localhost available 1 admin just now
default localhost/localhost available 0 admin 2018-02-26
Then, use juju switch MODEL_NAME
to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:
dpb@helo:~$ juju models
Controller: localhost-localhost
Model Cloud/Region Status Machines Access Last connection
controller* localhost/localhost available 1 admin just now
default localhost/localhost available 0 admin 2018-02-26
Then, use juju switch MODEL_NAME
to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).
The juju controller node is actually in a different model. You can see it as long as you have the right permissions by doing:
dpb@helo:~$ juju models
Controller: localhost-localhost
Model Cloud/Region Status Machines Access Last connection
controller* localhost/localhost available 1 admin just now
default localhost/localhost available 0 admin 2018-02-26
Then, use juju switch MODEL_NAME
to switch between them. You have to be in the controller model to modify what used to be referred to as the bootstrap node (now called controller).
answered Apr 6 at 1:20
dpb
4,90911545
4,90911545
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1016899%2fdeploying-charms-to-juju-bootstrap-node%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password