primordic/IssueDupesLite huggingface dataset:
Repository: harvester/harvester

Issue #6509: [BUG] improve identification of VM's pinned to hostnames during maintenance operations
Created: 2024-09-05T04:05:55Z
Describe the bug

As part of the requirements for issue: #4888 we introduced additional logic to identify VM's which cannot be scheduled to other nodes due to

HostDevices
Scheduling or Zone constraints
Unhealthy longhorn replicas

The change did not include identifying VM's where a specific node scheduling has been specified for the VM.  In such scenarios hostname is added using kubernetes.io/hostname label to VM node selector
To Reproduce
Steps to reproduce the behavior:

Create a VM in harvester which is scheduled to run on a specific host
Attempt to place the host into maintenance mode.

Expected behavior

Expect to see the VM reported in the list of VM's which cannot be migrated since the hostname based scheduling criteria cannot be met on another node in the cluster
Support bundle

Environment

Harvester ISO version: v1.3-head, v1.4-head
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context

Additional info is available here: #5911 (comment)

Duplicate issue #4888: [ENHANCEMENT] Improve the UX of non-migratable VMs in node maintenance mode
Created: 2023-12-19T08:20:14Z
Is your enhancement related to a problem? Please describe.

When a node is put into maintenance, Harvester will start to live-migrate VMs on it. In some cases, VMs can't migrate to other node:

VMs have PCI passthrough devices.
VMs have NodeSelector or zone constraints, but can't find another node to schedule.

And these VMs will stay migrating until timeout happens.
Describe the solution you'd like

Improving the UX. Some ideas:

Display a non-migratable VM list and suggest those VMs will be shut down.
Once the user confirms, we shut down the VMs and perform maintenance.

Describe alternatives you've considered

Additional context

Closing comment (2024-09-05T05:14:44Z): @lanfon72 According to @ibrokethecloud, #6397 is a further improvement and it can be tracked in #6509
Repository: harvester/harvester

Issue #2651: [BUG] Virtual Media Installation Hangs For 2+hrs With "containerd.sock" Connection Error
Created: 2022-08-10T21:52:24Z
Describe the bug
When adding "Virtual Media" with the Harvester v1.0.3 iso as a mapped virtual media drive (in this case DVD read only) to boot from the bare-metal machine for installing - it hangs for 2+hrs on ctr: failed to dail "/run/k3s/containerd/containerd.sock: connect: connection refused.   Then when power-cycling the bare-metal device via Dell iDRAC 7 and that boots into Harvester v1.0.3, the pod harvester-cluster-repo-RANDOM in the cattle-system gets hung on errors after container creating - Harvester never becomes available.  Errors in pod of "Failed to pull image "rancher/harvester-cluster-repo:v1.0.3" (ImagePullBackOff).
To Reproduce
Prerequisite: Have a Dell PowerEdge Device That Allows for Virtual Media Drives to be mapped to iso's from HTML5 window
Steps to reproduce the behavior:

Map a virtual media device, load the iso
Boot, selecting that virtual media device
Allow install to run

Expected behavior
Virtual Media based installs on bare-metal servers like Dell PowerEdge systems to succeed.
Install not to be hung on k3's containerd.sock connection issue for 2+hrs.
57:48, in install when it first started to occur shown here:

2:57:24, while it was still occurring shown here, prior to powercycle (iDRAC 7 powercycle command):

Support bundle

scc_dell-poweredge-harvester-r720_220810_2037.tar.gz
Generated with supportconfig -k -c.  Then scp'd the file to local machine.

Environment

Dell PowerEdge R720:

2 x Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz (total of 20cores)
64GB DDR3 ECC RAM
1TB Samsung SSD



Additional context

Duplicate issue #3501: [BUG] Install fails
Created: 2023-02-20T03:35:42Z
Describe the bug

To Reproduce
Steps to reproduce the behavior:

Boot from USB
Proceed with the installation
Fill out all the forms
Wait until images are copied
Containerd fails "Connection refused"

Expected behavior

Boot from USB
Proceed with the installation
Fill out all the forms
Wait until images are copied
Containerd install

Environment

Harvester ISO version: 1.1.0 and 1.1.1
Baremetal with Dell PowerEdge T630

Additional context
The network is set to DHCP
Reboot on the installed disk/partition will show Harvester with the unchanged status "Setting up node "
I am located in East Europe (Romania)
Thank you

Closing comment (2023-05-10T16:36:36Z): The root cause is same as
#2651
and is fixed in harvester/harvester-installer#458
could be verified in the comming v1.2.0 & v1.1.3 (if planned) releases.
Repository: harvester/harvester

Issue #6879: [ENHANCEMENT][GUI] Move enable CPU Pinning checkbox position in template config page
Created: 2024-10-26T04:30:15Z
Is your enhancement related to a problem? Please describe.
VM create /edit page has Enable CPU Pinning checkbox at the bottom of page.
But in template create page it's in the middle of page.
It's nice to have align them at the bottom of advance page

Duplicate issue #6879: [ENHANCEMENT][GUI] Move enable CPU Pinning checkbox position in template config page
Created: 2024-10-26T04:30:15Z
Is your enhancement related to a problem? Please describe.
VM create /edit page has Enable CPU Pinning checkbox at the bottom of page.
But in template create page it's in the middle of page.
It's nice to have align them at the bottom of advance page

