1 Reply Latest reply: Jan 22, 2013 4:09 AM by Dalibor Skrobak RSS

    Problem deploy plan using CLI (occli) - Unterminated key property part

    983551
      Hi,

      We are getting error while running the zone creation cli. CLI used is below and output with error is underneath:


      bash-3.00# /opt/SUNWoccli/bin/oc
      xvmSh >connect
      localhost >deploy
      localhost/deploy-setup >plan "zone10-plan"
      localhost/deploy-setup >target "7f5864e4-822a-48cc-97cd-4f5998f80764"
      localhost/deploy > set "prime = true"
      localhost/deploy > set "ipAddress = '10.98.241.28'"
      localhost/deploy > set "ifName = 'e1000g0:1'"
      localhost/deploy > set "hostName = 'Sol10Zone30'"
      localhost/deploy > set "ipMode = 'static'"
      localhost/deploy > dryrun

      Actual Shell output after running dryrun command :

      localhost/deploy > dryrun
      Target: solaris40
      __________________________________________________
      Step: Create Solaris Zones
      __________________________________________________
      Associated Profile:
      {
      lockedMemoryCap: 0
      realname: None
      hostIdStartingNumber: 0
      imageLibraryUFN: file:///guests
      username: None
      description:
      automaticRecovery: True
      class: class com.sun.hss.type.virtserver.ZoneProfile
      autoBootAfterZoneBoot: True
      fileSystems:
      [
      {
      readOnly: False
      quota: 4
      mountPoint:
      reserved: 4
      name: /

      }

      ]
      swapMemoryCap: 0
      terminalType: xterm
      startGuestAfterCreate: True
      userPassword: None
      maxCpus: 0
      networks:
      [
      {
      networkDomainUFN: default
      networkUFN: 10.98.241.0/24.1
      networkBindings:
      [
      {
      ifName: e1000g0:1
      ipMode: static
      ipAddress: 10.98.241.28

      }

      ]
      networkDomainON: com.sun.hss.domain:type=NetworkDomain,name=NORM-365c4e18-9fb5-4110-b981-96eb504e2107
      connectionNumber: 1
      network: com.sun.hss.domain:name=NORM-10.98.241.0_24,type=Network

      }

      ]
      cpuShares: 1
      minCpus: 0
      physicalMemoryCap: 0
      {
      nameService:
      {
      dnsDomainSearchList: None
      nisServerIP: None
      nisServerName: None
      ldapProfileServer: None
      ldapProxyDN: None
      dnsServerIPs: None
      ldapProxyPasswd: None
      type: NONE
      ldapProfileName: None
      domainName: None

      }
      }
      resourcePlans:
      [
      {
      networks:
      [
      {
      networkBindings:
      [
      {
      ifName: e1000g0:1
      ipMode: static
      ipAddress: 10.98.241.28

      }

      ]

      }

      ]
      hostName: Sol10Zone30

      }

      ]
      imageLibraryType: Local
      sshKey:
      type: 1
      imageLibrary: file:///guests
      sharedCpuType: True
      hostIdPrefix: None
      startingNumber: -1
      prime: True
      language: ar_EG.ISO8859-6
      disks:
      [
      {
      libraryUFN: file:///guests
      volumeGroup:
      type: Local
      size: 3
      library: file:///guests
      nameUFN: vdisk0
      name: vdisk0

      }
      ]
      nfsMapidDomain: dynamic
      namePrefix: prefix
      tagEntries: None
      timezone: GMT
      cpuCap: 0
      deployAgent: True
      imageName: None
      importance: 0
      recoveryPriority: 0
      rootPassword: root@123
      machineType: None

      }

      --------------------------------------------------
      Exception while executing the plan: The DeploymentPlan execution job failed because the DeploymentProvider ZoneDeploymentProvider for Step Create Solaris Zones failed to generate tasks for the job: Cannot prepare zone tasks: javax.management.MalformedObjectNameException: Unterminated key property part. Contact My Oracle Support if the problem persists. (10445)
      localhost/deploy >