I've tried for 2 days to get this to work and I'm stumped.
using my laptop w/ubuntu 14.04 desktop
remote server /w ubuntu 14.04 fresh server install

I am the only account on both systems and I have both ssh and sudo access
on both

I can ssh & login to server just fine

I even set up passwordless ssh for me from laptop to server and doing

   ssh me@server logs me directly into it just fine.

On laptop I've installed juju

Created configuration template environments.yaml with:

    default: manual

        manual:
            type: manual
            # bootstrap-host holds the host name of the machine where the
            # bootstrap machine agent will be started.
            bootstrap-host: <server_ip>
            # bootstrap-user specifies the user to authenticate as when
            # connecting to the bootstrap machine. If defaults to
            # the current user.
            # bootstrap-user: <my_username_id>
            # storage-listen-ip specifies the IP address that the
            # bootstrap machine's Juju storage server will listen
            # on. By default, storage will be served on all
            # network interfaces.
            # storage-listen-ip:
            # storage-port specifes the TCP port that the
            # bootstrap machine's Juju storage server will listen
            # on. It defaults to 8040
            # storage-port: 8040

On my laptop I execute the following

    *$ juju switch manual*

then

   * $ juju bootstrap*

Juju appears to connect to the Server ok but I keep getting asked for a
password??

The Juju Documentation at:   https://juju.ubuntu.com/docs/config-manual.html
says...

*The manual provider does not perform automatic machine provisioning like
other providers; instead, you must manually provision machines into the
environment. Provisioning machines is described in the following sections.*
*Bootstrapping*

*To bootstrap a manual environment, you must specify the bootstrap-host
configuration, and optionally the bootstrap-user configuration. If
bootstrap-user is not specified, then Juju will ssh to the bootstrap host
as the current user. Once the configuration is specified, you bootstrap as
usual:*

*juju bootstrap
*

*The juju bootstrap command will connect to bootstrap-host via SSH, and
copy across and install the Juju agent.*

*When bootstrapping, Juju will create the "ubuntu" user if it does not
already exist. To eliminate the need for repeated password prompts, Juju
will configure password-less ssh and sudo for the ubuntu user.*
I've tried with the environments.yaml "bootstrap-user" set to my User ID
and i have also tried with "bootstrap-user" commented out which as the
above documentation states "should" default to me as the "current user".

First... Why would the *juju bootstrap* prompt for a passworrd

Second... What password can this be??  Its not mine on either system and I
also tried just "ubuntu" in case but neither is accepted.

Both Ubuntu systems, my lapttop and the server, have had sudo apt-get
update && sudo apt-get upgrade so they both should have had all latest
package updates.

Anyone got any ideas?

Does juju manual bootstrap work in 14.04?

thanks in advance

Brian
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to