<div dir="ltr">Hi Mark,<div>I solved that error just adding ADMIN_PASSWORD=admin as in the control node, but I don't know if this is the right solution also because now the stack is successful but it is a useless node... In fact I have the bridges br-int and br-ex but if I check the list of services in nova the compute host is not there, I have just the log related to n-novnc and n-cpu (and it says it failed to start...)</div><div>I also have only the screens related to these services.</div><div><br></div><div>Are you sure it is not dangerouse purge those packages?</div><div>Thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-26 8:00 GMT+01:00 Mark Kirkwood <span dir="ltr"><<a href="mailto:mark.kirkwood@catalyst.net.nz" target="_blank">mark.kirkwood@catalyst.net.nz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Looking in keystone log I see:<br>
<br>
...<br>
ImportError: cannot import name deploy<br>
<br>
<br>
This looks like <a href="https://bugs.launchpad.net/devstack/+bug/1003088" rel="noreferrer" target="_blank">https://bugs.launchpad.net/devstack/+bug/1003088</a><br>
<br>
Doing more or less as the comments suggest (I'm on Ubuntu 14.04):<br>
<br>
$ sudo apt-get purge python-paste python-pastedeploy-tpl python-pastedeploy<br>
<br>
and then extreme prejudice cleaning, followed by a stack.sh gets me a working devstack again. Hope this helps!<br>
<br>
Regards<span class="HOEnZb"><font color="#888888"><br>
<br>
Mark</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On 26/11/15 19:36, Mark Kirkwood wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Actually, I am getting exactly the same error even after running my<br>
cleanup script. Will investigate.<br>
<br>
On 26/11/15 13:52, Mark Kirkwood wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Have you tried running ./clean.sh in the devstack directory?<br>
<br>
Also after changing branches, sometimes surgery is needed. To do this I<br>
run a script I created to really remove everything that devstack might<br>
have added:<br>
<br>
$ cat realclean.sh<br>
#!/bin/bash<br>
echo "really clean everyhing devstack related"<br>
<br>
echo "devstack clean"<br>
/home/stack/devstack/clean.sh<br>
<br>
echo "clean /opt/stack"<br>
sudo rm -rf /opt/stack*<br>
<br>
echo "clean /usr/local/bin"<br>
sudo rm -f /usr/local/bin/*<br>
<br>
echo "clean /usr/local/lib/python2.7"<br>
sudo rm -rf /usr/local/lib/python2.7/dist-packages/*<br>
<br>
echo "remove automatically installed packages"<br>
sudo apt-get autoremove<br>
<br>
On 24/11/15 22:48, Silvia Fichera wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
last Saturday I decided to move from Kilo to Liberty.<br>
I have unstacked my system, cleaned it, removed the folder /opt/stack.<br>
Than I have changed my devstack version and stacked againg.<br>
Everything was fine since I noticed that I made a mistake in my<br>
local.conf. I have unstacked, modified what I did wrong, removed<br>
/opt/stack and stacked againg.<br>
The installation fails!<br>
I have the following error.<br>
<br>
  +++ openstack --os-url=<a href="http://10.30.3.233:5000/v3" rel="noreferrer" target="_blank">http://10.30.3.233:5000/v3</a><br>
--os-identity-api-version=3 project create admin --domain=default<br>
--or-show -f value -c id<br>
2015-11-24 09:40:05.522 | Could not find resource default<br>
2015-11-24 09:40:05.580 | ++ project_id=<br>
2015-11-24 09:40:05.581 | ++ echo<br>
2015-11-24 09:40:05.581 | + local admin_tenant=<br>
2015-11-24 09:40:05.582 | ++ get_or_create_user admin admin default<br>
2015-11-24 09:40:05.582 | ++ local user_id<br>
2015-11-24 09:40:05.582 | ++ [[ ! -z '' ]]<br>
2015-11-24 09:40:05.582 | ++ local email=<br>
2015-11-24 09:40:05.584 | +++ openstack user create admin --password<br>
admin --os-url=<a href="http://10.30.3.233:5000/v3" rel="noreferrer" target="_blank">http://10.30.3.233:5000/v3</a> --os-identity-api-version=3<br>
--domain=default --or-show -f value -c id<br>
2015-11-24 09:40:06.581 | Could not find resource default<br>
2015-11-24 09:40:06.639 | ++ user_id=<br>
2015-11-24 09:40:06.639 | ++ echo<br>
2015-11-24 09:40:06.640 | + local admin_user=<br>
2015-11-24 09:40:06.642 | ++ get_or_create_role admin<br>
2015-11-24 09:40:06.643 | ++ local role_id<br>
2015-11-24 09:40:06.646 | +++ openstack role create admin<br>
--os-url=<a href="http://10.30.3.233:5000/v3" rel="noreferrer" target="_blank">http://10.30.3.233:5000/v3</a> --os-identity-api-version=3<br>
--or-show -f value -c id<br>
2015-11-24 09:40:08.740 | Internal Server Error (HTTP 500)<br>
2015-11-24 09:40:08.800 | ++ role_id=<br>
2015-11-24 09:40:08.800 | ++ echo<br>
2015-11-24 09:40:08.803 | + local admin_role=<br>
2015-11-24 09:40:08.803 | + get_or_add_user_project_role<br>
2015-11-24 09:40:08.803 | + local user_role_id<br>
2015-11-24 09:40:08.806 | ++ openstack role list --user<br>
--os-url=<a href="http://10.30.3.233:5000/v3" rel="noreferrer" target="_blank">http://10.30.3.233:5000/v3</a> --os-identity-api-version=3 --column<br>
ID --project --column Name<br>
2015-11-24 09:40:08.809 | ++ get_field 1<br>
2015-11-24 09:40:08.812 | ++ local data field<br>
2015-11-24 09:40:08.813 | ++ read data<br>
2015-11-24 09:40:08.813 | ++ grep '  '<br>
2015-11-24 09:40:09.781 | usage: openstack role list [-h]<br>
2015-11-24 09:40:09.782 |                            [-f<br>
{csv,html,json,json,table,value,yaml,yaml}]<br>
2015-11-24 09:40:09.782 |                            [-c COLUMN]<br>
[--max-width <integer>] [--noindent]<br>
2015-11-24 09:40:09.783 |                            [--quote<br>
{all,minimal,none,nonnumeric}]<br>
2015-11-24 09:40:09.783 |                            [--domain <domain><br>
| --project <project>]<br>
2015-11-24 09:40:09.784 |                            [--user <user> |<br>
--group <group>]<br>
2015-11-24 09:40:09.784 |                            [--group-domain<br>
<group-domain>]<br>
2015-11-24 09:40:09.784 |                            [--project-domain<br>
<project-domain>]<br>
2015-11-24 09:40:09.785 |                            [--user-domain<br>
<user-domain>] [--inherited]<br>
2015-11-24 09:40:09.785 | openstack role list: error: argument --user:<br>
expected one argument<br>
2015-11-24 09:40:09.841 | + user_role_id=<br>
2015-11-24 09:40:09.841 | + [[ -z '' ]]<br>
2015-11-24 09:40:09.841 | + openstack role add --user --project<br>
--os-url=<a href="http://10.30.3.233:5000/v3" rel="noreferrer" target="_blank">http://10.30.3.233:5000/v3</a> --os-identity-api-version=3<br>
2015-11-24 09:40:10.654 | usage: openstack role add [-h] [--domain<br>
<domain> | --project <project>]<br>
2015-11-24 09:40:10.654 |                           [--user <user> |<br>
--group <group>]<br>
2015-11-24 09:40:10.654 |                           [--group-domain<br>
<group-domain>]<br>
2015-11-24 09:40:10.654 |                           [--project-domain<br>
<project-domain>]<br>
2015-11-24 09:40:10.654 |                           [--user-domain<br>
<user-domain>] [--inherited]<br>
2015-11-24 09:40:10.654 |                           <role><br>
2015-11-24 09:40:10.654 | openstack role add: error: argument --user:<br>
expected one argument<br>
2015-11-24 09:40:10.698 | + exit_trap<br>
2015-11-24 09:40:10.698 | + local r=2<br>
2015-11-24 09:40:10.699 | ++ jobs -p<br>
2015-11-24 09:40:10.702 | + jobs=<br>
2015-11-24 09:40:10.702 | + [[ -n '' ]]<br>
2015-11-24 09:40:10.703 | + kill_spinner<br>
2015-11-24 09:40:10.703 | + '[' '!' -z '' ']'<br>
2015-11-24 09:40:10.703 | + [[ 2 -ne 0 ]]<br>
2015-11-24 09:40:10.703 | + echo 'Error on exit'<br>
2015-11-24 09:40:10.703 | Error on exit<br>
2015-11-24 09:40:10.703 | + [[ -z /opt/stack/logs ]]<br>
2015-11-24 09:40:10.703 | + /home/silvia/devstack/tools/worlddump.py -d<br>
/opt/stack/logs<br>
2015-11-24 09:40:11.119 | + exit 2<br>
<br>
Anyone knows how to solve it?<br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Mailing list:<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe :<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Silvia Fichera</div>
</div>