[Yahoo-eng-team] [Bug 1940012] [NEW] allow attaching pci devices as different functions

2021-08-15 Thread norman shen
Public bug reported:

Description
===

We have a use case to attach FPGA device to virtual machine. This FPGA
card gets two functions, we can attach both of them using alias. After
both of them are passing through to the virtual machine, we found that
they are not appearing as different functions of a same PCI device.
Instead, they are two PCI devices as denoted by 'slot' ID.

I think it should be possible to allow setting functions as libvirt
allows it.

** Affects: nova
 Importance: Undecided
 Status: Opinion

** Changed in: nova
   Status: New => Opinion

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

Title:
  allow attaching pci devices as different functions

Status in OpenStack Compute (nova):
  Opinion

Bug description:
  Description
  ===

  We have a use case to attach FPGA device to virtual machine. This FPGA
  card gets two functions, we can attach both of them using alias. After
  both of them are passing through to the virtual machine, we found that
  they are not appearing as different functions of a same PCI device.
  Instead, they are two PCI devices as denoted by 'slot' ID.

  I think it should be possible to allow setting functions as libvirt
  allows it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1940012/+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 1937904] Re: imp module is deprecated

2021-08-15 Thread Takashi Kajinami
** Also affects: tripleo
   Importance: Undecided
   Status: New

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

Title:
  imp module is deprecated

Status in neutron:
  In Progress
Status in os-win:
  Fix Released
Status in python-novaclient:
  In Progress
Status in tripleo:
  New

Bug description:
  The imp module is deprecated since Python 3.4 and should be replaced by the 
importlib module.
  Now usage of the imp module shows the following deprecation warning.
  ~~~
  DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
  ~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1937904/+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 1937904] Re: imp module is deprecated

2021-08-15 Thread Takashi Kajinami
** Changed in: os-win
 Assignee: (unassigned) => Takashi Kajinami (kajinamit)

** Changed in: neutron
 Assignee: (unassigned) => Takashi Kajinami (kajinamit)

** Also affects: python-novaclient
   Importance: Undecided
   Status: New

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

Title:
  imp module is deprecated

Status in neutron:
  In Progress
Status in os-win:
  Fix Released
Status in python-novaclient:
  New

Bug description:
  The imp module is deprecated since Python 3.4 and should be replaced by the 
importlib module.
  Now usage of the imp module shows the following deprecation warning.
  ~~~
  DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
  ~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1937904/+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 1937904] Re: imp module is deprecated

2021-08-15 Thread Takashi Kajinami
** Also affects: neutron
   Importance: Undecided
   Status: New

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

Title:
  imp module is deprecated

Status in neutron:
  In Progress
Status in os-win:
  Fix Released

Bug description:
  The imp module is deprecated since Python 3.4 and should be replaced by the 
importlib module.
  Now usage of the imp module shows the following deprecation warning.
  ~~~
  DeprecationWarning: the imp module is deprecated in favour of importlib; see 
the module's documentation for alternative uses
  ~~~

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1937904/+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 1940009] [NEW] The healthcheck middleware options are not included in neutron.conf generated by "tox -e genconfig"

2021-08-15 Thread Takashi Kajinami
Public bug reported:

The healthcheck middleware was added to api pipeline during Victoria cycle.
 https://review.opendev.org/c/openstack/neutron/+/724676

However the options of the middleware is not included in neutron.conf generated 
by "tox e genconfig" which executes internally oslo-config-generator.
This is because the oslo.middleware.healthcheck endpoint is not added to the 
configuration file used by the generator command.

** Affects: neutron
 Importance: Undecided
 Assignee: Takashi Kajinami (kajinamit)
 Status: In Progress

** Description changed:

- The healthcheck middleware was added during Victoria cycle.
-  https://review.opendev.org/c/openstack/neutron/+/724676
+ The healthcheck middleware was added to api pipeline during Victoria cycle.
+  https://review.opendev.org/c/openstack/neutron/+/724676
  
  However the options of the middleware is not included in neutron.conf 
generated by "tox e genconfig" which executes internally oslo-config-generator.
  This is because the oslo.middleware.healthcheck endpoint is not added to the 
configuration file used by the generator command.

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

Title:
  The healthcheck middleware options are not included in neutron.conf
  generated by "tox -e genconfig"

Status in neutron:
  In Progress

Bug description:
  The healthcheck middleware was added to api pipeline during Victoria cycle.
   https://review.opendev.org/c/openstack/neutron/+/724676

  However the options of the middleware is not included in neutron.conf 
generated by "tox e genconfig" which executes internally oslo-config-generator.
  This is because the oslo.middleware.healthcheck endpoint is not added to the 
configuration file used by the generator command.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1940009/+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 1939977] [NEW] 500 error on deleting image from store if get_image_location policy is disabled

2021-08-15 Thread Abhishek Kekane
Public bug reported:

Note: This issue only occurs if multiple stores are configured in
glance.

Deleting image from particular store, if get_image_location policy is
disabled or it does not match the policy criteria then you will get 500
internal server error.

Steps to reproduce:
1. Verify you have multiple stores configured
2. Create image in all stores using below command
   $ glance image-create-via-import --disk-format qcow2 --container-format bare 
--name policy_test --file  --all-stores True
3. Disable get_image_location in policy.yaml file and restart glance-api service
4. Delete image from any of the store using below command
   $ glance stores-delete  --store 

Expected output:
Unable to delete image '' from store ''. 
(HTTP 403 Forbidden: You are not authorized to complete get_image_location 
action.)

Actual output: 
Unable to delete image '' from store ''. 
(HTTP 500 Internal Server Error: The server has either erred or is incapable of 
performing the requested operation.)

** Affects: glance
 Importance: Undecided
 Status: New

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

Title:
  500 error on deleting image from store if get_image_location policy is
  disabled

Status in Glance:
  New

Bug description:
  Note: This issue only occurs if multiple stores are configured in
  glance.

  Deleting image from particular store, if get_image_location policy is
  disabled or it does not match the policy criteria then you will get
  500 internal server error.

  Steps to reproduce:
  1. Verify you have multiple stores configured
  2. Create image in all stores using below command
 $ glance image-create-via-import --disk-format qcow2 --container-format 
bare --name policy_test --file  --all-stores True
  3. Disable get_image_location in policy.yaml file and restart glance-api 
service
  4. Delete image from any of the store using below command
 $ glance stores-delete  --store 

  Expected output:
  Unable to delete image '' from store ''. 
(HTTP 403 Forbidden: You are not authorized to complete get_image_location 
action.)

  Actual output: 
  Unable to delete image '' from store ''. 
(HTTP 500 Internal Server Error: The server has either erred or is incapable of 
performing the requested operation.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1939977/+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