[Openstack-operators] Error Placement token fernet in nova auth to scheduler

2017-06-30 Thread Emilio Moreno Fernandez
Hi all!

We have this error in nova-placement.log of Management Server.

2017-06-30 13:59:48.752 6412 WARNING keystonemiddleware.auth_token [-] Identity 
response: {"error": {"message": "This is not a recognized Fernet token 
gABZVj0099UDHzpvuq5Vh-PbXrYEkj4af3oH5Zvq4FryRC-CIx0qWlBXsFA4N8hjuckFZ68ipLrEEIf6Qcc9KgN6Jtts-UA_-7hQ3pKthlX3Hf-v30jj-3s_LA6zNCNXrrk4KQmAK_asncnxFdCfv6mVZ9EntSgkqzU2xYN5gvjtSMPl3C4=",
 "code": 404, "title": "Not Found"}}

In Nova host we have this error:

2017-06-30 14:00:26.740 16987 ERROR nova.scheduler.client.report 
[req-9b7aa40a-96b3-4bdb-a110-3b2fd1bbef15 - - - - -] Failed to retrieve 
resource provider record from placement API for UUID 
62b6fb08-d069-457f-8cd9-06f083e2bfce. Got 401: {"error": {"message": "The 
request you have made requires authentication.", "code": 401, "title": 
"Unauthorized"}}.


Configuration of [placement] it´s ok in nova.conf files, I think that is only a 
problem with Fernet token but i don´t know where I can find next objective.

Thanks

Emilio Moreno Fernández
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata boot source launch missing options

2017-06-30 Thread Emilio Moreno Fernandez
Thanks Evgeniy!

I´m apply the Patch and all it´s ok! Perfect!
We are using RDO Ocata and CentOS.

Thanks

Emilio Moreno Fernández
  

-Mensaje original-
De: Evgeniy Ivanov [mailto:eiva...@sardinasystems.com] 
Enviado el: viernes, 30 de junio de 2017 11:22
Para: Emilio Moreno Fernandez 
CC: openstack-operators@lists.openstack.org
Asunto: Re: [Openstack-operators] ocata boot source launch missing options

Emilio,

There is a bug in Horizon - https://bugs.launchpad.net/horizon/+bug/1670789
Briefly: in the case where there is no cinder v1 endpoint created certain 
volume related menu entries are not displayed. This issue was fixed in the 
11.0.3.

How do you deploy? You may upgrade your environment or just create some 
endpoints in the catalog

Thanks

> On 30 Jun 2017, at 10:13, Emilio Moreno Fernandez  
> wrote:
> 
> Hi!
>  
> We have a very strange error in our new platform Ocata that in previous 
> Liberty or Juno had not happened to me.
> When you want to launch an instance from the Dashboard, in boot options only 
> the option "Image" or "Instance Snapshot" appears ... I do not get the volume 
> options appear.
>  
> Cinder and Glance work correctly, Image to Volume or Volume to Image, create 
> image, create volume, etc ...
>  
> Any ideas?
>  
> Emilio Moreno Fernández
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-- 
Best Regards,
Evgeniy Ivanov.
Sardina Systems
+442034114590

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] ocata boot source launch missing options

2017-06-30 Thread Evgeniy Ivanov
Emilio,

There is a bug in Horizon - https://bugs.launchpad.net/horizon/+bug/1670789
Briefly: in the case where there is no cinder v1 endpoint created certain 
volume related menu entries are not displayed. This issue was fixed in the 
11.0.3.

How do you deploy? You may upgrade your environment or just create some 
endpoints in the catalog

Thanks

> On 30 Jun 2017, at 10:13, Emilio Moreno Fernandez  
> wrote:
> 
> Hi!
>  
> We have a very strange error in our new platform Ocata that in previous 
> Liberty or Juno had not happened to me.
> When you want to launch an instance from the Dashboard, in boot options only 
> the option "Image" or "Instance Snapshot" appears ... I do not get the volume 
> options appear.
>  
> Cinder and Glance work correctly, Image to Volume or Volume to Image, create 
> image, create volume, etc ...
>  
> Any ideas?
>  
> Emilio Moreno Fernández
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-- 
Best Regards,
Evgeniy Ivanov.
Sardina Systems
+442034114590


___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Ocata diskimage-builder heat issues

2017-06-30 Thread Volodymyr Litovka

Hi Amit,

Please, check whether this can be an issue -

https://bugs.launchpad.net/openstack-manuals/+bug/1661759

you should use 'v2.0' path in both ec2authtoken and keystone_authtoken 
sections of heat.conf.


On 6/30/17 11:21 AM, Amit Kumar wrote:

Hello,

Yes, my instance had os-collect-config service running. Unfortunately, 
I am not having the same setup to see if /var/lib/heat-config/ is 
containing deployment scripts or not but I remember I checked 
/var/lib/cloud/instance/scripts/ was not having anything.


Regards,
Amit


On Thu, Jun 29, 2017 at 7:54 PM, Ignazio Cassano 
mailto:ignaziocass...@gmail.com>> wrote:


Hello Amit, tomorrow I'll try with trusty. Centos7 is working.
Some questions:
your instance created ny heat with SoftwareDeployment has
os-collect-config runnig ?
If yes, lauching os.refresh-config ang going under
/var/lib/heat-config/ on yoyr instance, you should see deployment
scripts 

Regards
Ignazio


2017-06-29 13:47 GMT+02:00 Amit Kumar mailto:ebiib...@gmail.com>>:

Hi,

