Question

Error installing PSO 6.10.0.17 with Kubernetes

  • 16 February 2023
  • 4 replies
  • 230 views

Userlevel 1
Badge +2
  • Do Gooder (Partner)
  • 4 replies

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 ?


4 replies

Userlevel 6
Badge +23

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

Userlevel 1
Badge +2

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

 

16 Feb 2023 13:29:16,943 [1] 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.FromXml[T](Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromFile[T](String file)
   at Installer.CommandLine.CommandLineRunner.Run(String[] args, Func`2 ceateInstaller)
16 Feb 2023 13:29:41,702 [1] 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.FromXml[T](Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromFile[T](String file)
   at Installer.CommandLine.CommandLineRunner.Run(String[] args, Func`2 ceateInstaller)
16 Feb 2023 13:31:27,992 [1] 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.FromXml[T](Stream stream)
   at Installer_Shared.Extensions.XmlSerializerExtensions.FromFile[T](String file)
   at Installer.CommandLine.CommandLineRunner.Run(String[] args, Func`2 ceateInstaller)
16 Feb 2023 13:31:59,245 [13] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:31:59,298 [13] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:33:01,016 [4] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:33:01,027 [12] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:33:47,708 [12] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:33:47,723 [12] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:35:45,919 [13] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\kuber-install-test.xml has been added
16 Feb 2023 13:35:45,949 [13] INFO Installer_Shared.Utilities.MsiDetails <Check>b__1 - Setup\licence-test.xml has been added
16 Feb 2023 13:41:08,975 [1] 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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[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 [1] 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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[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 14:01:17,037 [1] 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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[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 14:03:22,944 [1] 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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-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 '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[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)

 

Userlevel 4
Badge +10

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.

 

 

Userlevel 6
Badge +23

“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