Permission denied in ansible

Bug #1691013 reported by YAMAMOTO Takashi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
networking-midonet
Fix Released
Critical
YAMAMOTO Takashi

Bug Description

i guess it's an infra issue.

eg. http://logs.openstack.org/36/464936/1/check/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/c941d4d/_zuul_ansible/ansible_log.txt

2017-05-16 06:11:02,622 p=8796 u=zuul | TASK [zuul_log] ****************************************************************
2017-05-16 06:11:02,659 p=8796 u=zuul | skipping: [node] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
2017-05-16 06:11:02,667 p=8796 u=zuul | TASK [copy files from node] ****************************************************
2017-05-16 06:11:04,690 p=8796 u=zuul | fatal: [node]: FAILED! => {"changed": false, "cmd": "/usr/bin/rsync --delay-updates -F --compress --archive --copy-links --rsh 'ssh -i /var/lib/zuul/ssh/id_rsa -S none -o StrictHostKeyChecking=no' --include=\"/logs/**\" --include=\"*/\" --exclude=\"*\" --prune-empty-dirs --out-format='<<CHANGED>>%i %n%L' \"jenkins@146.20.110.13:/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/\" \"/tmp/tmpw5sSQr/staging/tmpAZ9po4\"", "failed": true, "msg": "Warning: Permanently added '146.20.110.13' (ECDSA) to the list of known hosts.\r\nrsync: opendir \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/apache\" failed: Permission denied (13)\nrsync: send_files failed to open \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/sudoers.txt\": Permission denied (13)\nrsync: send_files failed to open \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/sudoers.d/50_stack_sh\": Permission denied (13)\nrsync: send_files failed to open \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/sudoers.d/51_tempest_sh\": Permission denied (13)\nrsync: send_files failed to open \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/sudoers.d/README\": Permission denied (13)\nrsync: send_files failed to open \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/sudoers.d/jenkins-sudo\": Permission denied (13)\nrsync: send_files failed to open \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/sudoers.d/jenkins-sudo-grep\": Permission denied (13)\nrsync: send_files failed to open \"/home/jenkins/workspace/gate-tempest-dsvm-networking-midonet-ml2-full-ubuntu-xenial-nv/logs/sudoers.d/zuul\": Permission denied (13)\nrsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1655) [generator=3.1.0]\n", "rc": 23}
2017-05-16 06:11:04,698 p=8796 u=zuul | TASK [copy console log] ********************************************************

tags: added: gate-failure
Changed in networking-midonet:
importance: Undecided → Critical
Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

Who is copying
/etc/sudoers.d/50_stack_sh to the log directory?

that shouldn't happen...

Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

Ah, devstack-gate copies that over - but somehow permissions are wrong?

tags: added: midokura-jira-tracked
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Changed in networking-midonet:
assignee: nobody → YAMAMOTO Takashi (yamamoto)
milestone: none → 5.0.0
status: New → In Progress
Revision history for this message
YAMAMOTO Takashi (yamamoto) wrote :
Revision history for this message
Antonio Ojea (aojea) wrote :

Previous patch seems superseded by https://review.openstack.org/#/c/468705/

Changed in networking-midonet:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.