Discussion:
ERROR fetching hosted model spaces: adding subnet
soumaya kanta nayek
2017-12-21 05:49:23 UTC
Permalink
Hi,



We are in a process of integrating vEPC with juju as orchestrator on OPNFV
platform . I am getting an error to bootstrap a juju controller on
openstack . And the error is as follows .



The bootstrap command is fired through python code and the command is .



Bootstrap Command : 'juju bootstrap abot-epc abot-controller '

'--config network={}
--metadata-source ~ '

'--config
ssl-hostname-verification=false '

'--constraints mem=2G
--bootstrap-series '

'trusty '

'--config
use-floating-ip=true --debug'.

format(net_id))



CONSOLE_DEBUG_LOG:



017-12-15 07:47:59 DEBUG juju.worker runner.go:395 no restart, removing
"txnlog" from known workers

2017-12-15 07:47:59 DEBUG juju.state open.go:618 closed state without error

ERROR fetching hosted model spaces: adding subnet "169.254.192.0/18": subnet
"169.254.192.0/18" already exists

2017-12-15 07:47:59 DEBUG cmd supercommand.go:459 error stack:

github.com/juju/juju/state/subnets.go:222: subnet "169.254.192.0/18" already
exists

github.com/juju/juju/state/subnets.go:235:

github.com/juju/juju/state/subnets.go:235: adding subnet "169.254.192.0/18"

github.com/juju/juju/state/spacesdiscovery.go:78:

github.com/juju/juju/state/spacesdiscovery.go:51:

github.com/juju/juju/agent/agentbootstrap/bootstrap.go:223: fetching hosted
model spaces

github.com/juju/juju/cmd/jujud/agent/agent.go:104:

2017-12-15 07:47:59 DEBUG juju.cmd.jujud main.go:187 jujud complete, code 0,
err <nil>

07:47:59 ERROR juju.cmd.juju.commands bootstrap.go:496 failed to bootstrap
model: subprocess encountered error code 1

07:47:59 DEBUG juju.cmd.juju.commands bootstrap.go:497 (error details:
[{github.com/juju/juju/cmd/juju/commands/bootstrap.go:588: failed to
bootstrap model} {subprocess encountered error code 1}])



We are not able understand the , is it any bug or any configuration mistake
which we need to rectify .



I am attaching debug log of the bootstrap for more detail information .



Thanks

Soumaya

Loading...