Closing comment (2025-02-06T19:35:00Z): Verified this enhancement has been applied.
Test Information

Environment: baremetal DL360G9 4 nodes
Harvester Version: v1.5.0-dev-20250203
ui-source Option: External

Verify Steps

Same as #6879 (comment)
Repository: harvesthq/chosen

Issue #135: Multiselect with shift key
Created: 2011-08-02T11:56:10Z
The multi select should allow us to select more then items at once by holding the shift key, like the regular non enhanced version does.

Duplicate issue #549: shift/alt multi select
Created: 2012-03-30T03:12:29Z
is it possible to add support for using the shift/ key in order to select many elements in a row (same as a normal multi-select works) and the alt key to select specific elements all at once
i think that will increase usability quite a bit if one wants to select multiple elements. this mode can be an extra option!

Closing comment (2013-04-16T16:44:55Z): Duplicate of #135
Repository: harvesthq/chosen

Issue #323: Make the optgroup labels clickable
Created: 2011-10-26T11:34:54Z
When using a select with optgroups, having all the items in a group added to the selection when the group label is clicked would be a very handy feature. It would make selecting a group minus one item very easy too.
For instance, I have a filter form with countries grouped by zone. For the moment, if someone wants to select a group minus one item, he must select all items one by one. With this feature, he would simply click on the group and remove the country he does not want.

Duplicate issue #1128: Feature Request - Make option group selectable
Created: 2013-04-08T14:22:07Z
Hi,it would be a great option to be able to select an option group itself. This would be very useful in large multi select where instead of having each option for the option group selected, only the group itself would be selected.

Closing comment (2013-04-16T16:55:33Z): Duplicate of #323
Repository: harvesthq/chosen

Issue #946: Hide list unless user type some text in search box
Created: 2012-12-14T12:27:31Z
Hi,
Is it possible to hide the list unless user start typing anything in search box? So when user clicks on chosen dropdown, only search box will be shown and as user starts typing it will display matching results/no results text.
Please consider this as a feature request. Thanks. :)

Duplicate issue #889: Hide option list until keyup (multiple select)?
Created: 2012-11-03T07:08:50Z
Hi!
First of all, I love this plugin (and so do my clients). Beautiful work, man.
Right now, on a multiple select, the options list shows when you click into the input field, listing all the option items in the default sort order, which then change as the user starts to type. Is there a way to keep it hidden until keyup?
Thanks.

Closing comment (2013-04-24T22:12:34Z): Duplicate of #946
Repository: harvesthq/chosen

Issue #921: Plugin Not Disabling in IE7
Created: 2012-11-29T23:59:08Z
Unfortunately I can't give you accurate version numbers, because both my ~8 month old version and the one I downloaded on Monday (11/26) both say version 0.9.8.
Anyway, on the old version, Chosen disables itself correctly in IE7. But in the new version, Chosen still attempts to style the select fields (with poor results).

Duplicate issue #1046: Despite not supporting IE7, Chosen still executes on IE7
Created: 2013-02-19T00:16:47Z
The fix for this is pretty trivial. Change line 316 in chosen.jquery.js (not sure what the corresponding line is in the CoffeeScript source).
Original line:
if (browser.name === "msie" && (browser.version === "6.0" || (browser.version === "7.0" && document.documentMode === 7))) {

Fix:
if (browser.name === "msie" && (browser.version === "6.0" || browser.version === "7.0" || document.documentMode === 7)) {

The crucial detail is the || when checking if the current version is IE. Real IE7 (that is, not IE8+ pretending to be IE7) does not define document.documentMode, and so the v.7 check will be false.
Sometimes it's worthwhile to keep a copy of IE7 around! :)
This is in 0.9.11

Closing comment (2013-03-02T22:31:38Z): This ticket is by the way a duplicate of #921
Repository: harvesthq/chosen

Issue #135: Multiselect with shift key
Created: 2011-08-02T11:56:10Z
The multi select should allow us to select more then items at once by holding the shift key, like the regular non enhanced version does.

Duplicate issue #2226: Shift+select
Created: 2015-02-06T10:43:13Z
Our product is used in schools where there are lots of students and teachers. In our system you can select these to be included in groups. With the standard HTML multi-select you can do the handy thing of selecting the first value, holding shift, and selecting the last value to mark everyone as selected. This is not possible with Chosen as I have experianced. You can hold Ctrl and click on elements, but that only allows you to select more options while still keeping the option-box open.
So, is there any possibility to do the shift-select that the ordinary multiselect supports? Or will our users have to do lots of clicks to get everything? (the last one I heard were about to select 108 people out of a list of 120, fun!)

Closing comment (2015-02-06T18:43:04Z): Not currently supported, and this issue is a duplicate of #135 -- closing this in favor of that one.  Feel free to leave any additional feedback you have there.
There's also PR #1563 which attempts to add it, but it was never reviewed/merged, and is pretty out of date with Chosen master.  If you absolutely need this functionality, you could use their patched out-of-date version of Chosen.
Additionally, you could ask on that PR for the original author to rebase their contributions against master to get it up to date.  If they're unable to, you could try to rewrite their patches yourself against master and open a new PR (however, no guarantees that it would be reviewed/merged -- your standard OSS warnings apply).
Repository: harvesthq/chosen

Issue #515: html5 required attribute support?
Created: 2012-03-04T10:12:08Z
When chosen is initialized on a select input, it adds [style="display:none"] to the select tag and creates the various div tags it needs, as follows.
<select name="country" id="country" style="display: none; " class="chzn-done">
    <option selected="selected" value=""></option>
    ...
</select>
This is fine, but we have a problem if I add the html5 'required' attribute to my select tag, which produces the following markup after chosen initializes:
<select name="country" id="country" required="required" style="display: none; " class="chzn-done">
<option selected="selected" value=""></option>
...
</select>
The problem occurs when the user submits the form without selecting a value.  To the user, the browser seems to do nothing.  In fact, it's displaying an error message to the user to select a value, but because the CSS instructs the browser not to show the select element, the error message also doesn't appear.
This is happening in Chrome, I'm not sure about the behaviour of other browsers.
I haven't dug deep enough to suggest a solution, but this is an issue as we start to include html5 attributes in our forms.

Duplicate issue #2636: Make the select masked but not hidden.
Created: 2016-06-27T10:38:00Z
I am seeing that the chosen library is hiding the actual field i.e select field. In my case, I want the select field to get masked instead of getting hidden.
Because, if the select field gets hidden, I am unable to use the HTML 5 validations. I am not planning to fix this by including any validation plugin which will be overkill, imo.
Please help.
Steps to reproduce
HTML
<select class="custom-select" required name="tags[]">
    <option value="1">Jon</option>
    <option value="1">Jon</option>
    <option value="1">Jon</option>
</select>

After including the plugin.
$('.custom-select').chosen();

Environment

Chosen 1.6.1
jQuery 2.2.4
Browser and Version: Chrome 51.0.2704
OS and Version: Mac OSX 10.11

Closing comment (2016-09-16T09:05:51Z): Duplicate of #515
Repository: harvesthq/chosen

Issue #536: support chars with accents
Created: 2012-03-21T15:25:08Z
if you have a item in the dropdown called "testé"
it would be nice to be able to type "teste" to find it.
right now it's not finding it because of the ´ over the e
perhaps chosen could remove all of those accent first?

Duplicate issue #1599: new improvment
Created: 2013-10-10T19:53:05Z
http://fiddle.jshell.net/whqb5/
i change winnow_results method and create stringEscaped for resume search 'unidos arabes'
thanks for beautful plugin i updated this for my propouse
sorry for my poor english.

Closing comment (2013-10-10T20:02:09Z): @felpasl This is a duplicate of #536 -- please feel free to add your comments and solution to that ticket.  Thanks!
Repository: harvesthq/chosen

Issue #2368: Why compass?
Created: 2015-07-14T19:19:54Z
I'm currently using chosen-rails and am unable to update sass to the current version due to the use of compass in chosen.
I am planning on putting a pr together this evening to remove it, but before I do I wanted to make sure there wasn't a super huge reason that yall were using compass (since it is no longer well maintained and conflicts so directly with current implementations of sass).
🍻

Duplicate issue #2437: remove compass as dependancy.
Created: 2015-10-02T21:44:36Z
Is it possible to remove compass as a dependancy, it has tons of issues with recent rails versions and you're only using it for a couple of mixins which have collisions with the superior bourbon mixins

Closing comment (2015-10-03T16:14:50Z): Duplicate of #2368
Repository: harvesthq/chosen

Issue #27: Mobile safari display is incorrect
Created: 2011-07-21T18:06:30Z
The demo page displays incorrectly in mobile Safari on iOS.  Your supported browsers list Safari (and don't explicitly mention mobile Safari), but I would expect some type of fallback (to a regular select element, perhaps?)

Duplicate issue #116: Changing select menus on iOS Devices
Created: 2011-07-30T02:38:06Z
Chosen applies itself to select menus on iOS devices, which means instead of getting the nice iOS UI for selecting something (the popup/spinning wheel on iPad/iPhone), you have to do it through the website, which is much more of a hassle. It would be nice if Chosen could not apply itself to select menus (and potentially other form elements) when being used on iOS devices.
This may apply to Android/other mobile OSes too, but I've only experienced the issue on iOS as that's the only mobile OS I use!
Thanks :)

Closing comment (2011-07-30T15:21:36Z): My preference at this point is actually to have iOS not receive the Chosen class by default and we will be making a chane to reflect that at some point. It will be an easily configured element, so if you prefer iOS to match a full-scale web browser, you will have that choice.
This ticket is a duplicate of #27
Repository: hashicorp/terraform-cdk

Issue #16: Extend Support of Module Sources beyond Terraform Registry
Created: 2020-04-20T14:31:11Z
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment


Description
The CDK for Terraform only supports generation of publicly available modules hosted in registry.terraform.io. In order to support private Terraform registries and other module sources, we will need to extend the CDK for Terraform to obtain module metadata to private or version-controlled sources.
References

N/A

Duplicate issue #520: Support Submodules in Terraform Registry
Created: 2021-01-26T07:53:37Z
When trying to import a sub-module that's hosted in the terraform registry, the cdktf get command fails with Error: Moved Permanently. I tried different modules from the registry and the behavior is consistent. Things work fine when importing the root module though.
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment


cdktf & Language Versions
cdktf: 0.1.0-pre.171
python: 3.7.6

Affected Resource(s)

Debug Output
https://gist.github.com/code-haven/da462bb0a3aa6732f05465cb4a21f1ec
Expected Behavior
Import is successful
Actual Behavior
Fails with an exception: Error: Moved Permanently

Steps to Reproduce

Add a reference to a submodule in cdktf.json

{
  "terraformModules": ["hashicorp/consul/google//modules/consul-cluster"],
  "codeMakerOutput": "imports",

}



Run cdktf get

Important Factoids

References


#0000

Closing comment (2021-01-26T14:37:51Z): That's an interesting use-case, thanks for bringing this up. It's somewhat related to #16
Repository: hashicorp/terraform-cdk

Issue #218: Make cdktf get easier to debug
Created: 2020-07-20T09:53:32Z
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment


Description
Make cdktf get easier to debug. Right now the code has to be changed manually in order to see what JSII produces on stdout.
References
#217

Duplicate issue #385: Terraform errors should be shown when running cdktf commands
Created: 2020-09-27T18:27:11Z
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment


cdktf & Language Versions
"cdktf": "0.0.17",
"cdktf-cli": "0.0.17",

Affected Resource(s)

Debug Output
Error: Error, failed to create instance master-instance: googleapi: Error 409: The Cloud SQL instance already exists. When you delete an instance, you cannot reuse the name of the deleted instance until one week from the deletion date., instanceAlreadyExists
⠧ Deploying Stack: xxx
Resources
 ⠼ GOOGLE_SQL_DATABASE_ dbmaster            google_sql_database_instance.xxx_dbmaster_39528157


Expected Behavior
When running cdktf deploy it fails without showing any reason as to why it failed. I had to run export TF_LOG=debug in order to see the error produced by Terraform. The above error should be displayed without needing to set TF_LOG=debug or something similar like that.

Actual Behavior
Terraform's errors should be passed down through cdktf so that we can see them without having to modify TF_LOG level.

I only got a generic error exit:
non-zero exit code 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1

Terraform's error wasn't displayed.
Steps to Reproduce

Important Factoids

References


#0000

Closing comment (2021-06-03T08:15:31Z): Related to #218
Repository: hashicorp/terraform-cdk

Issue #172: Enable Attribute References for Nested Types
Created: 2020-07-15T15:32:23Z
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment


Description
Some providers (at least the Kubernetes provider) allow attribute references on anonymous interfaces (see #170). It would be good to support this.
That would be something like this:
const namespace = new Namespace(this, 'foo', {})
namespace.inputs.generation
References
#170

Duplicate issue #587: Missing principalId and TenantId property in Azure DataFactory
Created: 2021-03-03T22:41:39Z
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment


cdktf & Language Versions
cdktf: 0.10
typescript: 4.1.5
terraform: 0.14.7
azurerm 2.0.0
Affected Resource(s)
Azure DataFactory
Expected Behavior
I am trying to create an Azure DataFactory with SystemAssigned Identity and assign that Identity to a new RoleAssignment.
However the object 'principal_id' does not exist in the identity property of the DataFactory Class.
See:
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/data_factory

The identity block exports the following:

principal_id - The ID of the Principal (Client) in Azure Active Directory

tenant_id - The ID of the Azure Active Directory Tenant.

Actual Behavior
The properties principal_id and client_id should be added in the DataFactory Class so they can be referenced later, like for example in a role assignment.
    const dataFactory = new DataFactory(this, terraformId, {
      name: `mydatafactory`,
      location: config.region,
      resourceGroupName: resourceGroupName,
      identity: [{ type: `SystemAssigned` }],
    });

    new RoleAssignment(scope, `storage-datafactory-assignment`, {
      principalId: dataFactory.identity.principal_id ,
      scope: dataFactoryStorage.id,
      roleDefinitionName: "Storage Blob Data Contributor",
    });

So basically this does not exist:
dataFactory.identity.principal_id

Closing comment (2021-03-04T15:37:31Z): Thanks for reporting this issue @adriano-kaiser. Since the suggested workaround by @jsteinich seems to work for you, I'm going to close this issue as a duplicate of #172
If there's anything else blocking you, please don't hesitate to comment here or open another issue.
Repository: hashicorp/terraform-cdk

Issue #1910: Documentation improvement: Terraform Element usage
Created: 2022-07-01T14:58:21Z
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
I would like to know more best practices concerning the TerrafromElement.
Is there a difference to Null Provider Resources?
It would be nice to have more documentation about this entity.
The Concepts page would be a perfect place.
https://www.terraform.io/cdktf/concepts/constructs

Duplicate issue #1911: Documentation improvement concerning Terraform Element entity
Created: 2022-07-01T14:59:15Z
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description
I would like to know more best practices concerning the TerrafromElement.
Is there a difference to Null Provider Resources?
It would be nice to have more documentation about this entity.
The Concepts page would be a perfect place.
https://www.terraform.io/cdktf/concepts/constructs

Closing comment (2022-07-02T19:50:11Z): Duplicate of #1910
Repository: heartcombo/devise

Issue #1642: Why no i18n in views?
Created: 2012-02-12T02:00:58Z
Is there any reason why the views at

https://github.com/plataformatec/devise/tree/master/app/views/devise
https://github.com/plataformatec/devise/tree/master/lib/generators/templates/simple_form_for

do not use any calls to i18n?
Else I would sit down and add all of them to devise.en.yml.

Duplicate issue #2058: I18n Views
Created: 2012-09-12T17:56:06Z
Hello guys, I'm sorry if it's a duplicated issue about this subject, but I looked everywhere and didn't found anything.
Almost every project, I need to re-write Devise views to use Rails' I18n feature at the same time I put a translation into config/locale folder.
Preventing that, I already started a patch to send you a pull request changing all those hard-coded strings to I18n format using locales, but I prefer to know what you think about it first.

Closing comment (2012-09-12T17:59:25Z): Dup of #1642 #1983 #1989
Repository: heartcombo/devise

Issue #3272: Generated migration lacks .rb extension
Created: 2014-10-24T11:15:09Z
On a new rails 4.1.0 project, with ruby 2.0, with devise (3.2.2), after running rails generate devise:install; then rails generate devise Citizen . the resulted migration is generated: "20141024110852_devise_create_citizens" . No .rb in the end. Running rake db:migrate outputs nothing.
Manually renaming the migration does the job.

Duplicate issue #3511: migration doesn end with rb
Created: 2015-03-11T13:09:45Z
the migraton file when generating a devise model doesnt end with rb so it doesnt get migrated.

Closing comment (2015-03-11T13:12:08Z): Duplicate of #3272. If not, please provide more information about your app, which Devise version you are using and a repository that reproduces the error.
Repository: heartcombo/devise

Issue #4742: no redirect after sign_in
Created: 2017-12-30T18:24:58Z
Environment

Ruby 2.4.3
Rails 5.2.0beta2
Devise 4.4.0

Current behavior
no redirect after sign_in

Expected behavior
redirect to after_sign_in_path (screenshot taken with the same environment except devise 4.3.0 instead of 4.4.0)

Duplicate issue #4746: 4.4.0 Re renders sign in screen after successful sign in.
Created: 2018-01-05T23:12:50Z
Environment

Ruby 2.4.5
Rails 4.2
Devise 4.4.0

Current behaviour
After successful sign in, the sign in screen is shown with a must contain a number or symbol error message for password, despite password containing number and symbol, and despite user being signed in.
Expected behaviour
User is redirected to admin root.

Closing comment (2018-01-08T16:24:02Z): Duplicate of #4742
Repository: heartcombo/devise

Issue #4573: Failed user registration redirects to /users which isn't a valid get url
Created: 2017-07-02T10:24:05Z
After clicking Sign up, the url changes to /users because we post to /resource. If failed, we do respond_with resource without redirecting. If refreshed, No route matches [GET] "/users" appears.
Could we have failed sign up redirect to the same page?

Duplicate issue #4470: After a unsuccessful registration, clicking refresh raises a no route found error
Created: 2017-03-19T14:54:37Z
On a new Rails app (5.0.2) with Devise (4.2.1) submitting the new registration form with invalid data renders the registrations/new.html.erb form with the relevant errors but with the URL /users as opposed to the initial /users/sign_up URL. Pressing the browser's refresh button then causes an error to be raised:
No route matches [GET] "/users"

I have created a base Rails app that shows this: https://github.com/Hates/devise_refresh_error

Closing comment (2018-12-03T11:13:27Z): @hraynaud it looks like your issue is the same as #4573. Unfortunately, we're not sure yet what's the best solution for this.
Repository: heartcombo/devise

Issue #4808: undefined method `rails5?' for Devise::Test:Module in 4.4.2
Created: 2018-03-15T14:51:24Z
Environment

Ruby 2.3.5
Rails 5.1.5
Devise 4.4.2

Current behavior
Controller specs where the user is not authenticated fail with this exception:
undefined method `rails5?' for Devise::Test:Module in 4.4.2

An example stack trace is:
NoMethodError:
       undefined method `rails5?' for Devise::Test:Module
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/devise-4.4.2/lib/devise/test/controller_helpers.rb:142:in `_process_unauthenticated'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/devise-4.4.2/lib/devise/test/controller_helpers.rb:118:in `_catch_warden'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/devise-4.4.2/lib/devise/test/controller_helpers.rb:35:in `process'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/actionpack-5.1.5/lib/action_controller/test_case.rb:392:in `get'
     # /Users/moncefbelyamani/.gem/ruby/2.3.5/gems/rails-controller-testing-1.0.2/lib/rails/controller/testing/integration.rb:12:in `block (2 levels) in <module:Integration>'
     # ./spec/controllers/application_controller_spec.rb:103:in `block (4 levels) in <top (required)>'

Expected behavior
Tests that used to pass with Devise 4.4.1 continue to pass when upgrading Devise to 4.4.2

Duplicate issue #4806: undefined method `rails5?' for Devise::Test:Module
Created: 2018-03-15T14:45:57Z
Environment

Ruby [2.3.0]
Rails [5.2.0.rc1]
Devise [4.4.2]

describe "GET #index" do
    it 'redirects to login if not logged in' do
      get :index
      expect(response).to redirect_to(new_user_session_url)
    end
end
now throws this error:
1) Admin::ReleasesController GET #index redirects to login if not logged in
     Failure/Error: get :index

     NoMethodError:
       undefined method `rails5?' for Devise::Test:Module

The test itself hasn't changed. None of the other controllers specs result in this warning.

Closing comment (2018-03-15T16:36:34Z): Duplicate of #4808
Repository: helm/helm

Issue #12076: Accessing variables from range function inside Files.Lines
Created: 2023-05-14T23:14:28Z
I am having issue resolving scope of a variable defined inside range function within Files.Lines helper.
Values.yaml
appGrpName: test
env: file1

virtualWebHosts:
- file1
- file2

My files are under files/ directory inside chart.
route.yaml:
{{- range $webHost :=  .Values.virtualWebHosts }}
---
kind: Route
apiVersion: route.openshift.io/v1
metadata:
 name: {{ $webHost }}
spec:
 host: {{ $webHost }}
 path: "/somepath"
 to:
  kind: Service
  name: {{ $.Values.appGrpName }}-{{ $.Values.env }}-web
  certificate: |
   {{- with $webHost }}
   {{- range $.Files.Lines "files/{{ $webHost }}" }}             <== unable to resolve value of $webHost
   {{ . }} {{ end }} {{ end }}
{{ end }}

In the above route.yaml somehow I am unable to resolve the value of $webHost inside $.Files.Lines helper function. Most likely I am loosing the scope but what can be done to get the value of webHost so I can read files dynamically ?

Duplicate issue #12078: Unable to get the variables defined in range function in  .Files.Lines helper
Created: 2023-05-15T13:21:16Z
I have scenario, where values.yaml includes array which indicates file names to loop over and using Files.Lines I want to add the contents of the file in the resource route.
There is files folder which has file1 and file2 files under chart.
Below is values.yaml file.
namespace: sprint

appGrpName: test
env: dev 

virtualWebHosts:
- file1
- file2

virtualSvcHosts:
- sprint-xxx-svc

Below is route.yaml :
kind: Route
apiVersion: route.openshift.io/v1
metadata:
 name: {{ $webHost }}
spec:
 host: {{ $webHost }}
 path: "/web"
 to:
  kind: Service
  name: {{ $.Values.appGrpName }}-{{ $.Values.env }}-web
  certificate: |
   {{- with $webHost }}
   {{- range $.Files.Lines "files/{{ $webHost }}" }}    <=== unable to get the variable resolved
   {{ . }} {{ end }} {{ end }}
{{ end }}

Output: ( As you see below certificate field is empty in route resource )
# Source: sample/templates/route.yaml
kind: Route
apiVersion: route.openshift.io/v1
metadata:
 name: file1
spec:
 host: file1
 path: "/web"
 to:
  kind: Service
  name: test-dev-web
  certificate: |


# Source: sample/templates/route.yaml
kind: Route
apiVersion: route.openshift.io/v1
metadata:
 name: file2
spec:
 host: file2
 path: "/web"
 to:
  kind: Service
  name: test-dev-web
  certificate: |

So the question is how do we get the $webHost variable resolved inside Files.Lines function ?
If I replace files/{{ $webHost }}" with files/file1" i see the contents of file in certificate field.

Closing comment (2023-05-18T04:43:35Z): closing as duplicate of #12076
Repository: helm/helm

Issue #12669: get-helm-3 script fails to get latest version
Created: 2023-12-27T07:57:55Z
The get-helm-3 script installs v3.13.1 as latest version, not v3.13.3 as it should when running the following commands.
$ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
$ chmod 700 get_helm.sh
$ ./get_helm.sh

It seems that https://get.helm.sh/helm-latest-version hasn't been updated.

Duplicate issue #12559: Outdated Version Information on Helm Website
Created: 2023-11-11T08:52:32Z
Description:
Issue Summary
The current version information retrieval endpoint https://get.helm.sh/helm-latest-version is returning 3.13.1 as the latest version of Helm, even though 3.13.2 is available.
Expected Behavior
The version information endpoint should accurately reflect the latest version of Helm, ensuring users have access to the most up-to-date releases.
Steps to Reproduce

Visit https://get.helm.sh/helm-latest-version.
Observe that it reports 3.13.1 as the latest Helm version.

Actual Behavior
The endpoint incorrectly reports 3.13.1 instead of 3.13.2, leading to potential confusion and the installation of outdated software.

Closing comment (2024-01-17T04:28:13Z): dup of: #12669
The underlying issue is now fixed (see PR attached to the above). But https://get.helm.sh/helm-latest-version  won't update until the next Helm release (3.14.0) unfortunately.
Repository: helm/helm

Issue #1961: Provide a "nestable" alternative to `.Release.Name`
Created: 2017-02-14T18:47:39Z
Given that helm by design allows multiple copies same chart to coexist in a dependency tree of a top level chart, every well-behaving chart need to provide a way to override it's resource names, ones in kubernetes/charts/stable seem to adopt .nameOverride pattern:
{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}

which not only requires an extra effort from chart authors, but also chart users: then need to override names for every duplicated dependency no  mater how deeply nested they are. It is hard.
What do you think about providing a builtin var so that is can be used in place of  .Release.Name in all resource names, which works as expected on any nested level? Example would be .Release.NameWithDepth which produces values:

Level 0: {{Release.Name}}
Level 1: {{Release.Name}}-1
Level 2: {{Release.Name}}-2
...
Level N: {{Release.Name}}-$N

/cc @technosophos

Duplicate issue #1949: Proposal: add a templates function to provide a short and unique ID
Created: 2017-02-13T11:20:13Z
Sometimes, we create a chart which has some dependencies. If some subcharts have same name, it will fail when we install the chart. Because we usually use the template as k8s resource name:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  name: {{ .Release.Name }}-{{ .Chart.Name }}

If we have an unique ID, we can use {{ .Release.Name }}-{{ .Chart.Name }}-ID as  the name of k8s resource. It ensures that all resource won't conflict.
In sprig, I find some related functions:
randAlphaNum: Generate a random alpha-numeric string
randAlpha: Generate a random alphabetic string
randAscii: Generate a random ASCII string, including symbols
randNumeric: Generate a random numeric string
uuidv4: Generate a UUID v4 string

But these functions can't provide a short ID and guarantee unique absolutely.

Closing comment (2017-02-14T22:51:49Z): Somewhat related to #1961 (subchart naming) and #1186 (built-in naming function)
uuidv4 is very, very, very likely to generate a universally unique ID. So if that is all you need, you might consider just using that. As Wikipedia notes:

for there to be a one in a billion chance of duplication, 103 trillion version 4 UUIDs must be generated.

https://en.wikipedia.org/wiki/Universally_unique_identifier
Repository: helm/helm

Issue #7007: Add custom labels to helmv3 release secret
Created: 2019-11-18T17:47:42Z
Hello,
Is there a way to add a specific label to the helm release secret created by Helmv3 ? I read all the docs and browsed issued without success.
My use case is really simple, I use Velero to backup all my stuff, project by project (1 project = 1 helm deployment), every day according specific labels. If I can add specific labels, I can backup helm information at the same time.
I can do a workaround with a hook I know but I thing that feature could be useful for others.

Duplicate issue #8098: Proposal: support customized labels for storage like secret, configmap
Created: 2020-05-12T13:16:15Z
This proposal is inspired by issue #7007。There are probably some cases that users what to  customize the labels of secret/configmap for convenient application management。
For one release the storage labels are set from the installation, and the labels will be retrieved where upgrading or rollback to keep labels consistency. Therefore, adding --set-label( -l in short) flag to install command。

Closing comment (2020-05-12T16:16:03Z): Closing as a duplicate of #7007. Please keep the discussion in one ticket. That way we don't have to track the discussion over several tickets. Thanks.
Repository: helm/helm

Issue #1707: --set parses number only values as float64
Created: 2016-12-17T00:35:12Z
I just noticed that something like helm install --set tag=20161216 ends up in scientific notation in the template and thats because {{ typeOf .Value.tag }} yields float64.
Thats even true for small integers like helm install --set tag=1 --> float64.
This is happening with helm 2.1.0

Duplicate issue #2434:  wrong type for value expected string; got float64
Created: 2017-05-12T06:37:46Z
I'm using --set to set facebook.appId when installing/upgrading:
     --set "facebook.appId=1333333337"

I am getting this error:
Error: UPGRADE FAILED: render error in "app/templates/secrets.yaml": template: app/templates/secrets.yaml:69:37: 
executing "app/templates/secrets.yaml" at <b64enc>: wrong typefor value; expected string; got float64

Here's the template code that uses the value:
apiVersion: v1
kind: Secret
metadata:
  name: secret-facebook
type: Opaque
data:
  appID: {{ .Values.facebook.appId | b64enc | quote }}
  appSecret: {{ .Values.facebook.appSecret | b64enc | quote }}
I'm guessing that Helm guesses that 1333333337 in facebook.appId=1333333337 is a float64 whereas I need a way to coerce it to a string so that it's accepted by base64. Is that possible? I tried --set "facebook.appId=\"1333333337\"" and --set "facebook.appId='1333333337'" but it didn't work as expected.

Closing comment (2017-05-12T06:45:11Z): Looks like duplicate of #1707
Repository: helm/helm

Issue #8062: Error: create: failed to create: Request entity too large: limit is 3145728
Created: 2020-05-06T00:59:19Z
Output of helm version:
version.BuildInfo{Version:"v3.1.2", GitCommit:"d878d4d45863e42fd5cff6743294a11d28a9abce", GitTreeState:"clean", GoVersion:"go1.13.8"}
Output of kubectl version:
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.5", GitCommit:"20c265fef0741dd71a66480e35bd69f18351daea", GitTreeState:"clean", BuildDate:"2019-10-15T19:16:51Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-13T11:13:49Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
minikube
command : helm upgrade --install .....--set-file =input.xml(more than 100mb)
-->Error: create: failed to create: Request entity too large: limit is 3145728
I am getting this error while  helm upgrade , I have one xml file in the input which  is more than 100mb , is there any way to increase max limit of helm ?
I cant reduce the size of file , it must be passed . Any solution to fix this error will be helpful .

Duplicate issue #8088: Error: create: failed to create: etcdserver: request is too large
Created: 2020-05-09T02:47:56Z
I found a very strange issue when using helm 3, which is:
`[XXXX@XXXXXXX-01 ditto-1.0.0]$ helm install ditto . --debug
install.go:159: [debug] Original chart version: ""
install.go:176: [debug] CHART PATH: /home/PATH_TO_MY_PROJECT/ditto-1.0.0
Error: create: failed to create: etcdserver: request is too large
helm.go:84: [debug] etcdserver: request is too large
create: failed to create
helm.sh/helm/v3/pkg/storage/driver.(*Secrets).Create
/home/circleci/helm.sh/helm/pkg/storage/driver/secrets.go:161
helm.sh/helm/v3/pkg/storage.(*Storage).Create
/home/circleci/helm.sh/helm/pkg/storage/storage.go:66
helm.sh/helm/v3/pkg/action.(*Install).Run
/home/circleci/helm.sh/helm/pkg/action/install.go:315
main.runInstall
/home/circleci/helm.sh/helm/cmd/helm/install.go:229
main.newInstallCmd.func1
/home/circleci/helm.sh/helm/cmd/helm/install.go:117
github.com/spf13/cobra.(*Command).execute
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:842
github.com/spf13/cobra.(*Command).ExecuteC
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950
github.com/spf13/cobra.(*Command).Execute
/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887
main.main
/home/circleci/helm.sh/helm/cmd/helm/helm.go:83
runtime.main
/usr/local/go/src/runtime/proc.go:203
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357`
I have never seen this error before, and actually it works when using helm 2.
Can anyone help on this?

Closing comment (2020-05-11T15:58:29Z): duplicate of #8062 and #7264.
Repository: helm/helm

Issue #2336: Proposal: Make value override work with yaml anchor/reference
Created: 2017-04-27T19:43:25Z
With Yaml anchor following can be done in values.yaml
imageTag: $imageTag "latest"
containers:
  nginx:
    image: "nginx"
    imageTag: *imageTag

However currently when the top level imageTag key is override in command line by --set, the values referring to the anchor will still show the value in the values.yaml file.
So with the above example, if I do helm install --set imageTag=1.0.0" the .Values.containers.nginx.imageTag will still be the latest while .Values.imageTag will be 1.0.0
If the Chart starts to contain lots of containers where certain values might get overriden together while still allowing each value to be overriden separately, having this feature will be very helpful.

Duplicate issue #5589: Unable to --set value which contains &placeholder in values.yaml file
Created: 2019-04-11T13:22:14Z
Hello, I have problem to --set values via helm:
helm install my-helm-chart  \
--set apiServerIP=10.2.85.224 \
--set dnsName=server452.customer.com \
--set dockerRegistryIP=10.2.85.224 \
--set grafanaPostgresHost=10.2.85.224

particular variables contains &placeholders in value.yaml file, as because they are referenced in multiple places later in values.yaml file:
apiServerIP: &apiServerIP 127.0.0.1
dnsName: &dnsName server1.dns.another.com
dockerRegistryIP: &dockerRegistryIP 127.0.01
dockerRegistryPort: &dockerRegistryPort 5000
prometheusVolumeSize: &volumeSize 1Gi
prometheusVolumePath: /opt/kubernetes/data/volumes/prometheus

And for example last parameter prometheusVolumePath am able to set via --set prometheusVolumePath=/tmp
Output of helm version:
helm version
Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Output of kubectl version:
kubectl version
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-01T20:08:12Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-01T20:00:57Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
On-premise environment

Closing comment (2019-04-11T15:07:03Z): this seems like a duplicate of #2336. Can you please check what's the expected behaviour of the YAML parser in this case?
Repository: helm/helm

Issue #4112: create alpha/beta helm 3 binary downloads?
Created: 2018-05-23T09:11:57Z
We'd love to move to the 3.x helm ASAP on Jenkins X.
I wonder if its time to add a set of helm 3 release binaries so folks can try it out? Its fine to be in alpha/beta a while but still have binaries?

Duplicate issue #4581: Provide alpha release of helm 3 for alpha testing
Created: 2018-09-03T17:54:14Z
Cloud Provider/Platform (AKS, GKE, Minikube etc.): GKE
Hello,
It would be great to be able to download an alpha release of helm 3 in the release section and issue problems during testing (for installation, migration,...).
It seems there is no timeline for helm 3. Can we expect to switch to helm 3 quickly or wait for a year ?
Thank you in advance for your answers.

Closing comment (2018-09-03T18:16:43Z): Hey @Alphapage! Please see my comment in #4112 to download an alpha release of Helm 3.
Helm 3 is in a very early stage of development, and the spec is still in flux. We have made no public commitments on when Helm 3 will reach its first alpha release for general testing/feedback.
Please keep in mind that we are not looking at, accepting, or triaging any issues or PRs raised against the Helm 3 branch until all of the main refactoring work is done. This is to avoid any interference while refactors are in-flight and to make sure we have a stable foundation on which to build/accept issues and PRs against.
If you're interested in hearing more about ongoing development, please come to the weekly public helm dev calls where we're discussing in-flight work.
Closing as a dupe of #4112 and #4363. Thanks!