ansibleplaybookbundle / apb-base

Base image for APB development
Apache License 2.0
8 stars 14 forks source link

Bug 1793336: use nss_wrapper method to update passwd #57

Closed jmrodri closed 4 years ago

jmrodri commented 4 years ago

/etc/passwd is not writable. This was one of the proposed options to fix the problem. It requires nss_wrapper.

Source: http://blog.dscpl.com.au/2015/12/unknown-user-when-running-docker.html

jmrodri commented 4 years ago
[jesusr@transam linux{master}]$ oc logs bundle-b7245227-5c00-486d-899c-1a887b5171c8
DEPRECATED: APB playbooks should be stored at /opt/apb/project

PLAY [mariadb-apb provision] ***************************************************

TASK [ansibleplaybookbundle.asb-modules : debug] *******************************
skipping: [localhost]

TASK [mariadb-apb : Update last operation] *************************************
changed: [localhost]

TASK [mariadb-apb : Backup database] *******************************************
skipping: [localhost]

TASK [mariadb-apb : Rsync to APB] **********************************************
skipping: [localhost]

TASK [mariadb-apb : Take down old deployment and pvc (if it exists)] ***********
skipping: [localhost] => (item=pvc.yaml.j2) 
skipping: [localhost] => (item=deployment.yaml.j2) 

TASK [mariadb-apb : Update last operation] *************************************
skipping: [localhost]

TASK [mariadb-apb : Set mariadb objects state=present] *************************
changed: [localhost] => (item={u'name': u'service.yaml.j2'})
skipping: [localhost] => (item={u'apply': False, u'name': u'pvc.yaml.j2'}) 
changed: [localhost] => (item={u'name': u'deployment.yaml.j2'})

TASK [mariadb-apb : Update last operation] *************************************
changed: [localhost]

TASK [mariadb-apb : Wait for deployment to become available] *******************
skipping: [localhost]

TASK [mariadb-apb : rsync db backup to new pod] ********************************
skipping: [localhost]

TASK [mariadb-apb : Restore database] ******************************************
skipping: [localhost]

TASK [mariadb-apb : encode bind credentials] ***********************************
changed: [localhost]

TASK [mariadb-apb : Update last operation] *************************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost                  : ok=5    changed=5    unreachable=0    failed=0   
fabianvf commented 4 years ago

/lgtm