I tried to create Ubuntu Trusty image using diskimage-builder
tag 1.28.0, dib-run-parts got included in VM os-refresh-config
should have worked but still SoftwareDeployment didn't work
with the cloud image.

Regards,
Amit


On Jun 29, 2017 5:08 PM, "Matteo Panella"
mailto:matteo.pane...@cnaf.infn.it>> wrote:

On 29/06/2017 12:11, Ignazio Cassano wrote:
> Hello all,
> the new version of diskimage-builder (I am testing for
centos 7) does
> not install dib-utils and jq in te image.
> The above are required by os-refresh-config .

Yup, I reverted diskimage-builder to 2.2.0 (the last tag
before
dib-run-parts was not injected anymore) and
os-refresh-config works
correctly.

os-refresh-config should probably be modified to depend on
dib-run-parts, however:
a) dib-run-parts provides package-style installation with an
RPM-specific package name
b) the package does not exist for Ubuntu 14.04 and there
are no
source-style installation scripts

Regards,
--
Matteo Panella
INFN CNAF
Via Ranzani 13/2 c - 40127 Bologna, Italy
Phone: +39 051 609 2903 






___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


--
Volodymyr Litovka
  "Vision without Execution is Hallucination." -- Thomas Edison

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Ocata diskimage-builder heat issues

2017-06-30 Thread Volodymyr Litovka

Hi Ignazio,

recently I've opened bug - https://bugs.launchpad.net/heat/+bug/1691964 
- with instructions on how to build images with Software Deployment 
using diskimage-builder.


Hope this'll help.


On 6/28/17 7:52 PM, Ignazio Cassano wrote:
Hi All, last March I user diskimage builder tool to generate a centos7 
image with tools for heat software deployment. That image worked fine 
with heat software deployment in newton and works today with ocata.
Upgrading diskimage builder and creating again the image , heat 
software deployment does not work because some errors in 
os-refresh-config .
I do not remember what version of diskimage builder I used in March. 
At this time I am trying with 2.6.1 and 2.6.2 with same issues.

Does anyone know what is changed ?
Regards
Ignazio



___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


--
Volodymyr Litovka
  "Vision without Execution is Hallucination." -- Thomas Edison

___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Ocata diskimage-builder heat issues

2017-06-30 Thread Matteo Panella
Hi all,

On 29/06/2017 16:24, Ignazio Cassano wrote:
> Hello Amit, tomorrow I'll try with trusty. Centos7 is working.

We tried diskimage-builder 2.2.0 with a trusty image and it works,
os-collect-config applies all SoftwareConfiguration resources without
any problem.

Regards,
-- 
Matteo Panella
INFN CNAF
Via Ranzani 13/2 c - 40127 Bologna, Italy
Phone: +39 051 609 2903



smime.p7s
Description: S/MIME Cryptographic Signature
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


Re: [Openstack-operators] Ocata diskimage-builder heat issues

2017-06-30 Thread Amit Kumar
Hello,

Yes, my instance had os-collect-config service running. Unfortunately, I am
not having the same setup to see if /var/lib/heat-config/ is containing
deployment scripts or not but I remember I checked
/var/lib/cloud/instance/scripts/ was not having anything.

Regards,
Amit


On Thu, Jun 29, 2017 at 7:54 PM, Ignazio Cassano 
wrote:

> Hello Amit, tomorrow I'll try with trusty. Centos7 is working.
> Some questions:
> your instance created ny heat with SoftwareDeployment has
> os-collect-config runnig ?
> If yes, lauching os.refresh-config ang going under /var/lib/heat-config/
> on yoyr instance, you should see deployment scripts 
>
> Regards
> Ignazio
>
>
> 2017-06-29 13:47 GMT+02:00 Amit Kumar :
>
>> Hi,
>>
>> I tried to create Ubuntu Trusty image using diskimage-builder tag 1.28.0,
>> dib-run-parts got included in VM os-refresh-config should have worked but
>> still SoftwareDeployment didn't work with the cloud image.
>>
>> Regards,
>> Amit
>>
>>
>> On Jun 29, 2017 5:08 PM, "Matteo Panella" 
>> wrote:
>>
>> On 29/06/2017 12:11, Ignazio Cassano wrote:
>> > Hello all,
>> > the new version of diskimage-builder (I am testing for centos 7) does
>> > not install dib-utils and jq in te image.
>> > The above are required by os-refresh-config .
>>
>> Yup, I reverted diskimage-builder to 2.2.0 (the last tag before
>> dib-run-parts was not injected anymore) and os-refresh-config works
>> correctly.
>>
>> os-refresh-config should probably be modified to depend on
>> dib-run-parts, however:
>> a) dib-run-parts provides package-style installation with an
>> RPM-specific package name
>> b) the package does not exist for Ubuntu 14.04 and there are no
>> source-style installation scripts
>>
>> Regards,
>> --
>> Matteo Panella
>> INFN CNAF
>> Via Ranzani 13/2 c - 40127 Bologna, Italy
>> Phone: +39 051 609 2903 <+39%20051%20609%202903>
>>
>>
>>
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


[Openstack-operators] ocata boot source launch missing options

2017-06-30 Thread Emilio Moreno Fernandez
Hi!

We have a very strange error in our new platform Ocata that in previous Liberty 
or Juno had not happened to me.
When you want to launch an instance from the Dashboard, in boot options only 
the option "Image" or "Instance Snapshot" appears ... I do not get the volume 
options appear.

Cinder and Glance work correctly, Image to Volume or Volume to Image, create 
image, create volume, etc ...

Any ideas?

Emilio Moreno Fernández
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators