VMware Cloud Community
teddyboy
Contributor
Contributor

Storage View Error urn:sm1

Upgraded a existing Virtual Server 2.5U6 to VCenter 4.0 U2

Issue is now when when click on the Storage View we get a error urn:sm1

Can any one point us in the right direction to resolving this?

Reply
0 Kudos
9 Replies
AndreTheGiant
Immortal
Immortal

Have you checked this KB?

http://kb.vmware.com/kb/1018608

http://kb.vmware.com/kb/1023308

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
teddyboy
Contributor
Contributor

Thanks for the reply but sadly no.

Tried both. The SQL was unselected. Selected and set to 900 to check, restarted the services.

Tried the other KB and downloaded the file then stopped the service. Made a back up and replaced the file. Restarted and same unsupported namespace urn:sm1 in content of soap body.

When I try to restart the VC/ web service it also produces this error?

checking in the sms.log there are errors

2010-08-20 19:45:51,420 INFO org.apache.axis2.deployment.ServiceDeployer - Deploying Web service: version.aar

2010-08-20 19:45:52,904 DEBUG com.vmware.vim.sms.ServiceImpl - Initializing service...

2010-08-20 19:45:52,998 INFO com.vmware.vim.sms.HealthAgentImpl - Changing health status from null to NOT_OPERATIONAL

2010-08-20 19:45:52,998 DEBUG com.vmware.vim.sms.HealthAgentImpl - Publishing service health information

2010-08-20 19:45:53,029 INFO com.vmware.vim.sms.HealthAgentImpl - Changing health status from NOT_OPERATIONAL to INIT_IN_PROGRESS

2010-08-20 19:45:53,029 DEBUG com.vmware.vim.sms.HealthAgentImpl - Publishing service health information

2010-08-20 19:45:53,326 DEBUG com.vmware.vim.sms.extension.CertTool - Added vpxd certificate to truststore

2010-08-20 19:46:36,669 DEBUG com.vmware.vim.sms.util.VpxdConnection - Attempting to log in to vpxd at https://localhost:8089/sdk as extension 'com.vmware.vim.sms'

2010-08-20 19:46:36,700 DEBUG com.vmware.vim.sms.util.VpxdConnection - Login successful!

2010-08-20 19:46:36,810 DEBUG com.vmware.vim.sms.ServiceImpl - Count of retrieved endpoints = 15

2010-08-20 19:46:36,810 DEBUG com.vmware.vim.sms.ServiceImpl - Proxy endpoint already registered.

2010-08-20 19:46:36,888 ERROR com.vmware.vim.sms.util.RegistryReader - Invalid result received for registry command 'reg query "HKLM\Software\VMware, Inc.\VMware VirtualCenter\DB" /v 2'

2010-08-20 19:46:36,888 ERROR com.vmware.vim.sms.util.RegistryReader - Standard output:

2010-08-20 19:46:36,888 ERROR com.vmware.vim.sms.util.RegistryReader - Error output: ERROR: More data is available.

2010-08-20 19:46:36,888 INFO com.vmware.vim.sms.util.RegistryReader - Got NULL for the VC database user name, replacing it with an empty string

2010-08-20 19:46:36,935 DEBUG com.vmware.vim.sms.data.VcDbConnectionInfo - Loaded VC DB connection information from VC Registry

2010-08-20 19:46:36,935 INFO com.vmware.vim.sms.data.VcDbConnectionInfo - VcDbConnection initialized with parameters: DbUrl = jdbc:odbc:VMware VirtualCenter DbDriver = sun.jdbc.odbc.JdbcOdbcDriver DbUser =

2010-08-20 19:46:37,622 INFO com.vmware.vim.sms.data.CacheDbConnectionInfo - CacheDbConnection initialized with parameters: DbUrl = jdbc:h2:mem:D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/com/vmware/vim/sms/data/sms-cache0 DbDriver = org.h2.Driver DbUser = sa

2010-08-20 19:46:37,950 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Initializing cache database...

2010-08-20 19:46:37,966 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/cachedb.sql

2010-08-20 19:46:38,607 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/cachedbEx.sql

2010-08-20 19:46:38,622 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/topologyEdges.sql

2010-08-20 19:46:38,638 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/config.sql

2010-08-20 19:46:38,669 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Cache database initialized!

2010-08-20 19:46:38,685 INFO com.vmware.vim.sms.data.CacheDbConnectionInfo - CacheDbConnection initialized with parameters: DbUrl = jdbc:h2:mem:D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/com/vmware/vim/sms/data/sms-cache1 DbDriver = org.h2.Driver DbUser = sa

2010-08-20 19:46:38,919 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Initializing cache database...

2010-08-20 19:46:39,341 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/cachedb.sql

2010-08-20 19:46:39,450 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/cachedbEx.sql

2010-08-20 19:46:39,466 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/topologyEdges.sql

