Hi there, please allow me to ask a question about installation.
When I installed the Openstack++ by following the README.
At the 6th step
ansible-playbook -i ./hosts openstackpp.yaml
I encountered several issues. Please see below.
TASK [openstack-controller : (HEAT) give heat_domain_admin admin privs]("give hadmin heat_stack_owner privs" has the same output) ********
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["openstack", "--os-token", "admin", "--os-url", "http://localhost:35357/v2.0", "role", "add", "--project", "admin", "--user", "heat_domain_admin", "admin"], "delta": "0:00:00.448095", "end": "2018-05-26 11:15:06.430856", "msg": "non-zero return code", "rc": 1, "start": "2018-05-26 11:15:05.982761", "stderr": "ERROR: openstack Conflict occurred attempting to store role grant - User f9a861be3fd94631acb6abd2f5395b75 already has role 7ce0923dc21b4971a81d149059f6d4f9 in tenant 34cfc118a3af4857a3896251ea3a784d (HTTP 409) (Request-ID: req-9d834613-72b0-42f8-bcd1-89ed6be7e293)", "stderr_lines": ["ERROR: openstack Conflict occurred attempting to store role grant - User f9a861be3fd94631acb6abd2f5395b75 already has role 7ce0923dc21b4971a81d149059f6d4f9 in tenant 34cfc118a3af4857a3896251ea3a784d (HTTP 409) (Request-ID: req-9d834613-72b0-42f8-bcd1-89ed6be7e293)"], "stdout": "", "stdout_lines": []}
Finally, I also got
TASK [Gathering Facts] *********************************************************
ok: [localhost]
ERROR! Cannot reset connection:
Control socket connect(/root/.ansible/cp/346ca06965): No such file or directory
What I did:
1. At the first time, I forgot to be the root user and I use "sudo" run all commands, but then I found it and used the root user to re-install all stuff by following the README.
2. When I got this error, I did try to re-install the whole thing by using the ansible-playbook command above 2 or 3 times.
3. I checked the folder "/root/.ansible/cp/", and found it is empty.
More config info:
rabbit_pw: admin
mysql_pw: admin
db_pw: admin
keystone_admin_pw: admin
admin_token: admin
metadata_secret: admin
openstack_controller_node: localhost
controller_ip: 127.0.0.1
pub_iface: eth0
flat_iface: veth0
OS: Ubuntu 14.04 LTS (I have two system on my laptop: Ubuntu 18.04 LTS)
NIC: one.
A little extra info:
When I installed 14.04 along with 18.04, the network service didn't install well due to dual systems, so I installed an extra network driver from Intel.
Any suggestions or tips will be appreciated! Do you think I have to re-install Ubuntu 14.04 LTS and do everything again?
Thank you!
UPDATED
I just re-installed my Ubuntu 14.04LTS and did the fresh installation again.
At this time, I don't any errors except the last line
ERROR! Cannot reset connection:
Control socket connect(/root/.ansible/cp/346ca06965): No such file or directory
I am guessing the reason is that I even didn't set up any connections so it cannot be reset? If not, does it matter? Thank you!
Best,
Adam