Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual IP Configuration For Second Nic Fails #1039

Closed
djeraseit opened this issue Dec 2, 2015 · 5 comments
Closed

Manual IP Configuration For Second Nic Fails #1039

djeraseit opened this issue Dec 2, 2015 · 5 comments
Assignees
Labels
Milestone

Comments

@djeraseit
Copy link

First Box: Manual
Second Box: 10.99.0.11
Netmask: 255.255.0.0

Error!

execv() arg 2 must contain only strings

@djeraseit
Copy link
Author

Manually assigning IP address in Centos and rebooting gives the following error:

Unknown client error doing a GET to /api/dashboardconfig/

Will update issue as I continue troubleshooting

@djeraseit
Copy link
Author

rockstor.log file:

[02/Dec/2015 09:32:51] ERROR [storageadmin.util:38] request path: /api/network/eth1 method: PUT data: {u'dns_servers': u'', u'itype': u'', u'name': u'eth1', u'ipaddr': u'10.99.0.11', u'method': u'manual', u'netmask': u'255.255.0.0', u'gateway': u''}
[02/Dec/2015 09:32:52] ERROR [storageadmin.util:39] exception: execv() arg 2 must contain only strings
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 40, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/network.py", line 192, in put
gateway=gateway, dns_servers=dns_servers)
File "/opt/rockstor/src/rockstor/system/osi.py", line 221, in config_network_device
run_command(add_cmd)
File "/opt/rockstor/src/rockstor/system/osi.py", line 73, in run_command
p = subprocess.Popen(cmd, shell=shell, stdout=stdout, stderr=stderr)
File "/usr/lib64/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings

@schakrava
Copy link
Member

Thanks for reporting this issue. What version of Rockstor are you on?

@schakrava schakrava added the bug label Dec 10, 2015
@schakrava schakrava added this to the Tenaya milestone Dec 10, 2015
@schakrava schakrava self-assigned this Dec 10, 2015
schakrava added a commit to schakrava/rockstor-core that referenced this issue Dec 10, 2015
schakrava added a commit to schakrava/rockstor-core that referenced this issue Dec 10, 2015
schakrava added a commit to schakrava/rockstor-core that referenced this issue Dec 10, 2015
schakrava added a commit to schakrava/rockstor-core that referenced this issue Dec 10, 2015
@schakrava
Copy link
Member

Fixed by #1049

@schakrava
Copy link
Member

Thanks for filing this issue @djeraseit , it's fixed in 3.8-9.09 update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants