support '-' for writing to stdout in nova-manage environment/zip

Bug #810157 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Scott Moser
nova (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

traditionally, unix commands support a '-' to indicate that content should be written to stdout rather than a file.
It would be nice if 'nova-manage environment' would do this.

ie:
$ sudo nova-manage project environment test-project admin - | grep NOVA_URL
  import pkg_resources
export NOVA_URL="http://10.202.9.127:8774/v1.0/"

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nova-common 2011.3~d3~20110708.1251-0ubuntu1 [modified: usr/bin/nova-manage]
ProcVersionSignature: User Name 3.0-3.4-virtual 3.0.0-rc5
Uname: Linux 3.0-3-virtual x86_64
Architecture: amd64
Date: Wed Jul 13 21:07:07 2011
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nova
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Scott Moser (smoser) wrote :
summary: - support '-' for writing to stdout in nova-manage environment
+ support '-' for writing to stdout in nova-manage environment/zip
Changed in nova:
status: New → In Progress
Scott Moser (smoser)
Changed in nova:
assignee: nobody → Scott Moser (smoser)
status: In Progress → Fix Committed
Scott Moser (smoser)
Changed in nova:
status: Fix Committed → In Progress
Scott Moser (smoser)
Changed in nova (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-3
Thierry Carrez (ttx)
Changed in nova (Ubuntu):
status: Triaged → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-3 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.