Bug 795998

Summary: run-parts is run with the non-existent --regex option
Product: [Fedora] Fedora Reporter: Pádraig Brady <pbrady>
Component: cloud-initAssignee: Garrett Holmstrom <gholms>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gholms
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cloud-init-0.6.3-0.1.bzr532.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-13 19:58:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
proposed workaround none

Description Pádraig Brady 2012-02-22 01:09:39 UTC
Created attachment 564806 [details]
proposed workaround

From http://lists.fedoraproject.org/pipermail/cloud/2012-February/001258.html

This error is thrown:

CalledProcessError: Command '['run-parts', '--regex', '.*', '/var/lib/cloud/instance/scripts']

The workaround in the attached seems straightforward enough

Comment 1 Garrett Holmstrom 2012-03-05 22:34:10 UTC
After discussion in the upstream bug and on IRC, this will be fixed upstream by removing the call to run-parts altogether and simply executing every executable in /var/lib/cloud/instance/scripts.  The next update should fix this.

Comment 2 Pádraig Brady 2012-03-05 22:39:30 UTC
Any ideas on when.
I was think of trying some cloud-init stuff for the fedora openstack test day on March 8th, so it might be sensible to push the fix in the meantime?

Comment 3 Fedora Update System 2012-03-05 22:40:17 UTC
cloud-init-0.6.3-0.1.bzr532.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/cloud-init-0.6.3-0.1.bzr532.fc17

Comment 4 Pádraig Brady 2012-03-05 22:41:18 UTC
Actually I note one of the images we're thinking of testing has this patch manually applied, so don't worry about March 8th at least.

cheers

Comment 5 Fedora Update System 2012-03-05 22:41:49 UTC
cloud-init-0.6.3-0.1.bzr532.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/cloud-init-0.6.3-0.1.bzr532.fc16

Comment 6 Fedora Update System 2012-03-13 18:32:38 UTC
cloud-init-0.6.3-0.1.bzr532.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-03-17 23:38:12 UTC
cloud-init-0.6.3-0.1.bzr532.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.