*** rlandy|bbl is now known as rlandy | 01:39 | |
*** rlandy is now known as rlandy|out | 01:39 | |
*** rlandy|out is now known as rlandy | 10:38 | |
lz1irq | Hey. I am trying to use python-ironicclient, both the last 2 version from pypi and the system packages in Ubuntu 20.04 give this error: "ImportError: cannot import name 'config' from 'openstack'" | 14:03 |
---|---|---|
lz1irq | This happens when importing the package, e.g. `from ironicclient import client as ironic_client`. The Glance and Nova clients work fine in the same codebase and package install. | 14:04 |
lz1irq | I have the python3-openstacksdk package installed in both scenarios, files appear to be in the appropriate locations, at the very least there is `dist-packages/openstack/config/__init__.py` | 14:07 |
lowercas_ | install python3-ironicclient | 14:47 |
lowercas_ | @lz1irq | 14:48 |
*** lowercas_ is now known as lowercase | 14:49 | |
TerryC | Is there a way to rename a flavor, I am aware that will break any templates etc that reference it by name. | 14:53 |
lowercase | Would setting the flavor to private and creating a new flavor suffice? | 15:05 |
lowercase | and no, you can only delete and create. | 15:05 |
lowercase | @TerryC | 15:06 |
TerryC | setting them to private makes them show as not available in the instance list, it's more of a cosmetic change | 15:06 |
TerryC | also you can't set one to private once it's public | 15:07 |
TerryC | without poking in the db | 15:07 |
TerryC | we've tested renaming a test flavor via the db and it seemed to be fine, but we don't know what we don't know :) | 15:08 |
TerryC | just not aware if it is referenced by name anywhere else | 15:10 |
lowercase | Well that's interesting. I def tried to remove public access and couldn't | 15:13 |
lowercase | I would make sure to go back through everything that presently uses that reference in the DB and update the reference to the new flavor | 15:15 |
lowercase | or i wonder if oyu just create a new flavor as the OLD flavor's name and set that to private will help prevent any pitfalls | 15:15 |
lowercase | I'm thinking around instance recovery and rebuilds | 15:15 |
TerryC | yeah, you can only edit metadata, I totally understand not being able to edit cores and ram | 15:16 |
lowercase | os-flavor-access:is_public | True is a property set but im not able to modify that attribute. | 15:16 |
lowercase | cause here is the thing, every other project gets the flavor for free when public. When moving it or modifying it im really worried about the reference being broken. | 15:18 |
*** EugenMayer8 is now known as EugenMayer | 20:46 | |
*** rlandy is now known as rlandy|out | 21:51 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!