<div dir="ltr">Since you already invested some time, repeat your installation from scratch and submit the bug if necessary, maybe someone will look at it.<div><div 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">After that check the other deployment tools, like the just mentioned TripleO.</div><div><div>I'm not sure whether openstack-ansible (or any other tool) is production ready - just look at the types of bugs those projects are currently dealing with,</div><div>but you may be more lucky with an Ubuntu deployment.</div><div><br></div><div><div>Marcin</div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Feb 4, 2018 at 4:53 PM, 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">Hi Marcin,<br>
<br>
Thank you, i will try other link, also i am using CentOS7 but anyway<br>
now question is does openstack-ansible ready for production deployment<br>
despite galera issues and bug?<br>
<br>
If i want to go on production should i wait or find other tools to<br>
deploy on production?<br>
<div class="HOEnZb"><div class="h5"><br>
On Sun, Feb 4, 2018 at 5:29 AM, Marcin Dulak <<a href="mailto:marcin.dulak@gmail.com">marcin.dulak@gmail.com</a>> wrote:<br>
> When playing with openstack-ansible do it in a virtual setup (e.g. nested<br>
> virtualization with libvirt) so you can reproducibly bring up your<br>
> environment from scratch.<br>
> You will have to do it multiple times.<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>
> is more than 2 years old.<br>
><br>
> Try to follow<br>
> <a href="https://docs.openstack.org/openstack-ansible/latest/contributor/quickstart-aio.html" rel="noreferrer" target="_blank">https://docs.openstack.org/<wbr>openstack-ansible/latest/<wbr>contributor/quickstart-aio.<wbr>html</a><br>
> but git clone the latest state of the openstack-ansible repo.<br>
> The above page has a link that can be used to submit bugs directly to the<br>
> openstack-ansible project at launchpad.<br>
> In this way you may be able to cleanup/improve the documentation,<br>
> and since your setup is the simplest possible one your bug reports may get<br>
> noticed and reproduced by the developers.<br>
> What happens is that most people try openstack-ansible, don't report bugs,<br>
> or report the bugs without the information neccesary<br>
> to reproduce them, and abandon the whole idea.<br>
><br>
> Try to search<br>
> <a href="https://bugs.launchpad.net/openstack-ansible/+bugs?field.searchtext=galera" rel="noreferrer" target="_blank">https://bugs.launchpad.net/<wbr>openstack-ansible/+bugs?field.<wbr>searchtext=galera</a><br>
> for inspiration about what to do.<br>
> Currently the galera setup in openstack-ansible, especially on centos7 seems<br>
> to be undergoing some critical changes.<br>
> Enter the galera container:<br>
> lxc-attach -n aio1_galera_container-4f488f6a<br>
> look around it, check whether mysqld is running etc., try to identify which<br>
> ansible tasks failed and run them manually inside of the container.<br>
><br>
> Marcin<br>
><br>
><br>
> On Sun, Feb 4, 2018 at 3:41 AM, Satish Patel <<a href="mailto:satish.txt@gmail.com">satish.txt@gmail.com</a>> wrote:<br>
>><br>
>> 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<br>
>> ******************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>********************<br>
>> aio1                       : ok=41   changed=4    unreachable=0<br>
>> 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<br>
>> failed=1<br>
>><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<br>
>> > ******************************<wbr>******************************<br>
>> > DEBUG: [Load local packages]<br>
>> > ******************************<wbr>*********************<br>
>> > All items completed<br>
>> ><br>
>> > Saturday 03 February 2018  21:04:07 -0500 (0:00:04.175)<br>
>> > 0:16:17.204 *****<br>
>> ><br>
>> > ==============================<wbr>==============================<wbr>===================<br>
>> > repo_build : Create OpenStack-Ansible requirement wheels --------------<br>
>> > 268.16s<br>
>> > repo_build : Wait for the venvs builds to complete --------------------<br>
>> > 110.30s<br>
>> > repo_build : Install packages ------------------------------<wbr>------------<br>
>> > 68.26s<br>
>> > repo_build : Clone git repositories asynchronously ---------------------<br>
>> > 59.85s<br>
>> > pip_install : Install distro packages ------------------------------<wbr>----<br>
>> > 36.72s<br>
>> > galera_client : Install galera distro packages -------------------------<br>
>> > 33.21s<br>
>> > haproxy_server : Create haproxy service config files -------------------<br>
>> > 30.81s<br>
>> > repo_build : Execute the venv build scripts asynchonously --------------<br>
>> > 29.69s<br>
>> > pip_install : Install distro packages ------------------------------<wbr>----<br>
>> > 23.56s<br>
>> > repo_server : Install repo server packages -----------------------------<br>
>> > 20.11s<br>
>> > memcached_server : Install distro packages -----------------------------<br>
>> > 16.35s<br>
>> > repo_build : Create venv build options files ---------------------------<br>
>> > 14.57s<br>
>> > haproxy_server : Install HAProxy Packages<br>
>> > ------------------------------<wbr>- 8.35s<br>
>> > rsyslog_client : Install rsyslog packages<br>
>> > ------------------------------<wbr>- 8.33s<br>
>> > rsyslog_client : Install rsyslog packages<br>
>> > ------------------------------<wbr>- 7.64s<br>
>> > rsyslog_client : Install rsyslog packages<br>
>> > ------------------------------<wbr>- 7.42s<br>
>> > repo_build : Wait for git clones to complete<br>
>> > ---------------------------- 7.25s<br>
>> > repo_server : Install repo caching server packages<br>
>> > ---------------------- 4.76s<br>
>> > galera_server : Check that WSREP is ready<br>
>> > ------------------------------<wbr>- 4.18s<br>
>> > repo_server : Git service data folder setup<br>
>> > ----------------------------- 4.04s<br>
>> > ++ exit_fail 341 0<br>
>> > ++ set +x<br>
>> > ++ info_block 'Error Info - 341' 0<br>
>> > ++ echo<br>
>> > ------------------------------<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<br>
>> > ------------------------------<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>><br>
>> > 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>
>> >><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>><br>
>> >> 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>
>> >>><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>
>> >>><br>
>> >>> ******************************<wbr>******************************<wbr>******************************<wbr>**************<br>
>> >>> ok: [localhost]<br>
>> >>><br>
>> >>> TASK [bootstrap-host : Fetch the generated public ssh key]<br>
>> >>><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>
>> >>><br>
>> >>> ******************************<wbr>******************************<wbr>******************<br>
>> >>> ok: [localhost]<br>
>> >>><br>
>> >>> TASK [bootstrap-host : Create the required deployment directories]<br>
>> >>><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>
>> >>><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>
>> >>><br>
>> >>> ******************************<wbr>******************************<wbr>******************************<wbr>*******************<br>
>> >>>         to retry, use: --limit<br>
>> >>> @/opt/openstack-ansible/tests/<wbr>bootstrap-aio.retry<br>
>> >>><br>
>> >>> PLAY RECAP<br>
>> >>> ******************************<wbr>******************************<wbr>******************************<wbr>******************************<wbr>**************************<br>
>> >>> localhost                  : ok=61   changed=36   unreachable=0<br>
>> >>> failed=2<br>
>> >>><br>
>> >>> [root@aio openstack-ansible]#<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Mailing list:<br>
>> <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 :<br>
>> <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>
><br>
><br>
</div></div></blockquote></div><br></div>