Portainer - Portainer - Unable To Deploy | PlexGuide.com

Portainer Portainer - Unable To Deploy

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

SpencerUk

Active
Original poster
Staff
Apr 17, 2018
36
10
So upgrading from 5.99 to 6.003 and for some reason. When trying to re-install Portainer;

Code:
PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
Thursday 05 July 2018  08:36:42 +0100 (0:00:00.406)       0:00:00.406 *********
ok: [127.0.0.1]

TASK [portainer : include_vars] ************************************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:01.875)       0:00:02.281 *********
ok: [127.0.0.1]

TASK [include_role : pgmstart] *************************************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:00.047)       0:00:02.329 *********

TASK [pgmstart : Register Domain] **********************************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:00.064)       0:00:02.393 *********
changed: [127.0.0.1]

TASK [pgmstart : Register IP] **************************************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:00.181)       0:00:02.575 *********
changed: [127.0.0.1]

TASK [pgmstart : Register Ports] ***********************************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:00.105)       0:00:02.680 *********
changed: [127.0.0.1]

TASK [pgmstart : Register HD Path] *********************************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:00.107)       0:00:02.787 *********
changed: [127.0.0.1]

TASK [pgmstart : Register Auth Path] *******************************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:00.106)       0:00:02.894 *********
changed: [127.0.0.1]

TASK [pgmstart : Logging Ansible Role Information] *****************************
Thursday 05 July 2018  08:36:44 +0100 (0:00:00.103)       0:00:02.997 *********
changed: [127.0.0.1]

TASK [pgmstart : Remove portainer Container] ***********************************
Thursday 05 July 2018  08:36:45 +0100 (0:00:00.107)       0:00:03.105 *********
ok: [127.0.0.1]

TASK [pgmstart : Storing Role Name] ********************************************
Thursday 05 July 2018  08:36:45 +0100 (0:00:00.356)       0:00:03.461 *********
changed: [127.0.0.1]

TASK [portainer : create plexguide network] ************************************
Thursday 05 July 2018  08:36:45 +0100 (0:00:00.105)       0:00:03.566 *********
ok: [127.0.0.1]

TASK [portainer : portainer Container] *****************************************
Thursday 05 July 2018  08:36:45 +0100 (0:00:00.352)       0:00:03.919 *********
ok: [127.0.0.1]

TASK [portainer : Create portainer directories] ********************************
Thursday 05 July 2018  08:36:46 +0100 (0:00:00.202)       0:00:04.122 *********
ok: [127.0.0.1] => (item=/opt/appdata/portainer)

TASK [portainer : Deploy portainer Container] **********************************
Thursday 05 July 2018  08:36:46 +0100 (0:00:00.177)       0:00:04.300 *********
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: create_host_config() got an unexpected keyword argument 'init'
fatal: [127.0.0.1]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_UJX7wK/ansible_module_docker_container.py\", line 2081, in <module>\n    main()\n  File \"/tmp/ansible_UJX7wK/ansible_module_docker_container.py\", line 2076, in main\n    cm = ContainerManager(client)\n  File \"/tmp/ansible_UJX7wK/ansible_module_docker_container.py\", line 1703, in __init__\n    self.present(state)\n  File \"/tmp/ansible_UJX7wK/ansible_module_docker_container.py\", line 1723, in present\n    new_container = self.container_create(self.parameters.image, self.parameters.create_parameters)\n  File \"/tmp/ansible_UJX7wK/ansible_module_docker_container.py\", line 825, in create_parameters\n    host_config=self._host_config(),\n  File \"/tmp/ansible_UJX7wK/ansible_module_docker_container.py\", line 931, in _host_config\n    return self.client.create_host_config(**params)\n  File \"/usr/local/lib/python2.7/dist-packages/docker/api/container.py\", line 157, in create_host_config\n    return utils.create_host_config(*args, **kwargs)\nTypeError: create_host_config() got an unexpected keyword argument 'init'\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}
        to retry, use: --limit @/opt/plexguide/pg.retry

PLAY RECAP *********************************************************************
127.0.0.1                  : ok=13   changed=7    unreachable=0    failed=1

Thursday 05 July 2018  08:36:48 +0100 (0:00:02.059)       0:00:06.359 *********
===============================================================================
portainer : Deploy portainer Container ---------------------------------- 2.06s
Gathering Facts --------------------------------------------------------- 1.88s
pgmstart : Remove portainer Container ----------------------------------- 0.36s
portainer : create plexguide network ------------------------------------ 0.35s
portainer : portainer Container ----------------------------------------- 0.20s
pgmstart : Register Domain ---------------------------------------------- 0.18s
portainer : Create portainer directories -------------------------------- 0.18s
pgmstart : Logging Ansible Role Information ----------------------------- 0.11s
pgmstart : Register Ports ----------------------------------------------- 0.11s
pgmstart : Register HD Path --------------------------------------------- 0.11s
pgmstart : Storing Role Name -------------------------------------------- 0.11s
pgmstart : Register IP -------------------------------------------------- 0.11s
pgmstart : Register Auth Path ------------------------------------------- 0.10s
include_role : pgmstart ------------------------------------------------- 0.06s
portainer : include_vars ------------------------------------------------ 0.05s
Press any key to continue
------

Ansible Bug Test;

Code:
PLAY [localhost] ***************************************************************

TASK [Gathering Facts] *********************************************************
Thursday 05 July 2018  08:46:12 +0100 (0:00:00.260)       0:00:00.260 *********
ok: [127.0.0.1]

TASK [test : Removing A Folder] ************************************************
Thursday 05 July 2018  08:46:14 +0100 (0:00:01.137)       0:00:01.398 *********
changed: [127.0.0.1]

TASK [test : Create Basic Directories] *****************************************
Thursday 05 July 2018  08:46:14 +0100 (0:00:00.166)       0:00:01.565 *********
changed: [127.0.0.1] => (item=/tmp/test)

PLAY RECAP *********************************************************************
127.0.0.1                  : ok=3    changed=2    unreachable=0    failed=0

Thursday 05 July 2018  08:46:14 +0100 (0:00:00.099)       0:00:01.664 *********
===============================================================================
Gathering Facts --------------------------------------------------------- 1.14s
test : Removing A Folder ------------------------------------------------ 0.17s
test : Create Basic Directories ----------------------------------------- 0.10s

If no RED, Ansible is good; if RED, ansible is bugged!
Thoughts?

---- Automatically Merged Double Post ----

Tried to do a jump from .003 to .006 and same issue occures

---- Automatically Merged Double Post ----

Ok, so I've now rolled back from Ansible 2.6 to 2.5.5 and still unable to deploy for some reason;

Code:
TASK [portainer : Deploy portainer Container] **********************************
Thursday 05 July 2018  09:43:47 +0100 (0:00:00.170)       0:00:02.420 *********
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "Error pulling portainer/portainer - code: None message: open /var/lib/docker/tmp/GetImageBlob602194160: no such file or directory"}
        to retry, use: --limit @/opt/plexguide/pg.retry
 
Last edited:
  • Like
Reactions: 1 user

SpencerUk

Active
Original poster
Staff
Apr 17, 2018
36
10
Further update: Uninstalled Plexguide completely and re-installed...appears to now be working...on .005 anyway.
 
  • Like
Reactions: 1 user

Admin9705

Administrator
Project Manager
Donor
Jan 17, 2018
5,156
2,112
haha good news :D
 

Recommend NewsGroups

      Up To a 58% Discount!

Trending