<div dir="ltr">Hi Albert,<div><br></div><div>Could you please share with us your config file, log file and the exact error message that you see ?</div><div><br></div><div><br></div><div>BR,</div><div>Saad!</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 21, 2016 at 11:45 AM, Mathieu, Pierre-Arthur <span dir="ltr"><<a href="mailto:pierre-arthur.mathieu@hpe.com" target="_blank">pierre-arthur.mathieu@hpe.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Albert,<br>
<br>
<br>
The mailing list is one place where you can report this kind of things.<br>
<br>
You can also just pop up in the IRC room related to the corresponding project (#openstack-freezer in our case), this is usualy the fastest way.<br>
<br>
You can also create a bug in lauchpad (I did that for you: <a href="https://bugs.launchpad.net/freezer/+bug/1605178" rel="noreferrer" target="_blank">https://bugs.launchpad.net/freezer/+bug/1605178</a>).<br>
<br>
Someone is going to patch this shortly.<br>
<br>
<br>
Cheers,<br>
<br>
- Pierre<br>
<br>
<br>
PS: When interacting with OpenStack mailing lists, you need to add start the subject of the email by [mailing-list-name][project-name] ([openstack-dev][freezer] in this case) so that readers can sort through the big number of emails easily.<br>
<br>
<br>
<br>
________________________________<br>
From: Straub, Albert <<a href="mailto:Albert.Straub@charter.com">Albert.Straub@charter.com</a>><br>
Sent: Wednesday, July 20, 2016 10:12:08 PM<br>
To: <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>
Subject: [openstack-dev] Freezer - tmp_file issue<br>
<div class="HOEnZb"><div class="h5"><br>
Hi!<br>
<br>
I’m rather new at this so let me know if this is the wrong place to ask for a change.  I was trying to run the Freezer code without the trickle executable but with a configuration file.  It wouldn’t run.  So, I took a look and it appears that if you do not have a trickle executable but you do have a config file that it will add a tmp_file key to the backup_args dictionary.  However, if you don’t have a trickle executable, it will try to pop out tmp_file which doesn’t exist and thus an exception is thrown and the program exits.  Would it be possible to have someone move the if backup_args.config: \ backup_args.__dict__[‘tmp_file’] = <a href="http://conf_file.name" rel="noreferrer" target="_blank">conf_file.name</a> above and on the same indent as the if trickle_executable and then move the part in the else statement if backup_args.config to the same indent level as well?  That should prevent it from having a happy heart attack and exiting.<br>
<br>
Thanks,<br>
<br>
Al<br>
<br>
<br>
        if trickle_executable:<br>
            LOG.info("Info: Starting trickle ...")<br>
            trickle_command = '{0} -d {1} -u {2} '.\<br>
                format(trickle_executable,<br>
                       getattr(backup_args, 'download_limit') or -1,<br>
                       getattr(backup_args, 'upload_limit') or -1)<br>
            backup_args.__dict__['trickle_command'] = trickle_command<br>
            if backup_args.config:<br>
                backup_args.__dict__['tmp_file'] = <a href="http://conf_file.name" rel="noreferrer" target="_blank">conf_file.name</a><br>
<br>
            # maintain env variable not to get into infinite loop<br>
            if "tricklecount" in os.environ:<br>
                tricklecount = int(os.environ.get("tricklecount", 1))<br>
                tricklecount += 1<br>
                os.environ["tricklecount"] = str(tricklecount)<br>
<br>
            else:<br>
                os.environ["tricklecount"] = str(1)<br>
        else:<br>
            LOG.warn("Trickle not found. Switching to normal mode without "<br>
                     "limiting bandwidth")<br>
            if backup_args.config:<br>
                # remove index tmp_file from backup arguments dict<br>
                backup_args.__dict__.pop('tmp_file')<br>
                utils.delete_file(<a href="http://conf_file.name" rel="noreferrer" target="_blank">conf_file.name</a>)<br>
<br>
<br>
__________________________________________________________________________<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.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
__________________________________________________________________________<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.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>--------------------------</div><div><font color="#999999">Best Regards,</font></div><div><font color="#999999">Saad!</font></div></div></div></div>
</div>