[openstack-dev] [devstack]Question about using Devstack

Jordan Pittier jordan.pittier at scality.com
Mon Nov 23 12:48:43 UTC 2015


On Mon, Nov 23, 2015 at 1:29 PM, Young Yang <afe.young at gmail.com> wrote:

> Really thanks for responsing so rapidly!!
>
> @ozamiatin
> I forget to mention that I've run rejoin-stack.sh and  manually started
> apache.
> However,  something is not still properly configured.  Such as  lvm volume
> group is not created.
>
> @jordan.pittier
> Really thanks for you  OFFLINE advice. It make some thing offline now. But
> it fails finally.
> It gives such error.
> I tried both OFFLINE=True and OFFLINE=yes in my local rc.
>
> venv create: /opt/stack/tempest/.tox/venv
>> venv installdeps: -r/opt/stack/tempest/requirements.txt,
>> -r/opt/stack/tempest/test-requirements.txt
>> ERROR: invocation failed (exit code 1), logfile:
>> /opt/stack/tempest/.tox/venv/log/venv-1.log
>> ERROR: actionid: venv
>> msg: getenv
>> cmdargs: [local('/opt/stack/tempest/.tox/venv/bin/pip'), 'install', '-U',
>> '-r/opt/stack/tempest/requirements.txt',
>> '-r/opt/stack/tempest/test-requirements.txt']
>> env: {'UPSTART_EVENTS': 'stopped', 'LOGNAME': 'stack', 'USER': 'stack',
>> 'os_RELEASE': '14.04', 'OS_REGION_NAME': 'RegionOne',
>> ...................... NOTICE!!!! I ignore some error here
>> ........................
>>  Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after
>> connection broken by 'ProtocolError('Connection aborted.', gaierror(-2,
>> 'Name or service not known'))': /simple/pbr/
>>   Could not find a version that satisfies the requirement pbr>=1.6 (from
>> -r /opt/stack/tempest/requirements.txt (line 1)) (from versions: )
>> No matching distribution found for pbr>=1.6 (from -r
>> /opt/stack/tempest/requirements.txt (line 1))
>> ERROR: could not install deps [-r/opt/stack/tempest/requirements.txt,
>> -r/opt/stack/tempest/test-requirements.txt]; v =
>> InvocationError('/opt/stack/tempest/.tox/venv/bin/pip install -U
>> -r/opt/stack/tempest/requirements.txt
>> -r/opt/stack/tempest/test-requirements.txt (see
>> /opt/stack/tempest/.tox/venv/log/venv-1.log)', 1)
>> ___________________________________ summary
>> ____________________________________
>> ERROR:   venv: could not install deps
>> [-r/opt/stack/tempest/requirements.txt,
>> -r/opt/stack/tempest/test-requirements.txt]; v =
>> InvocationError('/opt/stack/tempest/.tox/venv/bin/pip install -U
>> -r/opt/stack/tempest/requirements.txt
>> -r/opt/stack/tempest/test-requirements.txt (see
>> /opt/stack/tempest/.tox/venv/log/venv-1.log)', 1)
>> Error on exit
>> World dumping... see /opt/stack/logs/worlddump-2015-11-23-121956.txt for
>> details
>
>
I think this could be a bug in devstack. In lib/tempest we call 'tox
-revenv -- verify-tempest-config' which forces to recreate the virtual env
and thus requires an internet connection. I am not sure what's the best way
to deal with it now, but you can try to comment out this particular line
or, if you don"t need tempest add a "disable_service tempest" in your
local.conf

>
>
> @Bob Ball
> Thanks your mirantis offline advice, I'll try it later :)
>
> @yatinkumbhare
> thanks, I'll try it latter.
>
> @jordan.pittier  @Bob Ball
> If I can ensure my IP address , localrc and everything else are not
> changed, is there any way I can achieve my goal?
>
>
>
>
> On Mon, Nov 23, 2015 at 7:07 PM, Oleksii Zamiatin <ozamiatin at mirantis.com>
> wrote:
>
>>
>>
>> On Mon, Nov 23, 2015 at 12:58 PM, Young Yang <afe.young at gmail.com> wrote:
>>
>>> Hi,
>>> I'm using devstack to deploy stable/Kilo in my Xenserver.
>>> I successfully deploy devstack. But I found that every time I restart
>>> it, devstack always run ./stack.sh to clear all my data and resintall all
>>> the components.
>>> So here comes  the questions.
>>>
>>> 1) Can I stop devstack from reinstalling after rebooting and just use
>>> the openstack installed successfully last time.
>>> I've tried  replacing the stack.sh with another blank shell script to
>>> stop it running. Then  It didn't reinstall the services after rebooting.
>>> However, some services didn't start successfully.
>>>
>>
>> try rejoin-stack.sh - it is in the same folder as unstack.sh, stack.sh
>>
>>
>>>
>>> 2) I found that devstack will exit if it is unable to connect the
>>> Internet when rebooting.
>>> Is there any way I can reboot devstack successfully without connection
>>> to the Internet after I've install it successfully with connection to the
>>> Internet.
>>>
>>> Thanks in advance !  :)
>>>
>>>
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe:
>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151123/4184c73d/attachment.html>


More information about the OpenStack-dev mailing list