yahoo/Openstack-DevstackPy — Issue #70: uninstalling breaks apache2
Author: dhellmann
Created: 2012-03-09 19:11:58+00:00
State: open

If I run the "uninstall" action (with all components) and then re-run "install" I get an error when I try to start the services:

```
Traceback (most recent call last):
File "/vagrant/Openstack-DevstackPy/stack", line 147, in main
started_ok = run(args)
File "/vagrant/Openstack-DevstackPy/stack", line 100, in run
runner.run()
File "/vagrant/Openstack-DevstackPy/devstack/progs/actions.py", line 277, in run
self._start(self._inject_references(components), component_order)
File "/vagrant/Openstack-DevstackPy/devstack/progs/actions.py", line 273, in _start
self._run_instances(instances, component_order)
File "/vagrant/Openstack-DevstackPy/devstack/progs/actions.py", line 253, in _run_instances
result = functor(instance)
File "/vagrant/Openstack-DevstackPy/devstack/progs/actions.py", line 72, in
(lambda instance: (instance.start())),
File "/vagrant/Openstack-DevstackPy/devstack/components/horizon.py", line 272, in start
params=mp)
File "/vagrant/Openstack-DevstackPy/devstack/utils.py", line 93, in execute_template
process_input=stdin, **kargs)
File "/vagrant/Openstack-DevstackPy/devstack/shell.py", line 165, in execute
stderr=stderr, cmd=str_cmd)
ProcessExecutionError: None
Command: service apache2 start
Exit code: 127
Stdout: ''
Stderr: ".: 51: Can't open /etc/apache2/envvars\n"
```

There is no /etc/apache2/envvars file at all.