openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #12801
Question on nova disk injection...
-
To:
openstack <openstack@xxxxxxxxxxxxxxxxxxx>
-
From:
Joshua Harlow <harlowja@xxxxxxxxxxxxx>
-
Date:
Tue, 5 Jun 2012 14:42:32 -0700
-
Accept-language:
en-US
-
Acceptlanguage:
en-US
-
Thread-index:
Ac1DZBylzW6dhH4/Uk6neKXtwV5eug==
-
Thread-topic:
Question on nova disk injection...
Hi all,
Just some questions that I had about how nova is doing disk injection and such.
I was noticing that it the main disk/api.py does a lot of tee, cat and similar commands. Is there any reason it couldn't just use the standard python open and write data and such.
Is it because of sudo access (which is connected to rootwrap?), just wondering since it seems sort of odd that to write a file there a tee call has to be done with piped input, when python already has file operators and such...
Thx!
Follow ups