juju boostrap ServerError: 500 INTERNAL SERVER ERROR ('intel-rsd')

Bug #1657503 reported by mahmoh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS RSD
Fix Released
Critical
Newell Jensen

Bug Description

MAAS Version 2.2.0 (alpha1+bzr5562)

$ juju version
2.0.2-xenial-amd64

$ juju bootstrap --debug rsdmaas rsdmaas
07:48:52 INFO juju.cmd supercommand.go:63 running juju [2.0.2 gc go1.6.2]
07:48:52 DEBUG juju.cmd supercommand.go:64 args: []string{"juju", "bootstrap", "--debug", "rsdmaas", "rsdmaas"}
07:48:52 DEBUG juju.cmd.juju.commands bootstrap.go:834 provider attrs: map[]
07:48:53 INFO cmd cmd.go:141 Adding contents of "/home/rsa/.local/share/juju/ssh/juju_id_rsa.pub" to authorized-keys
07:48:53 INFO cmd cmd.go:141 Adding contents of "/home/rsa/.ssh/id_rsa.pub" to authorized-keys
07:48:53 DEBUG juju.cmd.juju.commands bootstrap.go:890 preparing controller with config: map[logforward-enabled:false enable-os-refresh-update:true automatically-retry-hooks:true uuid:d13c9420-46e8-46d8-85eb-7d19a364ce76 resource-tags: transmit-vendor-metrics:true agent-stream:released provisioner-harvest-mode:destroyed apt-https-proxy: apt-mirror: default-series:xenial proxy-ssh:false image-stream:released image-metadata-url: logging-config: apt-http-proxy: authorized-keys:ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDvllHoCF2f4I+k8ybJhx+aNWDr7NC7P0LpJJEuUv8Ohgr851Gwm9FuL52GNqYHQCYyF7+EpSqnAwYq2TOqGcCvjUprN8L30wQQpUyTgGcFyRcNYaHLgUbSEBkHzPt4T440gIrU98y+SQ4pDnKo2UILcQ9X7biRARPO1AdkHmBn5SLRNhCSDXl+cjEW3V7WE0xngwIayE8hBgAyv02gjzhpVTlxKuEDhhCdUeQumGHx4Io+bxh2TQPTxXzSGGMrSw2MiKKBxugcY4dpqf1osyt/Avs+tqBbnEJKFR8UWfCkgUuHh/0G4QmnmMNDFVgLd+oZOEVRPGTMGf1N/kheBPHv juju-client-key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZTWVMBx1JMaJ9YNw3f+/WnCN1gszObHqJ53+sLaX/cFjEwh48n7eQ946K29IfEWi90q7SiU5C0jZgetMnLkFWnCOy9QmqysP0HlNcLOjgmodXYXBrKPxG0TKh8mu2hWAY/8q1KCMyOOlSnDryKcisorJ5nWCLMX9ZFRBiuvBOhcasF3FCEw2OqPkErRyH1fmUcl6nbVLAEd1EdAPsNyAPXOg10Qn8be+SJLXu2jeYmDvzRX97gIQT0VLCa2neTYQIAocdXNcTxXTRFmmGPm/WUhHEMZDSoU8E+9QEjRvcaDmD86Kea/EE5wlqaMA8zAkXpvx0C43GCMafWJa/sWwv rsa@un16
 enable-os-upgrade:true firewall-mode:instance disable-network-management:false name:controller https-proxy: agent-metadata-url: type:maas ignore-machine-addresses:false development:false http-proxy: test-mode:false ssl-hostname-verification:true apt-ftp-proxy: ftp-proxy: no-proxy:]
