Hi Octopus Support,
We just upgraded to Octopus v2019.3.2 LTS version, and we are getting the same error editing volumes.
Do you have any recommendations at this point for resolution now that we are on a supported version?
Original post: When using the Deploy Kubernetes step in our projects, we can edit all of the options except “Add Volume.” When selecting Add Volume, we receive the below error. The only workaround is to completely remove the step and re-add it, even if all we want to do is add another volume.
An unexpected error occurred in Octopus v2019.3.2: Cannot read property ‘split’ of undefined
TypeError: Cannot read property ‘split’ of undefined
Thanks for getting in touch! I’m terribly sorry to hear you’re hitting this confusing and annoying issue. Unfortunately I haven’t had any luck in reproducing this, so we’re currently unsure of how this could have happened. We’ve seen the same error in the past in regards to other step types, however.
Would you be willing to send us through a JSON export of your deployment process (this can be downloaded in your project’s Process page, under the overflow menu)? I’m hoping this sheds some light on what’s causing this. You can send it privately to support at octopus dot com and we’ll pick it up from there.
I’m sorry again about the inconvenience this has caused you, and I look forward to hearing back!
I emailed the support email with the JSON. Thanks!
Thank you kindly for providing that JSON export. It really helped me out in finally reproducing this behavior. The way I was able to do this was by disabling the features from the step before attempting to add a volume. It looks like in your JSON export, no additional features are enabled in the step, but the volume’s type is set to
The only way I’ve been able to work around this (other than recreating the step from scratch) is to enable the default features of the step (
Config Map, and
Secret), saving, and then the new volume popup comes up properly. I’ve raised this issue to get it investigated further and resolved, and you can track its progress here.
I appreciate you bringing this to our attention, and I’m sorry again about the inconvenience this has caused. Please don’t hesitate to reach out if you have any further questions or concerns moving forward.
Thank you Kenny! I really appreciate you looking into this. We will keep track of this issue.
Thanks for following up, and you’re more than welcome! Don’t hesitate to reach out if you have any questions or concerns in the future.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.