Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Docker registry authentication #119

Closed
padthaitofuhot opened this issue Apr 14, 2016 · 1 comment
Closed

Support Docker registry authentication #119

padthaitofuhot opened this issue Apr 14, 2016 · 1 comment
Assignees

Comments

@padthaitofuhot
Copy link
Contributor

Currently the installer doesn't support logging in to a Docker registry, which may be required in order to pull some images. This will be analyzed and added by 2.1.0.

@padthaitofuhot padthaitofuhot self-assigned this Apr 14, 2016
@padthaitofuhot padthaitofuhot added this to the Installer 2.1.0 milestone Apr 14, 2016
padthaitofuhot added a commit to padthaitofuhot/ECS-CommunityEdition that referenced this issue Jan 17, 2017
padthaitofuhot added a commit to padthaitofuhot/ECS-CommunityEdition that referenced this issue Jan 20, 2017
padthaitofuhot added a commit to padthaitofuhot/ECS-CommunityEdition that referenced this issue Mar 21, 2017
…, custom registries, vm additions, etc.

(cherry picked from commit eae0563)

don't pull docker image since we don't even have docker yet.

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Stubs for readthedocs

.dockerignore for build tool

initial code import for installer-2.0

Add an example config file

add ECS ports and hostnames

Updated example and added some documentation

change ecs-install.yml to deploy.yml. seems smoother.

Support customizing the release artifact pulled during bootstrap.

Support customizing the release artifact pulled during bootstrap.

lib/ was in .gitignore. :/

Add .ignore files

Line endings.  again.

Line endings.  again.

Line endings

General bugfixes and bootstrap improvements.

More polish and a progress bar

set correct owner and group on files
network.json
seeds

Fix typo: itmes -> items

No need to nuke the semaphore if we're going to redeploy

Autoprovision hostnames using ECS naming scheme

