[Bug 1233831] [NEW] maas doesn't return zookeeper instances for newly provision environment
Peter Petrakis
peter.petrakis at canonical.com
Tue Oct 1 19:59:56 UTC 2013
Public bug reported:
The problem:
I can clearly see that a machine is allocated in response to the bootstrap request and that the
same machine is destroyed when the env is trashed, yet, I can't get a handle on the environment.
Odd thing is this problem cropped up all of a sudden. I've been provisioning via juju
maybe 5-6 times a day due to the hardware speed over the last week and it just stops working.
I've tried restart the processes, upgrading to latest maas, and rebooting. It just stays in this
state. I can't use it for anything.
ubuntu at bysen:~$ juju bootstrap --constraints arch=arm
2013-10-01 15:49:53,466 INFO Bootstrapping environment 'maas' (origin: distro type: maas)...
2013-10-01 15:49:56,714 INFO 'bootstrap' command finished successfully
ubuntu at bysen:~$ juju status
2013-10-01 15:50:37,633 INFO Connecting to environment...
2013-10-01 15:50:38,215 ERROR juju environment not found: is the environment bootstrapped?
ubuntu at bysen:~$ juju destroy-environment
WARNING: this command will destroy the 'maas' environment (type: maas).
This includes all machines, services, data, and other resources. Continue [y/N] y
2013-10-01 15:50:46,997 INFO Destroying environment 'maas' (type: maas)...
2013-10-01 15:50:50,208 INFO 'destroy_environment' command finished successfully
tcpdump (see attached) shows that nothing is being returned in response to the
status call.
13:51:06.061698 IP bysen.local.53598 > bysen.local.http: Flags [P.], seq 1:394, ack 1, win 342, options [nop,nop,TS val 18200601 ecr 18200601], length 393
E...D. at .@...
. .
. ..^.P at ....~.s...VYu.....
........GET /MAAS/api/1.0/files/?filename=provider-state&op=get HTTP/1.0
Host: 10.229.32.254
User-Agent: Twisted PageGetter
Authorization: OAuth realm="", oauth_nonce="39826450", oauth_timestamp="1380649866", oauth_consumer_key="DpGkmSKnKzGyJRW8QB", oauth_signature_method="PLAINTEXT", oauth_version="1.0", oauth_token="UUNw9cT2xh3rU8Fbq9", oauth_signature="%26bMECDATsYLtATZzG5n8dsvr8X3jUyX49"
13:51:06.061745 IP bysen.local.http > bysen.local.53598: Flags [.], ack 394, win 350, options [nop,nop,TS val 18200601 ecr 18200601], length 0
E..4oj at .@.s.
. .
. ..P.^.~.s at ......^W......
........
13:51:06.648551 IP bysen.local.http > bysen.local.53598: Flags [P.], seq 1:214, ack 394, win 350, options [nop,nop,TS val 18200748 ecr 18200601], length 213
E.. ok at .@.r.
. .
. ..P.^.~.s at ......^X......
........HTTP/1.1 200 OK
Date: Tue, 01 Oct 2013 17:51:06 GMT
Server: Apache/2.2.22 (Ubuntu)
Vary: Authorization,Cookie,Accept-Encoding
Content-Length: 3
Connection: close
Content-Type: text/html; charset=utf-8
{}
To compare, I traced my other maas, it should be returning something
like this.
Date: Tue, 01 Oct 2013 19:27:16 GMT
Server: Apache/2.2.22 (Ubuntu)
Vary: Authorization,Cookie,Accept-Encoding
Connection: close
Content-Type: text/html; charset=utf-8
zookeeper-instances: [/MAAS/api/1.0/nodes/node-845efb14-bf1e-11e2-a3df-
525400052fb9/]
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: maas 1.3+bzr1461+dfsg-0ubuntu2.2
ProcVersionSignature: Ubuntu 3.8.0-30.44-generic 3.8.13.6
Uname: Linux 3.8.0-30-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
Date: Tue Oct 1 15:35:56 2013
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
LANGUAGE=en_US:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: maas
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug raring
** Attachment added: "tcpdump.txt"
https://bugs.launchpad.net/bugs/1233831/+attachment/3854014/+files/tcpdump.txt
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1233831
Title:
maas doesn't return zookeeper instances for newly provision
environment
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1233831/+subscriptions
More information about the Ubuntu-server-bugs
mailing list