<div dir="ltr">I followed your suggestion and it worked.<div>Thanks</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-26 23:41 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">This sounds like a different problem now. I suggest taking a close look at the various logs to see why n-cpu fails to start.<br>
<br>
Re purging the packages, the next run of stack.sh will add the correct version for whichever one(s) are needed (either packages or via pip). However don't be in a rush to purge anything yet - see what the actual reason is for the n-cpu failure.<br>
<br>
Cheers<br>
<br>
Mark<span class=""><br>
<br>
On 27/11/15 04:53, Silvia Fichera wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi Mark,<br>
I solved that error just adding ADMIN_PASSWORD=admin as in the control<br>
node, but I don't know if this is the right solution also because now<br>
the stack is successful but it is a useless node... In fact I have the<br>
bridges br-int and br-ex but if I check the list of services in nova the<br>
compute host is not there, I have just the log related to n-novnc and<br>
n-cpu (and it says it failed to start...)<br>
I also have only the screens related to these services.<br>
<br>
Are you sure it is not dangerouse purge those packages?<br>
Thank you<br>
<br>
2015-11-26 8:00 GMT+01:00 Mark Kirkwood <<a href="mailto:mark.kirkwood@catalyst.net.nz" target="_blank">mark.kirkwood@catalyst.net.nz</a><br></span>
<mailto:<a href="mailto:mark.kirkwood@catalyst.net.nz" target="_blank">mark.kirkwood@catalyst.net.nz</a>>>:<div><div class="h5"><br>
<br>
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<br>
python-pastedeploy<br>
<br>
and then extreme prejudice cleaning, followed by a stack.sh gets me<br>
a working devstack again. Hope this helps!<br>
<br>
Regards<br>
<br>
Mark<br>
<br>
<br>
<br>
On 26/11/15 19:36, Mark Kirkwood wrote:<br>
<br>
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>
<br>
Have you tried running ./clean.sh in the devstack directory?<br>
<br>
Also after changing branches, sometimes surgery is needed.<br>
To do this I<br>
run a script I created to really remove everything that<br>
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>
<br>
Hi all,<br>
last Saturday I decided to move from Kilo to Liberty.<br>
I have unstacked my system, cleaned it, removed the<br>
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<br>
mistake in my<br>
local.conf. I have unstacked, modified what I did wrong,<br>
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<br>
--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<br>
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<br>
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><br>
--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><br>
--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><br>
--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<br>
COLUMN]<br>
[--max-width <integer>] [--noindent]<br>
2015-11-24 09:40:09.783 |<br>
[--quote<br>
{all,minimal,none,nonnumeric}]<br>
2015-11-24 09:40:09.783 |<br>
[--domain <domain><br>
| --project <project>]<br>
2015-11-24 09:40:09.784 |<br>
[--user <user> |<br>
--group <group>]<br>
2015-11-24 09:40:09.784 |<br>
[--group-domain<br>
<group-domain>]<br>
2015-11-24 09:40:09.784 |<br>
[--project-domain<br>
<project-domain>]<br>
2015-11-24 09:40:09.785 |<br>
[--user-domain<br>
<user-domain>] [--inherited]<br>
2015-11-24 09:40:09.785 | openstack role list: error:<br>
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<br>
--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><br>
--os-identity-api-version=3<br>
2015-11-24 09:40:10.654 | usage: openstack role add [-h]<br>
[--domain<br>
<domain> | --project <project>]<br>
2015-11-24 09:40:10.654 |<br>
[--user <user> |<br>
--group <group>]<br>
2015-11-24 09:40:10.654 |<br>
[--group-domain<br>
<group-domain>]<br>
2015-11-24 09:40:10.654 |<br>
[--project-domain<br>
<project-domain>]<br>
2015-11-24 09:40:10.654 |<br>
[--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:<br>
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 | +<br>
/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>
<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></div></div>
<mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><span class=""><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>
<br>
<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></span>
<mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><span class=""><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>
<br>
<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></span>
<mailto:<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>><span class=""><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>
<br>
<br>
<br>
<br>
--<br>
Silvia Fichera<br>
</span></blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Silvia Fichera</div>
</div>