/srv/irclogs.ubuntu.com/2014/12/04/#maas.txt

=== CyberJacob is now known as CyberJacob|Away
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== racedo_ is now known as racedo
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== jfarschman is now known as MilesDenver
slaanhello !16:50
slaansorry for my language, i'm french16:51
slaanbut16:51
slaani would know if someone test MAAS with 2 network interface16:52
slaani have some problems...16:52
slaanI don't understand the juju bootstrap :/16:54
roadmrslaan: what problem are you having with 2 network interfaces?17:05
roadmrslaan: is juju bootstrap giving you trouble? or do you just need information about what the bootstrap node is used for?17:06
slaanHi roadmr17:11
slaani have a problem with the juju's bootstrap17:11
slaanmy maas server got 2 network, and it's seem that juju don't see the node when i try to bootstrap17:12
slaanit's strange because i can go with ssh within the node17:13
slaanit's look like this bug17:13
slaanhttps://bugs.launchpad.net/juju-core/+bug/131468217:13
ubot5`Launchpad bug 1314682 in juju-core "Bootstrap fails because of virt-manager config" [Medium,Triaged]17:13
slaanbut i use hardware node, no VM17:13
roadmrslaan: so when you do juju bootstrap, that's when you see the failure, correct?17:14
slaanyes17:14
roadmrslaan: juju bootstrap will ask maas to start a node, then wait and try to connect to it via SSH17:14
roadmrslaan: a question, is juju on the same machine as your maas server?17:14
slaanyes, in the same machine i have 2 network card, maas install, and juju-core17:15
slaani got a second 'bug', maybe it's linked, i can't go to the maas web gui if i don't create a directory 'maas' in home17:16
roadmrslaan: wow that's very strange...17:17
slaanyeah, i got apache error17:17
slaani can't find anything on web forum. That's why i came here :)17:17
rvbaslaan: it's https://bugs.launchpad.net/maas/+bug/139901617:18
ubot5`Launchpad bug 1399016 in maas (Ubuntu Vivid) "MAAS failed to respond once libapache2-mod-wsgi upgrade on trusty" [Critical,Confirmed]17:18
rvbaWe're in the process of fixing it.17:18
rvbaIn the meantime you can (indeed) create /home/maas manually or downgrade libapache2-mod-wsgi.17:19
slaanokay17:19
slaanthx :)17:21
slaani have to change anything if i change the network/interface ?17:23
slaani don't understand why juju can't bootstrap, it's seem like juju can't see the node17:23
slaanor, in another word, it is possible to make in the same machine an iptable to create and forwarding a sub-network, and the maas serveur ?17:26
slaanwith 2 network card17:26
slaansorry, i'm french, i don't know if i am understandable :)17:27
roadmrslaan: don't worry, your english is fine. Could you show what happens when you try to juju bootstrap? perhaps copy the text and paste it in paste.ubuntu.com?17:29
slaanmm, when i launch 'juju bootstrap --show-log --debug'17:31
slaani got this :17:31
slaanDEBUG juju.utils.ssh ssh_openssh.go:122 running: ssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -i /root/.juju/ssh/juju_id_rsa -i /root/.ssh/id_rsa -i /root/.ssh/id_dsa ubuntu@192.168.10.4 /bin/bash17:32
slaanrepeat many time17:32
slaanafter 10min, i got an error with nounce.txt or something, i try to reproduce now17:33
roadmrslaan: thanks17:33
slaanbut when i try17:34
slaanssh -o "StrictHostKeyChecking no" -o "PasswordAuthentication no" -i /root/.juju/ssh/juju_id_rsa -i /root/.ssh/id_rsa -i /root/.ssh/id_dsa ubuntu@192.168.10.417:34
slaanit's work17:34
slaanso, i can connect on ssh with the node on 192.168.10.417:35
slaani can't understand why juju can't17:35
roadmrslaan: oh that's very strange...17:39
slaan:)17:39
roadmrslaan: juju is doing the same thing...17:39
slaanmaybe in the DNS resolve ?17:39
slaanno, juju use the ip...17:40
slaanit's like this bug17:42
slaanhttps://bugs.launchpad.net/juju-core/+bug/131468217:42
ubot5`Launchpad bug 1314682 in juju-core "Bootstrap fails because of virt-manager config" [Medium,Triaged]17:42
slaanmaybe a conflict with the etc/resolv.conf ? i have the DNS of the first network within (192.168.1.1)18:13
slaanmaybe juju search the node in the first network, and can't find it18:14
roadmrslaan: oh but you said juju tries to ssh ubuntu@192.168.10.4 so it seems like it already resolved the name?18:14
slaanyes, you'r right18:15
slaani'm lost. I try to reinstall all from scratch :)18:15
roadmrslaan: it's all very strange :/ if you reinstall and still have problems, let us know18:17
slaani don't understand one thing, in this tutorial : https://maas.ubuntu.com/docs/juju-quick-start.html18:22
slaanthey say that we don't have to write any ssh auth in the environement.yaml18:22
slaanbut in this one : http://insights.ubuntu.com/wp-content/uploads/UCD-latest.pdf?utm_source=Ubuntu%20Cloud%20documentation%20%E2%80%93%2014.04%20LTS&utm_medium=download+link&utm_content=18:22
slaanoups, in the pdf within the ubuntu server page18:22
slaanthey talk about a ssh-keygen and id-rsa.pub to put within environement.yaml18:23
slaanand in another tutoriel on the web, they talk about the id-rsa.pub who are created with a "juju init"18:25
slaani don't know witch tutorial follow18:25
roadmrslaan: it's not strictly needed I think, because juju (I think) will create its own ssh key to manage the nodes with18:26
roadmrslaan: but if *you* want to be able to ssh into the nodes, you need to specify the ssh key, which should be your .ssh/id-rsa.pub data, then juju will copy that key in all nodes so you can log into them (juju ssh or simply ssh node-ip-address)18:27
roadmrslaan: you can still add keys later using juju authorised-keys add18:27
slaanit seem to be my problem, when i try an ssh connect within the terminal, it's work, but when juju try, it break. We can manage the node only with an ssh key, no ?18:29
slaanso the user in terminal got the key, but juju not ?18:29
roadmrslaan: hm, that's interesting, if juju created the node it should be able to ssh into it18:31
slaanbut the node is created by maas, when i boot the machine, the node load the system with pxe18:32
slaanthe node shutdown, i reboot it for commisionning18:32
slaanthe node shutdown again18:33
slaanand it is 'ready' on the web-gui18:33
roadmrslaan: oh, and when you do "juju bootstrap" the node shows as "deploying", right?18:36
slaan'allocated to root'18:36
slaannever seen ''deploying" :/18:39
slaani'm still trying now, and i got the same error18:39
roadmrslaan: as far as I know, juju bootstrap should put the node in "deploying" state, and then "deployed". I may be wrong18:41
slaanwithin the maas-web-gui ?18:41
roadmryes... I have my maas server here, let me try18:42
slaanwhen juju don't try to bootstrap, the node in mass-web-gui is 'ready'. When i lauch 'juju bootstrap', the node is on 'allocated to root'18:43
slaanand when i interrupt the bootstrap with a "crtl+c", the node come back to "ready"18:44
slaanhere is the complete bootstrap --debug :18:53
slaanslaan@maas:~$ juju bootstrap --show-log --debug18:53
slaan2014-12-04 18:42:30 INFO juju.cmd supercommand.go:302 running juju-1.18.4-trusty-amd64 [gc]18:53
slaan2014-12-04 18:42:30 DEBUG juju.environs.configstore disk.go:64 Making /home/slaan/.juju/environments18:53
slaan2014-12-04 18:42:30 DEBUG juju.provider.maas environprovider.go:30 opening environment "maas".18:53
slaan2014-12-04 18:42:31 INFO juju.environs.bootstrap bootstrap.go:46 bootstrapping environment "maas"18:53
slaan2014-12-04 18:42:31 DEBUG juju.environs.bootstrap synctools.go:166 looking for bootstrap tools: series="trusty", arch=<nil>, version=<nil>18:53
slaan2014-12-04 18:42:31 INFO juju.environs.tools tools.go:187 filtering tools by released version18:53
slaan2014-12-04 18:42:31 INFO juju.environs.tools tools.go:87 reading tools with major.minor version 1.1818:53
slaan2014-12-04 18:42:31 INFO juju.environs.tools tools.go:98 filtering tools by series: trusty18:53
slaan2014-12-04 18:42:31 DEBUG juju.environs.tools tools.go:46 no architecture specified when finding tools, looking for any18:53
slaan2014-12-04 18:42:31 DEBUG juju.environs.simplestreams simplestreams.go:388 fetchData failed for "tools/streams/v1/index.sjson": file '34bd3080-9674-4765-8eab-1cb9167eb804-tools/streams/v1/index.sjson' not found not found18:53
slaan2014-12-04 18:42:31 DEBUG juju.environs.simplestreams simplestreams.go:362 cannot load index "streams/v1/index.sjson": invalid URL "tools/streams/v1/index.sjson" not found18:53
slaan2014-12-04 18:42:31 DEBUG juju.environs.simplestreams simplestreams.go:388 fetchData failed for "tools/streams/v1/index.json": file '34bd3080-9674-4765-8eab-1cb9167eb804-tools/streams/v1/index.json' not found not found18:53
slaan2014-12-04 18:42:31 DEBUG juju.environs.simplestreams simplestreams.go:362 cannot load index "streams/v1/index.json": invalid URL "tools/streams/v1/index.json" not found18:53
slaan2014-12-04 18:42:31 INFO juju.utils http.go:55 hostname SSL verification enabled18:54
slaan2014-12-04 18:42:32 INFO juju.utils http.go:55 hostname SSL verification enabled18:54
slaan2014-12-04 18:42:32 DEBUG juju.environs.simplestreams simplestreams.go:575 using default candidate for content id "com.ubuntu18:54
slaanoups18:54
slaanhttp://pastebin.com/DkMbWLbc18:54
slaanbad paste, sorry :)18:54
roadmrslaan: if, on the server where you ran "juju bootstrap" you do "ping q64t8.maas", what do you see?18:58
roadmrcan it find and ping it?18:58
roadmrslaan: also, we're using different maas versions, so the things I see will be a bit different :/18:58
slaanmmm, i try to recreate the node now18:59
slaanbut i think that the host is good18:59
slaani can ping it with the ip18:59
slaanwitch mass versions did u use ?19:00
slaani have the version of the cloud, the 1.5 i think ?19:00
roadmrslaan: I have 1.7 which was released a few days ago19:01
slaanOh ?19:02
slaanMmm, i have to test this :)19:03
slaanbut it's strange, i install maas with the iso on the ubuntu server 14.04.119:03
slaanit's not the last ? i just download it this morning19:03
roadmrslaan: 1.7 is probably not yet in the archive for 14.04, you'd have to add a PPA to get it19:07
slaanmmm, interesting. I have to check that :)19:08
slaanso, i'll reinstall all from scratch with 1.7 and i tell you :)19:09
slaani'll be back ! :)19:09
slaanmany thank for your time19:09
roadmrslaan: ok, let me know. good luck!19:09
slaanand your help :)19:09
=== jfarschman is now known as MilesDenver
=== CyberJacob|Away is now known as CyberJacob
=== jfarschman is now known as MilesDenver
designateI'm having the same problem as described in https://bugs.launchpad.net/maas/+bug/1297008 .  I'm running 1.7.0+bzr3299-0ubuntu1~trusty and have 0.0.0.0/0 in /etc/squid-deb-proxy/allowed-networks-src.acl.d/99-maas, but my nodes are failing to commission.  /var/log/maas/proxy/access.log shows a bunch of TCP hit aborted messages: TCP_HIT_ABORTED/000 0 GET http://archive.ubuntu.com//ubuntu/dists/tru20:43
designatesty-updates/Release.gpg - HIER_DIRECT/2001:67c:1360:8c01::19 -20:43
ubot5`Launchpad bug 1297008 in MAAS "MAAS does not configure squid-deb-proxy for node local networks" [High,Triaged]20:43
designateAnyone know where I can start troubleshooting this issue?20:43
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
designateIs anyone aware of an issue with 1.7.0+bzr3299-0ubuntu1~trusty that would not allow a node being commissioned, to connect to the archive?22:25
=== jfarschman is now known as MilesDenver
slaanyeah, MAAS 10.7 is awsome23:54
slaangood job ! many thanks :)23:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!