Skip to content
Snippets Groups Projects
  1. Nov 01, 2013
  2. Oct 30, 2013
    • Nadav Har'El's avatar
      Simplify host-side of zfs image build · be3e55d6
      Nadav Har'El authored
      
      This patch simplifies the host-side work in the new /usr zfs filesystem
      build process.
      
      Previously, we copied the files to a temporary directory, used "cpio"
      to archive them and sent its output to the guest with "netcat".
      
      With this patch, we no longer have a temporary directory, and do not
      need either cpio or netcat on the build machine.
      
      Rather, mkzfs.py itself, using python (instead of a separate "nc" process),
      connects to the guest and sends it the files - still using the CPIO format.
      
      Rather than arbitrarily sleep for 3 seconds before the host tries to
      connect to the guest (which might not be enough for some, or a waste
      of time for others), with this patch the host looks at the guest's output
      and connects when it sees the message "Waiting for connection".
      
      Signed-off-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
      be3e55d6
  3. Oct 29, 2013
  4. Oct 28, 2013
  5. Oct 24, 2013
  6. Oct 23, 2013
  7. Oct 21, 2013
  8. Oct 18, 2013
  9. Oct 17, 2013
  10. Oct 16, 2013
  11. Oct 09, 2013
  12. Oct 07, 2013
  13. Sep 29, 2013
  14. Sep 21, 2013
  15. Sep 20, 2013
  16. Sep 19, 2013
    • Pekka Enberg's avatar
      scripts/silenant.py: Fix error message if ant not found · 97cec783
      Pekka Enberg authored
      
      If Apache Ant is not found, the build fails with a cryptic error
      message:
      
        [penberg@localhost osv]$ make
          ANT tests/bench
        Traceback (most recent call last):
          File "scripts/silentant.py", line 14, in <module>
            stderr = subprocess.PIPE)
          File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
            errread, errwrite)
          File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
            raise child_exception
        OSError: [Errno 2] No such file or directory
        make: *** [all] Error 1
      
      Make it more human friendly:
      
        [penberg@localhost osv]$ make
          ANT tests/bench
        Apache Ant not found. Please install the 'ant' package.
        make: *** [all] Error 1
      
      Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
      97cec783
    • Benoît Canet's avatar
      run.py: give some clues to the user when subprocess.call fail · 6def48d4
      Benoît Canet authored
      
      OSerror exceptions throwed by subprocess.call are made silent using pass.
      Fix this by properly catching the exception and pretty print it.
      
      Signed-off-by: default avatarBenoit Canet <benoit@irqsave.net>
      6def48d4
  17. Sep 17, 2013
  18. Sep 16, 2013
Loading