Overcloud deployment fails with permission issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
New
|
Undecided
|
Unassigned |
Bug Description
I'm noticing the following issue when I deploy and overcloud:
/usr/
Check for required inputs -------
/usr/
Temporary directory [ /tmp/tripleo2mu
Ansible execution success. playbook: /usr/share/
Temporary directory [ /tmp/tripleo5e8
Checking for blacklisted hosts from stack: overcloud
Retrieving configuration for stack: overcloud
Generating configuration under the directory: /tmp/tripleo-
Getting deployment data from Heat...
The TripleO configuration has been successfully generated into: /tmp/tripleo-
Snapshotting /tmp/tripleo-
Created commit 32db3d535e07a1e
Downloading configuration for stack: overcloud
Retrieving keyfile for stack: overcloud
Generating information for stack: overcloud
Executing deployment playbook for stack: overcloud
Running Ansible playbook with timeout 231m: /var/lib/
Temporary directory [ /tmp/tripleo0cl
Temporary directory [ /tmp/tripleo3oy
Exception occured while running the command
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
return super(Command, self).run(
File "/usr/lib/
return_code = self.take_
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
PermissionE
[Errno 1] Operation not permitted: '/var/lib/
END return value: 1
(undercloud) [stack@undercloud ~]$
I originally stood up the environment without any issues and I'm seeing the above issue during a redeployment of the overcloud.
I'm installing the overcloud using:
$ openstack overcloud deploy \
--verbose \
--templates /usr/share/
--ntp-server clock.redhat.com \
--deployed-server \
--disable-
--overcloud-
--overcloud-ssh-key ~/.ssh/id_rsa \
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e /usr/share/
-e ~/container-
-e ~/parameters.yaml
These are the parameters I'm using in parameters.yaml:
[stack@undercloud ~]$ cat parameters.yaml
resource_registry:
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
OS::TripleO:
parameter_defaults:
RootStackName: overcloud
ControllerCount: 1
ComputeCount: 1
NtpServer:
- clock.redhat.com
- clock2.redhat.com
EC2MetadataIp: 192.168.24.1
ControlPlaneD
DockerInsecur
- undercloud.
# This corresponds to the provision network interface.
NeutronPublic
DnsSearchDomains: ["ooo.test", "lbragstad-
IdMServer: ipa.lbragstad-
IdMDomain: lbragstad-
DnsServers: ["192.168.1.13"]
CloudDomain: ooo.test
CloudName: overcloud.ooo.test
CloudNameInte
CloudNameStorage: overcloud.
CloudNameStor
CloudNameCtlp
KeystoneLDAPD
KeystoneLDAPB
tripleo:
url: ldap://192.168.1.13
user: uid=admin,
password: password
suffix: dc=ooo,dc=test
user_tree_dn: cn=users,
user_
user_
# This maps the hostname values from each role to the hostname for each server.
# For example, the default value for hostnames in the Controller role is
# overcloud-
# That value needs to map to the actual host name specified in Upshift. If you
# supply an override to the hostname through role data, you need to update this
# map. It's setup to assume the defaults. If this mapping isn't correct, the
# overcloud install will fail because the hosts aren't discoverable.
HostnameMap:
overcloud-
overcloud-
# This is a list of all the infrastructure we want to use for the
# pre-provisioned deployment. Each IP address is associated to the
# provisioning netowrk in Upshift. This ensures the overcloud and undercloud
# are using the same interface to communicate.
DeployedServe
control_
fixed_ips:
- ip_address: 192.168.24.100
subnets:
- cidr: 192.168.24.0/24
network:
tags:
- 192.168.24.0/24
controller-
fixed_ips:
- ip_address: 192.168.24.16
subnets:
- cidr: 192.168.24.0/24
network:
tags:
- 192.168.24.0/24
compute-
fixed_ips:
- ip_address: 192.168.24.10
subnets:
- cidr: 192.168.24.0/24
network:
tags:
- 192.168.24.0/24