Re: [Openstack] Domain not found error

2018-04-17 Thread Shyam Prasad N
Hi all, Just to close on this... I was able to get the setup completed once I followed the correct Install guide version (I was thinking that my version is Pike, but it turns out that it should be Mitaka). Thanks for the help, and sorry for the trouble. Regards, Shyam On Mon, Apr 16, 2018 at 6:0

Re: [Openstack] Domain not found error

2018-04-16 Thread Eugen Block
Is there a way to undo the keystone config and start over again? I want to start afresh. The easiest way is probably to drop the keystone database and recreate it, then do the bootstrapping again. I believe this should suffice since keystone is essential to all other services, so you wouldn'

Re: [Openstack] Domain not found error

2018-04-16 Thread Remo Mattei
Start from fresh! I would suggest to check into RDO, PackStack or Tripleo. My 2 cents. Remo > On Apr 16, 2018, at 1:16 PM, Shyam Prasad N wrote: > > Hi Eugen, > I tried pike initially. When that didn't work, I thought I'll use the > documentation for queens. > Is there a way to undo the

Re: [Openstack] Domain not found error

2018-04-16 Thread Shyam Prasad N
Hi Eugen, I tried pike initially. When that didn't work, I thought I'll use the documentation for queens. Is there a way to undo the keystone config and start over again? I want to start afresh. On Mon, Apr 16, 2018 at 3:24 PM, Eugen Block wrote: > Your first email pionted to the pike install gu

Re: [Openstack] Domain not found error

2018-04-16 Thread Remo Mattei
Does openstack endpoint list work? > On Apr 16, 2018, at 11:27 AM, Eugen Block wrote: > > Hi, > > I found some differences between your bootstrap command and your admin-rc > credentials: > >> export OS_AUTH_URL=http://20.20.20.7:35357/v3 >> --bootstrap-admin-url

Re: [Openstack] Domain not found error

2018-04-16 Thread Eugen Block
Your first email pionted to the pike install guide which mentions admin-url port 35357. I'm trying to install keystone for my swift cluster. I followed this document for install and configuration: https://docs.openstack.org/keystone/pike/install/ So now you're trying to install queens releas

Re: [Openstack] Domain not found error

2018-04-16 Thread Shyam Prasad N
Here is the documentation page I followed: https://docs.openstack.org/keystone/queens/install/keystone-install-ubuntu.html On Mon, Apr 16, 2018 at 3:14 PM, Shyam Prasad N wrote: > Hi Eugen, > > Ignore the different IPs. I had tried keystone install on two different > systems. The old admin-rc sc

Re: [Openstack] Domain not found error

2018-04-16 Thread Shyam Prasad N
Hi Eugen, Ignore the different IPs. I had tried keystone install on two different systems. The old admin-rc script was from the other node. As per the port numbers, I followed what was in the documentation: Bootstrap the Identity service: # keystone-manage bootstrap --bootstrap-password ADMIN_PAS

Re: [Openstack] Domain not found error

2018-04-16 Thread Eugen Block
Hi, I found some differences between your bootstrap command and your admin-rc credentials: export OS_AUTH_URL=http://20.20.20.7:35357/v3 --bootstrap-admin-url http://20.20.20.8:5000/v3/ You use two different IPs for your controller node, this can't work. Another thing is, you usually hav

Re: [Openstack] Domain not found error

2018-04-15 Thread Shyam Prasad N
Hi, Sorry for the late reply. Was out for a while. # openstack domain list The request you have made requires authentication. (HTTP 401) (Request-ID: req-fd20ec4d-9000-4cfa-9a5c-ba547a11c4c4) # tail /var/log/keystone/keystone-manage.log # # keystone-manage bootstrap --bootstrap-password PASSWOR

Re: [Openstack] Domain not found error

2018-04-12 Thread Eugen Block
Hi, the bug I reported is invalid because the keystone-bootstrap command is supposed to create the default domain. Since we created our cloud in Liberty release the default domain already existed in our environment. Well, I guess we're back to square one. ;-) Can you paste the output of

Re: [Openstack] Domain not found error

2018-04-12 Thread Shyam Prasad N
Thanks Eugen :) On Thu, Apr 12, 2018, 13:57 Eugen Block wrote: > The missing command has been in Newton, Ocata and Pike release. They > fixed it in Queens again. > > I filed a bug report: https://bugs.launchpad.net/keystone/+bug/1763297 > > Regards > > > Zitat von Shyam Prasad N : > > > Thanks E

Re: [Openstack] Domain not found error

2018-04-12 Thread Eugen Block
The missing command has been in Newton, Ocata and Pike release. They fixed it in Queens again. I filed a bug report: https://bugs.launchpad.net/keystone/+bug/1763297 Regards Zitat von Shyam Prasad N : Thanks Eugen. It'll be great if you can do it. (I haven't yet gone through the bug report

Re: [Openstack] Domain not found error

2018-04-12 Thread Eugen Block
I believe there's something missing in Ocata and Pike docs. If you read Mitaka install guide [1] you'll find the first step to be creating the default domain before all other steps regarding projects and users. You should run openstack domain create --description "Default Domain" default

Re: [Openstack] Domain not found error

2018-04-12 Thread Shyam Prasad N
Hi, Please read my replies inline below... On Thu, Apr 12, 2018 at 12:10 PM, Eugen Block wrote: > Hi, > > can you paste the credentials you're using? > # cat admin-rc export OS_USERNAME=admin export OS_PASSWORD=abcdef export OS_PROJECT_NAME=admin export OS_USER_DOMAIN_NAME=Default export OS_PR

Re: [Openstack] Domain not found error

2018-04-11 Thread Eugen Block
Hi, can you paste the credentials you're using? The config values (e.g. domain) are case sensitive, the ID of the default domain is usually "domain", its name is "Default". But if you're sourcing the credentials with ID "Default" this would go wrong, although I'm not sure if this would be t

[Openstack] Domain not found error

2018-04-11 Thread Shyam Prasad N
Hi, I'm trying to install keystone for my swift cluster. I followed this document for install and configuration: https://docs.openstack.org/keystone/pike/install/ However, I'm getting this error for a command: # openstack user create --domain default --password-prompt swift The request you have m