Results 1 to 3 of 3

Thread: Issue with bootstrap image

  1. #1
    Join Date
    Sep 2019
    Beans
    0

    Issue with bootstrap image

    Dear community,
    We operate a cloud infrastructure where we maintain a library with various preinstalled images with Linux/Unix. We are currently working to provide an Ubuntu installation with JUJU.
    In the process, we are getting an error which halts the progress.
    After issuing the command:
    HTML Code:
    juju bootstrap cloudsigma --debug
    we get this output:
    HTML Code:
    17:02:08 ERROR juju.cmd.juju.commands bootstrap.go:697 failed to bootstrap model: cannot start bootstrap instance: failed start instance: Failed to query drive template: 401 None
    17:02:08 DEBUG juju.cmd.juju.commands bootstrap.go:698 (error details: [{/build/juju/parts/juju/go/src/github.com/juju/juju/cmd/juju/commands/bootstrap.go:772: failed to bootstrap model} {/build/juju/parts/juju/go/src/github.com/juju/juju/environs/bootstrap/bootstrap.go:562: } {/build/juju/parts/juju/go/src/github.com/juju/juju/environs/bootstrap/bootstrap.go:471: } {/build/juju/parts/juju/go/src/github.com/juju/juju/provider/common/bootstrap.go:56: } {/build/juju/parts/juju/go/src/github.com/juju/juju/provider/common/bootstrap.go:212: cannot start bootstrap instance} {/build/juju/parts/juju/go/src/github.com/juju/juju/provider/cloudsigma/environinstance.go:81: failed start instance: Failed to query drive template: 401 None}])
    17:02:08 DEBUG juju.cmd.juju.commands bootstrap.go:1332 cleaning up after failed bootstrap
    17:02:08 INFO  juju.provider.common destroy.go:21 destroying model "controller"
    17:02:08 INFO  juju.provider.common destroy.go:32 destroying instances
    17:02:08 ERROR juju.cmd.juju.commands bootstrap.go:1334 error cleaning up: destroying instances: 400 Bad Request
    17:02:09 INFO  cmd supercommand.go:502 command finished
    Can we get some advice as to what is causing this behavior, and perhaps what we can do differently? Thanks in advance!

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Issue with bootstrap image

    Could you also include this:
    Code:
    which juju
    Did you miss this? "Failed to query drive template: 401 None"
    Last edited by 1fallen; September 20th, 2019 at 10:33 PM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Sep 2019
    Beans
    0

    Re: Issue with bootstrap image

    Hello @1fallen,

    Thank you for your answer!

    The output of
    Code:
    which juju
    is

    Code:
    root@Mk:/home/cloudsigma# which juju/snap/bin/juju
    root@Mk:/home/cloudsigma#
    Yes, we noticed the error "Failed to query drive template: 401 None", but we have a drive in the library with Juju installed on it. I am not sure how we should resolve that error. Could you please advise us?

    Thank you in advance!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •