{"id":924,"date":"2021-02-09T11:43:19","date_gmt":"2021-02-09T09:43:19","guid":{"rendered":"https:\/\/fleio.com\/blog\/?p=924"},"modified":"2021-03-10T11:05:00","modified_gmt":"2021-03-10T09:05:00","slug":"2021-02-1-new-fleio-commands-url-uploads-in-memory-stream-performance-improvements","status":"publish","type":"post","link":"https:\/\/fleio.com\/blog\/2021\/02\/09\/2021-02-1-new-fleio-commands-url-uploads-in-memory-stream-performance-improvements\/","title":{"rendered":"2021.02.1: New fleio commands, url uploads in memory stream, performance improvements"},"content":{"rendered":"\n<p>Fleio 2021.02.1 was released today, 9th of February.<\/p>\n\n\n\n<p>The latest version is marked as stable and can be used in production environment (read more about our release model <a href=\"https:\/\/fleio.com\/docs\/operating\/release-model.html\">here<\/a>).<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">New fleio commands<\/h2>\n\n\n\n<p>In the latest release we have worked on improving the new fleio bash command (which is available only when using Fleio deployed with docker). <\/p>\n\n\n\n<p>As of 2021.02.1 we now have some new arguments, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><code>fleio edit<\/code> <\/li><li><code>fleio sync<\/code><\/li><\/ul>\n\n\n\n<p>With the <code>fleio edit<\/code> bash command you will now be able to directly edit the configuration files, using your preferred file editor:<\/p>\n\n\n\n<a href=\"https:\/\/asciinema.org\/a\/JA9yHDZqmqy7cqPBOgBrq77JA\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/asciinema.org\/a\/JA9yHDZqmqy7cqPBOgBrq77JA.svg\"><\/a>\n\n\n\n<p>Before 2021.02.1, you would have to access the utils container using <code>fleio utils<\/code><strong> <\/strong>command, then change the directory to <code>\/var\/webapps\/fleio\/scripts<\/code><strong> <\/strong>and then you would be able to run the <code>sync<\/code> script. <\/p>\n\n\n\n<p>Now you can just run the <code>fleio sync<\/code> command, as you would run any other fleio related command (status, restart, updates and so on).<\/p>\n\n\n\n<p>Besides <code>fleio edit<\/code> and <code>fleio sync<\/code> we have changed the <code>utils<\/code> flag to <code>bash<\/code>, so now you can run commands inside utils container, directly from the server host, using <code>fleio bash $command<\/code>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Url uploads in memory streams<\/h2>\n\n\n\n<p>On 2021.01.1 release, we have changed the way on how files and images were uploaded to Openstack. Prior to this change, the files were first uploaded to the Fleio host, in a tmp file, and just after that it was uploaded to Openstack.<\/p>\n\n\n\n<p>This opened some vulnerabilities, where someone could make use of this vulnerability and start uploading images until your server ran out of space.<\/p>\n\n\n\n<p>We are happy to announce that with 2021.02.1 release, we have fully mitigated this, by sending the files and images (including URL uploads) directly to Openstack.<\/p>\n\n\n\n<p>Besides the URL uploads, we also added some more checks when an enduser uploads an image from URL, for cases where the requested url was not working, had authentication, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Performance improvements<\/h2>\n\n\n\n<p>With 2021.02.1 release we have also made changes to how Fleio computes client&#8217;s credit on resource create. This should result in a big performance boost <\/p>\n\n\n\n<p>Prior to this change, Fleio would compute all the client&#8217;s data on each cloud resource create (instance, volume, network, etc) with all pricing rules, to see if the client does have enough credit at that given point. <\/p>\n\n\n\n<p>If he has enough credit, the instance is deployed. If not, he receives a warning that he does not have enough credit even though he has positive credit (basically on next process clients cron he would get into negative credit).<\/p>\n\n\n\n<p>We have now implemented a new settings.py feature that will allow you to enable\/disable the credit check on cloud resource deploy:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">COLLECT_USAGE_ON_CHECK_CREDIT = True<\/pre>\n\n\n\n<p>This new feature is enabled by default (basically, you will have no changes in Fleio if you let this feature enabled).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Fleio deployed with docker ready for production<\/h2>\n\n\n\n<p>With 2021.02.1 we are happy to let you know that Fleio deployed with docker is now ready for production. <\/p>\n\n\n\n<p>We do recommend you to start testing the docker deployment in your staging environment as soon as possible. <\/p>\n\n\n\n<p>The installation guide can be found <a href=\"http:\/\/fleio.com\/docs\/installing\/docker.html\">here<\/a>. Also, a migration guide can be found <a href=\"http:\/\/fleio.com\/docs\/operating\/migrate-to-docker.html\">here<\/a>.<\/p>\n\n\n\n<p>More details about Fleio &#8211; Docker will come in a separate blog post.<\/p>\n\n\n\n<p>As a reminder, when upgrading Fleio, we recommend you to use the <a href=\"http:\/\/fleio.com\/docs\/upgrading.html#safe-upgrade-packages\">safe upgrade procedure<\/a>.<\/p>\n\n\n\n<p>Fleio 2021.02.1 includes many more improvements and bug fixes. For a full list see the full&nbsp;<a href=\"https:\/\/fleio.com\/docs\/changelog\/v2021.02.1.html\">2021.02 changelog<\/a>.<\/p>\n\n\n\n<p>See the latest version of Fleio in the&nbsp;<a href=\"https:\/\/fleio.com\/demo\">online demo<\/a>&nbsp;and&nbsp;<a href=\"https:\/\/fleio.com\/contact\">contact us<\/a>&nbsp;to discuss how we can implement Fleio in your OpenStack cloud.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fleio 2021.02.1 was released today, 9th of February. The latest version is marked as stable and can be used in production environment (read more about our release model here).<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[67,32,2,10],"class_list":["post-924","post","type-post","status-publish","format-standard","hentry","category-openstack","tag-fleio-docker","tag-fleio-release","tag-openstack","tag-openstack-billing"],"_links":{"self":[{"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/posts\/924","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/comments?post=924"}],"version-history":[{"count":9,"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/posts\/924\/revisions"}],"predecessor-version":[{"id":1005,"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/posts\/924\/revisions\/1005"}],"wp:attachment":[{"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/media?parent=924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/categories?post=924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fleio.com\/blog\/wp-json\/wp\/v2\/tags?post=924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}