[Yahoo-eng-team] [Bug 1756845] [NEW] Queens Devstack instance creation failure "Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 833e1b

2018-03-19 Thread Sunil G
Public bug reported:

Description
===
Devstack Queens cirros instance launch failed with the error 
"MaxRetriesExceeded: Exceeded maximum number of retries. Exhausted all hosts 
available for retrying build failures for instance 
833e1bf6-7ea8-413f-94b7-0c87528a8d0a."

Creation of Network, router.. all went well.
Launch instance task failed.


Steps to reproduce
==
Install Devstack from stable/queens branch and launch instance

Environment
===
Ubuntu Server 16.04.4 LTS
Devstack stable/queens

stack@stack:/opt/devstack$ git log -1
commit bb0c101c0c7352b0fadf0e13d4c47f59437db454
Merge: 661b186 abe9fd8
Author: Zuul 
Date:   Tue Mar 13 02:28:44 2018 +

Merge "Cap max microversions for queens" into stable/queens


Logs & Configs
==

nova-compute.log
-

Mar 19 06:29:32 stack nova-compute[6834]: #033[01;31mERROR os_vif 
[#033[01;36mNone req-3fb97b01-cbcd-4b95-ac44-87b6afa6ebab #033[00;36mservice 
nova#033[01;31m] #033[01;35m#033[01;31mFailed to plug vif 
VIFBridge(active=False,address=fa:16:3e:0a:69:57,bridge_name='qbr41533537-1b',has_traffic_filtering=True,id=41533537-1b6c-4b64-8eff-2c05d281a564,network=Network(9148e3c5-5a24-4ef5-a569-ec7f1301759b),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap41533537-1b')#033[00m:
 ProcessExecutionError: Unexpected error while running command.
Mar 19 06:29:32 stack nova-compute[6834]: Command: brctl setageing 
qbr41533537-1b 0
Mar 19 06:29:32 stack nova-compute[6834]: Exit code: 1
Mar 19 06:29:32 stack nova-compute[6834]: Stdout: u''
Mar 19 06:29:32 stack nova-compute[6834]: Stderr: u'set ageing time failed: 
Numerical result out of range\n'
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif 
#033[01;35m#033[00mTraceback (most recent call last):
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m  
File "/usr/local/lib/python2.7/dist-packages/os_vif/__init__.py", line 77, in 
plug
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m
plugin.plug(vif, instance_info)
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m  
File "/usr/local/lib/python2.7/dist-packages/vif_plug_ovs/ovs.py", line 209, in 
plug
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m
self._plug_bridge(vif, instance_info)
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m  
File "/usr/local/lib/python2.7/dist-packages/vif_plug_ovs/ovs.py", line 161, in 
_plug_bridge
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m
linux_net.ensure_bridge(vif.bridge_name)
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m  
File "/usr/local/lib/python2.7/dist-packages/oslo_privsep/priv_context.py", 
line 207, in _wrap
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m
return self.channel.remote_call(name, args, kwargs)
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m  
File "/usr/local/lib/python2.7/dist-packages/oslo_privsep/daemon.py", line 202, 
in remote_call
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m
raise exc_type(*result[2])
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif 
#033[01;35m#033[00mProcessExecutionError: Unexpected error while running 
command.
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif 
#033[01;35m#033[00mCommand: brctl setageing qbr41533537-1b 0
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00mExit 
code: 1
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif 
#033[01;35m#033[00mStdout: u''
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif 
#033[01;35m#033[00mStderr: u'set ageing time failed: Numerical result out of 
range\n'
Mar 19 06:29:32 stack nova-compute[6834]: ERROR os_vif #033[01;35m#033[00m
Mar 19 06:29:32 stack nova-compute[6834]: #033[01;31mERROR 
nova.virt.libvirt.driver [#033[01;36mNone 
req-3fb97b01-cbcd-4b95-ac44-87b6afa6ebab #033[00;36mservice nova#033[01;31m] 
#033[01;35m[instance: 833e1bf6-7ea8-413f-94b7-0c87528a8d0a] #033[01;31mFailed 
to start libvirt guest#033[00m: InternalError: Failure running os_vif plugin 
plug method: Failed to plug VIF 
VIFBridge(active=False,address=fa:16:3e:0a:69:57,bridge_name='qbr41533537-1b',has_traffic_filtering=True,id=41533537-1b6c-4b64-8eff-2c05d281a564,network=Network(9148e3c5-5a24-4ef5-a569-ec7f1301759b),plugin='ovs',port_profile=VIFPortProfileOpenVSwitch,preserve_on_delete=False,vif_name='tap41533537-1b').
 Got error: Unexpected error while running command.


Mar 19 06:29:33 stack nova-compute[6834]: #033[01;31mERROR nova.compute.manager 
[#033[01;36mNone req-3fb97b01-cbcd-4b95-ac44-87b6afa6ebab #033[00;36mservice 
nova#033[01;31m] #033[01;35m[instance: 833e1bf6-7ea8-413f-94b7-0c87528a8d0a] 
#033[01;31mInstance failed to spawn#033[00m: InternalError: Failure running 
os_vif plugin plug method: Failed to plug VIF 
VIFBridge(acti

[Yahoo-eng-team] [Bug 1612656] [NEW] documentation problem regarding user groups

2016-08-12 Thread Sunil K Chopra
Public bug reported:

In the latest documentation examples, the first example has an apparent
error on line 14.

http://cloudinit.readthedocs.io/en/latest/topics/examples.html

```
# Add users to the system. Users are added after groups are added.
users:
  - default
  - name: foobar
gecos: Foo B. Bar
primary-group: foobar
groups: users
```

It shows that a string is an acceptable value for the `groups` key.  On
line 23, it shows another string with comma-separated values.  Both of
these values cause errors.  The `groups` key requires an array, even if
there is only one value. This is implied at line 109, but not explicitly
stated.

Please fix?

thanks!

Sunil

** Affects: cloud-init
 Importance: Undecided
 Status: New


** Tags: documentation

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1612656

Title:
  documentation problem regarding user groups

Status in cloud-init:
  New

Bug description:
  In the latest documentation examples, the first example has an
  apparent error on line 14.

  http://cloudinit.readthedocs.io/en/latest/topics/examples.html

  ```
  # Add users to the system. Users are added after groups are added.
  users:
- default
- name: foobar
  gecos: Foo B. Bar
  primary-group: foobar
  groups: users
  ```

  It shows that a string is an acceptable value for the `groups` key.
  On line 23, it shows another string with comma-separated values.  Both
  of these values cause errors.  The `groups` key requires an array,
  even if there is only one value. This is implied at line 109, but not
  explicitly stated.

  Please fix?

  thanks!

  Sunil

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1612656/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1449260] Re: Sanitation of metadata label

2015-05-08 Thread sunil
** Changed in: horizon
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1449260

Title:
  Sanitation of metadata label

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Security Advisories:
  Triaged

Bug description:
  1) Start up Horizon
  2) Go to Images
  3) Next to an image, pick "Update Metadata"
  4) From the dropdown button, select "Update Metadata"
  5) In the Custom box, enter a value with some HTML like 
'alert(1)//', click +
  6) On the right-hand side, give it a value, like "ee"
  7) Click "Save"
  8) Pick "Update Metadata" for the image again, the page will fail to load, 
and the JavaScript console says:

  SyntaxError: invalid property id
  var existing_metadata = {"

  An alternative is if you change the URL to update_metadata for the
  image (for example,
  
http://192.168.122.239/admin/images/fa62ba27-e731-4ab9-8487-f31bac355b4c/update_metadata/),
  it will actually display the alert box and a bunch of junk.

  I'm not sure if update_metadata is actually a page, though... can't
  figure out how to get to it other than typing it in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1449260/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp