panic serving 127.0.0.1:39366

Sacha Yunusic sacha at penta-sec.com
Wed Apr 1 17:26:06 UTC 2015


Editing /etc/apt/apt.conf I can tell apt to use a proxy (on the server contains MAAS), but when installs the bootstrap and the other servers, it doesn't use that configuration.
Is there any way to tell the openstack-installer to use a proxy for apt (basically, that edit /etc/apt/apt.conf on the bootstrap and another servers)?


Sent from my Samsung Galaxy smartphone.


-------- Original message --------
From: Adam Stokes <adam.stokes at ubuntu.com> 
Date:01/04/2015  10:45  (GMT-04:00) 
To: ubuntu-openstack-installer at lists.ubuntu.com 
Subject: Re: panic serving 127.0.0.1:39366 

Looks like there are some serious network issues from your location

On Wed, Apr 1, 2015 at 9:19 AM, Sacha Yunusic <sacha at penta-sec.com> wrote:
After almost 12 hours, this is what I see on “juju status”: http://paste.ubuntu.com/10718218/

 

 

From: Sacha Yunusic 
Sent: miércoles, 01 de abril de 2015 1:38
To: ubuntu-openstack-installer at lists.ubuntu.com
Cc: Alfredo Novoa; Cristóbal Medina Moenne (cmedinamoenne at gmail.com)
Subject: panic serving 127.0.0.1:39366

 

Hi everyone,

 

Today I was installing again Openstack from scratch with Autopilot.