07:48:53 DEBUG juju.provider.maas environprovider.go:32 opening model "controller".
07:48:53 INFO cmd cmd.go:129 Creating Juju controller "rsdmaas" on rsdmaas
07:48:53 INFO juju.cmd.juju.commands bootstrap.go:507 combined bootstrap constraints:
07:48:53 DEBUG juju.environs.bootstrap bootstrap.go:202 model "controller" supports service/machine networks: true
07:48:53 DEBUG juju.environs.bootstrap bootstrap.go:204 network management by juju enabled: true
07:48:53 INFO cmd cmd.go:141 Loading image metadata
07:48:53 INFO cmd cmd.go:129 Looking for packaged Juju agent version 2.0.2 for amd64
07:48:53 INFO juju.environs.bootstrap tools.go:72 looking for bootstrap agent binaries: version=2.0.2
07:48:53 INFO juju.environs.tools tools.go:101 finding agent binaries in stream "released"
07:48:53 INFO juju.environs.tools tools.go:103 reading agent binaries with major.minor version 2.0
07:48:53 INFO juju.environs.tools tools.go:111 filtering agent binaries by version: 2.0.2
07:48:53 INFO juju.environs.tools tools.go:117 filtering agent binaries by architecture: amd64
07:48:53 DEBUG juju.environs.tools urls.go:109 trying datasource "keystone catalog"
07:48:54 DEBUG juju.environs.simplestreams simplestreams.go:680 using default candidate for content id "com.ubuntu.juju:released:tools" are {20161007 mirrors:1.0 content-download streams/v1/cpc-mirrors.sjson []}
07:48:57 INFO juju.environs.bootstrap tools.go:74 found 16 packaged agent binaries
07:48:57 INFO cmd cmd.go:141 Starting new instance for initial controller
Launching controller instance(s) on rsdmaas...
07:48:58 DEBUG juju.cloudconfig.instancecfg instancecfg.go:782 Setting numa ctl preference to false
07:48:58 INFO juju.provider.maas environ.go:1106 interface names to bridge for node "mmqxhr": [eth1]
07:48:58 DEBUG juju.service discovery.go:62 discovered init system "systemd" from series "xenial"
07:48:58 DEBUG juju.provider.maas environ.go:1003 maas user data; 7972 bytes
07:48:58 INFO juju.provider.common destroy.go:20 destroying model "controller"
07:48:58 INFO juju.provider.common destroy.go:31 destroying instances
07:48:59 INFO juju.provider.common destroy.go:51 destroying storage
07:48:59 ERROR cmd supercommand.go:458 failed to bootstrap model: cannot start bootstrap instance: unexpected: ServerError: 500 INTERNAL SERVER ERROR ('intel-rsd')
07:48:59 DEBUG cmd supercommand.go:459 (error details: [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:556: failed to bootstrap model} {github.com/juju/juju/provider/common/bootstrap.go:178: cannot start bootstrap instance} {github.com/juju/juju/provider/maas/environ.go:1027: } {github.com/juju/juju/provider/maas/environ.go:839: } {github.com/juju/gomaasapi/errors.go:41: } {github.com/juju/gomaasapi/controller.go:691: } {github.com/juju/gomaasapi/controller.go:722: } {github.com/juju/gomaasapi/client.go:123: } {ServerError: 500 INTERNAL SERVER ERROR ('intel-rsd')}])

Revision history for this message
mahmoh (mahmoh) wrote :

10:05:35 INFO juju.environs.bootstrap bootstrap.go:396 Installing Juju agent on bootstrap instance
getting closer:

...
10:05:38 INFO cmd cmd.go:129 Fetching Juju GUI 2.2.7
10:05:38 INFO juju.provider.common destroy.go:20 destroying model "controller"
10:05:38 INFO juju.provider.common destroy.go:31 destroying instances
10:05:39 INFO juju.provider.common destroy.go:51 destroying storage
10:05:39 ERROR cmd supercommand.go:458 failed to bootstrap model: bootstrap instance started but did not change to Deployed state: instance "7m4sne" failed to deploy
10:05:39 DEBUG cmd supercommand.go:459 (error details: [{github.com/juju/juju/cmd/juju/commands/bootstrap.go:556: failed to bootstrap model} {github.com/juju/juju/provider/maas/environ.go:172: bootstrap instance started but did not change to Deployed state} {github.com/juju/juju/provider/maas/environ.go:1174: instance "7m4sne" failed to deploy}])
rsa@un16:~$ /usr/lib/python2.7/dist-packages/recordMyDesktop/rmdMonitor.py:22: Warning: Source ID 4654 was not found when attempting to remove it
                                            gobject.source_remove(self.timed_id)

Changed in maasrsd:
status: New → Confirmed
Raghuram Kota (rkota)
Changed in maasrsd:
assignee: nobody → Newell Jensen (newell-jensen)
Changed in maasrsd:
importance: Undecided → Critical
Raghuram Kota (rkota)
Changed in maasrsd:
status: Confirmed → In Progress
milestone: none → alpha
no longer affects: maasrsd/ppa
Revision history for this message
Newell Jensen (newell-jensen) wrote :

This is no longer an issue and we are able to juju bootstrap without any issues.

Revision history for this message
Newell Jensen (newell-jensen) wrote :

For reference, the issue was fixed by running `dpkg-reconfigure maas-region-controller` and `dpkg-reconfigure maas-rack-controller` and pointing these to the 10.1.0.X networks. Additionally, juju side was updated with the correct key for intel_rsd.

Changed in maasrsd:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.