2010-08-20 19:46:39,482 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Executing sql script: D:/Program Files/VMware/Infrastructure/tomcat/webapps/sms/WEB-INF/services/smService/schema/config.sql

2010-08-20 19:46:39,482 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Cache database initialized!

2010-08-20 19:46:39,513 DEBUG com.vmware.vim.sms.data.DataMapperImpl - Active cache index = 0

2010-08-20 19:46:39,513 DEBUG com.vmware.vim.sms.data.DataMapperImpl - DataMapper initialized successfully!

2010-08-20 19:46:39,513 INFO com.vmware.vim.sms.HealthAgentImpl - Changing health status from INIT_IN_PROGRESS to PROVIDER_SYNC_IN_PROGRESS

Reply
0 Kudos
AndreTheGiant
Immortal
Immortal

Could be a problem with dotnet framework.

Have you done all the update?

Which error do you have with vCenter Service??

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
Reply
0 Kudos
teddyboy
Contributor
Contributor

sorry which update have I missed something?

Do I need a dot net update? Which version please?

Checking the sms.log after reading kb 238599 and removed the proxy as in plugins I had errors now I dont?

Reply
0 Kudos
teddyboy
Contributor
Contributor

This was not update 1 it was update 2.

Still no further ahead. Can any one give us so direction on faulting finding where this soap issue is coming from please?

Reply
0 Kudos
teddyboy
Contributor
Contributor

Looking at vws.log I see the following

ERROR 'com.vmware.vim.health.impl.XmlUtil'] Error retrieving health from url: http://localhost:80/sms/smService-web/health.xml

I can see this url in the browser its a 404 error so seems the service is not running?

Storage Plugin

vCenter Storage Monitoring

VMware Inc.

4.0

Enabled

Storage Monitoring and

Reporting

___________vws.log ____________

2010-08-23 09:24:59,881 Thread-31 ERROR 'com.vmware.vim.health.impl.XmlUtil'] Error retrieving health from url: http://localhost:80/sms/smService-web/health.xml

Unable to retrieve health for com.vmware.vim.sms from http://localhost:80/sms/smService-web/health.xml

Unable to retrieve health for com.vmware.vim.sms from any of its health URLs

WaitForUpdates returned on session F5FB4318-A1C7-452F-9CC9-9868699B5D43

WaitForUpdates returned on session F5FB4318-A1C7-452F-9CC9-9868699B5D43

WaitForUpdates returned on session F5FB4318-A1C7-452F-9CC9-9868699B5D43

WaitForUpdates returned on session F5FB4318-A1C7-452F-9CC9-9868699B5D43

WaitForUpdates returned on session F5FB4318-A1C7-452F-9CC9-9868699B5D43

Reply
0 Kudos
teddyboy
Contributor
Contributor

Found a thread reporting

OK, for the com.vmware.vcIntegrity error try this:

  • Navigate to your vCenter Extensions folder (default: C:\Program Files\VMware\Infrastructure\VirtualCenter Server\extensions).

  • In each extension folder there is a 'extension.xml, open this in a text editor

  • Some of these have a URL to the tomcat service such as '<url>[https://vc-01:8443/cim-ui/scriptConfig.xml]</url>'

  • Make sure the URL is valid an accessible by the vSphere clients

+In my case some of the extension URLs were not valid (local addresses)

and I changed them to the actual vCenter server host name. Then the

clients were able to properly connect to the service.+

checking http://localhost/sms/smService-web/health.xml is a 404 but

https://localhost:8443/sms/smService-web/health.xml is fine so I changed the extension.xml to this restart the VC server and Web service but still not go....

<config>

<extension>

<name>com.vmware.vim.sms</name>

<!--

Client plugin declares assembly attribute SupportedServerApiVersion

that VI Client uses when deciding whether the plugin is compatible

with server extension.

When changing this value, make sure to modify the said attribute in

AssemblyInfo.cs in plugin source code.

-->

<version>4.0</version>

<description>Storage Monitoring and Reporting</description>

<company>VMware Inc.</company>

<certificate>SSL/rui.crt</certificate>

<health>

<url>https://localhost:8443/sms/smService-web/health.xml</url>

</health>

<privileges>

<privilege id="View" groupId="StorageViews"/>

<privilege id="ConfigureService" groupId="StorageViews"/>

</privileges>

</extension>

</config>

Reply
0 Kudos
jspilon
Enthusiast
Enthusiast

Did you get resolution on this one? I have had this issue for a bit here, can't find a solution.

Reply
0 Kudos
teddyboy
Contributor
Contributor

Hello

NO sorry no answer. My issue was another application listening on 80 so I changed to 85 during the install. I am guessing it is not supported as it doesnt work.

Change the config file from 85 to 8080 and its starts to work perf tabs but still no go on the storage tab.

Glad to see I am not the only end user with this issue.

We are going to install VCenter on a new server and upgrade the existing ESX from 3.5 to 4.0 U2.

Guessing this will fix it.

Has any one got any addition trouble shooting steps please?

Reply
0 Kudos