Typo was causing xz to only use one core. :(

Make sure firewalld gets restarted on changes

Changed default to moon names instead of city names to help distinguish CE from Appliance

tweaks to the apk mirror selector so it works better behind firewalls.

Make a list of keys rather than sending the whole dict

Ensure we can ansible ping nodes before doing anything else.

Refactored caching in prep for EMCECS#121, EMCECS#119, EMCECS#81

Need to also remove fstab entries when uninstalling.

Open a port for fast file copy

Prep support for fast file copy

prep for ecsconfig.py

move destructive commands ecsremove.py

add shortcuts

prep for fast file copy

add bittorrent fast file copy capability
add aliases for step1, step2, etc
many bugfixes

updated to latest build

Add DHCP nameserver override flag and ability

Set registry version to ambiguous 2.
Provides latest version 2 available now.

Way to commit broken code, Travis.

refactoring for my own sanity

add map of ECS

add ansible dynamic inventory support

there's room to spell out 'database'

fix bug with persisting overridden DHCP DNS across reboots

rename default cert to emc_ssl.pem

update examples

fix bug when sp-level options are missing

enable keystone as auth provider in portal

couple torrent changes

keep proxy for pip

working on ECS management API

working on 3.0.0

license
mktorrent now in edge_community

Working on 3.0.0 sausage rollup

Working on 3.0.0 sausage

Working on 3.0.0 sausage

update booststrapper for CentOS 7.3
general sausage for ECS 3.0.0

general sausage for ECS 3.0.0

rename block_devices -> ecs_block_devices
fix ansible time sync
clarify some plays

changed torrent ffx semaphore
added 2-node example using reference deploy.yml

add second subnet to example management_subnets

update examples

tweak preflight for production

reorder step sequences for decreased torrent runtime

update network.json template for ECS 3.0.0

impose 3-node minimum for ECS 3.0 multinode

update storageos config templates for ECS 3.0

disable application.conf templating for ECS 3.0

fix network.json template

use configured blockdevs instead of vda

use deploy object instead of state object

makin' sausage for 3.0

Work around an SSH bug in Ansible 2.1

Work around an SSH bug in Ansible 2.1
Solve ssh key directory permissions race

Remove old API library; prep for ecsminion

update readme.md

update readme.md
padthaitofuhot added a commit to padthaitofuhot/ECS-CommunityEdition that referenced this issue Apr 19, 2017
…, custom registries, vm additions, etc.

(cherry picked from commit eae0563)

don't pull docker image since we don't even have docker yet.

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Stubs for readthedocs

.dockerignore for build tool

initial code import for installer-2.0

Add an example config file

add ECS ports and hostnames

Updated example and added some documentation

change ecs-install.yml to deploy.yml. seems smoother.

Support customizing the release artifact pulled during bootstrap.

Support customizing the release artifact pulled during bootstrap.

lib/ was in .gitignore. :/

Add .ignore files

Line endings.  again.

Line endings.  again.

Line endings

General bugfixes and bootstrap improvements.

More polish and a progress bar

set correct owner and group on files
network.json
seeds

Fix typo: itmes -> items

No need to nuke the semaphore if we're going to redeploy

Autoprovision hostnames using ECS naming scheme

Typo was causing xz to only use one core. :(

Make sure firewalld gets restarted on changes

Changed default to moon names instead of city names to help distinguish CE from Appliance

tweaks to the apk mirror selector so it works better behind firewalls.

Make a list of keys rather than sending the whole dict

Ensure we can ansible ping nodes before doing anything else.

Refactored caching in prep for EMCECS#121, EMCECS#119, EMCECS#81

Need to also remove fstab entries when uninstalling.

Open a port for fast file copy

Prep support for fast file copy

prep for ecsconfig.py

move destructive commands ecsremove.py

add shortcuts

prep for fast file copy

add bittorrent fast file copy capability
add aliases for step1, step2, etc
many bugfixes

updated to latest build

Add DHCP nameserver override flag and ability

Set registry version to ambiguous 2.
Provides latest version 2 available now.

Way to commit broken code, Travis.

refactoring for my own sanity

add map of ECS

add ansible dynamic inventory support

there's room to spell out 'database'

fix bug with persisting overridden DHCP DNS across reboots

rename default cert to emc_ssl.pem

update examples

fix bug when sp-level options are missing

enable keystone as auth provider in portal

couple torrent changes

keep proxy for pip

working on ECS management API

working on 3.0.0

license
mktorrent now in edge_community

Working on 3.0.0 sausage rollup

Working on 3.0.0 sausage

Working on 3.0.0 sausage

update booststrapper for CentOS 7.3
general sausage for ECS 3.0.0

general sausage for ECS 3.0.0

rename block_devices -> ecs_block_devices
fix ansible time sync
clarify some plays

changed torrent ffx semaphore
added 2-node example using reference deploy.yml

add second subnet to example management_subnets

update examples

tweak preflight for production

reorder step sequences for decreased torrent runtime

update network.json template for ECS 3.0.0

impose 3-node minimum for ECS 3.0 multinode

update storageos config templates for ECS 3.0

disable application.conf templating for ECS 3.0

fix network.json template

use configured blockdevs instead of vda

use deploy object instead of state object

makin' sausage for 3.0

Work around an SSH bug in Ansible 2.1

Work around an SSH bug in Ansible 2.1
Solve ssh key directory permissions race

Remove old API library; prep for ecsminion

update readme.md

update readme.md
@padthaitofuhot padthaitofuhot added this to Triage in Installer 2.x Apr 20, 2017
padthaitofuhot added a commit to padthaitofuhot/ECS-CommunityEdition that referenced this issue Apr 21, 2017
…, custom registries, vm additions, etc.

(cherry picked from commit eae0563)

don't pull docker image since we don't even have docker yet.

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Stubs for readthedocs

.dockerignore for build tool

initial code import for installer-2.0

Add an example config file

add ECS ports and hostnames

Updated example and added some documentation

change ecs-install.yml to deploy.yml. seems smoother.

Support customizing the release artifact pulled during bootstrap.

Support customizing the release artifact pulled during bootstrap.

lib/ was in .gitignore. :/

Add .ignore files

Line endings.  again.

Line endings.  again.

Line endings

General bugfixes and bootstrap improvements.

More polish and a progress bar

set correct owner and group on files
network.json
seeds

Fix typo: itmes -> items

No need to nuke the semaphore if we're going to redeploy

Autoprovision hostnames using ECS naming scheme

Typo was causing xz to only use one core. :(

Make sure firewalld gets restarted on changes

Changed default to moon names instead of city names to help distinguish CE from Appliance

tweaks to the apk mirror selector so it works better behind firewalls.

Make a list of keys rather than sending the whole dict

Ensure we can ansible ping nodes before doing anything else.

Refactored caching in prep for EMCECS#121, EMCECS#119, EMCECS#81

Need to also remove fstab entries when uninstalling.

Open a port for fast file copy

Prep support for fast file copy

prep for ecsconfig.py

move destructive commands ecsremove.py

add shortcuts

prep for fast file copy

add bittorrent fast file copy capability
add aliases for step1, step2, etc
many bugfixes

updated to latest build

Add DHCP nameserver override flag and ability

Set registry version to ambiguous 2.
Provides latest version 2 available now.

Way to commit broken code, Travis.

refactoring for my own sanity

add map of ECS

add ansible dynamic inventory support

there's room to spell out 'database'

fix bug with persisting overridden DHCP DNS across reboots

rename default cert to emc_ssl.pem

update examples

fix bug when sp-level options are missing

enable keystone as auth provider in portal

couple torrent changes

keep proxy for pip

working on ECS management API

working on 3.0.0

license
mktorrent now in edge_community

Working on 3.0.0 sausage rollup

Working on 3.0.0 sausage

Working on 3.0.0 sausage

update booststrapper for CentOS 7.3
general sausage for ECS 3.0.0

general sausage for ECS 3.0.0

rename block_devices -> ecs_block_devices
fix ansible time sync
clarify some plays

changed torrent ffx semaphore
added 2-node example using reference deploy.yml

add second subnet to example management_subnets

update examples

tweak preflight for production

reorder step sequences for decreased torrent runtime

update network.json template for ECS 3.0.0

impose 3-node minimum for ECS 3.0 multinode

update storageos config templates for ECS 3.0

disable application.conf templating for ECS 3.0

fix network.json template

use configured blockdevs instead of vda

use deploy object instead of state object

makin' sausage for 3.0

Work around an SSH bug in Ansible 2.1

Work around an SSH bug in Ansible 2.1
Solve ssh key directory permissions race

Remove old API library; prep for ecsminion

update readme.md

update readme.md
padthaitofuhot added a commit to padthaitofuhot/ECS-CommunityEdition that referenced this issue Apr 24, 2017
…, custom registries, vm additions, etc.

(cherry picked from commit eae0563)

don't pull docker image since we don't even have docker yet.

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Moved to /contrib/scripts

Stubs for readthedocs

.dockerignore for build tool

initial code import for installer-2.0

Add an example config file

add ECS ports and hostnames

Updated example and added some documentation

change ecs-install.yml to deploy.yml. seems smoother.

Support customizing the release artifact pulled during bootstrap.

Support customizing the release artifact pulled during bootstrap.

lib/ was in .gitignore. :/

Add .ignore files

Line endings.  again.

Line endings.  again.

Line endings

General bugfixes and bootstrap improvements.

More polish and a progress bar

set correct owner and group on files
network.json
seeds

Fix typo: itmes -> items

No need to nuke the semaphore if we're going to redeploy

Autoprovision hostnames using ECS naming scheme

Typo was causing xz to only use one core. :(

Make sure firewalld gets restarted on changes

Changed default to moon names instead of city names to help distinguish CE from Appliance

tweaks to the apk mirror selector so it works better behind firewalls.

Make a list of keys rather than sending the whole dict

Ensure we can ansible ping nodes before doing anything else.

Refactored caching in prep for EMCECS#121, EMCECS#119, EMCECS#81

Need to also remove fstab entries when uninstalling.

Open a port for fast file copy

Prep support for fast file copy

prep for ecsconfig.py

move destructive commands ecsremove.py

add shortcuts

prep for fast file copy

add bittorrent fast file copy capability
add aliases for step1, step2, etc
many bugfixes

updated to latest build

Add DHCP nameserver override flag and ability

Set registry version to ambiguous 2.
Provides latest version 2 available now.

Way to commit broken code, Travis.

refactoring for my own sanity

add map of ECS

add ansible dynamic inventory support

there's room to spell out 'database'

fix bug with persisting overridden DHCP DNS across reboots

rename default cert to emc_ssl.pem

update examples

fix bug when sp-level options are missing

enable keystone as auth provider in portal

couple torrent changes

keep proxy for pip

working on ECS management API

working on 3.0.0

license
mktorrent now in edge_community

Working on 3.0.0 sausage rollup

Working on 3.0.0 sausage

Working on 3.0.0 sausage

update booststrapper for CentOS 7.3
general sausage for ECS 3.0.0

general sausage for ECS 3.0.0

rename block_devices -> ecs_block_devices
fix ansible time sync
clarify some plays

changed torrent ffx semaphore
added 2-node example using reference deploy.yml

add second subnet to example management_subnets

update examples

tweak preflight for production

reorder step sequences for decreased torrent runtime

update network.json template for ECS 3.0.0

impose 3-node minimum for ECS 3.0 multinode

update storageos config templates for ECS 3.0

disable application.conf templating for ECS 3.0

fix network.json template

use configured blockdevs instead of vda

use deploy object instead of state object

makin' sausage for 3.0

Work around an SSH bug in Ansible 2.1

Work around an SSH bug in Ansible 2.1
Solve ssh key directory permissions race

Remove old API library; prep for ecsminion

update readme.md

update readme.md
@padthaitofuhot padthaitofuhot removed this from the Installer-2.x for ECS 3.1.0 milestone May 10, 2017
@padthaitofuhot padthaitofuhot added this to Triage in Wishlist May 11, 2017
@padthaitofuhot padthaitofuhot moved this from Wishlist to Research and Planning in Wishlist May 19, 2017
@padthaitofuhot padthaitofuhot moved this from No Milestone to Milestone 2.0.4 To-Do in Installer 2.x Jun 3, 2017
@padthaitofuhot padthaitofuhot moved this from Milestone 2.2.0 To-Do to Milestone 2.3.0 To-Do in Installer 2.x Jun 13, 2017
@padthaitofuhot padthaitofuhot added this to the installer 2.3.0 milestone Jun 13, 2017
@padthaitofuhot padthaitofuhot moved this from Milestone 2.3.0 To-Do to Milestone 2.4.0 To-Do in Installer 2.x Jun 19, 2017
@padthaitofuhot
Copy link
Contributor Author

Rather than wrap a bunch of stuff, it would probably be simplest to take a flag in bootstrap.sh and then perform a docker login (https://docs.docker.com/engine/reference/commandline/login/) at the correct time during bootstrap.sh -- assuming the user is paying attention (possibly doing things to get their attention) -- which will prompt the user to login to whatever docker registry bootstrap.sh is using. We can put docker login in a retry loop to avoid failures. It's a safe assumption the user should know their own credentials, and even if they don't, boostrap.sh is effectively idempotent so long as cli arguments don't change dramatically between executions.

@padthaitofuhot padthaitofuhot moved this from Milestone 2.4.0 To-Do to Current Milestone In-Progress in Installer 2.x Jun 20, 2017
@padthaitofuhot padthaitofuhot modified the milestones: installer 2.2.0, installer 2.3.0 Jun 20, 2017
padthaitofuhot added a commit that referenced this issue Jun 20, 2017
* ECS-CommunityEdition-119 Support Docker registry authentication

* forgot the getopt argument
@padthaitofuhot padthaitofuhot moved this from Current Milestone In-Progress to Done in Installer 2.x Jun 20, 2017
@padthaitofuhot padthaitofuhot removed this from Done in Installer 2.x Jun 20, 2017
@padthaitofuhot padthaitofuhot removed this from Research and Planning in Wishlist Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant