Ocata -> Pike undercloud upgrade: stack user is not able to connect to docker daemon after undercloud upgrade:
[stack@undercloud-0 ~]$ openstack undercloud upgrade
#############################################################################
Undercloud upgrade complete.
The file containing this installation's passwords is at
/home/stack/undercloud-passwords.conf.
There is also a stackrc file at /home/stack/stackrc.
These files are needed to interact with the OpenStack services, and should be
secured.
#############################################################################
[stack@undercloud-0 ~]$
[stack@undercloud-0 ~]$
[stack@undercloud-0 ~]$
[stack@undercloud-0 ~]$
[stack@undercloud-0 ~]$
[stack@undercloud-0 ~]$
[stack@undercloud-0 ~]$
[stack@undercloud-0 ~]$ docker ps
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
After exiting the current shell session it is able to connect to the daemon:
[stack@undercloud-0 ~]$ logout
[root@undercloud-0 ~]# su - stack
Last login: Wed Jun 21 09:42:25 UTC 2017 on pts/2
[stack@undercloud-0 ~]$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
stack user is added to docker group during upgrade/install, but group membership will not take effect until stack user logs out and back in or the host is restarted.