In a devstack-gate environment, the devstack user (stack) is used to run
devstack, and so the /etc/trove directory is writable only by the stack
user. This causes kick-start to fail when the ubuntu user tries to copy
the trove-guestagent.conf to the /etc/trove CONF directory.
Fixed this by using "sudo install" instead of a plain "cp" to copy the
config files over to the /etc/trove directory.
Reviewed: https:/ /review. openstack. org/102048 /git.openstack. org/cgit/ openstack/ trove-integrati on/commit/ ?id=50bd9cf0863 145d29aca7299cb c656027b0e7032
Committed: https:/
Submitter: Jenkins
Branch: master
commit 50bd9cf0863145d 29aca7299cbc656 027b0e7032
Author: Nikhil Manchanda <email address hidden>
Date: Mon Jun 23 15:43:55 2014 -0700
Use 'sudo install' for conf files instead of 'cp'
In a devstack-gate environment, the devstack user (stack) is used to run t.conf to the /etc/trove CONF directory.
devstack, and so the /etc/trove directory is writable only by the stack
user. This causes kick-start to fail when the ubuntu user tries to copy
the trove-guestagen
Fixed this by using "sudo install" instead of a plain "cp" to copy the
config files over to the /etc/trove directory.
Closes-bug: 1333454 4d1ec685a313fed 19a1f1ca40e
Change-Id: Ie2df541b27ceb4