When Landscape was being deployed, after 2700 seconds (45 minutes), it gave me an critical error (on MAAS server, folder .cloud-install/commands.log, error #1: http://paste.ubuntu.com/10716471/). As you can see there, it was a timeout (“Reached deployment timeout.. exiting”), so I decided to see what was going on, and I discover that plenty of data was being downloaded from cloud-images.ubuntu.com, so I decided to wait, and see what happened after it would ended downloading everything…

 

After 3 hours (yes three hours.. I have only 1Mbps international link, versus 10Mbps for national traffic.. I’m in Chile) it ended… the problem is there was an error (error #2: http://paste.ubuntu.com/10716439/) on the bootstrap server, on /var/log/juju/machine-0.log with this message: “…panic serving 127.0.0.1:39366: runtime error: invalid memory address or nil pointer dereference goroutine…”. I have no clue what that is.

 

Any clue on this?

 

 

Some thoughts before ending this email:

1.- I updated /etc/apt/sources.list to point to http://cl.archive.ubuntu.com/ubuntu/ instead an international mirror. That will help for regular packages, but I guess there will be no difference on the openstack ones, or those from cloud-images.ubuntu.com, which I guess are not mirrored. I’ll do it just in case.

2.- I will get a proxy on a faster connection in order to know if there is any difference on the installation result.

 

PS: Here is error # with some formatting:

Error #1:

[ERROR • 03-31 22:39:44] • cloudinstall.multi_install • (multi_install.py, run_deployer, 756)]

Problem deploying Landscape: {'output': "2015-03-31 21:54:44 [DEBUG] deployer.cli: Using runtime GoEnvironment on maas

2015-03-31 21:54:44 [INFO] deployer.cli: Starting deployment of landscape-dense-maas

2015-03-31 21:54:44 [DEBUG] deployer.import: Getting charms...

2015-03-31 21:54:44 [DEBUG] deployer.charm: Cache dir /home/akainix/.cloud-install/juju/.deployer-store-cache/cs_trusty_haproxy-1

2015-03-31 21:54:44 [DEBUG] deployer.charm: Retrieving store charm cs:trusty/haproxy-1

2015-03-31 21:54:45 [DEBUG] deployer.charm: Cache dir /home/akainix/.cloud-install/juju/.deployer-store-cache/cs_trusty_postgresql-3

2015-03-31 21:54:45 [DEBUG] deployer.charm: Retrieving store charm cs:trusty/postgresql-3

2015-03-31 21:54:46 [DEBUG] deployer.charm: Cache dir /home/akainix/.cloud-install/juju/.deployer-store-cache/cs_trusty_landscape-server

2015-03-31 21:54:47 [DEBUG] deployer.charm: Retrieving store charm cs:trusty/landscape-server-8

2015-03-31 21:54:48 [DEBUG] deployer.charm: Cache dir /home/akainix/.cloud-install/juju/.deployer-store-cache/cs_trusty_apache2-4

2015-03-31 21:54:48 [DEBUG] deployer.charm: Retrieving store charm cs:trusty/apache2-4

2015-03-31 21:54:50 [DEBUG] deployer.charm: Cache dir /home/akainix/.cloud-install/juju/.deployer-store-cache/cs_trusty_rabbitmq-server-7

2015-03-31 21:54:50 [DEBUG] deployer.charm: Retrieving store charm cs:trusty/rabbitmq-server-7

2015-03-31 21:54:51 [DEBUG] deployer.charm: Cache dir /home/akainix/.cloud-install/juju/.deployer-store-cache/cs_trusty_landscape-server

2015-03-31 21:54:51 [DEBUG] deployer.deploy: Resolving configuration

2015-03-31 21:54:51 [DEBUG] deployer.env: Connecting to environment...

2015-03-31 21:54:52 [DEBUG] deployer.env: Connected to environment

2015-03-31 21:54:52 [INFO] deployer.import: Deploying services...

2015-03-31 21:54:52 [DEBUG] deployer.import: <deployer.env.go.GoEnvironment object at 0x7f3195f47c10>

2015-03-31 21:54:52 [INFO] deployer.import:  Deploying service apache2 using cs:trusty/apache2-4

2015-03-31 21:54:52 [DEBUG] deployer.import:  Refetching status for placement deploys

2015-03-31 21:55:04 [INFO] deployer.import:  Deploying service haproxy using cs:trusty/haproxy-1

2015-03-31 21:55:11 [INFO] deployer.import:  Deploying service landscape using cs:trusty/landscape-server

2015-03-31 21:55:18 [INFO] deployer.import:  Deploying service landscape-msg using cs:trusty/landscape-server

2015-03-31 21:55:23 [INFO] deployer.import:  Deploying service postgresql using cs:trusty/postgresql-3

2015-03-31 21:55:30 [INFO] deployer.import:  Deploying service rabbitmq-server using cs:trusty/rabbitmq-server-7

2015-03-31 21:55:41 [DEBUG] deployer.import: Adding units...

2015-03-31 21:55:42 [DEBUG] deployer.import:  Service 'apache2' does not need any more units added.

2015-03-31 21:55:42 [DEBUG] deployer.import:  Service 'haproxy' does not need any more units added.

2015-03-31 21:55:42 [DEBUG] deployer.import:  Service 'landscape' does not need any more units added.

2015-03-31 21:55:42 [DEBUG] deployer.import:  Service 'landscape-msg' does not need any more units added.

2015-03-31 21:55:42 [DEBUG] deployer.import:  Service 'postgresql' does not need any more units added.

2015-03-31 21:55:42 [DEBUG] deployer.import:  Service 'rabbitmq-server' does not need any more units added.

2015-03-31 21:55:42 [DEBUG] deployer.import: Waiting for units before adding relations

2015-03-31 22:39:43 [DEBUG] deployer.env: Connecting to environment...

2015-03-31 22:39:44 [DEBUG] deployer.env: Connected to environment

2015-03-31 22:39:44 [ERROR] deployer.import: Reached deployment timeout.. exiting

2015-03-31 22:39:44 [INFO] deployer.cli: Deployment stopped. run time: 2700.94

", 'status': 1}

 

[DEBUG • 03-31 22:39:44] • cloudinstall.utils • (utils.py, global_exchandler, 62)]

   Traceback (most recent call last):

  File "/usr/share/openstack/cloudinstall/utils.py", line 77, in run

    super().run()

  File "/usr/lib/python3.4/threading.py", line 868, in run

    self._target(*self._args, **self._kwargs)

  File "/usr/share/openstack/cloudinstall/machinewait.py", line 127, in do_continue

    self.installer.do_install()

  File "/usr/share/openstack/cloudinstall/multi_install.py", line 177, in do_install

    self.loop).run()

  File "/usr/share/openstack/cloudinstall/multi_install.py", line 706, in run

    self.deploy_landscape()

  File "/usr/share/openstack/cloudinstall/multi_install.py", line 721, in deploy_landscape

    self.run_deployer()

  File "/usr/share/openstack/cloudinstall/multi_install.py", line 757, in run_deployer

    raise Exception("Error deploying Landscape.")

Exception: Error deploying Landscape.

 

[INFO  • 03-31 22:40:03] • cloudinstall.utils • (utils.py, cleanup, 90)]

   Cleanup, saving latest config object.

[DEBUG • 03-31 22:40:03] • cloudinstall.utils • (utils.py, cleanup, 96)]

   Attempting to reset the terminal

 

Sacha Yunusic | Gerente Técnico | Pentagon Security & Akainix

Av. Kennedy 4700, Piso 10, Of. 1002, Edificio New Century, Vitacura | Código Postal (ZIP Code) 7630454

Central: (56-2) 2246 1050 | Directo: (56-2) 2246 2620 | Cel: (56-9) 9883 4752 | www.penta-sec.com & www.akainix.com

 


--
ubuntu-openstack-installer mailing list
ubuntu-openstack-installer at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-openstack-installer




-- 
[ Adam Stokes ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-openstack-installer/attachments/20150401/03b96662/attachment-0001.html>


More information about the ubuntu-openstack-installer mailing list