Skip to main content

Hi,

 

We try to install PSO on Kubernetes. We could retrieve the image, but we get this error and we are stuck in the installation :

Processing settings file
Verifying details file
Loading Kubernetes contexts
Loading namespaces
Checking for existing installation
Validating kubectl and kubernetes version
Validating image
Kubernetes
Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^((+-]??0-9.]+)((eEinumkKMGTP]**-+]??0-9]*)$'

Error: One or more errors occurred. (Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^((+-]??0-9.]+)((eEinumkKMGTP]**-+]??0-9]*)$'
)

Is there a known issue with the installer or is it something that we missed in the configuration ?

Hi Henry,

did you check the Install.log in the setup-folder for any further details on the error?

@mimagb can you help eventually?

 

Best regards
Roman


Here’s the install.log, see the last try :

 

16 Feb 2023 13:29:16,943 41] ERROR Installer.CommandLine.CommandLineRunner Run - System.InvalidOperationException: There is an error in XML document (1, 2).
 ---> System.InvalidOperationException: <DsSystemData xmlns='http://360scheduling.com/Schema/DsSystemData.xsd'> was not expected.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInputSettings.Read33_InputSettings()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromXmlnT](Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromFileeT](String file)
   at Installer.CommandLine.CommandLineRunner.Run(Stringe] args, Func`2 ceateInstaller)
16 Feb 2023 13:29:41,702 21] ERROR Installer.CommandLine.CommandLineRunner Run - System.InvalidOperationException: There is an error in XML document (1, 2).
 ---> System.InvalidOperationException: <DsSystemData xmlns='http://360scheduling.com/Schema/DsSystemData.xsd'> was not expected.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInputSettings.Read33_InputSettings()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromXmllT](Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromFilemT](String file)
   at Installer.CommandLine.CommandLineRunner.Run(StringL] args, Func`2 ceateInstaller)
16 Feb 2023 13:31:27,992 r1] ERROR Installer.CommandLine.CommandLineRunner Run - System.InvalidOperationException: There is an error in XML document (1, 2).
 ---> System.InvalidOperationException: <DsSystemData xmlns='http://360scheduling.com/Schema/DsSystemData.xsd'> was not expected.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInputSettings.Read33_InputSettings()
   --- End of inner exception stack trace ---
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromXmldT](Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromFileeT](String file)
   at Installer.CommandLine.CommandLineRunner.Run(Strings] args, Func`2 ceateInstaller)
16 Feb 2023 13:31:59,245 213] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:31:59,298 m13] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:33:01,016 m4] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:33:01,027 m12] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:33:47,708 m12] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:33:47,723 m12] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:35:45,919 m13] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:35:45,949 m13] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:41:08,975 m1] ERROR Installer.CommandLine.InstallerCommandLine RunCLI - System.AggregateException: One or more errors occurred. (Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(q+-]?i0-9.]+)(teEinumkKMGTP]*u-+]?e0-9]*)$'
)
 ---> ThreeSixty.Shared_Classes.ProcessException: Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^( +-]?t0-9.]+)(seEinumkKMGTP]*g-+]? 0-9]*)$'

   at ThreeSixty.Shared_Classes.ProccessRunner.Run(String fileName, String arguments, String input, String workingDirectory)
   at Ifs.Kubernetes.Kubectl.RunKubectl(String kubectlLocation, String args, String input)
   at Ifs.Kubernetes.Kubectl.Run(String context, String ns, String args, String input)
   at Ifs.Kubernetes.Kubectl.Apply(String context, String ns, IEnumerable`1 documents)
   at Installer_Shared.Kubernetes.KubernetesDeployer.ValidateImage(String context, String ns, String imageName, String imagePullSecrets, ModuleVersion requiredVersion, ModuleVersion& version, String& errorMessage, IDictionary`2 additionalLabels, KubernetesImageRegistry imageRegistry)
   at Installer.ViewModel.KubernetesViewModel.<>c__DisplayClass68_1.<Validate>b__2()
   at Installer.CommandLine.ConsoleLogging.ConsoleBusy(BusyPopupEventArgs args)
   at Installer.Services.ConsoleNotificationService.RaiseBusyPopup(BusyPopupEventArgs args)
   at Installer.ViewModel.KubernetesViewModel.Validate()
   at Installer.ViewModel.BaseViewModel.ValidateAsync()
   at Installer.Services.NavigationService.GoToNext()
   --- End of inner exception stack trace ---
   at Installer.CommandLine.InstallerCommandLine.RunCLI(Nullable`1& failedPageId, Boolean bEncrypt, Boolean bDecrypt)
