Skip to content

Commit

Permalink
Ignore chown error in openstack node, as contrail user
Browse files Browse the repository at this point in the history
will not be present.

Change-Id: Ibcd2b009cd4c3759a681a31915192f687797a423
Closes-Bug: 1612826
  • Loading branch information
cijohnson committed Sep 1, 2016
1 parent a811f35 commit d1a4e1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fabfile/tasks/ssl.py
Expand Up @@ -239,7 +239,8 @@ def copy_apiserver_ssl_certs_to_node(*nodes):
sudo("mkdir -p /etc/contrail/ssl/private/")
put(tmp_fname, cert_file, use_sudo=True)
os.remove(tmp_fname)
sudo("chown -R contrail:contrail /etc/contrail/ssl")
with settings(warn_only=True):
sudo("chown -R contrail:contrail /etc/contrail/ssl")

@task
@EXECUTE_TASK
Expand Down

0 comments on commit d1a4e1d

Please sign in to comment.