panic while setting a config value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Unassigned |
Bug Description
$ juju version
1.13.0-saucy-amd64
$ which juju
/home/sidnei/
~/src/go/
Lightweight checkout (format: 2a)
Location:
light checkout root: .
checkout of branch: .bzr/cobzr/master
shared repository: .bzr/cobzr
Related branches:
parent branch: bzr+ssh:
$ bzr revno
1544
$ juju get u1-public-gallery -e local
charm: ubuntuone-servers
service: u1-public-gallery
settings:
api_server.
default: true
description: 'Bucket used to store file contents.
'
type: string
value: ubuntuone-storage
aws_s3.host:
default: true
description: 'Amazon S3 endpoint.
'
type: string
value: s3.amazonaws.com
aws_s3.port:
default: true
description: 'Amazon S3 port to use.
'
type: int
value: 443
aws_s3.
default: true
description: 'Proxy host to use for talking to Amazon S3.
'
type: string
value: ""
aws_s3.
default: true
description: 'Proxy port to use for talking to Amazon S3.
'
type: int
value: 0
aws_s3.use_ssl:
default: true
description: 'Use ssl when talking to Amazon S3.
'
type: boolean
value: true
config.
default: true
description: 'Which options to increment when using the prototype overlay.
'
type: string
value: ""
dependencies_
description: 'Dependencies package that should be installed.
'
type: string
value: ubuntuone-
general.
default: true
description: 'Environment that we''re running.
'
type: string
value: ""
general.
default: true
description: 'Storage backend to use for files.
'
type: string
value: s3
general.port:
default: true
description: 'Base port to listen on.
'
type: int
value: 8080
general.
default: true
description: 'Name of the service that will be configured.
'
type: string
value: appserver
host_
default: true
description: 'Host environment we''re running on. Used as the prefix to select
which configuration will be used by the underlying service (eg ''dc_production
'
type: string
value: dc
keystone.host:
default: true
description: 'Keystone endpoint host.
'
type: string
value: keystone.
keystone.path:
default: true
description: 'Keystone path to use when building the URL.
'
type: string
value: /v2.0
keystone.port:
default: true
description: 'Keystone endpoint port to use.
'
type: int
value: 443
keystone.
default: true
description: 'Proxy host to use for talking to Keystone/Swift.
'
type: string
value: ""
keystone.
default: true
description: 'Proxy port to use for talking to Keystone/Swift.
'
type: int
value: 0
keystone.region:
default: true
description: 'Keystone region to use.
'
type: string
value: lcy02
keystone.use_ssl:
default: true
description: 'Use ssl when talking to Keystone/Swift.
'
type: boolean
value: true
log_rsync_host:
default: true
description: 'Rsync host for application logs
'
type: string
value: ""
nagios_
description: 'The parameters to pass to the nrpe plugin check_http.
'
type: string
value: -I 127.0.0.1 -p 8080 -u /?status=1 -s \\'I am Alive\\'
nagios_context:
default: true
description: "Used by the nrpe-external-
will be prepended to instance name to set the host name in nagios. So for instance
the hostname would be something like:\n juju-postgresql
multiple environments with the same services in them this allows you to differentiate
between them.\n"
type: string
value: juju
new_user_shards:
default: true
description: 'Comma-separated list of shards to create new users on.
'
type: string
value: ""
pgpass:
default: true
description: 'Contents of .pgpass to be used for the service.
'
type: string
value: ""
secrets:
default: true
description: 'Secrets file override to be used for the service.
'
type: string
value: ""
session.
default: true
description: 'Domain to be used for cookie setting.
'
type: string
value: .staging.
session.
default: true
description: 'Only set cookie for secure connections.
'
type: boolean
value: true
shards:
default: true
description: 'Number of storage shards to configure.
'
type: int
value: 1
sitenames:
description: 'Site names (really, domain names) that map to this service when
reverse-
'
type: string
value: photo-gallery-
sources_list:
default: true
description: 'Custom repository entry to fetch packages from.
'
type: string
value: ""
swift.container:
default: true
description: 'Swift container to use for storage.
'
type: string
value: test
swift.
default: true
description: 'Swift container to use as fallback if object not found in default
container.
'
type: string
value: ""
template:
description: 'Supervisor config template to use.
'
type: string
value: wsgi.appserver
threads.
default: true
description: 'How many worker threads per wsgi process to run.
'
type: int
value: 4
twisted_
default: true
description: 'How many ports to open up on the parent wsgi process.
'
type: int
value: 1
twisted_
default: true
description: 'How many wsgi worker processes to run.
'
type: int
value: 4
url.base:
default: true
description: 'Base application frontend URL.
'
type: string
value: https:/
url.click_
default: true
description: 'URL for click packages private download service.
'
type: string
value: https:/
url.click_
default: true
description: 'URL for click packages public download service.
'
type: string
value: https:/
url.click_up:
default: true
description: 'URL for click packages upload service.
'
type: string
value: https:/
url.media:
default: true
description: 'URL for media resources (css, images, etc).
'
type: string
value: https:/
url.openid_
default: true
description: 'URL for OpenID/SSO service.
'
type: string
value: https:/
url.streaming:
default: true
description: 'URL for music streaming service.
'
type: string
value: https:/
url.u1ms_
default: true
description: 'URL for music search service endpoint.
'
type: string
value: http://
url.updown:
default: true
description: 'URL for web-based files upload/download service.
'
type: string
value: https:/
$ juju set u1-public-gallery general.
panic: runtime error: comparing uncomparable type map[string]
goroutine 1 [running]:
launchpad.
/home/
launchpad.
/home/
main.(*
/home/
launchpad.
/home/
launchpad.
/home/
main.Main(
/home/
main.main()
/home/
goroutine 2 [syscall]:
goroutine 8 [sleep]:
time.Sleep(
/usr/local/
labix.org/
/home/
created by labix.org/
/home/
goroutine 6 [IO wait]:
net.runtime_
/usr/local/
net.(*pollDesc)
/usr/local/
net.(*netFD)
/usr/local/
net.(*conn)
/usr/local/
bufio.(
/usr/local/
bufio.(
/usr/local/
net/http.
/usr/local/
created by net/http.
/usr/local/
goroutine 7 [select]:
net/http.
/usr/local/
created by net/http.
/usr/local/
goroutine 10 [runnable]:
net.runtime_
/usr/local/
net.(*pollDesc)
/usr/local/
net.(*netFD)
/usr/local/
net.(*conn)
/usr/local/
crypto/
/usr/local/
crypto/
/usr/local/
crypto/
/usr/local/
labix.org/
/home/
labix.org/
/home/
created by labix.org/
/home/
goroutine 11 [sleep]:
time.Sleep(
/usr/local/
labix.org/
/home/
created by labix.org/
/home/
Related branches
- Juju Engineering: Pending requested
-
Diff: 207 lines (+119/-6)2 files modifiedstate/settings.go (+37/-6)
state/settings_test.go (+82/-0)
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju-core: | |
status: | Triaged → Fix Released |