[openstack-dev] [Zun] ERROR: Not Authorized

courage angeh courageangeh at gmail.com
Wed Oct 12 15:18:42 UTC 2016


You right the log files should be there. So i went back to start the
exercise afresh, so run the stack.sh script again And i realised it didn't
finish because the database password was wrong and also connection
problems. So After successfully running the file. i can now create
containers perfectly. Thank you for your help

On Tue, Oct 11, 2016 at 4:08 PM, Hongbin Lu <hongbin034 at gmail.com> wrote:

> Courage,
>
> If you follow the instruction [1] to setup the development environment,
> the files should be there. All the logs can be found under /opt/stack/logs
> . Alternatively, you could check the screen output by "screen -r stack".
>
> [1] https://github.com/openstack/zun/blob/master/doc/
> source/dev/quickstart.rst#exercising-the-services-using-devstack
>
> Best regards,
> Hongbin
>
> On Tue, Oct 11, 2016 at 12:57 AM, courage angeh <courageangeh at gmail.com>
> wrote:
>
>> All the files you specified, i don't have them. i searched using find
>> from root but got nothing
>>
>> On Tue, Oct 11, 2016 at 5:13 AM, courage angeh <courageangeh at gmail.com>
>> wrote:
>>
>>> Here is the url of the error i get when i run zun --debug create --name
>>> test --image cirros --command "ping -c 4 8.8.8.8"  :
>>> http://paste.openstack.org/show/585268/
>>>
>>> On Tue, Oct 11, 2016 at 3:28 AM, courage angeh <courageangeh at gmail.com>
>>> wrote:
>>>
>>>> Thanks bu i hav No folder zun found under /etc But i did find a folder
>>>> keystone but no log file found in the folder
>>>>
>>>> On Tue, Oct 11, 2016 at 3:07 AM, Hongbin Lu <hongbin.lu at huawei.com>
>>>> wrote:
>>>>
>>>>> Several things to check:
>>>>>
>>>>> * Run “zun –debug create …” and check the output
>>>>>
>>>>> * Make sure your Keystone is running on 192.168.8.101
>>>>>
>>>>> * Check the Keystone log
>>>>>
>>>>> * Check the zun-api log
>>>>>
>>>>> * Check the config file under /etc/zun
>>>>>
>>>>> If you cannot figure it out, feel free to send me the outputs/logs
>>>>> above.
>>>>>
>>>>>
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Hongbin
>>>>>
>>>>>
>>>>>
>>>>> *From:* courage angeh [mailto:courageangeh at gmail.com]
>>>>> *Sent:* October-10-16 9:09 PM
>>>>> *To:* OpenStack Development Mailing List (not for usage questions)
>>>>> *Subject:* Re: [openstack-dev] [Zun] ERROR: Not Authorized
>>>>>
>>>>>
>>>>>
>>>>> i did source the file before running that command,
>>>>>
>>>>> This are the environment that are set:
>>>>>
>>>>> OS_REGION_NAME=RegionOne
>>>>> OS_PROJECT_NAME=admin
>>>>> OS_IDENTITY_API_VERSION=2.0
>>>>> OS_PASSWORD=password
>>>>> OS_AUTH_URL=http://192.168.8.101:5000/v2.0
>>>>> OS_USERNAME=admin
>>>>> OS_TENANT_NAME=admin
>>>>> OS_VOLUME_API_VERSION=2
>>>>> OS_NO_CACHE=1
>>>>>
>>>>> Yet still when i run that command i still get thesame error msg and i
>>>>> have talking to the irc channel nut not reply from any one.
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Oct 10, 2016 at 9:04 PM, Hongbin Lu <hongbin.lu at huawei.com>
>>>>> wrote:
>>>>>
>>>>> Courage,
>>>>>
>>>>>
>>>>>
>>>>> As suggested by Denis in another reply, you might need to source the
>>>>> credential before issuing the command. If it doesn’t help, please feel free
>>>>> to ping us in the IRC channel (#openstack-zun).
>>>>>
>>>>>
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Hongbin
>>>>>
>>>>>
>>>>>
>>>>> *From:* courage angeh [mailto:courageangeh at gmail.com]
>>>>> *Sent:* October-10-16 10:40 AM
>>>>> *To:* openstack-dev at lists.openstack.org
>>>>> *Subject:* [openstack-dev] ERROR: Not Authorized
>>>>>
>>>>>
>>>>>
>>>>> i have problems running zun. When i try to run comaands lik:
>>>>>
>>>>> zun start test or
>>>>> zun create --name test --image cirros --command "ping -c 4 8.8.8.8"
>>>>>
>>>>> I get the error: ERROR: Not Authorized
>>>>>
>>>>> Futher searching it seem like i cann't connect to http://192.168.8.101:5000/v2.0
>>>>>
>>>>> Please can someone help me?
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> ____________________________________________________________
>>>>> ______________
>>>>> OpenStack Development Mailing List (not for usage questions)
>>>>> Unsubscribe: OpenStack-dev-request at lists.op
>>>>> enstack.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.op
>>>>> enstack.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:unsubscrib
>> e
>> 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/20161012/b2fb0588/attachment.html>


More information about the OpenStack-dev mailing list