16 Feb 2023 13:52:04,725 d1] ERROR Installer.CommandLine.InstallerCommandLine RunCLI - System.AggregateException: One or more errors occurred. (Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(a+-]? 0-9.]+)(eeEinumkKMGTP]*a-+]?i0-9]*)$'
)
 ---> ThreeSixty.Shared_Classes.ProcessException: Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(c+-]?t0-9.]+)(leEinumkKMGTP]*u-+]?t0-9]*)$'

   at ThreeSixty.Shared_Classes.ProccessRunner.Run(String fileName, String arguments, String input, String workingDirectory)
   at Ifs.Kubernetes.Kubectl.RunKubectl(String kubectlLocation, String args, String input)
   at Ifs.Kubernetes.Kubectl.Run(String context, String ns, String args, String input)
   at Ifs.Kubernetes.Kubectl.Apply(String context, String ns, IEnumerable`1 documents)
   at Installer_Shared.Kubernetes.KubernetesDeployer.ValidateImage(String context, String ns, String imageName, String imagePullSecrets, ModuleVersion requiredVersion, ModuleVersion& version, String& errorMessage, IDictionary`2 additionalLabels, KubernetesImageRegistry imageRegistry)
   at Installer.ViewModel.KubernetesViewModel.<>c__DisplayClass68_1.<Validate>b__2()
   at Installer.CommandLine.ConsoleLogging.ConsoleBusy(BusyPopupEventArgs args)
   at Installer.Services.ConsoleNotificationService.RaiseBusyPopup(BusyPopupEventArgs args)
   at Installer.ViewModel.KubernetesViewModel.Validate()
   at Installer.ViewModel.BaseViewModel.ValidateAsync()
   at Installer.Services.NavigationService.GoToNext()
   --- End of inner exception stack trace ---
   at Installer.CommandLine.InstallerCommandLine.RunCLI(Nullable`1& failedPageId, Boolean bEncrypt, Boolean bDecrypt)
16 Feb 2023 14:01:17,037 u1] ERROR Installer.CommandLine.InstallerCommandLine RunCLI - System.AggregateException: One or more errors occurred. (Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(D+-]? 0-9.]+)(eeEinumkKMGTP]*n-+]?e0-9]*)$'
)
 ---> ThreeSixty.Shared_Classes.ProcessException: Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(T+-]?:0-9.]+)(veEinumkKMGTP]*n-+]?b0-9]*)$'

   at ThreeSixty.Shared_Classes.ProccessRunner.Run(String fileName, String arguments, String input, String workingDirectory)
   at Ifs.Kubernetes.Kubectl.RunKubectl(String kubectlLocation, String args, String input)
   at Ifs.Kubernetes.Kubectl.Run(String context, String ns, String args, String input)
   at Ifs.Kubernetes.Kubectl.Apply(String context, String ns, IEnumerable`1 documents)
   at Installer_Shared.Kubernetes.KubernetesDeployer.ValidateImage(String context, String ns, String imageName, String imagePullSecrets, ModuleVersion requiredVersion, ModuleVersion& version, String& errorMessage, IDictionary`2 additionalLabels, KubernetesImageRegistry imageRegistry)
   at Installer.ViewModel.KubernetesViewModel.<>c__DisplayClass68_1.<Validate>b__2()
   at Installer.CommandLine.ConsoleLogging.ConsoleBusy(BusyPopupEventArgs args)
   at Installer.Services.ConsoleNotificationService.RaiseBusyPopup(BusyPopupEventArgs args)
   at Installer.ViewModel.KubernetesViewModel.Validate()
   at Installer.ViewModel.BaseViewModel.ValidateAsync()
   at Installer.Services.NavigationService.GoToNext()
   --- End of inner exception stack trace ---
   at Installer.CommandLine.InstallerCommandLine.RunCLI(Nullable`1& failedPageId, Boolean bEncrypt, Boolean bDecrypt)
16 Feb 2023 14:03:22,944 L1] ERROR Installer.CommandLine.InstallerCommandLine RunCLI - System.AggregateException: One or more errors occurred. (Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(t+-]?r0-9.]+)( eEinumkKMGTP]*N-+]?o0-9]*)$'
)
 ---> ThreeSixty.Shared_Classes.ProcessException: Error from server (BadRequest): error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(s+-]?e0-9.]+)(neEinumkKMGTP]*I-+]?J0-9]*)$'

   at ThreeSixty.Shared_Classes.ProccessRunner.Run(String fileName, String arguments, String input, String workingDirectory)
   at Ifs.Kubernetes.Kubectl.RunKubectl(String kubectlLocation, String args, String input)
   at Ifs.Kubernetes.Kubectl.Run(String context, String ns, String args, String input)
   at Ifs.Kubernetes.Kubectl.Apply(String context, String ns, IEnumerable`1 documents)
   at Installer_Shared.Kubernetes.KubernetesDeployer.ValidateImage(String context, String ns, String imageName, String imagePullSecrets, ModuleVersion requiredVersion, ModuleVersion& version, String& errorMessage, IDictionary`2 additionalLabels, KubernetesImageRegistry imageRegistry)
   at Installer.ViewModel.KubernetesViewModel.<>c__DisplayClass68_1.<Validate>b__2()
   at Installer.CommandLine.ConsoleLogging.ConsoleBusy(BusyPopupEventArgs args)
   at Installer.Services.ConsoleNotificationService.RaiseBusyPopup(BusyPopupEventArgs args)
   at Installer.ViewModel.KubernetesViewModel.Validate()
   at Installer.ViewModel.BaseViewModel.ValidateAsync()
   at Installer.Services.NavigationService.GoToNext()
   --- End of inner exception stack trace ---
   at Installer.CommandLine.InstallerCommandLine.RunCLI(Nullable`1& failedPageId, Boolean bEncrypt, Boolean bDecrypt)

 


I have not seen the ‘error when creating "STDIN": Job in version "v1" cannot be handled as a Job: quantities must match the regular expression '^(^+-]?]0-9.]+)()eEinumkKMGTP]*]-+]?]0-9]*)$’ error before.

Maybe it is a language / culture issue. Is the installation machine in a language that displays numbers as “12,34” rather than “12.34”? From the error message it sounds like a number is in the wrong format, you could try changing the language setting and see if this fixes it.

Note: The 6.11 installer should now be available and the installation process around Kubernetes has changed to be based on Helm with yaml as input so it may be worth looking into that too.

 

 


“Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderInputSettings.Read33_InputSettings()”

This sounds like a formatting issue of the Installer Input file used for the PSO CLI. Review your Input file settings for any syntax failures.

Best regards
Roman


Reply