[Yahoo-eng-team] [Bug 1157923] Re: localfs file-injection does not `mkdir -p`
** Changed in: nova Status: In Progress => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1157923 Title: localfs file-injection does not `mkdir -p` Status in OpenStack Compute (Nova): Invalid Bug description: The VFS documentation for file-injection states that: "Append @content to the end of the file identified by @path, creating the file if it does not already exist" https://github.com/openstack/nova/blob/master/nova/virt/disk/vfs/api.py#L85 This wording is ambiguous as to whether non-existent parent directories will be created by file-injection. Say that one tries to inject a file to "/nonexistent/foo" - guestfs creates the directory "/nonexistent", and injects. - localfs fails with a "no such file" error. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1157923/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1157923] Re: localfs file-injection does not `mkdir -p`
Thanks Bill for offering to pick this up - I agree that this should be fixed. ** Changed in: nova Status: Invalid => In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1157923 Title: localfs file-injection does not `mkdir -p` Status in OpenStack Compute (Nova): In Progress Bug description: The VFS documentation for file-injection states that: "Append @content to the end of the file identified by @path, creating the file if it does not already exist" https://github.com/openstack/nova/blob/master/nova/virt/disk/vfs/api.py#L85 This wording is ambiguous as to whether non-existent parent directories will be created by file-injection. Say that one tries to inject a file to "/nonexistent/foo" - guestfs creates the directory "/nonexistent", and injects. - localfs fails with a "no such file" error. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1157923/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp
[Yahoo-eng-team] [Bug 1157923] Re: localfs file-injection does not `mkdir -p`
*** This bug is a duplicate of bug 1272829 *** https://bugs.launchpad.net/bugs/1272829 ** This bug has been marked a duplicate of bug 1272829 intance boots failed because of injecting a file to a not exist path in image -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1157923 Title: localfs file-injection does not `mkdir -p` Status in OpenStack Compute (Nova): New Bug description: The VFS documentation for file-injection states that: "Append @content to the end of the file identified by @path, creating the file if it does not already exist" https://github.com/openstack/nova/blob/master/nova/virt/disk/vfs/api.py#L85 This wording is ambiguous as to whether non-existent parent directories will be created by file-injection. Say that one tries to inject a file to "/nonexistent/foo" - guestfs creates the directory "/nonexistent", and injects. - localfs fails with a "no such file" error. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1157923/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp