*** lbragstad has joined #openstack-ansible | 00:09 | |
*** vadim_ has quit IRC | 00:13 | |
*** vadim_ has joined #openstack-ansible | 00:14 | |
*** rodolof has joined #openstack-ansible | 00:16 | |
*** rodolof has quit IRC | 00:20 | |
*** rodolof has joined #openstack-ansible | 00:21 | |
openstackgerrit | James E. Blair proposed openstack/ansible-hardening stable/ocata: Zuul: Remove project name https://review.openstack.org/543058 | 00:34 |
---|---|---|
*** rodolof has quit IRC | 00:45 | |
*** rodolof has joined #openstack-ansible | 00:45 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible master: Add nspawn container driver https://review.openstack.org/477017 | 00:55 |
*** woodard has quit IRC | 01:04 | |
*** rama_y has quit IRC | 01:09 | |
*** sar has quit IRC | 01:11 | |
*** lbragstad has quit IRC | 01:18 | |
*** aludwar has quit IRC | 01:29 | |
*** rodolof has quit IRC | 01:30 | |
tescra | cat /opt/openstack-ansible/inventory/dynamic_inventory.py cat: /opt/openstack-ansible/inventory/dynamic_inventory.py: No such file or directory | 01:30 |
*** acormier has joined #openstack-ansible | 01:31 | |
cloudnull | tescra: ? | 01:31 |
tescra | cloudnull am trying to deploy produciion env with stable pike | 01:34 |
*** acormier has quit IRC | 01:34 | |
cloudnull | for pike the inventory generator would be at /opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py | 01:35 |
*** acormier has joined #openstack-ansible | 01:35 | |
cloudnull | the path you have there looks like master to me | 01:35 |
tescra | but the playbooks are not able to access hosts [WARNING]: * Failed to parse /opt/openstack-ansible/inventory/dynamic_inventory.py with script plugin: Inventory script (/opt/openstack-ansible/inventory/dynamic_inventory.py) | 01:35 |
tescra | to check why i can't locate the file? | 01:35 |
cloudnull | did you start a deployment with master | 01:36 |
cloudnull | then switch to pike? | 01:36 |
cloudnull | if so, you will need to rebootstrap ansible. | 01:37 |
tescra | not sure had ran bootstrap with stable pike | 01:37 |
cloudnull | ok. | 01:37 |
tescra | ok | 01:37 |
tescra | where shall i place the git head? | 01:37 |
tescra | its currently at | 01:37 |
cloudnull | the file is being referenced at /usr/local/bin/openstack-ansible.rc | 01:37 |
cloudnull | I would do a checkout of the "stable/pike" branch | 01:38 |
cloudnull | git fetch --all; git checkout stable/pike | 01:38 |
cloudnull | then rebootstrap ansible `./scripts/bootstrap-ansible.sh` | 01:38 |
tescra | root@deploy-node:/opt/openstack-ansible# git branch -a remotes/origin/stable/pike * stable/pike remotes/origin/HEAD -> origin/master | 01:39 |
tescra | From https://git.openstack.org/openstack/openstack-ansible 30301c2..93a4fd2 stable/ocata -> origin/stable/ocata 01368fc..3f211f6 stable/pike -> origin/stable/pike Already on 'stable/pike' | 01:39 |
*** acormier has quit IRC | 01:40 | |
tescra | is that correct cloud null? | 01:40 |
cloudnull | looks good. | 01:41 |
cloudnull | rebase on the origin just to make sure you have the latest patches | 01:41 |
cloudnull | `git rebase origin/stable/pike` | 01:41 |
tescra | thanks cloudnull | 01:41 |
cloudnull | otherwise looks good to me | 01:41 |
cloudnull | then rebootstrap and you should be on your way | 01:42 |
tescra | rebase says to First, rewinding head to replay your work on top of it... | 01:42 |
tescra | it will lead to same ? | 01:43 |
cloudnull | yes that'll just make sure that you have the latest patches. | 01:44 |
cloudnull | if there were no conflicts or errors, you're good to go | 01:44 |
tescra | cloudnull am i to execute ./scripts/pw-token-gen.py --file /etc/openstack_deploy/user_secrets.yml after bootstrap? | 01:59 |
tescra | or any other changes in tgt nodes? | 02:00 |
tescra | ERROR! Attempted to execute "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py" as inventory script: Inventory script (/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py) had an execution error: Traceback (most recent call last): File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 80, in <module> output = generate.main(**all_args) File "/opt/openstack-ansible/osa_ | 02:06 |
tescra | cloudnull i assume have bootstrapped /opt/openstack-ansible + echo 'System is bootstrapped and ready for use.' System is bootstrapped and ready for use. | 02:10 |
tescra | made no changes else where still exe of playbooks fails even syntax checck | 02:10 |
tescra | fails | 02:10 |
*** rama_y has joined #openstack-ansible | 02:12 | |
tescra | File "/opt/openstack-ansible/osa_toolkit/generate.py", line 576, in _add_additional_networks address_prefix File "/opt/openstack-ansible/osa_toolkit/generate.py", line 653, in _add_additional_networks phg = user_config[cphg][physical_host] KeyError: u'infra4' | 02:16 |
tescra | userconfig syntax check => | 02:17 |
tescra | ERROR! Attempted to execute "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py" as inventory script: Inventory script (/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py) had an execution error: Traceback (most recent call last): File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 80, in <module> output = generate.main(**all_args) File "/opt/openstack-ansible/osa_ | 02:18 |
*** acormier has joined #openstack-ansible | 02:19 | |
cloudnull | tescra: what is being run when it failed? | 02:19 |
cloudnull | based on the traceback it looks like you may have something wrong in the openstack_user_config.yml | 02:19 |
cloudnull | seeing "phg = user_config[cphg][physical_host] KeyError: u'infra4'" | 02:20 |
tescra | nothin am simply exe syntax check for openstack_user_config.yml | 02:20 |
tescra | thereno infra4 | 02:20 |
tescra | only 3 infra nodes | 02:20 |
tescra | 1 compute | 02:20 |
cloudnull | can you delete the file /etc/openstack_deploy/openstack_inventory.json | 02:21 |
cloudnull | then try again | 02:21 |
tescra | suure | 02:21 |
cloudnull | gotta go feed my dogs | 02:21 |
cloudnull | back in a min | 02:21 |
*** SerenaFeng has joined #openstack-ansible | 02:22 | |
tescra | k cloudnull had a doubt am i to edit images in image_hosts: infra1: container_vars: glance_nfs_client: - local_path: /var/lib/glance/images options: "_netdev,auto" remote_path: /images | 02:27 |
tescra | remote path as /volume1/images | 02:28 |
tescra | in userconfig | 02:28 |
*** acormier has quit IRC | 02:29 | |
*** acormier has joined #openstack-ansible | 02:29 | |
tescra | as am changing share: /volume1/cinder volume_backend_name: NFS_VOLUME1 volume_driver: cinder.volume.drivers.nfs.NfsDriver | 02:30 |
tescra | for soreage infa nodes | 02:30 |
tescra | also yamllint validates my userconfig file but syntax-chek gives an err | 02:38 |
tescra | openstack-ansible openstack_user_config.yml --syntax-check Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml " ERROR! playbooks must be a list of plays The error appears to have been in '/etc/openstack_deploy/openstack_user_config.yml': line 2, column 1, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: --- cid | 02:39 |
cloudnull | ah. | 02:40 |
tescra | ? | 02:40 |
cloudnull | that would be `openstack-ansible $PLAYBOOK_FILE --syntax-check` | 02:40 |
tescra | yes | 02:40 |
cloudnull | "openstack_user_config.yml" is not a playbook | 02:40 |
tescra | so its fine if its yaml compilant ? | 02:41 |
cloudnull | so, `cd /opt/openstack-ansible/playbooks` | 02:41 |
cloudnull | then, `openstack-ansible setup-everything.yml --syntax-check` | 02:41 |
cloudnull | if you want to run something like tha t | 02:41 |
tescra | f9 | 02:41 |
cloudnull | yes the openstack_user_config.yml file is just a config file | 02:42 |
cloudnull | in yaml format | 02:42 |
cloudnull | so long as it meets the required config layout, you're good | 02:42 |
tescra | thanks | 02:43 |
cloudnull | ok gotta run . take care all! | 02:48 |
*** aludwar has joined #openstack-ansible | 02:48 | |
*** rama_y has quit IRC | 02:57 | |
*** acormier has quit IRC | 03:03 | |
*** acormier has joined #openstack-ansible | 03:04 | |
*** acormier has quit IRC | 03:08 | |
*** acormier has joined #openstack-ansible | 03:12 | |
*** acormier has quit IRC | 03:19 | |
*** pbandark has joined #openstack-ansible | 03:24 | |
*** pbandark has quit IRC | 03:31 | |
*** sdake has quit IRC | 03:33 | |
*** sdake has joined #openstack-ansible | 03:33 | |
*** sdake has quit IRC | 03:33 | |
*** sdake has joined #openstack-ansible | 03:33 | |
*** SerenaFeng has quit IRC | 03:35 | |
*** gkadam has quit IRC | 03:39 | |
*** woodard has joined #openstack-ansible | 03:45 | |
*** chyka has joined #openstack-ansible | 04:26 | |
*** chyka has quit IRC | 04:31 | |
*** vnogin has joined #openstack-ansible | 04:47 | |
*** vnogin has quit IRC | 04:52 | |
*** mislukking has joined #openstack-ansible | 05:13 | |
*** bhujay has joined #openstack-ansible | 05:19 | |
*** rama_y has joined #openstack-ansible | 05:26 | |
tescra | hi TASK [lxc_hosts : Ensure that the LXC cache has been prepared] for setup host yaml fails; have verified it has 48 GB RAM & 500GB HDD | 05:29 |
*** SerenaFeng has joined #openstack-ansible | 05:31 | |
*** dariko has joined #openstack-ansible | 05:34 | |
openstackgerrit | Taseer Ahmed proposed openstack/openstack-ansible-os_congress master: Introduce os_congress role in gerrit https://review.openstack.org/522491 | 05:38 |
*** jwitko_ has quit IRC | 05:39 | |
*** mislukking has quit IRC | 05:47 | |
*** rama_y has quit IRC | 05:47 | |
*** lbragstad has joined #openstack-ansible | 06:00 | |
openstackgerrit | Taseer Ahmed proposed openstack/openstack-ansible-os_congress master: Introduce os_congress role in gerrit https://review.openstack.org/522491 | 06:16 |
*** hamza21 has joined #openstack-ansible | 06:16 | |
*** eumel8 has joined #openstack-ansible | 06:16 | |
*** lbragstad has quit IRC | 06:22 | |
*** bhujay has quit IRC | 06:23 | |
openstackgerrit | Taseer Ahmed proposed openstack/openstack-ansible-os_congress master: Introduce os_congress role in gerrit https://review.openstack.org/522491 | 06:49 |
*** woodard has quit IRC | 07:06 | |
*** yolanda has joined #openstack-ansible | 07:18 | |
*** dave-mccowan has quit IRC | 07:26 | |
evrardjp[m] | tescra are you sure it's failing or the asynchronous thing ? | 07:36 |
*** woodard has joined #openstack-ansible | 07:44 | |
*** woodard has quit IRC | 07:49 | |
*** SmearedBeard has quit IRC | 07:59 | |
*** taseer1 has joined #openstack-ansible | 08:29 | |
*** Taseer has quit IRC | 08:29 | |
*** taseer2 has joined #openstack-ansible | 08:29 | |
*** taseer1 has quit IRC | 08:33 | |
*** vnogin has joined #openstack-ansible | 08:48 | |
*** woodard has joined #openstack-ansible | 08:49 | |
*** vnogin has quit IRC | 08:52 | |
*** woodard has quit IRC | 08:53 | |
*** woodard has joined #openstack-ansible | 09:48 | |
*** woodard has quit IRC | 09:53 | |
*** armaan has joined #openstack-ansible | 09:57 | |
*** sar has joined #openstack-ansible | 10:02 | |
*** SerenaFeng has quit IRC | 10:19 | |
*** armaan has quit IRC | 10:27 | |
*** woodard has joined #openstack-ansible | 10:46 | |
*** armaan has joined #openstack-ansible | 10:47 | |
*** woodard has quit IRC | 10:51 | |
*** mislukking has joined #openstack-ansible | 11:04 | |
openstackgerrit | Merged openstack/openstack-ansible-haproxy_server stable/newton: Zuul: Remove project name https://review.openstack.org/543028 | 11:29 |
*** chyka has joined #openstack-ansible | 11:39 | |
mislukking | hi | 11:42 |
*** chyka has quit IRC | 11:43 | |
*** vnogin has joined #openstack-ansible | 11:48 | |
openstackgerrit | Merged openstack/openstack-ansible-os_gnocchi stable/newton: Zuul: Remove project name https://review.openstack.org/543015 | 11:52 |
*** vnogin has quit IRC | 11:53 | |
*** persia has quit IRC | 11:55 | |
*** persia has joined #openstack-ansible | 11:57 | |
openstackgerrit | Merged openstack/openstack-ansible-os_ceilometer stable/ocata: Zuul: Remove project name https://review.openstack.org/543022 | 11:59 |
*** armaan has quit IRC | 11:59 | |
*** mislukking has quit IRC | 12:26 | |
tescra | can any one tell why setup hostfails at task TASK [lxc_hosts : Ensure that the LXC cache has been prepared]? | 12:40 |
tescra | have formated d sys | 12:41 |
tescra | it has been recurring since yesterday ? | 12:45 |
tescra | evrardjp[m] play recap : fatal: [infra3]: FAILED! => {"ansible_job_id": "59242298706.10756", "attempts": 60, "changed": false, "failed": true, "finished": 0, "started": 1} | 12:48 |
tescra | EXIT NOTICE [Playbook execution failure] | 12:48 |
*** woodard has joined #openstack-ansible | 12:51 | |
*** woodard has quit IRC | 12:56 | |
odyssey4me | tescra look in /var/log/lxc-cache-prep-commands.log on the host and it'll show the log of what happened, which may provides some clues | 12:56 |
*** dave-mccowan has joined #openstack-ansible | 13:11 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Revert "Bring idempotency to swapon" https://review.openstack.org/543104 | 13:43 |
*** pbandark has joined #openstack-ansible | 13:46 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Revert "Bring idempotency to swapon" https://review.openstack.org/543104 | 13:48 |
*** woodard has joined #openstack-ansible | 13:49 | |
*** woodard has quit IRC | 13:54 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: bootstrap-host: Create swap without using a failed task https://review.openstack.org/543104 | 13:56 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: bootstrap-host: Create swap without using a failed task https://review.openstack.org/543104 | 13:57 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 14:04 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-repo_build master: [WIP] Make the git clone and wheel build optional https://review.openstack.org/537015 | 14:08 |
eumel8 | odyssey4me: you have an idea, when you have a stable/queens branch available? | 14:12 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server master: tests: test-galera-upgrades.sh: Remove the exit trap https://review.openstack.org/543109 | 14:24 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server master: Restore upgrade check & gate https://review.openstack.org/543110 | 14:27 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server stable/pike: Set proper yum repo priority on CentOS 7 https://review.openstack.org/543111 | 14:27 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 14:30 |
tescra | odyssey4me : cat: /var/log/lxc-cache-prep-commands.log: No such file or directory | 14:35 |
tescra | nofile in that name | 14:35 |
eumel8 | tescra: that means that the previous task already failed: https://github.com/openstack/openstack-ansible-lxc_hosts/blob/master/tasks/lxc_cache_preparation.yml#L112 | 14:43 |
tescra | eumel8 how may i check that? | 14:46 |
*** woodard has joined #openstack-ansible | 14:46 | |
odyssey4me | tescra look at the output log given by ansible | 14:46 |
odyssey4me | failed tasks are quite clearly shown in red | 14:47 |
eumel8 | tescra: some more logs would be helpful, maybe it's a timeout problem | 14:47 |
tescra | no such folder in /var/log file | 14:48 |
tescra | no ansible logs! odyssey4me | 14:49 |
odyssey4me | tescra it logs to your stdout | 14:49 |
tescra | k let me chek that | 14:49 |
odyssey4me | it will also log to /openstack/log/ansible-logging/ansible.log - but stdout is your first clue | 14:50 |
*** woodard has quit IRC | 14:50 | |
odyssey4me | stdout is your screen - every command you run, puts a bunch of logging out to your screen... scroll back through the screen output to look for the color coded errors | 14:50 |
*** nyloc has quit IRC | 14:51 | |
*** nyloc has joined #openstack-ansible | 14:53 | |
*** Guy has joined #openstack-ansible | 15:03 | |
*** lbragstad has joined #openstack-ansible | 15:04 | |
openstackgerrit | Merged openstack/openstack-ansible-repo_build stable/ocata: Zuul: Remove project name https://review.openstack.org/538931 | 15:10 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 15:15 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 15:16 |
*** acormier has joined #openstack-ansible | 15:21 | |
tescra | odyssey4me @ i had redirected it also checked the ansible log file it has the same info !! | 15:24 |
*** acormier has quit IRC | 15:25 | |
tescra | no lead on how to resolve it? | 15:26 |
*** lbragstad has quit IRC | 15:31 | |
openstackgerrit | Merged openstack/openstack-ansible-os_glance master: Zuul: Remove project name https://review.openstack.org/540230 | 15:32 |
eumel8 | without information it's difficult | 15:33 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Allow any scenario to use different container tech https://review.openstack.org/543117 | 15:35 |
*** acormier has joined #openstack-ansible | 15:37 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 15:39 |
odyssey4me | tescra yes, you should not be redirecting stdout - rather observe it... the log file has everything anyway if your screen buffer isn't big enough to scroll back to a problem or to see what happened | 15:40 |
odyssey4me | also, you're asking for help but providing no diagnostic information - that makes it pretty impossible to help | 15:40 |
odyssey4me | I would suggest that you spend a little time learning how ansible works so that you can understand the output and effectively trace through the playbooks and tasks to see what's happening and to figure out how to debug problems. | 15:41 |
odyssey4me | If you're going to be running OpenStack, then you had best learn how to read logs and read code, because that's what it's going to take to be effective at operating it. | 15:42 |
*** woodard has joined #openstack-ansible | 15:42 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Allow any scenario to use different container tech https://review.openstack.org/543117 | 15:44 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Allow any scenario to use different container tech https://review.openstack.org/543117 | 15:44 |
*** olivierbourdon38 has joined #openstack-ansible | 15:48 | |
tescra | odyssey4me Thanks for advice, true my not so familiar with the OSA file structure and can't find the playbooks for respective tasks as they are recursively using d nodes | 15:49 |
*** acormier has quit IRC | 15:49 | |
*** acormier has joined #openstack-ansible | 15:49 | |
tescra | hence asked for help | 15:50 |
odyssey4me | tescra the playbooks are in the integrated build tree, and the roles are in /etc/ansible/roles (the standard role location for ansible), so those are the locations you'll need to look through | 15:50 |
tescra | ok | 15:50 |
odyssey4me | and again, without you providing diagnostic information in the form of logs or errors posted up to pastebin/gist/whatever we're not going to be able to help | 15:50 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-galera_server master: tests: Remove duplicated container creation https://review.openstack.org/543121 | 15:56 |
*** SmearedBeard has joined #openstack-ansible | 15:59 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 16:03 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 16:04 |
*** acormier has quit IRC | 16:08 | |
*** acormier has joined #openstack-ansible | 16:10 | |
*** acormier has quit IRC | 16:14 | |
tescra | odyssey4me have created the gist <script src="https://gist.github.com/ankita-anil-verma/727a074b56d01c1055655cfb2b0cdfa0.js"></script> | 16:17 |
tescra | https://gist.github.com/ankita-anil-verma/727a074b56d01c1055655cfb2b0cdfa0 | 16:18 |
odyssey4me | tescra the task is failing, so the log file should be present on the host | 16:18 |
odyssey4me | try executing this to see more data in the task output; cd /opt/openstack-ansible/playbooks; openstack-ansible lxc-hosts-setup.yml -vvv | 16:19 |
*** acormier has joined #openstack-ansible | 16:25 | |
tescra | ok | 16:26 |
odyssey4me | tescra the file /var/log/lxc-cache-prep-commands.log is on the lxc host, not your deployment host | 16:27 |
tescra | i thought if the service fails then d log would be in hosts thanks for info | 16:27 |
*** acormier has quit IRC | 16:29 | |
*** acormier has joined #openstack-ansible | 16:30 | |
*** acormier has quit IRC | 16:30 | |
*** acormier has joined #openstack-ansible | 16:31 | |
*** acormier has quit IRC | 16:34 | |
*** acormier has joined #openstack-ansible | 16:34 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-lxc_hosts master: Clean-up old systemd prep and allow machinctl to grow https://review.openstack.org/527592 | 16:43 |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-os_glance stable/pike: Update glance NFS for systemd https://review.openstack.org/539577 | 16:44 |
*** SmearedBeard has quit IRC | 16:48 | |
openstackgerrit | Jean-Philippe Evrard proposed openstack/openstack-ansible master: Update all SHAs for 17.0.0 https://review.openstack.org/543123 | 16:49 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible master: Allow any scenario to use different container tech https://review.openstack.org/543117 | 16:49 |
*** SerenaFeng has joined #openstack-ansible | 16:49 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-pip_install master: Set pip to use the pypi-server when locked down https://review.openstack.org/526889 | 16:55 |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible master: Allow neutron_provider_networks to be user defined https://review.openstack.org/523899 | 16:56 |
openstackgerrit | Merged openstack/openstack-ansible-os_tempest master: Zuul: Remove project name https://review.openstack.org/538508 | 17:07 |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Join cluster without using a failed task https://review.openstack.org/543106 | 17:08 |
odyssey4me | if any cores are around, https://review.openstack.org/539955 needs a review to unblock patches to rabbitmq | 17:09 |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible master: Add nspawn container driver https://review.openstack.org/477017 | 17:09 |
cloudnull | odyssey4me: done. | 17:09 |
odyssey4me | ta | 17:10 |
*** acormier has quit IRC | 17:11 | |
*** acormier has joined #openstack-ansible | 17:12 | |
sar | I'm attempting to configure availability zones on a per-host basis in openstack_user_config.yml. See https://hastebin.com/cihixinebe.css | 17:13 |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible-pip_install master: Set pip to use the pypi-server when locked down https://review.openstack.org/526889 | 17:13 |
sar | This is obviously only part of the config. For some reason the config is only reflected in dhcp_agent.ini and l3_agent.ini. No changes are made to nova.conf in the containers. Does anyone happen to know the reason why? | 17:13 |
sar | The config looks correct to me. I'm following the guide @ https://docs.openstack.org/project-deploy-guide/openstack-ansible/ocata/app-advanced-config-override.html | 17:14 |
cloudnull | sar: Do you want that AZ to be in the nova conf on all of your compute hosts? | 17:14 |
cloudnull | or just within the controllers ? | 17:15 |
cloudnull | (api nodes) | 17:15 |
*** acormier has quit IRC | 17:15 | |
*** acormier has joined #openstack-ansible | 17:15 | |
*** acormier has quit IRC | 17:15 | |
sar | Just within the controllers, in this case. I have other lines in the config for the compute nodes | 17:15 |
*** acormier has joined #openstack-ansible | 17:16 | |
sar | I'm just wondering why the first example, which should change nova.conf, doesn't work, but the one for l3_agent and dhcp_agent works | 17:16 |
cloudnull | that all looks right. | 17:18 |
cloudnull | do you have nova_nova_conf_overrides defined elsewhere? | 17:18 |
cloudnull | maybe in a user_variable file? | 17:18 |
sar | ...that's probably it. I forgot i added a line like this for cors overrides: nova_nova_conf_overrides: "{{ cors_overrides }}" | 17:19 |
sar | Thanks ^^ | 17:20 |
*** acormier has quit IRC | 17:20 | |
cloudnull | cool! | 17:23 |
* cloudnull is glad it was something simple :) | 17:24 | |
cloudnull | gotta run, might be back later. | 17:24 |
cloudnull | take care all | 17:24 |
*** SerenaFeng has quit IRC | 17:25 | |
openstackgerrit | Jesse Pretorius (odyssey4me) proposed openstack/openstack-ansible-rabbitmq_server master: Implement seperate deploy and upgrade tests https://review.openstack.org/543129 | 17:31 |
openstackgerrit | Jean-Philippe Evrard proposed openstack/openstack-ansible master: Bump upstream SHAs https://review.openstack.org/543131 | 17:46 |
openstackgerrit | Merged openstack/openstack-ansible-rabbitmq_server master: Use systemd module instead of command https://review.openstack.org/539955 | 17:50 |
openstackgerrit | Jean-Philippe Evrard proposed openstack/openstack-ansible master: Update all SHAs for 17.0.0 https://review.openstack.org/543123 | 17:50 |
*** rama_y has joined #openstack-ansible | 18:02 | |
*** acormier has joined #openstack-ansible | 18:03 | |
openstackgerrit | Jean-Philippe Evrard proposed openstack/openstack-ansible master: Bump upstream SHAs https://review.openstack.org/543131 | 18:08 |
openstackgerrit | Jean-Philippe Evrard proposed openstack/openstack-ansible master: Bump upstream SHAs https://review.openstack.org/543131 | 18:08 |
*** acormier has quit IRC | 18:13 | |
*** rama_y has quit IRC | 18:29 | |
*** hamza21 has quit IRC | 18:31 | |
Guy | Any thoughts on what could be causing this? | 18:34 |
Guy | https://www.irccloud.com/pastebin/bnvZ72tR/ | 18:34 |
Guy | This was during the openstack-ansible setup-openstack.yml playbook. Pike 16.06 | 18:38 |
evrardjp | your provider entwork doesn't have a net_name | 18:47 |
Guy | Thank you | 18:47 |
evrardjp | could you compare openstack_user_config with an example? | 18:47 |
evrardjp | that should give you a hint | 18:48 |
Guy | ah, great advice. Thanks again, really appreciate the help. | 18:48 |
evrardjp | Guy: it's probably on your vlan/flat/vlan net | 18:49 |
Guy | im going to start troubleshooting now. Thanks again | 18:49 |
openstackgerrit | Jean-Philippe Evrard proposed openstack/openstack-ansible-os_keystone master: Test keystone with a memcached pool https://review.openstack.org/540001 | 18:55 |
*** rama_y has joined #openstack-ansible | 19:01 | |
evrardjp | Guy: yw | 19:08 |
Guy | yeah I think so | 19:09 |
evrardjp | cloudnull: have a nice week-end | 19:09 |
evrardjp | :) | 19:09 |
Guy | what you suggested checks out | 19:09 |
Guy | thanks | 19:09 |
Guy | you too | 19:09 |
evrardjp | same to you Guy : have a nice week-end, don't work too late! | 19:09 |
evrardjp | :D | 19:09 |
Guy | this is not work | 19:09 |
Guy | ;) | 19:09 |
evrardjp | oh. | 19:09 |
Guy | you too | 19:09 |
evrardjp | For me it kinda is, so I am generally not here during week-ends. | 19:10 |
Guy | well thanks for all the help, I really wanna get over this hurdle. Said that before im sure. Have a great weekend. | 19:10 |
evrardjp | No worries Guy , I'm just sorry you won't have much help in the weekend I am afraid. Not as certain as you'd get in the week at least. | 19:12 |
Guy | Fair enough. I'll give it a proper go though. You're a star. | 19:13 |
*** hamza21 has joined #openstack-ansible | 19:24 | |
*** rama_y has quit IRC | 19:31 | |
openstackgerrit | Merged openstack/openstack-ansible-os_trove master: Replace virtualenv-tools by a script https://review.openstack.org/533668 | 19:35 |
*** acormier has joined #openstack-ansible | 20:11 | |
*** hamza21 has quit IRC | 20:15 | |
*** acormier has quit IRC | 20:40 | |
*** acormier has joined #openstack-ansible | 20:47 | |
openstackgerrit | Kevin Carter (cloudnull) proposed openstack/openstack-ansible master: [DNM] Testing pip_install and repo_server changes https://review.openstack.org/526890 | 20:59 |
idlemind | doing some operational scripting ... i have an array of "user" dictionaries. each user dictionary contains an array called "keypairs" which contains a dictionary for the name and public key of the keypair. i'd like to be able to iterate through "users" and run a "create keypairs" task which iterates through "keypairs" ... it seems to be possible by "including" a separate play file, can i do within a single play or | 20:59 |
idlemind | playbook? tags? | 20:59 |
*** SmearedBeard has joined #openstack-ansible | 21:03 | |
idlemind | hmmm might be possible using "when" | 21:05 |
*** acormier has quit IRC | 21:06 | |
*** acormier has joined #openstack-ansible | 21:07 | |
*** acormier has quit IRC | 21:11 | |
*** acormier has joined #openstack-ansible | 21:13 | |
*** acormier has quit IRC | 21:13 | |
*** acormier has joined #openstack-ansible | 21:14 | |
*** Johnny has joined #openstack-ansible | 21:17 | |
*** Johnny is now known as Guest10141 | 21:17 | |
idlemind | yup i'm starting to cook w/gas now i think thanks to "when" and "register" | 21:28 |
*** acormier_ has joined #openstack-ansible | 21:31 | |
*** dariko has quit IRC | 21:33 | |
*** acormier_ has quit IRC | 21:35 | |
*** acormier has quit IRC | 21:37 | |
*** ianychoi has quit IRC | 21:37 | |
*** lhinds has quit IRC | 21:37 | |
*** jhesketh has quit IRC | 21:37 | |
*** kukacz has quit IRC | 21:37 | |
*** rcarrillocruz has quit IRC | 21:37 | |
*** bndzor_ has quit IRC | 21:37 | |
*** dave-mccowan has quit IRC | 21:37 | |
*** adrianreza has quit IRC | 21:37 | |
*** berendt has quit IRC | 21:37 | |
*** ivve has quit IRC | 21:37 | |
*** abelur has quit IRC | 21:37 | |
*** tinwood has quit IRC | 21:37 | |
*** DimGR has quit IRC | 21:37 | |
*** kencjohnston has quit IRC | 21:37 | |
*** galstrom_zzz has quit IRC | 21:37 | |
*** mugsie has quit IRC | 21:37 | |
*** FoXMaN has quit IRC | 21:37 | |
*** spotz has quit IRC | 21:37 | |
*** trident has quit IRC | 21:38 | |
*** johnsom has quit IRC | 21:38 | |
*** serverascode has quit IRC | 21:38 | |
*** evrardjp[m] has quit IRC | 21:38 | |
*** exodusftw has quit IRC | 21:38 | |
*** Miouge has quit IRC | 21:38 | |
*** git-harry has quit IRC | 21:38 | |
*** SamYaple has quit IRC | 21:38 | |
*** MasterofJOKers has quit IRC | 21:38 | |
*** vaishali has quit IRC | 21:38 | |
*** ChanServ has quit IRC | 21:38 | |
*** acormier has joined #openstack-ansible | 21:41 | |
*** trident has joined #openstack-ansible | 21:42 | |
*** johnsom has joined #openstack-ansible | 21:42 | |
*** serverascode has joined #openstack-ansible | 21:42 | |
*** ChanServ has joined #openstack-ansible | 21:42 | |
*** evrardjp[m] has joined #openstack-ansible | 21:42 | |
*** exodusftw has joined #openstack-ansible | 21:42 | |
*** git-harry has joined #openstack-ansible | 21:42 | |
*** Miouge has joined #openstack-ansible | 21:42 | |
*** SamYaple has joined #openstack-ansible | 21:42 | |
*** MasterofJOKers has joined #openstack-ansible | 21:42 | |
*** vaishali has joined #openstack-ansible | 21:42 | |
*** barjavel.freenode.net sets mode: +o ChanServ | 21:42 | |
*** armaan has joined #openstack-ansible | 21:45 | |
*** dave-mccowan has joined #openstack-ansible | 21:45 | |
*** adrianreza has joined #openstack-ansible | 21:45 | |
*** berendt has joined #openstack-ansible | 21:45 | |
*** ivve has joined #openstack-ansible | 21:45 | |
*** ianychoi has joined #openstack-ansible | 21:45 | |
*** lhinds has joined #openstack-ansible | 21:45 | |
*** abelur has joined #openstack-ansible | 21:45 | |
*** tinwood has joined #openstack-ansible | 21:45 | |
*** jhesketh has joined #openstack-ansible | 21:45 | |
*** rcarrillocruz has joined #openstack-ansible | 21:45 | |
*** kukacz has joined #openstack-ansible | 21:45 | |
*** DimGR has joined #openstack-ansible | 21:45 | |
*** bndzor_ has joined #openstack-ansible | 21:45 | |
*** kencjohnston has joined #openstack-ansible | 21:45 | |
*** galstrom_zzz has joined #openstack-ansible | 21:45 | |
*** mugsie has joined #openstack-ansible | 21:45 | |
*** spotz has joined #openstack-ansible | 21:45 | |
*** FoXMaN has joined #openstack-ansible | 21:45 | |
*** evrardjp[m] has quit IRC | 21:46 | |
*** csmart has quit IRC | 21:46 | |
Guest10141 | Anyone familiar with getting ARA to work with OSA outside a CI context? After setting the ARA env variables, the OSA standard OS installation playbooks throw errors: | 21:48 |
Guest10141 | ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path. The error appears to have been in '/etc/ansible/roles/pip_install/tasks/configure.yml': line 39, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Drop pip config | 21:48 |
Guest10141 | This is probably a real newb problem, but if anyone has ideas, let me know, thanks! | 21:48 |
Guest10141 | If I remove the ARA env variables, the play executes normally without error. | 21:49 |
idlemind | what's ara? | 21:52 |
jrosser | Guest10141: paste your env variables if possible? | 21:54 |
jrosser | pastebin or similar | 21:54 |
Guest10141 | ARA: Ansible Runtime Analysis (https://ara.readthedocs.io/en/latest/) | 21:55 |
Guest10141 | Pastebin snippet: https://pastebin.com/LkYEprgz | 21:59 |
openstackgerrit | Merged openstack/openstack-ansible-os_designate master: Zuul: Remove project name https://review.openstack.org/539824 | 22:00 |
*** vnogin has joined #openstack-ansible | 22:00 | |
jrosser | Guest10141: i think that your environment variables have probably got in the way of openstack-ansible picking up it's own plugins | 22:04 |
Guest10141 | Here is the full env vars, sorry didn't include it in the last paste: https://pastebin.com/8TbXhNT4 | 22:07 |
*** vnogin has quit IRC | 22:07 | |
Guest10141 | Yeah, it kind of seems that way. Any suggestions on how to debug to try and fix? | 22:08 |
Guest10141 | ARA also suggests an alternative config of dropping in an ansible.cfg file in the playbook dir and not using env vars, but that has similar problems. | 22:10 |
jrosser | look at /usr/local/bin/openstack-ansible.rc for where OSA expects to find its own plugins | 22:10 |
*** armaan has quit IRC | 22:12 | |
openstackgerrit | Merged openstack/openstack-ansible-os_sahara master: Update paste, policy and rootwrap configurations 2018-01-30 https://review.openstack.org/539134 | 22:14 |
*** acormier has quit IRC | 22:18 | |
*** acormier has joined #openstack-ansible | 22:19 | |
Guest10141 | jrosser: testing some things now -- will post to channel if I make progress. Thanks for the tip -- yes there is a name collision and ARA var is overwriting what OSA is expecting. | 22:20 |
jrosser | Guest10141: in fact the issue is right there in that .rc file | 22:21 |
jrosser | that :- syntax is a ternary operator, so your var takes precedence | 22:21 |
*** acormier has quit IRC | 22:24 | |
Guest10141 | jrosser: Yup -- working with one of the ARA devs right now to see if we can find an alternative solution. | 22:38 |
Guest10141 | This is pretty far outside of my normal line of experience, so I'm on a steep learning curve even though it may be a simple solution :) | 22:39 |
*** SmearedBeard has quit IRC | 22:41 | |
*** vnogin has joined #openstack-ansible | 22:52 | |
*** vnogin has quit IRC | 22:56 | |
*** csmart has joined #openstack-ansible | 23:04 | |
*** rodolof has joined #openstack-ansible | 23:05 | |
*** eumel8 has quit IRC | 23:05 | |
*** rodolof has quit IRC | 23:05 | |
*** rodolof has joined #openstack-ansible | 23:06 | |
*** Guy has quit IRC | 23:21 | |
Guest10141 | deployed ara into virtualenv (after executing source /opt/ansible-runtime/bin/activate, did pip install tox, pip install ara, generated new config file in the /opt/openstack-ansible/playbook directory). No errors now, but not populating any data into ara either. | 23:21 |
*** evrardjp[m] has joined #openstack-ansible | 23:27 | |
*** dave-mccowan has quit IRC | 23:30 | |
*** dave-mccowan has joined #openstack-ansible | 23:48 | |
*** acormier has joined #openstack-ansible | 23:48 | |
*** acormier has quit IRC | 23:52 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!