What steps will reproduce the problem?
1. Start `simul.py` without any argument.
2. See it start and print an exception:
$ ./simul.py
vmmad: DEBUG: Creating LibCloud's 'Dummy' provider ...
vmmad: INFO: Using cloud provider 'DummyNodeDriver'.
....
vmmad: INFO: VMs will use image '1' (Ubuntu 9.10) on hardware kind '1' (Small)
Traceback (most recent call last):
File "./simul.py", line 265, in <module>
OrchestratorSimulation(args.max_vms, args.max_delta, args.max_idle, args.startup_delay, args.job_number, args.min_duration, args.max_duration, args.output_file, args.csv_file, args.start_time, args.time_interval, args.cluster_size).run(0)
File "./simul.py", line 111, in __init__
reverse=True))
File "./simul.py", line 108, in <genexpr>
for row in rows if float(row['SUBMITTED_AT']) > self.starting_time),
KeyError: 'SUBMITTED_AT'
What is the expected output? What do you see instead?
If some argument is expected, the program should print a usage error
and exit with code 1. See the `argparse` documentation.
Original issue reported on code.google.com by riccardo.murri@gmail.com on 17 Apr 2012 at 12:53
Original issue reported on code.google.com by
riccardo.murri@gmail.com
on 17 Apr 2012 at 12:53