<div dir="ltr"><div>When playing with openstack-ansible do it in a virtual setup (e.g. nested virtualization with libvirt) so you can reproducibly bring up your environment from scratch.</div><div>You will have to do it multiple times.</div><div><br></div><div><a href="https://developer.rackspace.com/blog/life-without-devstack-openstack-development-with-osa/" rel="noreferrer" target="_blank" style="color:rgb(17,85,204);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">https://developer.rackspace.<wbr>com/blog/life-without-<wbr>devstack-openstack-<wbr>development-with-osa/</a> is more than 2 years old.</div><div><br></div><div>Try to follow <a href="https://docs.openstack.org/openstack-ansible/latest/contributor/quickstart-aio.html">https://docs.openstack.org/openstack-ansible/latest/contributor/quickstart-aio.html</a> but git clone the latest state of the openstack-ansible repo.</div><div>The above page has a link that can be used to submit bugs directly to the openstack-ansible project at launchpad.</div><div>In this way you may be able to cleanup/improve the documentation,</div><div>and since your setup is the simplest possible one your bug reports may get noticed and reproduced by the developers.</div><div>What happens is that most people try <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">openstack-ansible, don't report bugs, or report the bugs without the information neccesary</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">to reproduce them, </span>and abandon the whole idea.</div><div><br></div><div>Try to search <a href="https://bugs.launchpad.net/openstack-ansible/+bugs?field.searchtext=galera">https://bugs.launchpad.net/openstack-ansible/+bugs?field.searchtext=galera</a> for inspiration about what to do.</div><div>Currently the galera setup in <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">openstack-ansible</span>, especially on centos7 seems to be undergoing some critical changes.</div><div>Enter the galera container:</div><div>lxc-attach -n <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">aio1_galera_container-4f488f6a</span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">look around it, check whether mysqld is running etc., try to identify which ansible tasks failed and run them manually inside of the container.</span></div><div><br></div><div>Marcin</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 4, 2018 at 3:41 AM, Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have noticed in output "aio1_galera_container" is failed, how do i<br>
fixed this kind of issue?<br>
<br>
<br>
<br>
PLAY RECAP ******************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>********************<br>
aio1                       : ok=41   changed=4    unreachable=0    failed=0<br>
aio1_cinder_api_container-<wbr>2af4dd01 : ok=0    changed=0<br>
unreachable=0    failed=0<br>
aio1_cinder_scheduler_<wbr>container-454db1fb : ok=0    changed=0<br>
unreachable=0    failed=0<br>
aio1_designate_container-<wbr>f7ea3f73 : ok=0    changed=0    unreachable=0<br>
   failed=0<br>
