Bug 795998 - run-parts is run with the non-existent --regex option
Summary: run-parts is run with the non-existent --regex option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cloud-init
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Garrett Holmstrom
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-22 01:09 UTC by Pádraig Brady
Modified: 2016-01-04 14:40 UTC (History)
1 user (show)

Fixed In Version: cloud-init-0.6.3-0.1.bzr532.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-13 19:58:21 UTC
Type: ---


Attachments (Terms of Use)
proposed workaround (876 bytes, patch)
2012-02-22 01:09 UTC, Pádraig Brady
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Launchpad 933553 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.