is it possible to be using a kvm instance managed by MaaS as a juju bootstrap node?











up vote
0
down vote

favorite












background:
in the end i want to run kubernetes on a bunch of virtual machines.
to have some automation im trying to leverage the pxe-setup of maas.
it looks like juju is a good way to setup kubernetes.
also juju seems to synergize well with maas.



so i want to bootstrap juju on maas-managed virtualmachine.
the maas part (allocating+pxe boot+os setup) works, but when juju starts working on the machine i get the following error in /var/log/juju/machine-0.log



2018-12-03 11:02:00 WARNING juju.cmd.jujud machine.go:831 determining kvm support: INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used
: exit status 1


the kvm machine doesn't support nested virtualization, so it seems that juju tries to start a kvm vm on my vm, and this can't work and fails.



EDIT:



apparently the answer to my title question is yes.










share|improve this question




















  • 1




    I don't follow your description very much. Do you mean "use a kvm instance managed by MaaS as a juju bootstrap node"? If yes, my setup is in this way and works pretty well. May you provide more details e.g. your distribution and how do you setup your MaaS node?
    – tai271828
    Dec 3 at 13:04










  • i mean exactly that! apparently the warning i found is not the cause of my fail. appraenlty i didnt wait long enough... now it seems the juju client can't connect to the controller because of a tls error so i cleared the .local/share/juju directory and tried again..will update as soon as i get new results..
    – frisbee23
    Dec 3 at 13:22










  • my bootstrap command now fails after 'contacting juju controller at 172.27.30.146 to verify accessibility...' with 'ERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden'
    – frisbee23
    Dec 3 at 13:31










  • so my mistake is not fully understanding what the http-proxy and apt-proxy parameters do.. if anybody else is having similar problems see askubuntu.com/questions/953079/…
    – frisbee23
    Dec 3 at 13:37










  • so solution was to set the bootstrapped host in no_proxy on the juju-client host
    – frisbee23
    Dec 3 at 15:05















up vote
0
down vote

favorite












background:
in the end i want to run kubernetes on a bunch of virtual machines.
to have some automation im trying to leverage the pxe-setup of maas.
it looks like juju is a good way to setup kubernetes.
also juju seems to synergize well with maas.



so i want to bootstrap juju on maas-managed virtualmachine.
the maas part (allocating+pxe boot+os setup) works, but when juju starts working on the machine i get the following error in /var/log/juju/machine-0.log



2018-12-03 11:02:00 WARNING juju.cmd.jujud machine.go:831 determining kvm support: INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used
: exit status 1


the kvm machine doesn't support nested virtualization, so it seems that juju tries to start a kvm vm on my vm, and this can't work and fails.



EDIT:



apparently the answer to my title question is yes.










share|improve this question




















  • 1




    I don't follow your description very much. Do you mean "use a kvm instance managed by MaaS as a juju bootstrap node"? If yes, my setup is in this way and works pretty well. May you provide more details e.g. your distribution and how do you setup your MaaS node?
    – tai271828
    Dec 3 at 13:04










  • i mean exactly that! apparently the warning i found is not the cause of my fail. appraenlty i didnt wait long enough... now it seems the juju client can't connect to the controller because of a tls error so i cleared the .local/share/juju directory and tried again..will update as soon as i get new results..
    – frisbee23
    Dec 3 at 13:22










  • my bootstrap command now fails after 'contacting juju controller at 172.27.30.146 to verify accessibility...' with 'ERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden'
    – frisbee23
    Dec 3 at 13:31










  • so my mistake is not fully understanding what the http-proxy and apt-proxy parameters do.. if anybody else is having similar problems see askubuntu.com/questions/953079/…
    – frisbee23
    Dec 3 at 13:37










  • so solution was to set the bootstrapped host in no_proxy on the juju-client host
    – frisbee23
    Dec 3 at 15:05













up vote
0
down vote

favorite









up vote
0
down vote

favorite











background:
in the end i want to run kubernetes on a bunch of virtual machines.
to have some automation im trying to leverage the pxe-setup of maas.
it looks like juju is a good way to setup kubernetes.
also juju seems to synergize well with maas.



so i want to bootstrap juju on maas-managed virtualmachine.
the maas part (allocating+pxe boot+os setup) works, but when juju starts working on the machine i get the following error in /var/log/juju/machine-0.log



2018-12-03 11:02:00 WARNING juju.cmd.jujud machine.go:831 determining kvm support: INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used
: exit status 1


the kvm machine doesn't support nested virtualization, so it seems that juju tries to start a kvm vm on my vm, and this can't work and fails.



EDIT:



apparently the answer to my title question is yes.










share|improve this question















background:
in the end i want to run kubernetes on a bunch of virtual machines.
to have some automation im trying to leverage the pxe-setup of maas.
it looks like juju is a good way to setup kubernetes.
also juju seems to synergize well with maas.



so i want to bootstrap juju on maas-managed virtualmachine.
the maas part (allocating+pxe boot+os setup) works, but when juju starts working on the machine i get the following error in /var/log/juju/machine-0.log