aio1_galera_container-4f488f6a : ok=32   changed=3    unreachable=0    failed=1<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Feb 3, 2018 at 9:26 PM, Satish Patel <<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>> wrote:<br>
> I have re-install centos7 and give it a try and got this error<br>
><br>
> DEBUG MESSAGE RECAP ******************************<wbr>******************************<br>
> DEBUG: [Load local packages] ******************************<wbr>*********************<br>
> All items completed<br>
><br>
> Saturday 03 February 2018  21:04:07 -0500 (0:00:04.175)       0:16:17.204 *****<br>
> ==============================<wbr>==============================<wbr>===================<br>
> repo_build : Create OpenStack-Ansible requirement wheels -------------- 268.16s<br>
> repo_build : Wait for the venvs builds to complete -------------------- 110.30s<br>
> repo_build : Install packages ------------------------------<wbr>------------ 68.26s<br>
> repo_build : Clone git repositories asynchronously --------------------- 59.85s<br>
> pip_install : Install distro packages ------------------------------<wbr>---- 36.72s<br>
> galera_client : Install galera distro packages ------------------------- 33.21s<br>
> haproxy_server : Create haproxy service config files ------------------- 30.81s<br>
> repo_build : Execute the venv build scripts asynchonously -------------- 29.69s<br>
> pip_install : Install distro packages ------------------------------<wbr>---- 23.56s<br>
> repo_server : Install repo server packages ----------------------------- 20.11s<br>
> memcached_server : Install distro packages ----------------------------- 16.35s<br>
> repo_build : Create venv build options files --------------------------- 14.57s<br>
> haproxy_server : Install HAProxy Packages ------------------------------<wbr>- 8.35s<br>
> rsyslog_client : Install rsyslog packages ------------------------------<wbr>- 8.33s<br>
> rsyslog_client : Install rsyslog packages ------------------------------<wbr>- 7.64s<br>
> rsyslog_client : Install rsyslog packages ------------------------------<wbr>- 7.42s<br>
> repo_build : Wait for git clones to complete ---------------------------- 7.25s<br>
> repo_server : Install repo caching server packages ---------------------- 4.76s<br>
> galera_server : Check that WSREP is ready ------------------------------<wbr>- 4.18s<br>
> repo_server : Git service data folder setup ----------------------------- 4.04s<br>
> ++ exit_fail 341 0<br>
> ++ set +x<br>
> ++ info_block 'Error Info - 341' 0<br>
> ++ echo ------------------------------<wbr>------------------------------<wbr>----------<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> ++ print_info 'Error Info - 341' 0<br>
> ++ PROC_NAME='- [ Error Info - 341 0 ] -'<br>
> ++ printf '\n%s%s\n' '- [ Error Info - 341 0 ] -'<br>
> ------------------------------<wbr>--------------<br>
><br>
> - [ Error Info - 341 0 ] ------------------------------<wbr>---------------<br>
> ++ echo ------------------------------<wbr>------------------------------<wbr>----------<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> ++ exit_state 1<br>
> ++ set +x<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
><br>
> - [ Run Time = 2030 seconds || 33 minutes ] --------------------------<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
><br>
> - [ Status: Failure ] ------------------------------<wbr>------------------<br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
><br>
><br>
><br>
><br>
> I don't know why it failed<br>
><br>
> but i tried following:<br>
><br>
> [root@aio ~]# lxc-ls -f<br>
> NAME                                        STATE   AUTOSTART GROUPS<br>
>          IPV4                                           IPV6<br>
> aio1_cinder_api_container-<wbr>2af4dd01          RUNNING 1         onboot,<br>
> openstack 10.255.255.62, 172.29.238.210, 172.29.244.152  -<br>
> aio1_cinder_scheduler_<wbr>container-454db1fb    RUNNING 1         onboot,<br>
> openstack 10.255.255.117, 172.29.239.172                 -<br>
> aio1_designate_container-<wbr>f7ea3f73           RUNNING 1         onboot,<br>
> openstack 10.255.255.235, 172.29.239.166                 -<br>
> aio1_galera_container-4f488f6a              RUNNING 1         onboot,<br>
> openstack 10.255.255.193, 172.29.236.69                  -<br>
> aio1_glance_container-f8caa9e6              RUNNING 1         onboot,<br>
> openstack 10.255.255.225, 172.29.239.52, 172.29.246.25   -<br>
> aio1_heat_api_container-<wbr>8321a763            RUNNING 1         onboot,<br>
> openstack 10.255.255.104, 172.29.236.186                 -<br>
> aio1_heat_apis_container-<wbr>3f70ad74           RUNNING 1         onboot,<br>
> openstack 10.255.255.166, 172.29.239.13                  -<br>
> aio1_heat_engine_container-<wbr>a18e5a0a         RUNNING 1         onboot,<br>
> openstack 10.255.255.118, 172.29.238.7                   -<br>
> aio1_horizon_container-<wbr>e493275c             RUNNING 1         onboot,<br>
> openstack 10.255.255.98, 172.29.237.43                   -<br>
> aio1_keystone_container-<wbr>c0e23e14            RUNNING 1         onboot,<br>
> openstack 10.255.255.60, 172.29.237.165                  -<br>
> aio1_memcached_container-<wbr>ef8fed4c           RUNNING 1         onboot,<br>
> openstack 10.255.255.214, 172.29.238.211                 -<br>
> aio1_neutron_agents_container-<wbr>131e996e      RUNNING 1         onboot,<br>
> openstack 10.255.255.153, 172.29.237.246, 172.29.243.227 -<br>
> aio1_neutron_server_container-<wbr>ccd69394      RUNNING 1         onboot,<br>
> openstack 10.255.255.27, 172.29.236.129                  -<br>
> aio1_nova_api_container-<wbr>73274024            RUNNING 1         onboot,<br>
> openstack 10.255.255.42, 172.29.238.201                  -<br>
> aio1_nova_api_metadata_<wbr>container-a1d32282   RUNNING 1         onboot,<br>
> openstack 10.255.255.218, 172.29.238.153                 -<br>
> aio1_nova_api_os_compute_<wbr>container-52725940 RUNNING 1         onboot,<br>
> openstack 10.255.255.109, 172.29.236.126                 -<br>
> aio1_nova_api_placement_<wbr>container-058e8031  RUNNING 1         onboot,<br>
> openstack 10.255.255.29, 172.29.236.157                  -<br>
> aio1_nova_conductor_container-<wbr>9b6b208c      RUNNING 1         onboot,<br>
> openstack 10.255.255.18, 172.29.239.9                    -<br>
> aio1_nova_console_container-<wbr>0fb8995c        RUNNING 1         onboot,<br>
> openstack 10.255.255.47, 172.29.237.129                  -<br>
> aio1_nova_scheduler_container-<wbr>8f7a657a      RUNNING 1         onboot,<br>
> openstack 10.255.255.195, 172.29.238.113                 -<br>
> aio1_rabbit_mq_container-<wbr>c3450d66           RUNNING 1         onboot,<br>
> openstack 10.255.255.111, 172.29.237.202                 -<br>
> aio1_repo_container-8e07fdef                RUNNING 1         onboot,<br>
> openstack 10.255.255.141, 172.29.239.79                  -<br>
> aio1_rsyslog_container-<wbr>b198fbe5             RUNNING 1         onboot,<br>
> openstack 10.255.255.13, 172.29.236.195                  -<br>
> aio1_swift_proxy_container-<wbr>1a3536e1         RUNNING 1         onboot,<br>
> openstack 10.255.255.108, 172.29.237.31, 172.29.244.248  -<br>
> aio1_utility_container-<wbr>bd106f11             RUNNING 1         onboot,<br>
> openstack 10.255.255.54, 172.29.239.124                  -<br>
> [root@aio ~]# lxc-a<br>
> lxc-attach     lxc-autostart<br>
> [root@aio ~]# lxc-attach -n aio1_utility_container-<wbr>bd106f11<br>
> [root@aio1-utility-container-<wbr>bd106f11 ~]#<br>
> [root@aio1-utility-container-<wbr>bd106f11 ~]# source /root/openrc<br>
> [root@aio1-utility-container-<wbr>bd106f11 ~]# openstack<br>
> openstack                         openstack-host-hostfile-setup.<wbr>sh<br>
> [root@aio1-utility-container-<wbr>bd106f11 ~]# openstack<br>
> openstack                         openstack-host-hostfile-setup.<wbr>sh<br>
> [root@aio1-utility-container-<wbr>bd106f11 ~]# openstack user list<br>
> Failed to discover available identity versions when contacting<br>
> <a href="http://172.29.236.100:5000/v3" rel="noreferrer" target="_blank">http://172.29.236.100:5000/v3</a>. Attempting to parse version from URL.<br>
> Service Unavailable (HTTP 503)<br>
> [root@aio1-utility-container-<wbr>bd106f11 ~]#<br>
><br>
><br>
> not sure what is this error ?<br>
><br>
><br>
> On Sat, Feb 3, 2018 at 7:29 PM, Satish Patel <<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>> wrote:<br>
>> I have tired everything but didn't able to find solution :(  what i am<br>
>> doing wrong here, i am following this instruction and please let me<br>
>> know if i am wrong<br>
>><br>
>> <a href="https://developer.rackspace.com/blog/life-without-devstack-openstack-development-with-osa/" rel="noreferrer" target="_blank">https://developer.rackspace.<wbr>com/blog/life-without-<wbr>devstack-openstack-<wbr>development-with-osa/</a><br>
>><br>
>> I have CentOS7, with 8 CPU and 16GB memory with 100GB disk size.<br>
>><br>
>> Error: <a href="http://paste.openstack.org/show/660497/" rel="noreferrer" target="_blank">http://paste.openstack.org/<wbr>show/660497/</a><br>
>><br>
>><br>
>> I have tired gate-check-commit.sh but same error :(<br>
>><br>
>><br>
>><br>
>> On Sat, Feb 3, 2018 at 1:11 AM, Satish Patel <<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>> wrote:<br>
>>> I have started playing with openstack-ansible on CentOS7 and trying to<br>
>>> install All-in-one but got this error and not sure what cause that<br>
>>> error how do i troubleshoot it?<br>
>>><br>
>>><br>
>>> TASK [bootstrap-host : Remove an existing private/public ssh keys if<br>
>>> one is missing]<br>
>>> ******************************<wbr>******************************<wbr>************<br>
>>> skipping: [localhost] => (item=id_rsa)<br>
>>> skipping: [localhost] => (item=id_rsa.pub)<br>
>>><br>
>>> TASK [bootstrap-host : Create ssh key pair for root]<br>
>>> ******************************<wbr>******************************<wbr>******************************<wbr>**************<br>
>>> ok: [localhost]<br>
>>><br>
>>> TASK [bootstrap-host : Fetch the generated public ssh key]<br>
>>> ******************************<wbr>******************************<wbr>******************************<wbr>********<br>
>>> changed: [localhost]<br>
>>><br>
>>> TASK [bootstrap-host : Ensure root's new public ssh key is in<br>
>>> authorized_keys]<br>
>>> ******************************<wbr>******************************<wbr>******************<br>
>>> ok: [localhost]<br>
>>><br>
>>> TASK [bootstrap-host : Create the required deployment directories]<br>
>>> ******************************<wbr>******************************<wbr>******************************<br>
>>> changed: [localhost] => (item=/etc/openstack_deploy)<br>
>>> changed: [localhost] => (item=/etc/openstack_deploy/<wbr>conf.d)<br>
>>> changed: [localhost] => (item=/etc/openstack_deploy/<wbr>env.d)<br>
>>><br>
>>> TASK [bootstrap-host : Deploy user conf.d configuration]<br>
>>> ******************************<wbr>******************************<wbr>******************************<wbr>**********<br>
>>> fatal: [localhost]: FAILED! => {"msg": "{{<br>
>>> confd_overrides[bootstrap_<wbr>host_scenario] }}: 'dict object' has no<br>
>>> attribute u'aio'"}<br>
>>><br>
>>> RUNNING HANDLER [sshd : Reload the SSH service]<br>
>>> ******************************<wbr>******************************<wbr>******************************<wbr>*******************<br>
>>>         to retry, use: --limit @/opt/openstack-ansible/tests/<wbr>bootstrap-aio.retry<br>
>>><br>
>>> PLAY RECAP ******************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>**************************<br>
>>> localhost                  : ok=61   changed=36   unreachable=0    failed=2<br>
>>><br>
>>> [root@aio openstack-ansible]#<br>
<br>
______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
</div></div></blockquote></div><br></div>