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