2018-12-03 11:02:00 WARNING juju.cmd.jujud machine.go:831 determining kvm support: INFO: Your CPU does not support KVM extensions
KVM acceleration can NOT be used
: exit status 1


the kvm machine doesn't support nested virtualization, so it seems that juju tries to start a kvm vm on my vm, and this can't work and fails.



EDIT:



apparently the answer to my title question is yes.







juju maas kvm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 3 at 13:25

























asked Dec 3 at 12:32









frisbee23

12




12








  • 1




    I don't follow your description very much. Do you mean "use a kvm instance managed by MaaS as a juju bootstrap node"? If yes, my setup is in this way and works pretty well. May you provide more details e.g. your distribution and how do you setup your MaaS node?
    – tai271828
    Dec 3 at 13:04










  • i mean exactly that! apparently the warning i found is not the cause of my fail. appraenlty i didnt wait long enough... now it seems the juju client can't connect to the controller because of a tls error so i cleared the .local/share/juju directory and tried again..will update as soon as i get new results..
    – frisbee23
    Dec 3 at 13:22










  • my bootstrap command now fails after 'contacting juju controller at 172.27.30.146 to verify accessibility...' with 'ERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden'
    – frisbee23
    Dec 3 at 13:31










  • so my mistake is not fully understanding what the http-proxy and apt-proxy parameters do.. if anybody else is having similar problems see askubuntu.com/questions/953079/…
    – frisbee23
    Dec 3 at 13:37










  • so solution was to set the bootstrapped host in no_proxy on the juju-client host
    – frisbee23
    Dec 3 at 15:05














  • 1




    I don't follow your description very much. Do you mean "use a kvm instance managed by MaaS as a juju bootstrap node"? If yes, my setup is in this way and works pretty well. May you provide more details e.g. your distribution and how do you setup your MaaS node?
    – tai271828
    Dec 3 at 13:04










  • i mean exactly that! apparently the warning i found is not the cause of my fail. appraenlty i didnt wait long enough... now it seems the juju client can't connect to the controller because of a tls error so i cleared the .local/share/juju directory and tried again..will update as soon as i get new results..
    – frisbee23
    Dec 3 at 13:22










  • my bootstrap command now fails after 'contacting juju controller at 172.27.30.146 to verify accessibility...' with 'ERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden'
    – frisbee23
    Dec 3 at 13:31










  • so my mistake is not fully understanding what the http-proxy and apt-proxy parameters do.. if anybody else is having similar problems see askubuntu.com/questions/953079/…
    – frisbee23
    Dec 3 at 13:37










  • so solution was to set the bootstrapped host in no_proxy on the juju-client host
    – frisbee23
    Dec 3 at 15:05








1




1




I don't follow your description very much. Do you mean "use a kvm instance managed by MaaS as a juju bootstrap node"? If yes, my setup is in this way and works pretty well. May you provide more details e.g. your distribution and how do you setup your MaaS node?
– tai271828
Dec 3 at 13:04




I don't follow your description very much. Do you mean "use a kvm instance managed by MaaS as a juju bootstrap node"? If yes, my setup is in this way and works pretty well. May you provide more details e.g. your distribution and how do you setup your MaaS node?
– tai271828
Dec 3 at 13:04












i mean exactly that! apparently the warning i found is not the cause of my fail. appraenlty i didnt wait long enough... now it seems the juju client can't connect to the controller because of a tls error so i cleared the .local/share/juju directory and tried again..will update as soon as i get new results..
– frisbee23
Dec 3 at 13:22




i mean exactly that! apparently the warning i found is not the cause of my fail. appraenlty i didnt wait long enough... now it seems the juju client can't connect to the controller because of a tls error so i cleared the .local/share/juju directory and tried again..will update as soon as i get new results..
– frisbee23
Dec 3 at 13:22












my bootstrap command now fails after 'contacting juju controller at 172.27.30.146 to verify accessibility...' with 'ERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden'
– frisbee23
Dec 3 at 13:31




my bootstrap command now fails after 'contacting juju controller at 172.27.30.146 to verify accessibility...' with 'ERROR unable to contact api server after 1 attempts: unable to connect to API: Forbidden'
– frisbee23
Dec 3 at 13:31












so my mistake is not fully understanding what the http-proxy and apt-proxy parameters do.. if anybody else is having similar problems see askubuntu.com/questions/953079/…
– frisbee23
Dec 3 at 13:37




so my mistake is not fully understanding what the http-proxy and apt-proxy parameters do.. if anybody else is having similar problems see askubuntu.com/questions/953079/…
– frisbee23
Dec 3 at 13:37












so solution was to set the bootstrapped host in no_proxy on the juju-client host
– frisbee23
Dec 3 at 15:05




so solution was to set the bootstrapped host in no_proxy on the juju-client host
– frisbee23
Dec 3 at 15:05















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098139%2fis-it-possible-to-be-using-a-kvm-instance-managed-by-maas-as-a-juju-bootstrap-no%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1098139%2fis-it-possible-to-be-using-a-kvm-instance-managed-by-maas-as-a-juju-bootstrap-no%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido