Re: [Openstack-operators] cloud-init: ssh-keys for host changed after global reboot

2014-11-13 Thread Abel Lopez
Haven't seen that myself, I wonder if there is a conflict between
cloud-init and libvirt_inject_key. Also curious if you're using the
metadata api or config_drive.

On Thursday, November 13, 2014, George Shuklin 
wrote:

> Hello.
>
> We had planned power outage for one of our OS installation (havana). After
> everything booted back, we found every instance has change it's own ssh key
> (server key ssh-server presents upon connection).
>
> Is this bug or feature? Someone saw that? Is any way to prevent this?
>
> Thanks!
>
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators


[Openstack-operators] cloud-init: ssh-keys for host changed after global reboot

2014-11-13 Thread George Shuklin

Hello.

We had planned power outage for one of our OS installation (havana). 
After everything booted back, we found every instance has change it's 
own ssh key (server key ssh-server presents upon connection).


Is this bug or feature? Someone saw that? Is any way to prevent this?

Thanks!

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


Re: [Openstack-operators] Glance stopped working

2014-11-13 Thread Yaguang Tang
Hi Alvise,

Please check if /etc/glance/policy.json is updated.

On Thu, Nov 13, 2014 at 9:41 PM, Alvise Dorigo 
wrote:

> Hi,
> I'm installing Havan 9 Openstack on a SL 6.5 (without update to 6.6, and
> yum-autoupdate disabled). Untill some month ago no problem. Today
> glance-api, installed from scratch, is crashing with this error:
>
> 2014-11-13 13:25:21.443 7833 CRITICAL glance [-] Expecting , delimiter:
> line 5 column 5 (char 103)
> 2014-11-13 13:25:21.443 7833 TRACE glance Traceback (most recent call
> last):
> 2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/bin/glance-api",
> line 10, in 
> 2014-11-13 13:25:21.443 7833 TRACE glance sys.exit(main())
> 2014-11-13 13:25:21.443 7833 TRACE glance   File 
> "/usr/lib/python2.6/site-packages/glance/cmd/api.py",
> line 60, in main
> 2014-11-13 13:25:21.443 7833 TRACE glance glance.store.verify_default_
> store()
> 2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/lib/python2.6/site-
> packages/glance/store/__init__.py", line 197, in verify_default_store
> 2014-11-13 13:25:21.443 7833 TRACE glance context =
> glance.context.RequestContext()
> 2014-11-13 13:25:21.443 7833 TRACE glance   File 
> "/usr/lib/python2.6/site-packages/glance/context.py",
> line 46, in __init__
> 2014-11-13 13:25:21.443 7833 TRACE glance self.policy_enforcer.check_is_
> admin(self)
> 2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/lib/python2.6/site-
> packages/glance/api/policy.py", line 155, in check_is_admin
> 2014-11-13 13:25:21.443 7833 TRACE glance return self.check(context,
> 'context_is_admin', target)
> 2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/lib/python2.6/site-
> packages/glance/api/policy.py", line 145, in check
> 2014-11-13 13:25:21.443 7833 TRACE glance return self._check(context,
> action, target)
> 2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/lib/python2.6/site-
> packages/glance/api/policy.py", line 115, in _check
> 2014-11-13 13:25:21.443 7833 TRACE glance self.load_rules()
> 2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/lib/python2.6/site-
> packages/glance/api/policy.py", line 67, in load_rules
> 2014-11-13 13:25:21.443 7833 TRACE glance rules =
> self._read_policy_file()
> 2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/lib/python2.6/site-
> packages/glance/api/policy.py", line 99, in _read_policy_file
> 2014-11-13 13:25:21.443 7833 TRACE glance rules_dict =
> json.loads(raw_contents)
> 2014-11-13 13:25:21.443 7833 TRACE glance   File
> "/usr/lib64/python2.6/json/__init__.py", line 307, in loads
> 2014-11-13 13:25:21.443 7833 TRACE glance return
> _default_decoder.decode(s)
> 2014-11-13 13:25:21.443 7833 TRACE glance   File
> "/usr/lib64/python2.6/json/decoder.py", line 319, in decode
> 2014-11-13 13:25:21.443 7833 TRACE glance obj, end =
> self.raw_decode(s, idx=_w(s, 0).end())
> 2014-11-13 13:25:21.443 7833 TRACE glance   File
> "/usr/lib64/python2.6/json/decoder.py", line 336, in raw_decode
> 2014-11-13 13:25:21.443 7833 TRACE glance obj, end =
> self._scanner.iterscan(s, **kw).next()
> 2014-11-13 13:25:21.443 7833 TRACE glance   File
> "/usr/lib64/python2.6/json/scanner.py", line 55, in iterscan
> 2014-11-13 13:25:21.443 7833 TRACE glance rval, next_pos = action(m,
> context)
> 2014-11-13 13:25:21.443 7833 TRACE glance   File
> "/usr/lib64/python2.6/json/decoder.py", line 193, in JSONObject
> 2014-11-13 13:25:21.443 7833 TRACE glance raise
> ValueError(errmsg("Expecting , delimiter", s, end - 1))
> 2014-11-13 13:25:21.443 7833 TRACE glance ValueError: Expecting ,
> delimiter: line 5 column 5 (char 103)
> 2014-11-13 13:25:21.443 7833 TRACE glance
>
> Any idea ?
>
> Alvise
>
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>



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


[Openstack-operators] Glance stopped working

2014-11-13 Thread Alvise Dorigo

Hi,
I'm installing Havan 9 Openstack on a SL 6.5 (without update to 6.6, and 
yum-autoupdate disabled). Untill some month ago no problem. Today 
glance-api, installed from scratch, is crashing with this error:


2014-11-13 13:25:21.443 7833 CRITICAL glance [-] Expecting , delimiter: 
line 5 column 5 (char 103)

2014-11-13 13:25:21.443 7833 TRACE glance Traceback (most recent call last):
2014-11-13 13:25:21.443 7833 TRACE glance   File "/usr/bin/glance-api", 
line 10, in 

2014-11-13 13:25:21.443 7833 TRACE glance sys.exit(main())
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/cmd/api.py", line 60, in main
2014-11-13 13:25:21.443 7833 TRACE glance 
glance.store.verify_default_store()
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/store/__init__.py", line 197, 
in verify_default_store
2014-11-13 13:25:21.443 7833 TRACE glance context = 
glance.context.RequestContext()
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/context.py", line 46, in __init__
2014-11-13 13:25:21.443 7833 TRACE glance 
self.policy_enforcer.check_is_admin(self)
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 155, in 
check_is_admin
2014-11-13 13:25:21.443 7833 TRACE glance return self.check(context, 
'context_is_admin', target)
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 145, in check
2014-11-13 13:25:21.443 7833 TRACE glance return 
self._check(context, action, target)
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 115, in _check

2014-11-13 13:25:21.443 7833 TRACE glance self.load_rules()
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 67, in 
load_rules
2014-11-13 13:25:21.443 7833 TRACE glance rules = 
self._read_policy_file()
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib/python2.6/site-packages/glance/api/policy.py", line 99, in 
_read_policy_file
2014-11-13 13:25:21.443 7833 TRACE glance rules_dict = 
json.loads(raw_contents)
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib64/python2.6/json/__init__.py", line 307, in loads
2014-11-13 13:25:21.443 7833 TRACE glance return 
_default_decoder.decode(s)
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib64/python2.6/json/decoder.py", line 319, in decode
2014-11-13 13:25:21.443 7833 TRACE glance obj, end = 
self.raw_decode(s, idx=_w(s, 0).end())
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib64/python2.6/json/decoder.py", line 336, in raw_decode
2014-11-13 13:25:21.443 7833 TRACE glance obj, end = 
self._scanner.iterscan(s, **kw).next()
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib64/python2.6/json/scanner.py", line 55, in iterscan
2014-11-13 13:25:21.443 7833 TRACE glance rval, next_pos = action(m, 
context)
2014-11-13 13:25:21.443 7833 TRACE glance   File 
"/usr/lib64/python2.6/json/decoder.py", line 193, in JSONObject
2014-11-13 13:25:21.443 7833 TRACE glance raise 
ValueError(errmsg("Expecting , delimiter", s, end - 1))
2014-11-13 13:25:21.443 7833 TRACE glance ValueError: Expecting , 
delimiter: line 5 column 5 (char 103)

2014-11-13 13:25:21.443 7833 TRACE glance

Any idea ?

Alvise

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


Re: [Openstack-operators] EtherPad from the Friday morning session?

2014-11-13 Thread Simon Pasquier
On Thu, Nov 13, 2014 at 12:11 AM, Simon McCartney 
wrote:

> Does anybody have the URL for the EtherPad of notes from the Friday
> morning session on the white sofa?
>
> Did I also see Michael & a few others start a project entry on
> wiki.openstack.org?
>
>
I didn't find any page but I already added some information to the
Operations page [1] that already exists. I would encourage all operators to
contribute there.
BR,
Simon

[1] https://wiki.openstack.org/wiki/Operations


> Cheers,
>
> Simon.
>
> --
> Simon McCartney
> +447710836915
>
>
> ___
> OpenStack-operators mailing list
> OpenStack-operators@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
___
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators