<div dir="ltr">I have an issue with new openstack client -<div><br></div><div>openstack client is installed in new virtual env. it version is 3.0.0 </div><div>os-client-config!=1.19.0,>=1.13.1 (from osc-lib>=0.4.0->python-openstackclient)<br></div><div><br></div><div>I set credentials via environment OS_PROJECT_NAME, OS_USERNAME, OS_PASSWORD, OS_AUTH_URL.</div><div><br></div><div>and 'openstack --debug image list' gets me an error -</div><div><div><br></div><div>_validate_auth() takes exactly 3 arguments (4 given)<br></div><div>Traceback (most recent call last):</div><div> File "/home/apavlov/emccode/.venv/local/lib/python2.7/site-packages/cliff/app.py", line 250, in run</div><div> self.initialize_app(remainder)</div><div> File "/home/apavlov/emccode/.venv/local/lib/python2.7/site-packages/openstackclient/shell.py", line 154, in initialize_app</div><div> argparse=self.options,</div><div> File "/home/apavlov/emccode/.venv/local/lib/python2.7/site-packages/os_client_config/config.py", line 1067, in get_one_cloud</div><div> raise e</div><div>TypeError: _validate_auth() takes exactly 3 arguments (4 given)</div><div>Traceback (most recent call last):</div><div> File "/home/apavlov/emccode/.venv/local/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run</div><div> ret_val = super(OpenStackShell, self).run(argv)</div><div> File "/home/apavlov/emccode/.venv/local/lib/python2.7/site-packages/cliff/app.py", line 250, in run</div><div> self.initialize_app(remainder)</div><div> File "/home/apavlov/emccode/.venv/local/lib/python2.7/site-packages/openstackclient/shell.py", line 154, in initialize_app</div><div> argparse=self.options,</div><div> File "/home/apavlov/emccode/.venv/local/lib/python2.7/site-packages/os_client_config/config.py", line 1067, in get_one_cloud</div><div> raise e</div><div>TypeError: _validate_auth() takes exactly 3 arguments (4 given)</div><div><br></div><div>END return value: 1</div></div><div><br></div><div><br></div><div>It worked very well with version 2.X</div><div>Is it a known bug?</div><div><br></div><div>Regards,</div><div>Andrey.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 22, 2016 at 4:08 AM, Dean Troyer <span dir="ltr"><<a href="mailto:dtroyer@gmail.com" target="_blank">dtroyer@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px">We're excited to pre-announce the release of OSC 3.0.0. The release is expected to be approved by the release team during their working hours on Monday 22 Aug 2016.</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><br></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px">This is a **huge** release, and we shuffled things around so we've bumped our major version. We tried our darndest to not break anything, and where applicable we deprecated things instead. </span><span style="margin:0px;padding:0px 0px 1px">We have a small number of known, documented</span><span style="margin:0px;padding:0px 0px 1px"> breaking changes,</span><span style="margin:0px;padding:0px 0px 1px"> </span><span style="margin:0px;padding:0px 0px 1px">which is </span><span style="margin:0px;padding:0px 0px 1px">why we did a major version bump, please keep this in mind when upgrading.</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><br style="margin:0px;padding:0px"></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="margin:0px;padding:0px 0px 1px;background-color:rgb(255,255,255)">We've added a lot of support:</span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px"> - We now use keystoneauth for all authentication</span><span style="margin:0px;padding:0px 0px 1px"> and client sessions</span><span style="margin:0px;padding:0px 0px 1px">: </span><span style="margin:0px;padding:0px 0px 1px">from that </span><span style="margin:0px;padding:0px 0px 1px">we</span><span style="margin:0px;padding:0px 0px 1px"> wi</span><span style="margin:0px;padding:0px 0px 1px">ll get support for various federated identity protocols </span><span style="margin:0px;padding:0px 0px 1px">as they are added </span><span style="margin:0px;padding:0px 0px 1px">(saml, openid connect), kerberos, time-base one-time password, any auth plugin in keystoneauth</span><span style="margin:0px;padding:0px 0px 1px">)</span><span style="margin:0px;padding:0px 0px 1px">.</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px"> - Support for various languages: we fixed </span><span style="margin:0px;padding:0px 0px 1px">some basic</span><span style="margin:0px;padding:0px 0px 1px"> unicode issues with OSC, resulting in a much cleaner experience when using non-English languages</span><span style="margin:0px;padding:0px 0px 1px">. Additional important unicode fixes are being made in cliff and will get picked up automatically by all releases of OSC when those are released.</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px"> - Lots of </span><span style="margin:0px;padding:0px 0px 1px">new </span><span style="margin:0px;padding:0px 0px 1px">networking command</span><span style="margin:0px;padding:0px 0px 1px">s and additional options for existing ones. Too many to list them all here</span><span style="margin:0px;padding:0px 0px 1px">: support for networks, ports, subnets, ip addresses, routers, network RBAC, security group, etc.</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px"> - Bulk deletion support for nearly all delete commands: when deleting resources supply as many as you want and we'll try to delete them all</span><span style="margin:0px;padding:0px 0px 1px">, and report on any that failed.</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px"> - Under the hood we </span><span style="margin:0px;padding:0px 0px 1px">moved a chuck of the common and low-level bits of OSC into a new `osc-lib` repository to expose them as a documented and stable library API. This is now all available to OSC plugins without having to depend on OpenStackClient itself. The osc-lib dependency list is very short, and most of those will already be used by plugins. This also led to a restructuring of the CLI parsing and shell configuration code to remove some duplication and overlap with os-client-config and isolate the remainder in osc-lib. osc-lib 1.0 has already been released and is now available for use by plugins.</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><br style="margin:0px;padding:0px"></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><span style="margin:0px;padding:0px 0px 1px">The known breaking changes are</span><span style="margin:0px;padding:0px 0px 1px">:</span></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="margin:0px;padding:0px 0px 1px;background-color:rgb(255,255,255)"> - The `ip floating` commands have been renamed to `floating ip` -- check the help output for details. The old commands are still present but deprecated and no longer appear in help output.</span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="margin:0px;padding:0px 0px 1px;background-color:rgb(255,255,255)"> - Finding role assignments for a user or project using the `roles list` command has been deprecated, folks should use `role assignment list` for this operation.</span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px"><span style="background-color:rgb(255,255,255)"><br style="margin:0px;padding:0px"></span></div><div style="margin:0px;padding:0px;color:rgb(0,0,0);font-family:"Helvetica Neue",Arial,sans-serif;font-size:12px;line-height:16px">The usual patch will be automatically created to bump the upper-constaints of OSC. Where possible, we encourage projects that depend on OSC (puppet, osc-plugins, tripleo, etc) to propose a patch that uses the Depends-On mechanism (depends on the upper-constaints change), to ensure your gate won't break.<br></div><div><span style="margin:0px;padding:0px 0px 1px;background-color:rgb(255,255,255)"><br></span></div><div><span style="margin:0px;padding:0px 0px 1px;background-color:rgb(255,255,255)">Thank you to the entire OSC team, we have had a lot of new contributors this year, many of them working hard on the Networking commands.</span></div><span class="HOEnZb"><font color="#888888"><div><span style="margin:0px;padding:0px 0px 1px;background-color:rgb(255,255,255)"><br></span></div><div><span style="margin:0px;padding:0px 0px 1px;background-color:rgb(255,255,255)">dt</span></div><div><br></div>-- <br><div data-smartmail="gmail_signature"><br>Dean Troyer<br><a href="mailto:dtroyer@gmail.com" target="_blank">dtroyer@gmail.com</a><br></div>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Kind regards,<div>Andrey Pavlov.</div></div></div>
</div>